@ckeditor/ckeditor5-email 48.2.0 → 48.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/augmentation.d.ts +28 -28
- package/dist/emailconfigurationconfig.d.ts +54 -54
- package/dist/emailconfigurationhelper.d.ts +53 -53
- package/dist/emailconfigurationlogger.d.ts +31 -31
- package/dist/emailinlinestylestransformations.d.ts +44 -44
- package/dist/index.d.ts +35 -35
- package/dist/index.js +1 -1
- package/dist/integrations/emptyblock.d.ts +30 -30
- package/dist/integrations/exportinlinestyles.d.ts +30 -30
- package/dist/integrations/font.d.ts +30 -30
- package/dist/integrations/generalhtmlintegration.d.ts +30 -30
- package/dist/integrations/highlight.d.ts +30 -30
- package/dist/integrations/image.d.ts +30 -30
- package/dist/integrations/link.d.ts +30 -30
- package/dist/integrations/list.d.ts +30 -30
- package/dist/integrations/listmultilevel.d.ts +30 -30
- package/dist/integrations/markdown.d.ts +30 -30
- package/dist/integrations/mathtype.d.ts +30 -30
- package/dist/integrations/mediaembed.d.ts +30 -30
- package/dist/integrations/mergefields.d.ts +30 -30
- package/dist/integrations/sourceediting.d.ts +30 -30
- package/dist/integrations/table.d.ts +30 -30
- package/dist/integrations/template.d.ts +30 -30
- package/dist/integrations/todolist.d.ts +30 -30
- package/dist/integrations/upload.d.ts +30 -30
- package/dist/transformations/transformemailaligntoattribute.d.ts +42 -42
- package/dist/transformations/transformemailcolumnwidthstocells.d.ts +17 -17
- package/dist/transformations/transformemailfigcaptiontodiv.d.ts +9 -9
- package/dist/transformations/transformemailfiguretotable.d.ts +55 -55
- package/dist/transformations/transformemailfloattoalign.d.ts +13 -13
- package/dist/transformations/transformemailimagewidthattributes.d.ts +13 -13
- package/dist/transformations/transformemailmargintoalign.d.ts +19 -19
- package/dist/transformations/utils.d.ts +87 -87
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x40795a}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x1bf36c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0xa729e5}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x40795a{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ef9de){super(_0x2ef9de),_0x2ef9de['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x366385){const _0x20bbb2=_0x45c617([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]),_0x51f8ee=0x7780c648,_0x2ed183=0x77874d98^_0x51f8ee,_0x29d766=window[_0x45c617([0x44,0x61,0x74,0x65])][_0x45c617([0x6e,0x6f,0x77])](),_0x5f0c9f=_0x366385[_0x45c617([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x383696=new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fc1c1=>{_0x5f0c9f[_0x45c617([0x6f,0x6e,0x63,0x65])](_0x45c617([0x72,0x65,0x61,0x64,0x79]),_0x4fc1c1);}),_0x4cb550={[_0x45c617([0x6b,0x74,0x79])]:_0x45c617([0x45,0x43]),[_0x45c617([0x75,0x73,0x65])]:_0x45c617([0x73,0x69,0x67]),[_0x45c617([0x63,0x72,0x76])]:_0x45c617([0x50,0x2d,0x32,0x35,0x36]),[_0x45c617([0x78])]:_0x45c617([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]),[_0x45c617([0x79])]:_0x45c617([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]),[_0x45c617([0x61,0x6c,0x67])]:_0x45c617([0x45,0x53,0x32,0x35,0x36])},_0x29d86d=_0x5f0c9f[_0x45c617([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45c617([0x67,0x65,0x74])](_0x45c617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4503b2(){let _0x27d948,_0x229327=null,_0x5a91ea=null;try{if(_0x29d86d==_0x45c617([0x47,0x50,0x4c]))return _0x45c617([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27d948=_0x44b3a1(),!_0x27d948)return _0x45c617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27d948[_0x45c617([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a91ea=_0x377b52(_0x27d948[_0x45c617([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27d948[_0x45c617([0x6a,0x74,0x69])])),await _0x190240()?_0x3ae189()?_0x26e06e()?_0x45c617([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2eb077()?(_0x27d948[_0x45c617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45c617([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x229327=_0x538184(_0x45c617([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a7bf8()):_0x45c617([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45c617([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45c617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45c617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26e06e(){const _0x43f140=[_0x45c617([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45c617([0x74,0x72,0x69,0x61,0x6c])][_0x45c617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d948[_0x45c617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29d766/0x3e8:0xe10*_0x2ed183;return _0x27d948[_0x45c617([0x65,0x78,0x70])]<_0x43f140;}function _0x3ae189(){const _0x4d64c8=_0x27d948[_0x45c617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d64c8&&(!!_0x4d64c8[_0x45c617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c617([0x2a]))||!!_0x4d64c8[_0x45c617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c617([0x45,0x43,0x48])));}function _0x2eb077(){const _0x51f0b6=_0x27d948[_0x45c617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51f0b6||0x0==_0x51f0b6[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dc210}=new URL(window[_0x45c617([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x51f0b6[_0x45c617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc210))return!0x0;const _0x5a3d87=_0x5dc210[_0x45c617([0x73,0x70,0x6c,0x69,0x74])](_0x45c617([0x2e]));return _0x51f0b6[_0x45c617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f49ac=>_0x2f49ac[_0x45c617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c617([0x2a])))[_0x45c617([0x6d,0x61,0x70])](_0xa5b303=>_0xa5b303[_0x45c617([0x73,0x70,0x6c,0x69,0x74])](_0x45c617([0x2e])))[_0x45c617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x405bce=>_0x405bce[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a3d87[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45c617([0x6d,0x61,0x70])](_0x3a2b4d=>Array(_0x5a3d87[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a2b4d[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45c617([0x66,0x69,0x6c,0x6c])](_0x3a2b4d[0x0]===_0x45c617([0x2a])?_0x45c617([0x2a]):'')[_0x45c617([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a2b4d))[_0x45c617([0x73,0x6f,0x6d,0x65])](_0x105365=>_0x5a3d87[_0x45c617([0x65,0x76,0x65,0x72,0x79])]((_0x32e75c,_0x4c5fdc)=>_0x105365[_0x4c5fdc]===_0x32e75c||_0x105365[_0x4c5fdc]===_0x45c617([0x2a])));}function _0x1a7bf8(){return _0x229327&&_0x5a91ea?new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ee8ba,_0x20f751)=>{_0x229327[_0x45c617([0x74,0x68,0x65,0x6e])](_0x4ee8ba,_0x20f751),_0x5a91ea[_0x45c617([0x74,0x68,0x65,0x6e])](_0x1d171b=>{_0x1d171b!=_0x45c617([0x56,0x61,0x6c,0x69,0x64])&&_0x4ee8ba(_0x1d171b);},_0x20f751);}):_0x229327||_0x5a91ea||_0x45c617([0x56,0x61,0x6c,0x69,0x64]);}}function _0x377b52(_0x39d9df,_0x1ed85b){return new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c08a7=>{if(_0x3578b9())return _0x4c08a7(_0x45c617([0x56,0x61,0x6c,0x69,0x64]));_0x4355e9(),_0x5f0c9f[_0x45c617([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45c617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b0ea3=!0x1;const _0x485c6a=_0x1bf36c();function _0x8d8b50(_0x237fa7){return!!_0x237fa7&&(typeof _0x237fa7===_0x45c617([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x237fa7===_0x45c617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x237fa7[_0x45c617([0x74,0x68,0x65,0x6e])]===_0x45c617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x237fa7[_0x45c617([0x63,0x61,0x74,0x63,0x68])]===_0x45c617([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3be8ca(_0x4b2210){_0x31e6c9(_0x4b2210)[_0x45c617([0x74,0x68,0x65,0x6e])](_0x8d6c0e=>{if(!_0x8d6c0e||_0x8d6c0e[_0x45c617([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45c617([0x6f,0x6b]))return _0x45c617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28a2ea(_0x1f8c84(_0x485c6a+_0x1ed85b))!=_0x8d6c0e[_0x45c617([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45c617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45c617([0x56,0x61,0x6c,0x69,0x64]);})[_0x45c617([0x74,0x68,0x65,0x6e])](_0x1564e8=>(_0x9d1998(),_0x1564e8),()=>{const _0x4b7fc9=_0x1582a3();return null==_0x4b7fc9?(_0x9d1998(),_0x45c617([0x56,0x61,0x6c,0x69,0x64])):_0x45c617(_0x29d766-_0x4b7fc9>(0x538c4248^_0x51f8ee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45c617([0x74,0x68,0x65,0x6e])](_0x4c08a7)[_0x45c617([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c08a7(_0x45c617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x582ef5=0x77b628c8^_0x51f8ee;function _0x9d1998(){const _0x380a3a=_0x45c617([0x6c,0x6c,0x63,0x74,0x2d])+_0x28a2ea(_0x1f8c84(_0x39d9df)),_0x533aad=_0x2489f3(_0x28a2ea(window[_0x45c617([0x4d,0x61,0x74,0x68])][_0x45c617([0x63,0x65,0x69,0x6c])](_0x29d766/_0x582ef5)));window[_0x45c617([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45c617([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x380a3a,_0x533aad);}function _0x1582a3(){const _0x23621f=_0x45c617([0x6c,0x6c,0x63,0x74,0x2d])+_0x28a2ea(_0x1f8c84(_0x39d9df)),_0x38d209=window[_0x45c617([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45c617([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23621f);return _0x38d209?window[_0x45c617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2489f3(_0x38d209),0x10)*_0x582ef5:null;}function _0x31e6c9(_0x7fa248){return new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6254,_0x20cba3)=>{_0x7fa248[_0x45c617([0x74,0x68,0x65,0x6e])](_0x5b6254,_0x20cba3),window[_0x45c617([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20cba3,0x77811288^_0x51f8ee);});}}_0x5f0c9f[_0x45c617([0x6f,0x6e])](_0x45c617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1854b5,_0x2bb447)=>{if(_0x2bb447[0x0]!=_0x39d9df)return _0x4c08a7(_0x45c617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bb447[0x1]={..._0x2bb447[0x1],[_0x45c617([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x485c6a};},{[_0x45c617([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45c617([0x68,0x69,0x67,0x68])}),_0x5f0c9f[_0x45c617([0x6f,0x6e])](_0x45c617([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21f417=>{_0x8d8b50(_0x21f417[_0x45c617([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b0ea3=!0x0,_0x3be8ca(_0x21f417[_0x45c617([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45c617([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45c617([0x6c,0x6f,0x77])}),_0x383696[_0x45c617([0x74,0x68,0x65,0x6e])](()=>{_0x3b0ea3||_0x4c08a7(_0x45c617([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3578b9(){return _0x5f0c9f[_0x45c617([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45c617([0x76,0x69,0x65,0x77])][_0x45c617([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45c617([0x61,0x75,0x74,0x6f]);}function _0x4355e9(){_0x5f0c9f[_0x45c617([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45c617([0x76,0x69,0x65,0x77])][_0x45c617([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45c617([0x61,0x75,0x74,0x6f]);}}function _0x538184(_0x509e37){const _0x35df6f=[new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42150c=>setTimeout(_0x42150c,0x7789f884^_0x51f8ee)),_0x383696[_0x45c617([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cb6f4=>{let _0x56cbf8=0x0;_0x5f0c9f[_0x45c617([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c617([0x6f,0x6e])](_0x45c617([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32fad4,_0x37bcdd)=>{_0x37bcdd[0x0][_0x45c617([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56cbf8++,_0x56cbf8==(0x7780c3a0^_0x51f8ee)&&(_0x1cb6f4(),_0x32fad4[_0x45c617([0x6f,0x66,0x66])]());});}))];return window[_0x45c617([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45c617([0x72,0x61,0x63,0x65])](_0x35df6f)[_0x45c617([0x74,0x68,0x65,0x6e])](()=>_0x509e37);}async function _0x376159(){await _0x383696,_0x5f0c9f[_0x45c617([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c617([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51de20,_0x5f0c9f[_0x45c617([0x6d,0x6f,0x64,0x65,0x6c])][_0x45c617([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51de20,_0x5f0c9f[_0x45c617([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45c617([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2aff28(_0x335971){const _0x1c0cd8=_0x30b6e7();_0x5f0c9f[_0x1c0cd8]=_0x45c617([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])+_0x335971,_0x335971!=_0x45c617([0x56,0x61,0x6c,0x69,0x64])&&_0x376159();}function _0x30b6e7(){const _0x5b731f=window[_0x45c617([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45c617([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45c617([0x6e,0x6f,0x77])]())[_0x45c617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45c617([0x2e]),'');let _0x995d74=_0x45c617([0x75]);for(let _0x492fa2=0x0;_0x492fa2<_0x5b731f[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492fa2+=0x2){let _0x13faa4=window[_0x45c617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b731f[_0x45c617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x492fa2,_0x492fa2+0x2));_0x13faa4>=_0x20bbb2[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13faa4-=_0x20bbb2[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x995d74+=_0x20bbb2[_0x13faa4];}return _0x995d74;}function _0x44b3a1(){const _0x426c36=_0x29d86d[_0x45c617([0x73,0x70,0x6c,0x69,0x74])](_0x45c617([0x2e]));if(0x3!=_0x426c36[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c3ea5(_0x426c36[0x1]);function _0x4c3ea5(_0x205b68){const _0x48b979=_0x32e999(_0x205b68);return _0x48b979&&_0x59244a()?_0x48b979:null;function _0x59244a(){const _0x4cce12=_0x48b979[_0x45c617([0x6a,0x74,0x69])],_0x3a5c3e=window[_0x45c617([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cce12[_0x45c617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cce12[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48191e={..._0x48b979,[_0x45c617([0x6a,0x74,0x69])]:_0x4cce12[_0x45c617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4cce12[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48191e[_0x45c617([0x76,0x63])],_0x1f8c84(_0x48191e)==_0x3a5c3e;}}}async function _0x190240(){let _0x5a777c=!0x0;try{const _0x318664=_0x29d86d[_0x45c617([0x73,0x70,0x6c,0x69,0x74])](_0x45c617([0x2e])),[_0x404fea,_0x42fcaf,_0x1d0afa]=_0x318664;return _0x1b1481(_0x404fea),await _0x4f8559(_0x404fea,_0x42fcaf,_0x1d0afa),_0x5a777c;}catch{return!0x1;}function _0x1b1481(_0x328057){const _0x194a1b=_0x32e999(_0x328057);_0x194a1b&&_0x194a1b[_0x45c617([0x61,0x6c,0x67])]==_0x45c617([0x45,0x53,0x32,0x35,0x36])||(_0x5a777c=!0x1);}async function _0x4f8559(_0x51bbb1,_0x5858cd,_0x19fac6){const _0xf34eba=window[_0x45c617([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45c617([0x66,0x72,0x6f,0x6d])](_0x404113(_0x19fac6),_0x436194=>_0x436194[_0x45c617([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f4696=new window[(_0x45c617([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45c617([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51bbb1+_0x45c617([0x2e])+_0x5858cd),_0x3af9b6=window[_0x45c617([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45c617([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3af9b6)return;const _0x114126=await _0x3af9b6[_0x45c617([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45c617([0x6a,0x77,0x6b]),_0x4cb550,{[_0x45c617([0x6e,0x61,0x6d,0x65])]:_0x45c617([0x45,0x43,0x44,0x53,0x41]),[_0x45c617([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45c617([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45c617([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3af9b6[_0x45c617([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45c617([0x6e,0x61,0x6d,0x65])]:_0x45c617([0x45,0x43,0x44,0x53,0x41]),[_0x45c617([0x68,0x61,0x73,0x68])]:{[_0x45c617([0x6e,0x61,0x6d,0x65])]:_0x45c617([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x114126,_0xf34eba,_0x4f4696)||(_0x5a777c=!0x1);}}function _0x32e999(_0x485302){return _0x485302[_0x45c617([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45c617([0x65,0x79]))?JSON[_0x45c617([0x70,0x61,0x72,0x73,0x65])](_0x404113(_0x485302)):null;}function _0x404113(_0x20da40){return window[_0x45c617([0x61,0x74,0x6f,0x62])](_0x20da40[_0x45c617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45c617([0x2b]))[_0x45c617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45c617([0x2f])));}function _0x1f8c84(_0x4e9d42){let _0x3b088a=0x1505;function _0x357e36(_0xf8ecc4){for(let _0x5aaf56=0x0;_0x5aaf56<_0xf8ecc4[_0x45c617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aaf56++){const _0x362d02=_0xf8ecc4[_0x45c617([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5aaf56);_0x3b088a=(_0x3b088a<<0x5)+_0x3b088a+_0x362d02,_0x3b088a&=_0x3b088a;}}function _0x827497(_0xa171d0){Array[_0x45c617([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa171d0)?_0xa171d0[_0x45c617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x827497):_0xa171d0&&typeof _0xa171d0==_0x45c617([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45c617([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa171d0)[_0x45c617([0x73,0x6f,0x72,0x74])]()[_0x45c617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e571a,_0x354573])=>{_0x357e36(_0x5e571a),_0x827497(_0x354573);}):_0x357e36(window[_0x45c617([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa171d0));}return _0x827497(_0x4e9d42),_0x3b088a>>>0x0;}function _0x28a2ea(_0x4fcacb){return _0x4fcacb[_0x45c617([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45c617([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45c617([0x30]));}function _0x2489f3(_0x35e490){return _0x35e490[_0x45c617([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45c617([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45c617([0x6a,0x6f,0x69,0x6e])]('');}function _0x51de20(){}function _0x45c617(_0xc6d1f7){return _0xc6d1f7['map'](_0xc15584=>String['fromCharCode'](_0xc15584))['join']('');}_0x2aff28(await _0x4503b2());}(this);}['_logSuppressibleWarning'](_0x341d55,_0x1054f0){if(this['_isSuppressedLog'](_0x341d55,_0x1054f0))return;const _0xf52f93=r+'/support/error-codes.html#error-'+_0x341d55;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x341d55,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x1054f0?[_0x1054f0]:[],'\x0aRead\x20more:\x20'+_0xf52f93);}['_logSuppressibleInfo'](_0x337b9f,_0xc82090,_0x59b3b4){if(this['_isSuppressedLog'](_0x337b9f))return;let _0x29e8f9=_0xc82090;_0x59b3b4&&(_0x29e8f9+='\x0aRead\x20more:\x20'+(r+'/'+_0x59b3b4)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x337b9f,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x29e8f9);}['_checkUnsupportedPlugin'](_0x2ad857,_0x308352){this['editor']['plugins']['has'](_0x2ad857)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x2ad857,..._0x308352});}['_validateConfigColorValue'](_0x4f0982){const _0x245677=this['editor']['config']['get'](_0x4f0982);if(!_0x245677)return;const _0x5879c7=Array['isArray'](_0x245677),_0x53791e=_0x5879c7?_0x245677:[_0x245677];for(const [_0x116dc9,_0x595080]of _0x53791e['entries']()){const _0x4bb97e='string'==typeof _0x595080?_0x595080:_0x595080['color'];a(_0x4bb97e)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x5879c7?_0x4f0982+'['+_0x116dc9+']':_0x4f0982,'color':_0x4bb97e});}}['_validateConfigColorFormat'](_0x5ce67b){const _0x6ef688=this['editor']['config']['get'](_0x5ce67b);_0x6ef688&&l(_0x6ef688)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x5ce67b,'format':_0x6ef688});}['_isSuppressedLog'](_0x112aa8,_0xb9b162){const _0x18ca2d=this['editor']['config']['get']('email.logs');return!!_0x18ca2d['suppressAll']||(!('function'!=typeof _0x18ca2d['suppress']||!_0x18ca2d['suppress'](_0x112aa8,_0xb9b162))||!(!Array['isArray'](_0x18ca2d['suppress'])||!_0x18ca2d['suppress']['includes'](_0x112aa8)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x2b5c57){return!!_0x2b5c57&&o['some'](_0xb98bcd=>_0x2b5c57['includes'](_0xb98bcd+'('));}function l(_0x10c458){return!!_0x10c458&&o['includes'](_0x10c458);}class HighlightEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}function s(_0x40c36d,_0x12e46f){const _0x3a3311=_0x40c36d['ownerDocument'],{table:_0x3567be,cell:_0x5953b5}=u(_0x3a3311,'100%');_0x12e46f['align']&&_0x5953b5['setAttribute']('align',_0xa729e5(_0x12e46f['align']));let _0x53ea50=_0x5953b5;if(_0x12e46f['width']){const {table:_0x293efe,cell:_0x457d03}=u(_0x3a3311,_0xa729e5(_0x12e46f['width']));_0x5953b5['appendChild'](_0x293efe),_0x53ea50=_0x457d03;}return _0x40c36d['replaceWith'](_0x3567be),_0x40c36d['removeAttribute']('align'),_0x40c36d['removeAttribute']('width'),_0x53ea50['appendChild'](_0x40c36d),_0x53ea50;}function u(_0x37c4bc,_0x1569a4){const _0x296d21=_0x37c4bc['createElement']('table');_0x1569a4&&(_0x296d21['style']['width']=_0x1569a4,_0x296d21['setAttribute']('width',d(_0x1569a4))),_0x296d21['setAttribute']('cellpadding','0'),_0x296d21['setAttribute']('cellspacing','0'),_0x296d21['setAttribute']('border','0'),_0x296d21['setAttribute']('role','presentation');const _0xbf03fd=_0x37c4bc['createElement']('tbody'),_0x46c2b7=_0x37c4bc['createElement']('tr'),_0x50e816=_0x37c4bc['createElement']('td');return _0x296d21['appendChild'](_0xbf03fd),_0xbf03fd['appendChild'](_0x46c2b7),_0x46c2b7['appendChild'](_0x50e816),{'table':_0x296d21,'cell':_0x50e816};}function g(_0x501f6b){const _0x842e3b=_0x501f6b['getAsString']('margin-left'),_0x5b31b4=_0x501f6b['getAsString']('margin-right'),_0x5e5991=_0x842e3b&&_0xa729e5(_0x842e3b),_0x12c2d3=_0x5b31b4&&_0xa729e5(_0x5b31b4);return'auto'===_0x5e5991&&'auto'===_0x12c2d3?'center':'auto'===_0x5e5991?'right':'auto'===_0x12c2d3?'left':void 0x0;}function c(_0x44059a,_0x4ffb6e){const _0x11cf21=_0x44059a['ownerDocument']['createElement'](_0x4ffb6e);for(const _0x372c56 of Array['from'](_0x44059a['attributes']))_0x11cf21['setAttribute'](_0x372c56['name'],_0x372c56['value']);for(;_0x44059a['firstChild'];)_0x11cf21['appendChild'](_0x44059a['firstChild']);return _0x11cf21;}function m(_0x5f3ee8){if('TABLE'!==_0x5f3ee8['tagName'])return!0x1;if('presentation'!==_0x5f3ee8['getAttribute']('role'))return!0x1;const _0x1d4b8c=f(_0x5f3ee8);return null!==_0x1d4b8c&&_0x1d4b8c['hasAttribute']('align');}function f(_0x272140){let _0xef2fbf=_0x272140;0x1===_0x272140['children']['length']&&'TBODY'===_0x272140['children'][0x0]['tagName']&&(_0xef2fbf=_0x272140['children'][0x0]);const _0x5bf4c8=_0xef2fbf['children'];if(0x1!==_0x5bf4c8['length']||'TR'!==_0x5bf4c8[0x0]['tagName'])return null;const _0x43ff70=_0x5bf4c8[0x0]['children'];return 0x1!==_0x43ff70['length']||'TD'!==_0x43ff70[0x0]['tagName']?null:_0x43ff70[0x0];}function d(_0xf821f6){return function(_0x15f86c){if(_0x15f86c['endsWith']('px'))return _0x15f86c['slice'](0x0,-0x2);return _0x15f86c;}(_0xa729e5(_0xf821f6));}const p=(_0x414bdd,_0x20a22d,{runAfterDocumentTransformation:_0x4e72d8,runAfterChildrenTransformation:_0x53527e})=>{if('FIGURE'!==_0x414bdd['tagName'])return;const _0x14ee16=_0x20a22d['getAsString']('float');if(_0x14ee16){if(h(_0x414bdd))_0x4e72d8(()=>{E(_0x414bdd,{'align':_0x14ee16});});else{const {table:_0x29e000,cell:_0x613e74}=u(_0x414bdd['ownerDocument']);_0x29e000['setAttribute']('align',_0xa729e5(_0x14ee16)),_0x29e000['setAttribute']('style',function(_0xb126be){return _0xb126be['getStylesEntries']()['map'](_0x58bec4=>_0x58bec4['join'](':'))['join'](';')+';';}(_0x20a22d)),_0x53527e(()=>{for(const _0xb3fb93 of Array['from'](_0x414bdd['childNodes']))_0x613e74['appendChild'](_0xb3fb93);}),_0x4e72d8(()=>{_0x414bdd['replaceWith'](_0x29e000);});}}else{const _0x3cf67b=g(_0x20a22d),_0x2783eb=_0x20a22d['getAsString']('width');if(!_0x3cf67b&&!_0x2783eb)return;s(_0x414bdd,{'align':_0x3cf67b,'width':_0x2783eb}),_0x2783eb&&_0x20a22d['set']('width','100%'),_0x20a22d['remove']('margin-left'),_0x20a22d['remove']('margin-right'),_0x20a22d['remove']('min-width'),_0x20a22d['remove']('max-width'),_0x4e72d8(()=>{if(!E(_0x414bdd)){const _0x2551fa=c(_0x414bdd,'div');_0x414bdd['replaceWith'](_0x2551fa);}});}};function E(_0x5c82df,_0x18bb0e={}){const _0x206093=h(_0x5c82df);if(!_0x206093)return null;for(const _0x2c4ded of['id','class']){const _0x5765e7=_0x5c82df['getAttribute'](_0x2c4ded);_0x5765e7&&_0x206093['setAttribute'](_0x2c4ded,_0x5765e7);}for(const _0xd4574f of['display','float','width','height'])_0x206093['style']['removeProperty'](_0xd4574f);const _0x342539=_0x5c82df['getAttribute']('style');if(_0x342539){const _0x3dccf7=_0x206093['getAttribute']('style')||'';_0x206093['setAttribute']('style',_0x342539+_0x3dccf7);}return _0x18bb0e['align']&&_0x206093['setAttribute']('align',_0xa729e5(_0x18bb0e['align'])),'fixed'!==_0x206093['style']['tableLayout']||_0x206093['style']['width']||(_0x206093['style']['width']='100%',_0x206093['setAttribute']('width','100%')),_0x5c82df['replaceWith'](_0x206093),_0x206093;}function h(_0x2e670a){const _0x2db272=Array['from'](_0x2e670a['children']);return 0x1===_0x2db272['length']&&'TABLE'===_0x2db272[0x0]['tagName']?_0x2db272[0x0]:null;}class ImageEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5f1bb3,plugins:_0x2a7389}=this['editor'],_0x5cd486=_0x5f1bb3['get']('exportInlineStyles');if(_0x5cd486?.['transformations']?.['includes'](p))return;_0x2a7389['get'](EmailConfigurationLogger)['_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 MathTypeEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x552f8d=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x552f8d['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x28daa2=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x474ecd=this['editor']['config']['get']('list');_0x474ecd&&_0x474ecd['properties']&&_0x474ecd['properties']['reversed']&&_0x28daa2['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x474ecd&&_0x474ecd['enableListItemMarkerFormatting']&&_0x28daa2['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x2b57fa}=this['editor'],_0x2c720b=_0x2b57fa['get'](EmailConfigurationLogger);_0x2b57fa['has']('Table')&&(_0x2b57fa['has']('PlainTableOutput')||_0x2c720b['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x2b57fa['has']('TableLayout')||_0x2c720b['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x3d94ed,plugins:_0x40ebda}=this['editor'];_0x3d94ed['get']('table')&&_0x40ebda['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x363e51){const _0x5ab6a3=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x5ab6a3['_validateConfigColorValue']('table.'+_0x363e51+'.borderColors'),_0x5ab6a3['_validateConfigColorValue']('table.'+_0x363e51+'.backgroundColors'),_0x5ab6a3['_validateConfigColorValue']('table.'+_0x363e51+'.defaultProperties.borderColor'),_0x5ab6a3['_validateConfigColorValue']('table.'+_0x363e51+'.defaultProperties'),_0x5ab6a3['_validateConfigColorFormat']('table.'+_0x363e51+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x913fcc=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x913fcc['_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 FontEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x590cf2}=this['editor'];_0x590cf2['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x590cf2['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x1a2686){const _0x16c997=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x1a2686)&&(_0x16c997['_validateConfigColorValue'](_0x1a2686+'.colors'),_0x16c997['_validateConfigColorValue'](_0x1a2686+'.documentColors'),_0x16c997['_validateConfigColorFormat'](_0x1a2686+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x416250}=this['editor'],_0x53361b=_0x416250['get'](EmailConfigurationLogger);_0x416250['has']('SourceEditing')||_0x416250['has']('SourceEditingEnhanced')||_0x53361b['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends _0x40795a{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[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x48f459}=this['editor'];if(!_0x48f459['has']('DataFilter'))return;const _0x2b30b2=_0x48f459['get']('DataFilter'),_0x5a4e15=_0x48f459['get'](EmailConfigurationLogger);for(const _0x2d0e6d of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x2b30b2['once']('register:'+_0x2d0e6d,(_0x48e83c,_0x5c4cde)=>{_0x5a4e15['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x5c4cde['view']});});}}class MergeFieldsEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x42a479=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x42a479['_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 TemplateEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x315a00=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x315a00['_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 UploadEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends _0x40795a{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5d1121,plugins:_0x8d7404}=this['editor'],_0x49521e=_0x8d7404['get'](EmailConfigurationLogger),_0x141d64=_0x5d1121['get']('exportInlineStyles');_0x141d64?.['transformations']?.['includes'](p)||_0x49521e['_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 EmailConfigurationHelper extends _0x40795a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54dad4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x400bc8;for(const _0x5ed82d in _0x54dad4){const _0x457406=_0x5ed82d,_0x32183f=_0x54dad4[_0x457406];if('emailConfigurationHelperLicenseKeyValid'==_0x32183f||'emailConfigurationHelperLicenseKeyInvalid'==_0x32183f||'emailConfigurationHelperLicenseKeyExpired'==_0x32183f||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x32183f||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x32183f||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x32183f||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x32183f){delete _0x54dad4[_0x457406],_0x400bc8=_0x32183f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x400bc8&&_0x54dad4['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x400bc8&&_0x54dad4['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x400bc8&&_0x54dad4['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x400bc8&&_0x54dad4['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x400bc8&&_0x54dad4['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x400bc8&&_0x54dad4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const I=(_0x49c6fe,_0x1a405d)=>{if(!['TABLE','IMG']['includes'](_0x49c6fe['tagName']))return;const _0x49ca84=_0x1a405d['getAsString']('float');if(_0x49ca84){const _0x541809=_0xa729e5(_0x49ca84);'left'!==_0x541809&&'right'!==_0x541809||_0x49c6fe['setAttribute']('align',_0x541809);}},w=(_0x2babdf,_0x2c69e4)=>{if('TABLE'!==_0x2babdf['tagName']||_0x2c69e4['has']('float'))return;const _0x510428=g(_0x2c69e4),_0x5c9d3e=_0x2c69e4['getAsString']('width');_0x510428&&(s(_0x2babdf,{'align':_0x510428}),_0x5c9d3e?_0x2babdf['setAttribute']('width',d(_0x5c9d3e)):_0x2c69e4['remove']('width'),_0x2c69e4['remove']('margin-left'),_0x2c69e4['remove']('margin-right'));},L=(_0x2ca49e,_0x2e755e)=>{if('IMG'!==_0x2ca49e['tagName'])return;const _0x5bf629=_0x2e755e['getAsString']('width');_0x5bf629&&(_0x2ca49e['setAttribute']('width',d(_0x5bf629)),_0x2ca49e['setAttribute']('height','auto'));},C=(_0x496b50,_0x594838,{runAfterDocumentTransformation:_0x116197})=>{if('FIGCAPTION'!==_0x496b50['tagName'])return;const _0x57c24c=_0x594838['getAsString']('display'),_0x2cd512=_0x594838['getAsString']('caption-side');_0x594838['remove']('caption-side'),_0x57c24c&&'table-caption'===_0xa729e5(_0x57c24c)&&_0x594838['remove']('display');const _0x46c3ca=_0x2cd512&&'top'===_0xa729e5(_0x2cd512);_0x116197(()=>{const _0x337451=c(_0x496b50,'div'),_0x418aca=_0x496b50['previousElementSibling'];_0x46c3ca&&_0x418aca&&'TABLE'===_0x418aca['tagName']?(_0x418aca['before'](_0x337451),_0x496b50['remove']()):_0x496b50['replaceWith'](_0x337451);});},y=(_0x24453c,_0x1d0338,{runAfterChildrenTransformation:_0x517955})=>{'TD'===_0x24453c['tagName']&&_0x517955(()=>{const _0x294377=Array['from'](_0x24453c['children']);if(0x0===_0x294377['length'])return;const _0x125fc7=_0x294377['map'](P),_0x2714cc=_0x125fc7[0x0];if(_0x2714cc&&_0x125fc7['every'](_0x5f4784=>_0x5f4784===_0x2714cc)){_0x24453c['setAttribute']('align',_0x2714cc);for(const _0x430625 of _0x294377)if(m(_0x430625)){const _0xc7fe82=f(_0x430625);_0x430625['replaceWith'](...Array['from'](_0xc7fe82['childNodes']));}else _0x430625['style']['removeProperty']('text-align'),_0x430625['style']['length']||_0x430625['removeAttribute']('style');}});};function P(_0x10ff27){if(m(_0x10ff27))return f(_0x10ff27)['getAttribute']('align');return _0x10ff27['style']['textAlign']||void 0x0;}const b=(_0x157a0c,_0x2b9085,{runAfterChildrenTransformation:_0x2ec339})=>{'TABLE'===_0x157a0c['tagName']&&_0x2ec339(()=>{const _0x4d7f10=function(_0x4acb4a,_0x535d74){for(const _0x2dbb01 of _0x4acb4a['children'])if(_0x2dbb01['tagName']===_0x535d74)return _0x2dbb01;return null;}(_0x157a0c,'COLGROUP');if(!_0x4d7f10)return;const _0x424af3=Array['from'](_0x4d7f10['children'])['filter'](_0x372d9e=>'COL'===_0x372d9e['tagName']);if(_0x424af3['some'](_0x3bdde6=>x(_0x3bdde6,'span')))return;const _0x4d2252=_0x424af3['map'](T);if(!_0x4d2252['some'](Boolean))return;const _0x4f776f=function(_0x2d0e8b){const _0x52c3b6=[];for(const _0x417c7e of _0x2d0e8b['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0x417c7e['tagName'])){for(const _0x1d8797 of _0x417c7e['children'])'TR'===_0x1d8797['tagName']&&_0x52c3b6['push'](_0x1d8797);}return _0x52c3b6;}(_0x157a0c)['map'](k);if(!_0x4f776f['some'](_0x370dc9=>_0x370dc9['length']!==_0x4d2252['length']||_0x370dc9['some'](_0x2353eb=>function(_0x4f1caa){return x(_0x4f1caa,'colspan')||x(_0x4f1caa,'rowspan');}(_0x2353eb)||function(_0x17ce81){return Boolean(_0x17ce81['style']['getPropertyValue']('width'))||Boolean(_0x17ce81['getAttribute']('width'));}(_0x2353eb)))){for(const _0x43e13d of _0x4f776f)_0x43e13d['forEach']((_0x42a734,_0x238dab)=>{const _0x16a17a=_0x4d2252[_0x238dab];_0x16a17a&&(_0x42a734['setAttribute']('width',d(_0x16a17a)),_0x42a734['style']['setProperty']('width',_0x16a17a));});}});};function k(_0x3d2cf7){return Array['from'](_0x3d2cf7['children'])['filter'](_0x41e23f=>'TD'===_0x41e23f['tagName']||'TH'===_0x41e23f['tagName']);}function T(_0x47e4a5){const _0x42bad5=_0x47e4a5['style']['getPropertyValue']('width');if(_0x42bad5)return _0x42bad5;const _0x500d30=_0x47e4a5['getAttribute']('width');if(!_0x500d30)return;const _0x3c2644=_0xa729e5(_0x500d30);return/^\d+(\.\d+)?$/['test'](_0x3c2644)?_0x3c2644+'px':_0x3c2644;}function x(_0x3ff574,_0x255629){const _0x1f4d28=_0x3ff574['getAttribute'](_0x255629);return null!==_0x1f4d28&&'1'!==_0x1f4d28;}function O(_0x2455b9={}){const _0x225d32=[];return _0x2455b9['useFigureToTableFallback']&&_0x225d32['push'](p,C,y),_0x225d32['push'](I,w,L,b),_0x225d32;}export{EmailConfigurationHelper,EmailConfigurationLogger,EmptyBlockEmailIntegration,ExportInlineStylesEmailIntegration,FontEmailIntegration,GeneralHtmlIntegrationSupport,HighlightEmailIntegration,ImageEmailIntegration,LinkEmailIntegration,ListEmailIntegration,MarkdownEmailIntegration,MathTypeEmailIntegration,MediaEmbedEmailIntegration,MergeFieldsEmailIntegration,MultiLevelListEmailIntegration,SourceEditingEmailIntegration,TableEmailIntegration,TemplateEmailIntegration,TodoListEmailIntegration,UploadEmailIntegration,O as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,a as isUnsupportedEmailColorValue,y as transformEmailAlignToAttribute,b as transformEmailColumnWidthsToCells,C as transformEmailFigcaptionToDiv,p as transformEmailFigureToTable,I as transformEmailFloatToAlign,L as transformEmailImageWidthAttributes,w as transformEmailMarginToAlign};
|
|
23
|
+
import{Plugin as _0x209adf}from'@ckeditor/ckeditor5-core';import{uid as _0x428f0f}from'@ckeditor/ckeditor5-utils';import{dropImportantStyleSuffix as _0x32e099}from'@ckeditor/ckeditor5-export-inline-styles';const r='https://ckeditor.com/docs/ckeditor5/latest';var o=class extends _0x209adf{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xabd1d6){super(_0xabd1d6),_0xabd1d6['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x1e9ec9){const _0x2dac83='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x596c50=0x78de0,_0x57754f=window['Date']['now'](),_0x530f11=_0x1e9ec9['editor'],_0x26a007=new window['Promise'](_0x1f7280=>{_0x530f11['once']('ready',_0x1f7280);}),_0x3d6f21={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x514d9f=_0x530f11['config']['get']('licenseKey');async function _0x57175d(){let _0x4e1567,_0x3541ea=null,_0x7916a1=null;try{return'GPL'==_0x514d9f?'NotAllowed':(_0x4e1567=_0x29da39(),_0x4e1567?(_0x4e1567['usageEndpoint']&&(_0x7916a1=_0x4bc1b8(_0x4e1567['usageEndpoint'],_0x4e1567['jti'])),await _0x28f568()?_0x2b737d()?_0x5f4183()?'Expired':_0x3480fd()?('evaluation'==_0x4e1567['licenseType']&&(_0x3541ea=_0x4b0930('EvaluationLimit')),await _0x39d259()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5f4183(){const _0x4ddcac=['evaluation','trial']['includes'](_0x4e1567['licenseType'])?_0x57754f/0x3e8:0xe10*_0x596c50;return _0x4e1567['exp']<_0x4ddcac;}function _0x2b737d(){const _0x409311=_0x4e1567['features'];return!!_0x409311&&(!!_0x409311['includes']('*')||!!_0x409311['includes']('ECH'));}function _0x3480fd(){const _0x2b9b05=_0x4e1567['licensedHosts'];if(!_0x2b9b05||0x0==_0x2b9b05['length'])return!0x0;const {hostname:_0x2f8ff7}=new URL(window['location']['href']);if(_0x2b9b05['includes'](_0x2f8ff7))return!0x0;const _0x3f4144=_0x2f8ff7['split']('.');return _0x2b9b05['filter'](_0x1c8d65=>_0x1c8d65['includes']('*'))['map'](_0x1935cf=>_0x1935cf['split']('.'))['filter'](_0x488104=>_0x488104['length']<=_0x3f4144['length'])['map'](_0x2ec3b3=>Array(_0x3f4144['length']-_0x2ec3b3['length'])['fill']('*'===_0x2ec3b3[0x0]?'*':'')['concat'](_0x2ec3b3))['some'](_0x3ec93d=>_0x3f4144['every']((_0x4b9e3f,_0x204aec)=>_0x3ec93d[_0x204aec]===_0x4b9e3f||'*'===_0x3ec93d[_0x204aec]));}function _0x39d259(){return _0x3541ea&&_0x7916a1?new window['Promise']((_0x2340cd,_0x178781)=>{_0x3541ea['then'](_0x2340cd,_0x178781),_0x7916a1['then'](_0x3b3fc3=>{'Valid'!=_0x3b3fc3&&_0x2340cd(_0x3b3fc3);},_0x178781);}):_0x3541ea||_0x7916a1||'Valid';}}function _0x4bc1b8(_0x4c73c2,_0x3ec935){return new window['Promise'](_0x5ea79b=>{if(_0x511ffc())return _0x5ea79b('Valid');_0xeec605(),_0x530f11['decorate']('_sendUsageRequest');let _0x182713=!0x1;const _0xa581be=_0x428f0f();function _0x437a39(_0x31cc05){return!!_0x31cc05&&('object'==typeof _0x31cc05||'function'==typeof _0x31cc05)&&'function'==typeof _0x31cc05['then']&&'function'==typeof _0x31cc05['catch'];}function _0x2ba4ec(_0x52c834){_0x159d91(_0x52c834)['then'](_0x84b2fd=>_0x84b2fd&&'ok'==_0x84b2fd['status']?_0x38c495(_0x293d9b(_0xa581be+_0x3ec935))!=_0x84b2fd['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4f1fb7=>(_0x355216(),_0x4f1fb7),()=>{const _0x45bc87=_0xa469ea();return null==_0x45bc87?(_0x355216(),'Valid'):_0x57754f-_0x45bc87>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5ea79b)['catch'](()=>{_0x5ea79b('UsageLimit');});const _0x509cd5=0x36ee80;function _0x355216(){const _0x437315='llct-'+_0x38c495(_0x293d9b(_0x4c73c2)),_0x57a297=_0x2ededa(_0x38c495(window['Math']['ceil'](_0x57754f/_0x509cd5)));window['localStorage']['setItem'](_0x437315,_0x57a297);}function _0xa469ea(){const _0x5835b6='llct-'+_0x38c495(_0x293d9b(_0x4c73c2)),_0x432705=window['localStorage']['getItem'](_0x5835b6);return _0x432705?window['parseInt'](_0x2ededa(_0x432705),0x10)*_0x509cd5:null;}function _0x159d91(_0x16035f){return new window['Promise']((_0x4328b3,_0xcd840c)=>{_0x16035f['then'](_0x4328b3,_0xcd840c),window['setTimeout'](_0xcd840c,0x1d4c0);});}}_0x530f11['on']('_sendUsageRequest',(_0x3bc093,_0xa40030)=>{if(_0xa40030[0x0]!=_0x4c73c2)return _0x5ea79b('UsageLimit');_0xa40030[0x1]={..._0xa40030[0x1],'requestId':_0xa581be};},{'priority':'high'}),_0x530f11['on']('_sendUsageRequest',_0x54764c=>{_0x437a39(_0x54764c['return'])&&(_0x182713=!0x0,_0x2ba4ec(_0x54764c['return']));},{'priority':'low'}),_0x26a007['then'](()=>{_0x182713||_0x5ea79b('UsageLimit');});});function _0x511ffc(){return'auto'==_0x530f11['editing']['view']['_overlayModeHint'];}function _0xeec605(){_0x530f11['editing']['view']['_overlayModeHint']='auto';}}function _0x4b0930(_0x4b3e01){const _0x1dac80=[new window['Promise'](_0x9dd488=>setTimeout(_0x9dd488,0x93ecc)),_0x26a007['then'](()=>new window['Promise'](_0x551d9e=>{let _0x53782d=0x0;_0x530f11['model']['on']('applyOperation',(_0x65696,_0x5d63e9)=>{_0x5d63e9[0x0]['isDocumentOperation']&&_0x53782d++,0x5e8==_0x53782d&&(_0x551d9e(),_0x65696['off']());});}))];return window['Promise']['race'](_0x1dac80)['then'](()=>_0x4b3e01);}async function _0x41fcb2(){await _0x26a007,_0x530f11['model']['change']=_0x274e54,_0x530f11['model']['enqueueChange']=_0x274e54,_0x530f11['enableReadOnlyMode']('model');}function _0x5a86f1(_0x46b3f8){const _0x5c811f=_0x134df1();_0x530f11[_0x5c811f]='emailConfigurationHelperLicenseKey'+_0x46b3f8,'Valid'!=_0x46b3f8&&_0x41fcb2();}function _0x134df1(){const _0x22af9c=window['String'](window['performance']['now']())['replace']('.','');let _0x309377='u';for(let _0x4628dd=0x0;_0x4628dd<_0x22af9c['length'];_0x4628dd+=0x2){let _0x495fc3=window['parseInt'](_0x22af9c['substring'](_0x4628dd,_0x4628dd+0x2));_0x495fc3>=0x3e&&(_0x495fc3-=0x3e),_0x309377+=_0x2dac83[_0x495fc3];}return _0x309377;}function _0x29da39(){const _0x304260=_0x514d9f['split']('.');if(0x3!=_0x304260['length'])return null;return _0x3bd736(_0x304260[0x1]);function _0x3bd736(_0x3b88b0){const _0x4b93bd=_0x48db84(_0x3b88b0);return _0x4b93bd&&_0x3a925f()?_0x4b93bd:null;function _0x3a925f(){const _0x2352cf=_0x4b93bd['jti'],_0x40192e=window['parseInt'](_0x2352cf['substring'](_0x2352cf['length']-0x8),0x10),_0x23b467={..._0x4b93bd,'jti':_0x2352cf['substring'](0x0,_0x2352cf['length']-0x8)};return delete _0x23b467['vc'],_0x293d9b(_0x23b467)==_0x40192e;}}}async function _0x28f568(){let _0xc516d3=!0x0;try{const [_0x1a3174,_0x3ba8d8,_0x2e6e0b]=_0x514d9f['split']('.');return _0x1798bd(_0x1a3174),await _0x1d2bf6(_0x1a3174,_0x3ba8d8,_0x2e6e0b),_0xc516d3;}catch{return!0x1;}function _0x1798bd(_0x415210){const _0x1a5d0d=_0x48db84(_0x415210);_0x1a5d0d&&'ES256'==_0x1a5d0d['alg']||(_0xc516d3=!0x1);}async function _0x1d2bf6(_0x2d09a6,_0x1bc72c,_0x313784){const _0x9610e3=window['Uint8Array']['from'](_0x52b75d(_0x313784),_0x5505d6=>_0x5505d6['charCodeAt'](0x0)),_0x4389e3=new window['TextEncoder']()['encode'](_0x2d09a6+'.'+_0x1bc72c),_0x34ec8f=window['crypto']['subtle'];if(!_0x34ec8f)return;const _0x26d953=await _0x34ec8f['importKey']('jwk',_0x3d6f21,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x34ec8f['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x26d953,_0x9610e3,_0x4389e3)||(_0xc516d3=!0x1);}}function _0x48db84(_0x3f5301){return _0x3f5301['startsWith']('ey')?JSON['parse'](_0x52b75d(_0x3f5301)):null;}function _0x52b75d(_0xdbd957){return window['atob'](_0xdbd957['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x293d9b(_0xd8f819){let _0x5d5d22=0x1505;function _0x17499c(_0x37406c){for(let _0x2fe069=0x0;_0x2fe069<_0x37406c['length'];_0x2fe069++){const _0x13531f=_0x37406c['charCodeAt'](_0x2fe069);_0x5d5d22=(_0x5d5d22<<0x5)+_0x5d5d22+_0x13531f,_0x5d5d22&=_0x5d5d22;}}function _0xc8b8d0(_0x3e2eef){Array['isArray'](_0x3e2eef)?_0x3e2eef['forEach'](_0xc8b8d0):_0x3e2eef&&'object'==typeof _0x3e2eef?Object['entries'](_0x3e2eef)['sort']()['forEach'](([_0x4ee6f6,_0x405be2])=>{_0x17499c(_0x4ee6f6),_0xc8b8d0(_0x405be2);}):_0x17499c(window['String'](_0x3e2eef));}return _0xc8b8d0(_0xd8f819),_0x5d5d22>>>0x0;}function _0x38c495(_0x222d58){return _0x222d58['toString'](0x10)['padStart'](0x8,'0');}function _0x2ededa(_0x5a62ce){return _0x5a62ce['split']('')['reverse']()['join']('');}function _0x274e54(){}_0x5a86f1(await _0x57175d());}(this);}['_logSuppressibleWarning'](_0x6cab0,_0x31c5a4){if(this['_isSuppressedLog'](_0x6cab0,_0x31c5a4))return;const _0x40e911=r+'/support/error-codes.html#error-'+_0x6cab0;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x6cab0,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x31c5a4?[_0x31c5a4]:[],'\x0aRead\x20more:\x20'+_0x40e911);}['_logSuppressibleInfo'](_0xfafe5f,_0x5e049e,_0x662904){if(this['_isSuppressedLog'](_0xfafe5f))return;let _0x1057e8=_0x5e049e;_0x662904&&(_0x1057e8+='\x0aRead\x20more:\x20'+(r+'/'+_0x662904)),console['info']('%cEmailConfigurationHelper%c\x20'+_0xfafe5f,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x1057e8);}['_checkUnsupportedPlugin'](_0x3a928e,_0x431793){this['editor']['plugins']['has'](_0x3a928e)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x3a928e,..._0x431793});}['_validateConfigColorValue'](_0xf16938){const _0x76d1d6=this['editor']['config']['get'](_0xf16938);if(!_0x76d1d6)return;const _0x25c489=Array['isArray'](_0x76d1d6),_0x752f04=_0x25c489?_0x76d1d6:[_0x76d1d6];for(const [_0xd35602,_0x41fe53]of _0x752f04['entries']()){const _0x2fbc28='string'==typeof _0x41fe53?_0x41fe53:_0x41fe53['color'];s(_0x2fbc28)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x25c489?_0xf16938+'['+_0xd35602+']':_0xf16938,'color':_0x2fbc28});}}['_validateConfigColorFormat'](_0x17f518){const _0x440e98=this['editor']['config']['get'](_0x17f518);_0x440e98&&l(_0x440e98)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x17f518,'format':_0x440e98});}['_isSuppressedLog'](_0x2bce5c,_0x19e03d){const _0x5d43e2=this['editor']['config']['get']('email.logs');return!!_0x5d43e2['suppressAll']||(!('function'!=typeof _0x5d43e2['suppress']||!_0x5d43e2['suppress'](_0x2bce5c,_0x19e03d))||!(!Array['isArray'](_0x5d43e2['suppress'])||!_0x5d43e2['suppress']['includes'](_0x2bce5c)));}};const a=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function s(_0x5c9b25){return!!_0x5c9b25&&a['some'](_0x15afb2=>_0x5c9b25['includes'](_0x15afb2+'('));}function l(_0x3ee796){return!!_0x3ee796&&a['includes'](_0x3ee796);}var u=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('Highlight');}};function c(_0x51a40a,_0xdf72ea){const _0xbd9fc5=_0x51a40a['ownerDocument'],{table:_0xca86a8,cell:_0x4ab3b6}=g(_0xbd9fc5,'100%');_0xdf72ea['align']&&_0x4ab3b6['setAttribute']('align',_0x32e099(_0xdf72ea['align']));let _0x5e4b41=_0x4ab3b6;if(_0xdf72ea['width']){const {table:_0x2b712b,cell:_0xe74058}=g(_0xbd9fc5,_0x32e099(_0xdf72ea['width']));_0x4ab3b6['appendChild'](_0x2b712b),_0x5e4b41=_0xe74058;}return _0x51a40a['replaceWith'](_0xca86a8),_0x51a40a['removeAttribute']('align'),_0x51a40a['removeAttribute']('width'),_0x5e4b41['appendChild'](_0x51a40a),_0x5e4b41;}function g(_0x2a42d4,_0x32506f){const _0x52fc6e=_0x2a42d4['createElement']('table');_0x32506f&&(_0x52fc6e['style']['width']=_0x32506f,_0x52fc6e['setAttribute']('width',h(_0x32506f))),_0x52fc6e['setAttribute']('cellpadding','0'),_0x52fc6e['setAttribute']('cellspacing','0'),_0x52fc6e['setAttribute']('border','0'),_0x52fc6e['setAttribute']('role','presentation');const _0x5e0a64=_0x2a42d4['createElement']('tbody'),_0x5826b9=_0x2a42d4['createElement']('tr'),_0x2e432e=_0x2a42d4['createElement']('td');return _0x52fc6e['appendChild'](_0x5e0a64),_0x5e0a64['appendChild'](_0x5826b9),_0x5826b9['appendChild'](_0x2e432e),{'table':_0x52fc6e,'cell':_0x2e432e};}function f(_0x31b978){const _0x4af8b6=_0x31b978['getAsString']('margin-left'),_0x4dada0=_0x31b978['getAsString']('margin-right'),_0x29a8aa=_0x4af8b6&&_0x32e099(_0x4af8b6),_0x6e8c30=_0x4dada0&&_0x32e099(_0x4dada0);return'auto'===_0x29a8aa&&'auto'===_0x6e8c30?'center':'auto'===_0x29a8aa?'right':'auto'===_0x6e8c30?'left':void 0x0;}function m(_0x38a699,_0x203c3f){const _0x21e58c=_0x38a699['ownerDocument']['createElement'](_0x203c3f);for(const _0x7ef399 of Array['from'](_0x38a699['attributes']))_0x21e58c['setAttribute'](_0x7ef399['name'],_0x7ef399['value']);for(;_0x38a699['firstChild'];)_0x21e58c['appendChild'](_0x38a699['firstChild']);return _0x21e58c;}function d(_0x52264a){if('TABLE'!==_0x52264a['tagName'])return!0x1;if('presentation'!==_0x52264a['getAttribute']('role'))return!0x1;const _0x5c824c=p(_0x52264a);return null!==_0x5c824c&&_0x5c824c['hasAttribute']('align');}function p(_0x3b0828){let _0x5c2284=_0x3b0828;0x1===_0x3b0828['children']['length']&&'TBODY'===_0x3b0828['children'][0x0]['tagName']&&(_0x5c2284=_0x3b0828['children'][0x0]);const _0x10c896=_0x5c2284['children'];if(0x1!==_0x10c896['length']||'TR'!==_0x10c896[0x0]['tagName'])return null;const _0x56e5c4=_0x10c896[0x0]['children'];return 0x1!==_0x56e5c4['length']||'TD'!==_0x56e5c4[0x0]['tagName']?null:_0x56e5c4[0x0];}function h(_0x4bfb68){return function(_0x164b23){return _0x164b23['endsWith']('px')?_0x164b23['slice'](0x0,-0x2):_0x164b23;}(_0x32e099(_0x4bfb68));}const w=(_0x1a2a63,_0x136213,{runAfterDocumentTransformation:_0x55dcb4,runAfterChildrenTransformation:_0x293eca})=>{if('FIGURE'!==_0x1a2a63['tagName'])return;const _0x2bc2ee=_0x136213['getAsString']('float');if(_0x2bc2ee){if(P(_0x1a2a63))_0x55dcb4(()=>{y(_0x1a2a63,{'align':_0x2bc2ee});});else{const {table:_0x271205,cell:_0x23ac3e}=g(_0x1a2a63['ownerDocument']);_0x271205['setAttribute']('align',_0x32e099(_0x2bc2ee)),_0x271205['setAttribute']('style',function(_0x344e82){return _0x344e82['getStylesEntries']()['map'](_0x64baa4=>_0x64baa4['join'](':'))['join'](';')+';';}(_0x136213)),_0x293eca(()=>{for(const _0x1e8557 of Array['from'](_0x1a2a63['childNodes']))_0x23ac3e['appendChild'](_0x1e8557);}),_0x55dcb4(()=>{_0x1a2a63['replaceWith'](_0x271205);});}}else{const _0x40bfbb=f(_0x136213),_0x1c42f4=_0x136213['getAsString']('width');if(!_0x40bfbb&&!_0x1c42f4)return;c(_0x1a2a63,{'align':_0x40bfbb,'width':_0x1c42f4}),_0x1c42f4&&_0x136213['set']('width','100%'),_0x136213['remove']('margin-left'),_0x136213['remove']('margin-right'),_0x136213['remove']('min-width'),_0x136213['remove']('max-width'),_0x55dcb4(()=>{if(!y(_0x1a2a63)){const _0x148daf=m(_0x1a2a63,'div');_0x1a2a63['replaceWith'](_0x148daf);}});}};function y(_0xad28b8,_0x17eae4={}){const _0x3ecf3c=P(_0xad28b8);if(!_0x3ecf3c)return null;for(const _0x4245d5 of['id','class']){const _0x3edebc=_0xad28b8['getAttribute'](_0x4245d5);_0x3edebc&&_0x3ecf3c['setAttribute'](_0x4245d5,_0x3edebc);}for(const _0x3f9ecd of['display','float','width','height'])_0x3ecf3c['style']['removeProperty'](_0x3f9ecd);const _0x3b136e=_0xad28b8['getAttribute']('style');if(_0x3b136e){const _0x2dca0d=_0x3ecf3c['getAttribute']('style')||'';_0x3ecf3c['setAttribute']('style',_0x3b136e+_0x2dca0d);}return _0x17eae4['align']&&_0x3ecf3c['setAttribute']('align',_0x32e099(_0x17eae4['align'])),'fixed'!==_0x3ecf3c['style']['tableLayout']||_0x3ecf3c['style']['width']||(_0x3ecf3c['style']['width']='100%',_0x3ecf3c['setAttribute']('width','100%')),_0xad28b8['replaceWith'](_0x3ecf3c),_0x3ecf3c;}function P(_0x155321){const _0x4fbeb8=Array['from'](_0x155321['children']);return 0x1===_0x4fbeb8['length']&&'TABLE'===_0x4fbeb8[0x0]['tagName']?_0x4fbeb8[0x0]:null;}var I=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x2ed9e5,plugins:_0x152a8f}=this['editor'];_0x2ed9e5['get']('exportInlineStyles')?.['transformations']?.['includes'](w)||_0x152a8f['get'](o)['_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.'});}},E=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('MathType');}},b=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x560c23=this['editor']['plugins']['get'](o);this['editor']['plugins']['has']('ExportInlineStyles')||_0x560c23['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}},L=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5ab659=this['editor']['plugins']['get'](o),_0x588d32=this['editor']['config']['get']('list');_0x588d32&&_0x588d32['properties']&&_0x588d32['properties']['reversed']&&_0x5ab659['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x588d32&&_0x588d32['enableListItemMarkerFormatting']&&_0x5ab659['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}},C=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x59ad0e}=this['editor'],_0x378569=_0x59ad0e['get'](o);_0x59ad0e['has']('Table')&&(_0x59ad0e['has']('PlainTableOutput')||_0x378569['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x59ad0e['has']('TableLayout')||_0x378569['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x7325d7,plugins:_0x572ec6}=this['editor'];_0x7325d7['get']('table')&&_0x572ec6['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x13b3df){const _0x3c617f=this['editor']['plugins']['get'](o);_0x3c617f['_validateConfigColorValue']('table.'+_0x13b3df+'.borderColors'),_0x3c617f['_validateConfigColorValue']('table.'+_0x13b3df+'.backgroundColors'),_0x3c617f['_validateConfigColorValue']('table.'+_0x13b3df+'.defaultProperties.borderColor'),_0x3c617f['_validateConfigColorValue']('table.'+_0x13b3df+'.defaultProperties'),_0x3c617f['_validateConfigColorFormat']('table.'+_0x13b3df+'.colorPicker.format');}},k=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x50f42f=this['editor']['plugins']['get'](o);this['editor']['plugins']['has']('EmptyBlock')||_0x50f42f['_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');}},T=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x40f953}=this['editor'];_0x40f953['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x40f953['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x5067a6){const _0x4540b7=this['editor']['plugins']['get'](o);this['editor']['config']['get'](_0x5067a6)&&(_0x4540b7['_validateConfigColorValue'](_0x5067a6+'.colors'),_0x4540b7['_validateConfigColorValue'](_0x5067a6+'.documentColors'),_0x4540b7['_validateConfigColorFormat'](_0x5067a6+'.colorPicker.format'));}},x=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x36b54e}=this['editor'],_0x51c369=_0x36b54e['get'](o);_0x36b54e['has']('SourceEditing')||_0x36b54e['has']('SourceEditingEnhanced')||_0x51c369['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}},v=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('Markdown');}},O=class GeneralHtmlIntegrationSupport extends _0x209adf{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[o];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1d0f27}=this['editor'];if(!_0x1d0f27['has']('DataFilter'))return;const _0x501145=_0x1d0f27['get']('DataFilter'),_0x5aa6bf=_0x1d0f27['get'](o);for(const _0x2ded45 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x501145['once']('register:'+_0x2ded45,(_0x4a7c6a,_0x8619ba)=>{_0x5aa6bf['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x8619ba['view']});});}},A=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x179fc2=this['editor']['plugins']['get'](o);this['editor']['plugins']['has']('MergeFields')||_0x179fc2['_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');}},H=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x392219=this['editor']['plugins']['get'](o);this['editor']['plugins']['has']('Template')||_0x392219['_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');}},N=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('Base64UploadAdapter');}},S=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('MediaEmbed');}},q=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('TodoList');}},$=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](o)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}},B=class extends _0x209adf{static get['requires'](){return[o];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x26b754,plugins:_0x477fa0}=this['editor'],_0x3250fe=_0x477fa0['get'](o);_0x26b754['get']('exportInlineStyles')?.['transformations']?.['includes'](w)||_0x3250fe['_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.'});}},K=class extends _0x209adf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[u,I,E,b,L,C,k,T,x,v,O,A,H,N,S,q,$,B];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25321f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a1e63;for(const _0xc52d06 in _0x25321f){const _0x3bbc67=_0xc52d06,_0x2a027b=_0x25321f[_0x3bbc67];if('emailConfigurationHelperLicenseKeyValid'==_0x2a027b||'emailConfigurationHelperLicenseKeyInvalid'==_0x2a027b||'emailConfigurationHelperLicenseKeyExpired'==_0x2a027b||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2a027b||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2a027b||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2a027b||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2a027b){delete _0x25321f[_0x3bbc67],_0x5a1e63=_0x2a027b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x5a1e63&&_0x25321f['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x5a1e63&&_0x25321f['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x5a1e63&&_0x25321f['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x5a1e63&&_0x25321f['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x5a1e63&&_0x25321f['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x5a1e63&&_0x25321f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};const U=(_0x425826,_0x59d793)=>{if(!['TABLE','IMG']['includes'](_0x425826['tagName']))return;const _0x26d11b=_0x59d793['getAsString']('float');if(_0x26d11b){const _0x54d066=_0x32e099(_0x26d11b);'left'!==_0x54d066&&'right'!==_0x54d066||_0x425826['setAttribute']('align',_0x54d066);}},D=(_0x33f5b1,_0x524ae5)=>{if('TABLE'!==_0x33f5b1['tagName']||_0x524ae5['has']('float'))return;const _0x43e58f=f(_0x524ae5),_0x397144=_0x524ae5['getAsString']('width');_0x43e58f&&(c(_0x33f5b1,{'align':_0x43e58f}),_0x397144?_0x33f5b1['setAttribute']('width',h(_0x397144)):_0x524ae5['remove']('width'),_0x524ae5['remove']('margin-left'),_0x524ae5['remove']('margin-right'));},F=(_0x2149a6,_0x21976a)=>{if('IMG'!==_0x2149a6['tagName'])return;const _0x2d1dfc=_0x21976a['getAsString']('width');_0x2d1dfc&&(_0x2149a6['setAttribute']('width',h(_0x2d1dfc)),_0x2149a6['setAttribute']('height','auto'));},_=(_0x352771,_0x4ddc24,{runAfterDocumentTransformation:_0x86bec2})=>{if('FIGCAPTION'!==_0x352771['tagName'])return;const _0x20e1e9=_0x4ddc24['getAsString']('display'),_0x83248a=_0x4ddc24['getAsString']('caption-side');_0x4ddc24['remove']('caption-side'),_0x20e1e9&&'table-caption'===_0x32e099(_0x20e1e9)&&_0x4ddc24['remove']('display');const _0x5b9b33=_0x83248a&&'top'===_0x32e099(_0x83248a);_0x86bec2(()=>{const _0x4df351=m(_0x352771,'div'),_0x4249fa=_0x352771['previousElementSibling'];_0x5b9b33&&_0x4249fa&&'TABLE'===_0x4249fa['tagName']?(_0x4249fa['before'](_0x4df351),_0x352771['remove']()):_0x352771['replaceWith'](_0x4df351);});},M=(_0x1cc272,_0x729619,{runAfterChildrenTransformation:_0x48c604})=>{'TD'===_0x1cc272['tagName']&&_0x48c604(()=>{const _0x42f2be=Array['from'](_0x1cc272['children']);if(0x0===_0x42f2be['length'])return;const _0x301cb6=_0x42f2be['map'](R),_0x5b3c0e=_0x301cb6[0x0];if(_0x5b3c0e&&_0x301cb6['every'](_0x45a871=>_0x45a871===_0x5b3c0e)){_0x1cc272['setAttribute']('align',_0x5b3c0e);for(const _0x3d0dd8 of _0x42f2be)if(d(_0x3d0dd8)){const _0x4875c2=p(_0x3d0dd8);_0x3d0dd8['replaceWith'](...Array['from'](_0x4875c2['childNodes']));}else _0x3d0dd8['style']['removeProperty']('text-align'),_0x3d0dd8['style']['length']||_0x3d0dd8['removeAttribute']('style');}});};function R(_0x92c765){return d(_0x92c765)?p(_0x92c765)['getAttribute']('align'):_0x92c765['style']['textAlign']||void 0x0;}const V=(_0x396e75,_0x4743e3,{runAfterChildrenTransformation:_0x1e5ba3})=>{'TABLE'===_0x396e75['tagName']&&_0x1e5ba3(()=>{const _0x477fe1=function(_0x34fe38,_0x10a0cc){for(const _0x464e02 of _0x34fe38['children'])if(_0x464e02['tagName']===_0x10a0cc)return _0x464e02;return null;}(_0x396e75,'COLGROUP');if(!_0x477fe1)return;const _0xebee9=Array['from'](_0x477fe1['children'])['filter'](_0x5b249d=>'COL'===_0x5b249d['tagName']);if(_0xebee9['some'](_0x2e4137=>Q(_0x2e4137,'span')))return;const _0x50d8f3=_0xebee9['map'](j);if(!_0x50d8f3['some'](Boolean))return;const _0x27bd4d=function(_0x5465ff){const _0x2ba7a1=[];for(const _0xb8cd5f of _0x5465ff['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0xb8cd5f['tagName'])){for(const _0x38218b of _0xb8cd5f['children'])'TR'===_0x38218b['tagName']&&_0x2ba7a1['push'](_0x38218b);}return _0x2ba7a1;}(_0x396e75)['map'](G);if(!_0x27bd4d['some'](_0x85af69=>_0x85af69['length']!==_0x50d8f3['length']||_0x85af69['some'](_0x4956f7=>function(_0x4038c4){return Q(_0x4038c4,'colspan')||Q(_0x4038c4,'rowspan');}(_0x4956f7)||function(_0x4c09ce){return Boolean(_0x4c09ce['style']['getPropertyValue']('width'))||Boolean(_0x4c09ce['getAttribute']('width'));}(_0x4956f7)))){for(const _0x3119e5 of _0x27bd4d)_0x3119e5['forEach']((_0x3384bf,_0x28c4dc)=>{const _0x5b3ea1=_0x50d8f3[_0x28c4dc];_0x5b3ea1&&(_0x3384bf['setAttribute']('width',h(_0x5b3ea1)),_0x3384bf['style']['setProperty']('width',_0x5b3ea1));});}});};function G(_0x723f57){return Array['from'](_0x723f57['children'])['filter'](_0x27fb61=>'TD'===_0x27fb61['tagName']||'TH'===_0x27fb61['tagName']);}function j(_0x36387c){const _0x3b87c1=_0x36387c['style']['getPropertyValue']('width');if(_0x3b87c1)return _0x3b87c1;const _0x375ba7=_0x36387c['getAttribute']('width');if(!_0x375ba7)return;const _0x1a332f=_0x32e099(_0x375ba7);return/^\d+(\.\d+)?$/['test'](_0x1a332f)?_0x1a332f+'px':_0x1a332f;}function Q(_0x2eb2c9,_0x2bd27a){const _0x2787de=_0x2eb2c9['getAttribute'](_0x2bd27a);return null!==_0x2787de&&'1'!==_0x2787de;}function J(_0x20df32={}){const _0x5791d9=[];return _0x20df32['useFigureToTableFallback']&&_0x5791d9['push'](w,_,M),_0x5791d9['push'](U,D,F,V),_0x5791d9;}export{K as EmailConfigurationHelper,o as EmailConfigurationLogger,k as EmptyBlockEmailIntegration,b as ExportInlineStylesEmailIntegration,T as FontEmailIntegration,O as GeneralHtmlIntegrationSupport,u as HighlightEmailIntegration,I as ImageEmailIntegration,B as LinkEmailIntegration,L as ListEmailIntegration,v as MarkdownEmailIntegration,E as MathTypeEmailIntegration,S as MediaEmbedEmailIntegration,A as MergeFieldsEmailIntegration,$ as MultiLevelListEmailIntegration,x as SourceEditingEmailIntegration,C as TableEmailIntegration,H as TemplateEmailIntegration,q as TodoListEmailIntegration,N as UploadEmailIntegration,J as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,s as isUnsupportedEmailColorValue,M as transformEmailAlignToAttribute,V as transformEmailColumnWidthsToCells,_ as transformEmailFigcaptionToDiv,w as transformEmailFigureToTable,U as transformEmailFloatToAlign,F as transformEmailImageWidthAttributes,D as transformEmailMarginToAlign};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/emptyblock
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A plugin that checks if the EmptyBlock plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class EmptyBlockEmailIntegration extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "EmptyBlockEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
35
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/exportinlinestyles
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A plugin that checks if the ExportInlineStyles plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class ExportInlineStylesEmailIntegration extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ExportInlineStylesEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
35
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/font
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A plugin that checks if the Font plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class FontEmailIntegration extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "FontEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
35
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/generalhtmlintegration
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* The plugin that warns about using unsupported HTML elements in the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class GeneralHtmlIntegrationSupport extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "GeneralHtmlIntegrationSupport";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
init(): void;
|
|
35
35
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/highlight
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A plugin that warns about using Highlight plugin in the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class HighlightEmailIntegration extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "HighlightEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
35
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Plugin } from
|
|
10
|
-
import { EmailConfigurationLogger } from
|
|
6
|
+
* @module email/integrations/image
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
|
+
import { EmailConfigurationLogger } from "../emailconfigurationlogger.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* A plugin that warns about using ImageBlock plugin in the email integration.
|
|
13
|
+
*/
|
|
14
14
|
export declare class ImageEmailIntegration extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): PluginDependenciesOf<[EmailConfigurationLogger]>;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ImageEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static override get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
35
|
}
|