@ckeditor/ckeditor5-email 0.0.1 → 45.0.0-alpha.1

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +6 -6
  3. package/README.md +47 -3
  4. package/build/email.js +4 -0
  5. package/ckeditor5-metadata.json +13 -0
  6. package/dist/index-content.css +4 -0
  7. package/dist/index-editor.css +4 -0
  8. package/dist/index.css +4 -0
  9. package/dist/index.js +23 -0
  10. package/package.json +51 -4
  11. package/src/augmentation.d.ts +30 -0
  12. package/src/augmentation.js +23 -0
  13. package/src/emailconfigurationconfig.d.ts +59 -0
  14. package/src/emailconfigurationconfig.js +23 -0
  15. package/src/emailconfigurationhelper.d.ts +57 -0
  16. package/src/emailconfigurationhelper.js +23 -0
  17. package/src/emailconfigurationlogger.d.ts +39 -0
  18. package/src/emailconfigurationlogger.js +23 -0
  19. package/src/emailinlinestylestransformations.d.ts +32 -0
  20. package/src/emailinlinestylestransformations.js +23 -0
  21. package/src/index.d.ts +22 -0
  22. package/src/index.js +23 -0
  23. package/src/integrations/emptyblock.d.ts +35 -0
  24. package/src/integrations/emptyblock.js +23 -0
  25. package/src/integrations/exportinlinestyles.d.ts +35 -0
  26. package/src/integrations/exportinlinestyles.js +23 -0
  27. package/src/integrations/font.d.ts +35 -0
  28. package/src/integrations/font.js +23 -0
  29. package/src/integrations/generalhtmlintegration.d.ts +35 -0
  30. package/src/integrations/generalhtmlintegration.js +23 -0
  31. package/src/integrations/highlight.d.ts +35 -0
  32. package/src/integrations/highlight.js +23 -0
  33. package/src/integrations/image.d.ts +35 -0
  34. package/src/integrations/image.js +23 -0
  35. package/src/integrations/list.d.ts +35 -0
  36. package/src/integrations/list.js +23 -0
  37. package/src/integrations/listmultilevel.d.ts +35 -0
  38. package/src/integrations/listmultilevel.js +23 -0
  39. package/src/integrations/markdown.d.ts +35 -0
  40. package/src/integrations/markdown.js +23 -0
  41. package/src/integrations/mathtype.d.ts +35 -0
  42. package/src/integrations/mathtype.js +23 -0
  43. package/src/integrations/mediaembed.d.ts +35 -0
  44. package/src/integrations/mediaembed.js +23 -0
  45. package/src/integrations/mergefields.d.ts +35 -0
  46. package/src/integrations/mergefields.js +23 -0
  47. package/src/integrations/sourceediting.d.ts +35 -0
  48. package/src/integrations/sourceediting.js +23 -0
  49. package/src/integrations/table.d.ts +35 -0
  50. package/src/integrations/table.js +23 -0
  51. package/src/integrations/template.d.ts +35 -0
  52. package/src/integrations/template.js +23 -0
  53. package/src/integrations/todolist.d.ts +35 -0
  54. package/src/integrations/todolist.js +23 -0
  55. package/src/integrations/upload.d.ts +35 -0
  56. package/src/integrations/upload.js +23 -0
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ import { type Editor, Plugin } from 'ckeditor5/src/core.js';
6
+ /**
7
+ * A utility plugin for email integration that provides logging functionality
8
+ * and checks for unsupported plugins and color values.
9
+ */
10
+ export default class EmailConfigurationLogger extends Plugin {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ static get pluginName(): "EmailConfigurationLogger";
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get isOfficialPlugin(): true;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get isPremiumPlugin(): true;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ constructor(editor: Editor);
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ afterInit(): void;
31
+ }
32
+ /**
33
+ * Checks if the given color value is not supported in email clients.
34
+ */
35
+ export declare function isUnsupportedEmailColorValue(color: string | undefined): boolean;
36
+ /**
37
+ * Checks if the given color format is not supported in email clients.
38
+ */
39
+ export declare function isUnsupportedEmailColorFormat(color: string | undefined): boolean;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0xa82592=_0x5d6f;function _0x4b21(){const _0x50079f=['1840LzWndA','8402589wLmksV','lch','color','color-mix','hwb','isPremiumPlugin','EmailConfigurationLogger','suppress','16qgQPRM','editor','oklab','email-configuration-unsupported-color-format','10HUYTFu','oklch','function','lab','has','entries','_checkUnsupportedPlugin','map','pluginName','https://ckeditor.com/docs/ckeditor5/latest/','_validateConfigColorFormat','info','string','hsl','328425fLSkOw','afterInit','email-configuration-unsupported-plugin','isArray','4039udPlsT','\x0aRead\x20more:\x20','_isSuppressedLog','suppressAll','get','email.logs','3144372mUatHX','config','join','define','href','_logSuppressibleWarning','140IiXIra','hsla','plugins','includes','45700RlBaDM','email-configuration-unsupported-color-value','_validateConfigColorValue','some','2616204xFgZkn','fromCharCode','_logSuppressibleInfo','41298FGQtfn','rgba','isOfficialPlugin'];_0x4b21=function(){return _0x50079f;};return _0x4b21();}(function(_0xe050a9,_0x8ff022){const _0x32514d=_0x5d6f,_0x1bce97=_0xe050a9();while(!![]){try{const _0x23c81b=-parseInt(_0x32514d(0x1e2))/0x1+-parseInt(_0x32514d(0x1f5))/0x2*(-parseInt(_0x32514d(0x207))/0x3)+-parseInt(_0x32514d(0x1e6))/0x4+-parseInt(_0x32514d(0x1de))/0x5*(parseInt(_0x32514d(0x1e9))/0x6)+-parseInt(_0x32514d(0x20b))/0x7*(parseInt(_0x32514d(0x1ec))/0x8)+parseInt(_0x32514d(0x1ed))/0x9*(parseInt(_0x32514d(0x1f9))/0xa)+-parseInt(_0x32514d(0x1d8))/0xb;if(_0x23c81b===_0x8ff022)break;else _0x1bce97['push'](_0x1bce97['shift']());}catch(_0x2fe61a){_0x1bce97['push'](_0x1bce97['shift']());}}}(_0x4b21,0x79ad0));import{Plugin as _0xb0f450}from'ckeditor5/src/core.js';function _0x5d6f(_0x3a4721,_0x57c77d){const _0x4b21a8=_0x4b21();return _0x5d6f=function(_0x5d6f78,_0xacd5a){_0x5d6f78=_0x5d6f78-0x1d7;let _0x5cb125=_0x4b21a8[_0x5d6f78];return _0x5cb125;},_0x5d6f(_0x3a4721,_0x57c77d);}import{uid as _0x592c85,logWarning as _0x121c45}from'ckeditor5/src/utils.js';export default class b extends _0xb0f450{static get[_0xa82592(0x201)](){const _0x32055b=_0xa82592;return _0x32055b(0x1f3);}static get[_0xa82592(0x1eb)](){return!0x0;}static get[_0xa82592(0x1f2)](){return!0x0;}constructor(_0x53ac29){const _0x5b0266=_0xa82592;super(_0x53ac29),_0x53ac29[_0x5b0266(0x1d9)][_0x5b0266(0x1db)](_0x5b0266(0x1d7),{'suppress':[],'suppressAll':!0x1});}[_0xa82592(0x208)](){!async function(_0x1f027f){const _0x359bff=_0x2f8ec2([0x41,0x37,0x4c,0x32,0x75,0x47,0x44,0x59,0x76,0x73,0x54,0x48,0x72,0x4e,0x49,0x67,0x69,0x71,0x6c,0x4f,0x36,0x51,0x4d,0x55,0x6f,0x6a,0x57,0x53,0x6d,0x70,0x66,0x74,0x45,0x42,0x6e,0x4a,0x78,0x61,0x62,0x68,0x35,0x52,0x56,0x64,0x4b,0x65,0x58,0x43,0x33,0x6b,0x63,0x5a,0x38,0x39,0x79,0x77,0x46,0x30,0x50,0x7a,0x31,0x34]),_0xded47d=0x7938a8f8,_0x1fd3e8=0x793fcba8^_0xded47d,_0x3cbd76=window[_0x2f8ec2([0x44,0x61,0x74,0x65])][_0x2f8ec2([0x6e,0x6f,0x77])](),_0x55c797=_0x1f027f[_0x2f8ec2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4767d1=new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e6f5d=>{_0x55c797[_0x2f8ec2([0x6f,0x6e,0x63,0x65])](_0x2f8ec2([0x72,0x65,0x61,0x64,0x79]),_0x1e6f5d);}),_0x462591={[_0x2f8ec2([0x6b,0x74,0x79])]:_0x2f8ec2([0x45,0x43]),[_0x2f8ec2([0x75,0x73,0x65])]:_0x2f8ec2([0x73,0x69,0x67]),[_0x2f8ec2([0x63,0x72,0x76])]:_0x2f8ec2([0x50,0x2d,0x32,0x35,0x36]),[_0x2f8ec2([0x78])]:_0x2f8ec2([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]),[_0x2f8ec2([0x79])]:_0x2f8ec2([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]),[_0x2f8ec2([0x61,0x6c,0x67])]:_0x2f8ec2([0x45,0x53,0x32,0x35,0x36])},_0xc18945=_0x55c797[_0x2f8ec2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f8ec2([0x67,0x65,0x74])](_0x2f8ec2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e97c0(){let _0x2eccc3,_0x1deda0=null,_0x20a6a5=null;try{if(_0xc18945==_0x2f8ec2([0x47,0x50,0x4c]))return _0x2f8ec2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2eccc3=_0x3e8da2(),!_0x2eccc3)return _0x2f8ec2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2eccc3[_0x2f8ec2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20a6a5=_0x1de54d(_0x2eccc3[_0x2f8ec2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2eccc3[_0x2f8ec2([0x6a,0x74,0x69])])),await _0x2ef019()?_0x437fa7()?_0x4a45de()?_0x2f8ec2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x140cbf()?(_0x2eccc3[_0x2f8ec2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f8ec2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1deda0=_0x4da9ad(_0x2f8ec2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2eccc3[_0x2f8ec2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f8ec2([0x74,0x72,0x69,0x61,0x6c])&&(_0x1deda0=_0x4da9ad(_0x2f8ec2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43af21()):_0x2f8ec2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f8ec2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f8ec2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2c3004){return _0x2f8ec2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a45de(){const _0x508dc7=[_0x2f8ec2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f8ec2([0x74,0x72,0x69,0x61,0x6c])][_0x2f8ec2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eccc3[_0x2f8ec2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cbd76/0x3e8:0xe10*_0x1fd3e8;return _0x2eccc3[_0x2f8ec2([0x65,0x78,0x70])]<_0x508dc7;}function _0x437fa7(){const _0x3c32e0=_0x2eccc3[_0x2f8ec2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c32e0&&(!!_0x3c32e0[_0x2f8ec2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f8ec2([0x2a]))||!!_0x3c32e0[_0x2f8ec2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f8ec2([0x45,0x43,0x48])));}function _0x140cbf(){const _0x57fcc8=_0x5d6f,_0x3ad068=_0x2eccc3[_0x2f8ec2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ad068||0x0==_0x3ad068[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6898b}=new URL(window[_0x2f8ec2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x57fcc8(0x1dc)]);if(_0x3ad068[_0x2f8ec2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6898b))return!0x0;const _0x374626=_0x6898b[_0x2f8ec2([0x73,0x70,0x6c,0x69,0x74])](_0x2f8ec2([0x2e]));return _0x3ad068[_0x2f8ec2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f0f68=>_0x3f0f68[_0x2f8ec2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f8ec2([0x2a])))[_0x2f8ec2([0x6d,0x61,0x70])](_0x374b4d=>_0x374b4d[_0x2f8ec2([0x73,0x70,0x6c,0x69,0x74])](_0x2f8ec2([0x2e])))[_0x2f8ec2([0x73,0x6f,0x6d,0x65])](_0x4283dd=>_0x374626[_0x2f8ec2([0x65,0x76,0x65,0x72,0x79])]((_0x57a3ae,_0x480841)=>_0x4283dd[_0x480841]===_0x57a3ae||_0x4283dd[_0x480841]===_0x2f8ec2([0x2a])));}function _0x43af21(){return _0x1deda0&&_0x20a6a5?new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ad005,_0xda43c7)=>{_0x1deda0[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x2ad005,_0xda43c7),_0x20a6a5[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x467d99=>{_0x467d99!=_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64])&&_0x2ad005(_0x467d99);},_0xda43c7);}):_0x1deda0||_0x20a6a5||_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1de54d(_0x3a69df,_0xc64001){return new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x443283=>{if(_0x4036c6())return _0x443283(_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64]));_0xe5a6d4(),_0x55c797[_0x2f8ec2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f8ec2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53543b=!0x1;const _0xba574e=_0x592c85();function _0x396a7f(_0x17feb2){return!!_0x17feb2&&(typeof _0x17feb2===_0x2f8ec2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17feb2===_0x2f8ec2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17feb2[_0x2f8ec2([0x74,0x68,0x65,0x6e])]===_0x2f8ec2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17feb2[_0x2f8ec2([0x63,0x61,0x74,0x63,0x68])]===_0x2f8ec2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4231a1(_0x2b7ad2){_0x369c71(_0x2b7ad2)[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x35ed56=>{if(!_0x35ed56||_0x35ed56[_0x2f8ec2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f8ec2([0x6f,0x6b]))return _0x2f8ec2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ba4f8(_0x38aa9a(_0xba574e+_0xc64001))!=_0x35ed56[_0x2f8ec2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f8ec2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x2738b4=>(_0x96f22d(),_0x2738b4),()=>{const _0x10a32a=_0x3fb26c();return null==_0x10a32a?(_0x96f22d(),_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64])):_0x2f8ec2(_0x3cbd76-_0x10a32a>(0x5d342cf8^_0xded47d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x443283)[_0x2f8ec2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x443283(_0x2f8ec2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5eb9d2=0x790e4678^_0xded47d;function _0x96f22d(){const _0x3a9cde=_0x2f8ec2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba4f8(_0x38aa9a(_0x3a69df)),_0x42aff6=_0x37884b(_0x1ba4f8(window[_0x2f8ec2([0x4d,0x61,0x74,0x68])][_0x2f8ec2([0x63,0x65,0x69,0x6c])](_0x3cbd76/_0x5eb9d2)));window[_0x2f8ec2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f8ec2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a9cde,_0x42aff6);}function _0x3fb26c(){const _0x364d11=_0x2f8ec2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba4f8(_0x38aa9a(_0x3a69df)),_0x2037a9=window[_0x2f8ec2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f8ec2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x364d11);return _0x2037a9?window[_0x2f8ec2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37884b(_0x2037a9),0x10)*_0x5eb9d2:null;}function _0x369c71(_0x4cb9e1){return new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8def1e,_0x1ccfc5)=>{_0x4cb9e1[_0x2f8ec2([0x74,0x68,0x65,0x6e])](_0x8def1e,_0x1ccfc5),window[_0x2f8ec2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ccfc5,0x79397c38^_0xded47d);});}}_0x55c797[_0x2f8ec2([0x6f,0x6e])](_0x2f8ec2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4184a5,_0x221172)=>{if(_0x221172[0x0]!=_0x3a69df)return _0x443283(_0x2f8ec2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x221172[0x1]={..._0x221172[0x1],[_0x2f8ec2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xba574e};},{[_0x2f8ec2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f8ec2([0x68,0x69,0x67,0x68])}),_0x55c797[_0x2f8ec2([0x6f,0x6e])](_0x2f8ec2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16f6c6=>{_0x396a7f(_0x16f6c6[_0x2f8ec2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53543b=!0x0,_0x4231a1(_0x16f6c6[_0x2f8ec2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f8ec2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f8ec2([0x6c,0x6f,0x77])}),_0x4767d1[_0x2f8ec2([0x74,0x68,0x65,0x6e])](()=>{_0x53543b||_0x443283(_0x2f8ec2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4036c6(){return _0x55c797[_0x2f8ec2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f8ec2([0x76,0x69,0x65,0x77])][_0x2f8ec2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f8ec2([0x61,0x75,0x74,0x6f]);}function _0xe5a6d4(){_0x55c797[_0x2f8ec2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f8ec2([0x76,0x69,0x65,0x77])][_0x2f8ec2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f8ec2([0x61,0x75,0x74,0x6f]);}}function _0x4da9ad(_0x4e52cf){const _0x487ef7=[new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ef644=>setTimeout(_0x1ef644,0x79319634^_0xded47d)),_0x4767d1[_0x2f8ec2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dae41=>{let _0x2c4ce0=0x0;_0x55c797[_0x2f8ec2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8ec2([0x6f,0x6e])](_0x2f8ec2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xff52d9,_0x355591)=>{_0x355591[0x0][_0x2f8ec2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c4ce0++,_0x2c4ce0==(0x7938a900^_0xded47d)&&(_0x4dae41(),_0xff52d9[_0x2f8ec2([0x6f,0x66,0x66])]());});}))];return window[_0x2f8ec2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f8ec2([0x72,0x61,0x63,0x65])](_0x487ef7)[_0x2f8ec2([0x74,0x68,0x65,0x6e])](()=>_0x4e52cf);}async function _0x56773e(){await _0x4767d1,_0x55c797[_0x2f8ec2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8ec2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c628a,_0x55c797[_0x2f8ec2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f8ec2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c628a,_0x55c797[_0x2f8ec2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f8ec2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x183798(_0x1bec07){const _0x4dab6e=_0x2e1469();_0x55c797[_0x4dab6e]=_0x2f8ec2([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])+_0x1bec07,_0x1bec07!=_0x2f8ec2([0x56,0x61,0x6c,0x69,0x64])&&_0x56773e();}function _0x2e1469(){const _0x2f728b=window[_0x2f8ec2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f8ec2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f8ec2([0x6e,0x6f,0x77])]())[_0x2f8ec2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f8ec2([0x2e]),'');let _0x24d43a=_0x2f8ec2([0x41]);for(let _0x48ea4a=0x0;_0x48ea4a<_0x2f728b[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48ea4a+=0x2){let _0x23b80c=window[_0x2f8ec2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f728b[_0x2f8ec2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48ea4a,_0x48ea4a+0x2));_0x23b80c>=_0x359bff[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23b80c-=_0x359bff[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24d43a+=_0x359bff[_0x23b80c];}return _0x24d43a;}function _0x3e8da2(){const _0xd51d82=_0xc18945[_0x2f8ec2([0x73,0x70,0x6c,0x69,0x74])](_0x2f8ec2([0x2e]));if(0x3!=_0xd51d82[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x291b71(_0xd51d82[0x1]);function _0x291b71(_0x1d8545){const _0x57ad54=_0x3f992e(_0x1d8545);return _0x57ad54&&_0x3381b4()?_0x57ad54:null;function _0x3381b4(){const _0x11684f=_0x57ad54[_0x2f8ec2([0x6a,0x74,0x69])],_0x579a36=window[_0x2f8ec2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11684f[_0x2f8ec2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11684f[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1930b4={..._0x57ad54,[_0x2f8ec2([0x6a,0x74,0x69])]:_0x11684f[_0x2f8ec2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11684f[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1930b4[_0x2f8ec2([0x76,0x63])],_0x38aa9a(_0x1930b4)==_0x579a36;}}}async function _0x2ef019(){let _0x28b0cd=!0x0;try{const _0x210602=_0xc18945[_0x2f8ec2([0x73,0x70,0x6c,0x69,0x74])](_0x2f8ec2([0x2e])),[_0x13475c,_0x441ef8,_0x1ef96f]=_0x210602;return _0x510f8f(_0x13475c),await _0x274c99(_0x13475c,_0x441ef8,_0x1ef96f),_0x28b0cd;}catch(_0x1a3658){return!0x1;}function _0x510f8f(_0xf10f66){const _0x39f4b0=_0x3f992e(_0xf10f66);_0x39f4b0&&_0x39f4b0[_0x2f8ec2([0x61,0x6c,0x67])]==_0x2f8ec2([0x45,0x53,0x32,0x35,0x36])||(_0x28b0cd=!0x1);}async function _0x274c99(_0x252e93,_0x2308a3,_0xded462){const _0x92069f=window[_0x2f8ec2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f8ec2([0x66,0x72,0x6f,0x6d])](_0x167d2d(_0xded462),_0x55e933=>_0x55e933[_0x2f8ec2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53cd1f=new window[(_0x2f8ec2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f8ec2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x252e93+_0x2f8ec2([0x2e])+_0x2308a3),_0x53c95a=window[_0x2f8ec2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f8ec2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53c95a)return;const _0x4dbe6f=await _0x53c95a[_0x2f8ec2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f8ec2([0x6a,0x77,0x6b]),_0x462591,{[_0x2f8ec2([0x6e,0x61,0x6d,0x65])]:_0x2f8ec2([0x45,0x43,0x44,0x53,0x41]),[_0x2f8ec2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f8ec2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f8ec2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53c95a[_0x2f8ec2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f8ec2([0x6e,0x61,0x6d,0x65])]:_0x2f8ec2([0x45,0x43,0x44,0x53,0x41]),[_0x2f8ec2([0x68,0x61,0x73,0x68])]:{[_0x2f8ec2([0x6e,0x61,0x6d,0x65])]:_0x2f8ec2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dbe6f,_0x92069f,_0x53cd1f)||(_0x28b0cd=!0x1);}}function _0x3f992e(_0x81bd40){return _0x81bd40[_0x2f8ec2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f8ec2([0x65,0x79]))?JSON[_0x2f8ec2([0x70,0x61,0x72,0x73,0x65])](_0x167d2d(_0x81bd40)):null;}function _0x167d2d(_0x6e42ce){return window[_0x2f8ec2([0x61,0x74,0x6f,0x62])](_0x6e42ce[_0x2f8ec2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f8ec2([0x2b]))[_0x2f8ec2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f8ec2([0x2f])));}function _0x38aa9a(_0x49dae1){let _0x3eb602=0x1505;function _0x5204f2(_0x171cfd){for(let _0x4e396b=0x0;_0x4e396b<_0x171cfd[_0x2f8ec2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e396b++){const _0x137b8c=_0x171cfd[_0x2f8ec2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e396b);_0x3eb602=(_0x3eb602<<0x5)+_0x3eb602+_0x137b8c,_0x3eb602&=_0x3eb602;}}function _0x1e2669(_0x1601e7){Array[_0x2f8ec2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1601e7)?_0x1601e7[_0x2f8ec2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e2669):_0x1601e7&&typeof _0x1601e7==_0x2f8ec2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f8ec2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1601e7)[_0x2f8ec2([0x73,0x6f,0x72,0x74])]()[_0x2f8ec2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bcc14,_0x5a78e5])=>{_0x5204f2(_0x5bcc14),_0x1e2669(_0x5a78e5);}):_0x5204f2(window[_0x2f8ec2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1601e7));}return _0x1e2669(_0x49dae1),_0x3eb602>>>0x0;}function _0x1ba4f8(_0x6da134){return _0x6da134[_0x2f8ec2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f8ec2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f8ec2([0x30]));}function _0x37884b(_0x5440d8){return _0x5440d8[_0x2f8ec2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f8ec2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f8ec2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c628a(){}function _0x2f8ec2(_0x350442){const _0xc485ca=_0x5d6f;return _0x350442[_0xc485ca(0x200)](_0x10738d=>String[_0xc485ca(0x1e7)](_0x10738d))[_0xc485ca(0x1da)]('');}_0x183798(await _0x1e97c0());}(this);}[_0xa82592(0x1dd)](_0x120669,_0x39a079){const _0x534c47=_0xa82592;this[_0x534c47(0x20d)](_0x120669,_0x39a079)||_0x121c45(_0x120669,_0x39a079);}[_0xa82592(0x1e8)](_0x3e17af,_0x316ba4,_0x4f1c50){const _0x1b5f58=_0xa82592;!this[_0x1b5f58(0x20d)](_0x3e17af)&&(_0x4f1c50&&(_0x316ba4+=_0x1b5f58(0x20c)+(_0x1b5f58(0x202)+_0x4f1c50)),console[_0x1b5f58(0x204)](_0x3e17af,_0x316ba4));}[_0xa82592(0x1ff)](_0x511125,_0x34046b){const _0x98af90=_0xa82592;this[_0x98af90(0x1f6)][_0x98af90(0x1e0)][_0x98af90(0x1fd)](_0x511125)&&this[_0x98af90(0x1dd)](_0x98af90(0x209),{'pluginName':_0x511125,..._0x34046b});}[_0xa82592(0x1e4)](_0x1b8e8a){const _0x4e1b91=_0xa82592,_0x1935b0=this[_0x4e1b91(0x1f6)][_0x4e1b91(0x1d9)][_0x4e1b91(0x20f)](_0x1b8e8a);if(!_0x1935b0)return;const _0x3304ea=Array[_0x4e1b91(0x20a)](_0x1935b0),_0x4fdc24=_0x3304ea?_0x1935b0:[_0x1935b0];for(const [_0x5502b6,_0x45ab84]of _0x4fdc24[_0x4e1b91(0x1fe)]()){const _0x1696b6=_0x4e1b91(0x205)==typeof _0x45ab84?_0x45ab84:_0x45ab84[_0x4e1b91(0x1ef)];isUnsupportedEmailColorValue(_0x1696b6)&&this[_0x4e1b91(0x1dd)](_0x4e1b91(0x1e3),{'configPath':_0x3304ea?_0x1b8e8a+'['+_0x5502b6+']':_0x1b8e8a,'color':_0x1696b6});}}[_0xa82592(0x203)](_0x3a772f){const _0x41f424=_0xa82592,_0x4283e4=this[_0x41f424(0x1f6)][_0x41f424(0x1d9)][_0x41f424(0x20f)](_0x3a772f);_0x4283e4&&isUnsupportedEmailColorFormat(_0x4283e4)&&this[_0x41f424(0x1dd)](_0x41f424(0x1f8),{'configPath':_0x3a772f,'format':_0x4283e4});}[_0xa82592(0x20d)](_0x2f2d5a,_0x469e8e){const _0x3ab81d=_0xa82592,_0x326a79=this[_0x3ab81d(0x1f6)][_0x3ab81d(0x1d9)][_0x3ab81d(0x20f)](_0x3ab81d(0x1d7));return!!_0x326a79[_0x3ab81d(0x20e)]||(!(_0x3ab81d(0x1fb)!=typeof _0x326a79[_0x3ab81d(0x1f4)]||!_0x326a79[_0x3ab81d(0x1f4)](_0x2f2d5a,_0x469e8e))||!(!Array[_0x3ab81d(0x20a)](_0x326a79[_0x3ab81d(0x1f4)])||!_0x326a79[_0x3ab81d(0x1f4)][_0x3ab81d(0x1e1)](_0x2f2d5a)));}}const k=[_0xa82592(0x206),_0xa82592(0x1df),_0xa82592(0x1f1),_0xa82592(0x1fc),_0xa82592(0x1ee),_0xa82592(0x1f7),_0xa82592(0x1fa),_0xa82592(0x1f0),_0xa82592(0x1ea)];export function isUnsupportedEmailColorValue(_0x163abf){const _0x456c04=_0xa82592;return!!_0x163abf&&k[_0x456c04(0x1e5)](_0x19881b=>_0x163abf[_0x456c04(0x1e1)](_0x19881b+'('));}export function isUnsupportedEmailColorFormat(_0x36136a){const _0xfa116c=_0xa82592;return!!_0x36136a&&k[_0xfa116c(0x1e1)](_0x36136a);}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/emailinlinestylestransformations
7
+ * @publicApi
8
+ */
9
+ import { type ExportInlineStylesTransformation } from '@ckeditor/ckeditor5-export-inline-styles';
10
+ /**
11
+ * Returns a collection of style property transformations designed for email compatibility.
12
+ *
13
+ * These transformations convert modern CSS styles into HTML attributes better
14
+ * supported by email clients. The transformations focus on converting alignment-related
15
+ * CSS properties into corresponding HTML attributes.
16
+ *
17
+ * Examples of transformations:
18
+ *
19
+ * 1. Float to align:
20
+ * * `<img style="float: left">` → `<img align="left">`
21
+ *
22
+ * 2. Shorthand margin for centering:
23
+ * * `<table style="margin: auto"></table>` → `<table style="..." align="center"></table>`
24
+ * * `<table style="margin: 10px auto"></table>` → `<table style="..." align="center"></table>`
25
+ *
26
+ * Note:
27
+ *
28
+ * * The `align` attribute is only applied to the `table` and the `img` elements.
29
+ * * The `align` attribute is not applied to elements that already have it set.
30
+ * * The style attributes remain unchanged.
31
+ */
32
+ export declare function getEmailInlineStylesTransformations(): Array<ExportInlineStylesTransformation>;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x43f0(){const _0x30c339=['includes','TABLE','126NJaSXP','auto','float','left','3978tPLdfT','9840fJabVr','align','setAttribute','988440HFNNPt','585706nrHhJI','20IbgUCQ','601076pUQeiC','140872KGBpgV','margin-left','center','1OqWhed','234114rmsJnb','getAsString','tagName','319128LLSsGg','IMG','margin-right','right'];_0x43f0=function(){return _0x30c339;};return _0x43f0();}function _0x1579(_0x52985c,_0x5a8a6c){const _0x43f0d0=_0x43f0();return _0x1579=function(_0x157935,_0x185cd9){_0x157935=_0x157935-0x169;let _0x32e770=_0x43f0d0[_0x157935];return _0x32e770;},_0x1579(_0x52985c,_0x5a8a6c);}(function(_0x4d324d,_0xce1399){const _0x3c10b2=_0x1579,_0x56ca8b=_0x4d324d();while(!![]){try{const _0x3c694e=-parseInt(_0x3c10b2(0x16e))/0x1*(parseInt(_0x3c10b2(0x180))/0x2)+parseInt(_0x3c10b2(0x172))/0x3+parseInt(_0x3c10b2(0x16a))/0x4*(parseInt(_0x3c10b2(0x169))/0x5)+-parseInt(_0x3c10b2(0x16f))/0x6+-parseInt(_0x3c10b2(0x178))/0x7*(parseInt(_0x3c10b2(0x16b))/0x8)+parseInt(_0x3c10b2(0x17c))/0x9*(parseInt(_0x3c10b2(0x17d))/0xa)+parseInt(_0x3c10b2(0x181))/0xb;if(_0x3c694e===_0xce1399)break;else _0x56ca8b['push'](_0x56ca8b['shift']());}catch(_0x1996ac){_0x56ca8b['push'](_0x56ca8b['shift']());}}}(_0x43f0,0x54551));import{dropImportantStyleSuffix as _0x37edf9}from'@ckeditor/ckeditor5-export-inline-styles';export function getEmailInlineStylesTransformations(){return[(_0x4bd74d,_0x4fc935)=>{const _0x5d82d7=_0x1579;if(![_0x5d82d7(0x177),_0x5d82d7(0x173)][_0x5d82d7(0x176)](_0x4bd74d[_0x5d82d7(0x171)]))return;const _0xf7f3a8=_0x4fc935[_0x5d82d7(0x170)](_0x5d82d7(0x17a));if(_0xf7f3a8){const _0x4b68f7=_0x37edf9(_0xf7f3a8);_0x5d82d7(0x17b)!==_0x4b68f7&&_0x5d82d7(0x175)!==_0x4b68f7||_0x4bd74d[_0x5d82d7(0x17f)](_0x5d82d7(0x17e),_0x4b68f7);}},(_0x53958a,_0x80f259)=>{const _0x17937f=_0x1579;if(_0x17937f(0x177)!==_0x53958a[_0x17937f(0x171)])return;const _0x5b1707=_0x80f259[_0x17937f(0x170)](_0x17937f(0x16c)),_0x13ccd0=_0x80f259[_0x17937f(0x170)](_0x17937f(0x174));_0x5b1707&&_0x13ccd0&&_0x17937f(0x179)===_0x37edf9(_0x5b1707)&&_0x17937f(0x179)===_0x37edf9(_0x13ccd0)&&_0x53958a[_0x17937f(0x17f)](_0x17937f(0x17e),_0x17937f(0x16d));}];}
package/src/index.d.ts ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email
7
+ */
8
+ export { default as EmailConfigurationHelper } from './emailconfigurationhelper.js';
9
+ export { default as EmailConfigurationLogger } from './emailconfigurationlogger.js';
10
+ export { default as EmptyBlockEmailIntegration } from './integrations/emptyblock.js';
11
+ export { default as ExportInlineStylesEmailIntegration } from './integrations/exportinlinestyles.js';
12
+ export { default as FontEmailIntegration } from './integrations/font.js';
13
+ export { default as GeneralHtmlIntegrationSupport } from './integrations/generalhtmlintegration.js';
14
+ export { default as HighlightEmailIntegration } from './integrations/highlight.js';
15
+ export { default as ImageEmailIntegration } from './integrations/image.js';
16
+ export { default as ListEmailIntegration } from './integrations/list.js';
17
+ export { default as TableEmailIntegration } from './integrations/table.js';
18
+ export { default as MathTypeEmailIntegration } from './integrations/mathtype.js';
19
+ export { default as SourceEditingEmailIntegration } from './integrations/sourceediting.js';
20
+ export { default as MarkdownEmailIntegration } from './integrations/markdown.js';
21
+ export { getEmailInlineStylesTransformations } from './emailinlinestylestransformations.js';
22
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x2cfc6f,_0xea3835){var _0x5f3ff9=_0x436e,_0x1ec554=_0x2cfc6f();while(!![]){try{var _0x5e9025=-parseInt(_0x5f3ff9(0x1f4))/0x1+parseInt(_0x5f3ff9(0x1fb))/0x2*(parseInt(_0x5f3ff9(0x1fa))/0x3)+-parseInt(_0x5f3ff9(0x1f9))/0x4+parseInt(_0x5f3ff9(0x1f5))/0x5+parseInt(_0x5f3ff9(0x1f7))/0x6*(-parseInt(_0x5f3ff9(0x1f6))/0x7)+-parseInt(_0x5f3ff9(0x1fc))/0x8+parseInt(_0x5f3ff9(0x1f8))/0x9;if(_0x5e9025===_0xea3835)break;else _0x1ec554['push'](_0x1ec554['shift']());}catch(_0x3bdcbf){_0x1ec554['push'](_0x1ec554['shift']());}}}(_0x265b,0x7e47e));export{default as EmailConfigurationHelper}from'./emailconfigurationhelper.js';export{default as EmailConfigurationLogger}from'./emailconfigurationlogger.js';export{default as EmptyBlockEmailIntegration}from'./integrations/emptyblock.js';export{default as ExportInlineStylesEmailIntegration}from'./integrations/exportinlinestyles.js';export{default as FontEmailIntegration}from'./integrations/font.js';export{default as GeneralHtmlIntegrationSupport}from'./integrations/generalhtmlintegration.js';export{default as HighlightEmailIntegration}from'./integrations/highlight.js';function _0x265b(){var _0x4565ac=['680912rMFrZE','791601ZuyhCY','2MIboXE','3976960kwmxIy','747616WYhqfN','3234440PHrTEc','2345omPktZ','2118vHEUCW','10257390SxHwSJ'];_0x265b=function(){return _0x4565ac;};return _0x265b();}function _0x436e(_0x22b901,_0x194aaf){var _0x265bda=_0x265b();return _0x436e=function(_0x436e8e,_0x5afe39){_0x436e8e=_0x436e8e-0x1f4;var _0x391ba7=_0x265bda[_0x436e8e];return _0x391ba7;},_0x436e(_0x22b901,_0x194aaf);}export{default as ImageEmailIntegration}from'./integrations/image.js';export{default as ListEmailIntegration}from'./integrations/list.js';export{default as TableEmailIntegration}from'./integrations/table.js';export{default as MathTypeEmailIntegration}from'./integrations/mathtype.js';export{default as SourceEditingEmailIntegration}from'./integrations/sourceediting.js';export{default as MarkdownEmailIntegration}from'./integrations/markdown.js';export{getEmailInlineStylesTransformations}from'./emailinlinestylestransformations.js';import'./augmentation.js';
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/emptyblock
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * A plugin that checks if the EmptyBlock plugin is properly configured for the email integration.
13
+ */
14
+ export default class EmptyBlockEmailIntegration extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "EmptyBlockEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x13111f=_0x4e3e;function _0x4e3e(_0xff0a94,_0x49a751){const _0x32b987=_0x32b9();return _0x4e3e=function(_0x4e3e44,_0x5daf3f){_0x4e3e44=_0x4e3e44-0x131;let _0x4305e1=_0x32b987[_0x4e3e44];return _0x4305e1;},_0x4e3e(_0xff0a94,_0x49a751);}(function(_0x249111,_0x2824b4){const _0x35923d=_0x4e3e,_0x26d7d0=_0x249111();while(!![]){try{const _0x320cb4=parseInt(_0x35923d(0x132))/0x1+-parseInt(_0x35923d(0x147))/0x2*(-parseInt(_0x35923d(0x133))/0x3)+-parseInt(_0x35923d(0x143))/0x4+parseInt(_0x35923d(0x144))/0x5*(parseInt(_0x35923d(0x138))/0x6)+parseInt(_0x35923d(0x131))/0x7+-parseInt(_0x35923d(0x134))/0x8*(parseInt(_0x35923d(0x146))/0x9)+parseInt(_0x35923d(0x149))/0xa;if(_0x320cb4===_0x2824b4)break;else _0x26d7d0['push'](_0x26d7d0['shift']());}catch(_0x289d6e){_0x26d7d0['push'](_0x26d7d0['shift']());}}}(_0x32b9,0x1cc2d));import{Plugin as _0x137dfa}from'ckeditor5/src/core.js';function _0x32b9(){const _0x2f96a7=['features/email#empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','get','6SedShB','requires','isPremiumPlugin','email-configuration-missing-empty-block-plugin','editor','has','EmptyBlock','pluginName','EmptyBlockEmailIntegration','afterInit','isOfficialPlugin','661444HaLrqi','351745VGHVpc','_logSuppressibleInfo','81TLvkgY','1110XeBRtH','plugins','796300YKxJYQ','558733MGEsca','132940YQuiCy','579Srnwtx','165944pMXsfU'];_0x32b9=function(){return _0x2f96a7;};return _0x32b9();}import _0xbd0c01 from'../emailconfigurationlogger.js';export default class l extends _0x137dfa{static get[_0x13111f(0x139)](){return[_0xbd0c01];}static get[_0x13111f(0x13f)](){const _0x4d5d3b=_0x13111f;return _0x4d5d3b(0x140);}static get[_0x13111f(0x142)](){return!0x0;}static get[_0x13111f(0x13a)](){return!0x0;}[_0x13111f(0x141)](){const _0xbc3c5d=_0x13111f,_0x3ad955=this[_0xbc3c5d(0x13c)][_0xbc3c5d(0x148)][_0xbc3c5d(0x137)](_0xbd0c01);this[_0xbc3c5d(0x13c)][_0xbc3c5d(0x148)][_0xbc3c5d(0x13d)](_0xbc3c5d(0x13e))||_0x3ad955[_0xbc3c5d(0x145)](_0xbc3c5d(0x13b),_0xbc3c5d(0x136),_0xbc3c5d(0x135));}}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/exportinlinestyles
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * A plugin that checks if the ExportInlineStyles plugin is properly configured for the email integration.
13
+ */
14
+ export default class ExportInlineStylesEmailIntegration extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "ExportInlineStylesEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x5ee177=_0x3874;function _0x3874(_0x12c482,_0x596133){const _0xb29a47=_0xb29a();return _0x3874=function(_0x3874ef,_0x6e23f0){_0x3874ef=_0x3874ef-0x18f;let _0x20fa1d=_0xb29a47[_0x3874ef];return _0x20fa1d;},_0x3874(_0x12c482,_0x596133);}(function(_0xac8fe3,_0x4a3f16){const _0x4d821d=_0x3874,_0x1f424c=_0xac8fe3();while(!![]){try{const _0x217769=-parseInt(_0x4d821d(0x19d))/0x1*(parseInt(_0x4d821d(0x196))/0x2)+parseInt(_0x4d821d(0x197))/0x3*(parseInt(_0x4d821d(0x199))/0x4)+-parseInt(_0x4d821d(0x198))/0x5+-parseInt(_0x4d821d(0x190))/0x6*(-parseInt(_0x4d821d(0x192))/0x7)+-parseInt(_0x4d821d(0x19f))/0x8+parseInt(_0x4d821d(0x19c))/0x9+parseInt(_0x4d821d(0x191))/0xa;if(_0x217769===_0x4a3f16)break;else _0x1f424c['push'](_0x1f424c['shift']());}catch(_0x11bb91){_0x1f424c['push'](_0x1f424c['shift']());}}}(_0xb29a,0xad990));function _0xb29a(){const _0x17c0c6=['3696aOSJtx','editor','ExportInlineStyles','email-configuration-missing-export-inline-styles-plugin','692486BKfIsF','90KYuWPV','5045970OxLRfW','60zUwKkR','get','requires','7147521FpQnfu','1OStQDG','isPremiumPlugin','1829464YBbWqJ','has','afterInit','pluginName','ExportInlineStylesEmailIntegration','isOfficialPlugin','_logSuppressibleWarning','plugins','7770UvPuqh','8167970STHSUO'];_0xb29a=function(){return _0x17c0c6;};return _0xb29a();}import{Plugin as _0x406e2e}from'ckeditor5/src/core.js';import _0x4ebc52 from'../emailconfigurationlogger.js';export default class x extends _0x406e2e{static get[_0x5ee177(0x19b)](){return[_0x4ebc52];}static get[_0x5ee177(0x1a2)](){const _0x13c829=_0x5ee177;return _0x13c829(0x1a3);}static get[_0x5ee177(0x1a4)](){return!0x0;}static get[_0x5ee177(0x19e)](){return!0x0;}[_0x5ee177(0x1a1)](){const _0x8256b4=_0x5ee177,_0x3ff6c2=this[_0x8256b4(0x193)][_0x8256b4(0x18f)][_0x8256b4(0x19a)](_0x4ebc52);this[_0x8256b4(0x193)][_0x8256b4(0x18f)][_0x8256b4(0x1a0)](_0x8256b4(0x194))||_0x3ff6c2[_0x8256b4(0x1a5)](_0x8256b4(0x195));}}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/font
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * A plugin that checks if the Font plugin is properly configured for the email integration.
13
+ */
14
+ export default class FontEmailIntegration extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "FontEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3447bc=_0x4843;function _0x21cb(){const _0x485f8e=['afterInit','_validateConfigColorValue','2045688DcOXPN','plugins','24110GenJrm','FontEmailIntegration','44GpxorA','requires','1161QDKDkk','681240LvXzoU','editor','760ZyMtdQ','get','31263OmjYYb','_checkColorConfig','132diHcvb','.colorPicker.format','fontBackgroundColor','_validateConfigColorFormat','isPremiumPlugin','.documentColors','2463972ulLtvK','has','FontBackgroundColorEditing','FontColorEditing','37443fpoLWR','fontColor','3bvIdOx','.colors','config','pluginName','114940WtPiOP','isOfficialPlugin'];_0x21cb=function(){return _0x485f8e;};return _0x21cb();}(function(_0x54ebe7,_0x23a4d9){const _0x191916=_0x4843,_0x3421fd=_0x54ebe7();while(!![]){try{const _0x236a12=parseInt(_0x191916(0xe5))/0x1+-parseInt(_0x191916(0xe1))/0x2*(parseInt(_0x191916(0xd2))/0x3)+parseInt(_0x191916(0xda))/0x4+parseInt(_0x191916(0xd6))/0x5*(-parseInt(_0x191916(0xe7))/0x6)+-parseInt(_0x191916(0xf1))/0x7*(parseInt(_0x191916(0xe3))/0x8)+-parseInt(_0x191916(0xe0))/0x9*(-parseInt(_0x191916(0xdc))/0xa)+-parseInt(_0x191916(0xde))/0xb*(-parseInt(_0x191916(0xed))/0xc);if(_0x236a12===_0x23a4d9)break;else _0x3421fd['push'](_0x3421fd['shift']());}catch(_0x7d1edb){_0x3421fd['push'](_0x3421fd['shift']());}}}(_0x21cb,0x4e405));import{Plugin as _0x2bbdc8}from'ckeditor5/src/core.js';import _0x5c8f7c from'../emailconfigurationlogger.js';function _0x4843(_0x18121c,_0xafd895){const _0x21cb77=_0x21cb();return _0x4843=function(_0x484309,_0x26f1ee){_0x484309=_0x484309-0xd2;let _0x3cb4a2=_0x21cb77[_0x484309];return _0x3cb4a2;},_0x4843(_0x18121c,_0xafd895);}export default class m extends _0x2bbdc8{static get[_0x3447bc(0xdf)](){return[_0x5c8f7c];}static get[_0x3447bc(0xd5)](){const _0x1dd615=_0x3447bc;return _0x1dd615(0xdd);}static get[_0x3447bc(0xd7)](){return!0x0;}static get[_0x3447bc(0xeb)](){return!0x0;}[_0x3447bc(0xd8)](){const _0x4cec56=_0x3447bc,{plugins:_0x150a1d}=this[_0x4cec56(0xe2)];_0x150a1d[_0x4cec56(0xee)](_0x4cec56(0xf0))&&this[_0x4cec56(0xe6)](_0x4cec56(0xf2)),_0x150a1d[_0x4cec56(0xee)](_0x4cec56(0xef))&&this[_0x4cec56(0xe6)](_0x4cec56(0xe9));}[_0x3447bc(0xe6)](_0x38e44a){const _0x55107a=_0x3447bc,_0x321444=this[_0x55107a(0xe2)][_0x55107a(0xdb)][_0x55107a(0xe4)](_0x5c8f7c);this[_0x55107a(0xe2)][_0x55107a(0xd4)][_0x55107a(0xe4)](_0x38e44a)&&(_0x321444[_0x55107a(0xd9)](_0x38e44a+_0x55107a(0xd3)),_0x321444[_0x55107a(0xd9)](_0x38e44a+_0x55107a(0xec)),_0x321444[_0x55107a(0xea)](_0x38e44a+_0x55107a(0xe8)));}}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/generalhtmlintegration
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * The plugin that warns about using unsupported HTML elements in the email integration.
13
+ */
14
+ export default class GeneralHtmlIntegrationSupport extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "GeneralHtmlIntegrationSupport";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ init(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x353e80=_0x2090;function _0x10ab(){const _0x71551a=['1119EkUtgS','article','requires','abbr','audio','pluginName','button','14YuCUUl','764XDMSBP','isPremiumPlugin','summary','65UGwTKL','_logSuppressibleWarning','get','iframe','4249338VWnUoA','7358ubmAvd','GeneralHtmlIntegrationSupport','7209312xDVhrZ','3942945llQjOt','form','editor','main','once','view','email-unsupported-html-element','canvas','1910iZDeFB','nav','bdi','output','details','object','isOfficialPlugin','has','progress','register:','acronym','UNSUPPORTED_ELEMENTS','3766248SKFZmi','init','input','meter','34826uXraPa','DataFilter','hgroup'];_0x10ab=function(){return _0x71551a;};return _0x10ab();}(function(_0xf832fb,_0x3682a7){const _0x3a050f=_0x2090,_0x136d3e=_0xf832fb();while(!![]){try{const _0x640e93=parseInt(_0x3a050f(0x126))/0x1*(-parseInt(_0x3a050f(0x12b))/0x2)+-parseInt(_0x3a050f(0x149))/0x3*(parseInt(_0x3a050f(0x123))/0x4)+parseInt(_0x3a050f(0x12e))/0x5+-parseInt(_0x3a050f(0x12a))/0x6*(parseInt(_0x3a050f(0x122))/0x7)+parseInt(_0x3a050f(0x12d))/0x8+parseInt(_0x3a050f(0x142))/0x9+parseInt(_0x3a050f(0x136))/0xa*(parseInt(_0x3a050f(0x146))/0xb);if(_0x640e93===_0x3682a7)break;else _0x136d3e['push'](_0x136d3e['shift']());}catch(_0x4272b7){_0x136d3e['push'](_0x136d3e['shift']());}}}(_0x10ab,0xf0bfb));import{Plugin as _0x2aa8d2}from'ckeditor5/src/core.js';import _0x5a9ff0 from'../emailconfigurationlogger.js';class f extends _0x2aa8d2{static [_0x353e80(0x141)]=new Set([_0x353e80(0x13b),_0x353e80(0x14a),_0x353e80(0x13a),_0x353e80(0x131),_0x353e80(0x137),_0x353e80(0x125),_0x353e80(0x11e),_0x353e80(0x140),_0x353e80(0x138),_0x353e80(0x139),_0x353e80(0x148),_0x353e80(0x12f),_0x353e80(0x144),_0x353e80(0x121),_0x353e80(0x11f),_0x353e80(0x135),_0x353e80(0x145),_0x353e80(0x13e),_0x353e80(0x129)]);static get[_0x353e80(0x14b)](){return[_0x5a9ff0];}static get[_0x353e80(0x120)](){const _0x1dc817=_0x353e80;return _0x1dc817(0x12c);}static get[_0x353e80(0x13c)](){return!0x0;}static get[_0x353e80(0x124)](){return!0x0;}[_0x353e80(0x143)](){const _0x151b72=_0x353e80,{plugins:_0x3e77c7}=this[_0x151b72(0x130)];if(!_0x3e77c7[_0x151b72(0x13d)](_0x151b72(0x147)))return;const _0x1c30f4=_0x3e77c7[_0x151b72(0x128)](_0x151b72(0x147)),_0x3f4d78=_0x3e77c7[_0x151b72(0x128)](_0x5a9ff0);for(const _0x1ef631 of f[_0x151b72(0x141)])_0x1c30f4[_0x151b72(0x132)](_0x151b72(0x13f)+_0x1ef631,(_0x2a89b8,_0x452c3e)=>{const _0x4c7d7a=_0x151b72;_0x3f4d78[_0x4c7d7a(0x127)](_0x4c7d7a(0x134),{'element':_0x452c3e[_0x4c7d7a(0x133)]});});}}function _0x2090(_0xf18a71,_0x57dc20){const _0x10aba6=_0x10ab();return _0x2090=function(_0x2090c3,_0xe0f0c2){_0x2090c3=_0x2090c3-0x11e;let _0x44422c=_0x10aba6[_0x2090c3];return _0x44422c;},_0x2090(_0xf18a71,_0x57dc20);}export default f;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/highlight
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * A plugin that warns about using Highlight plugin in the email integration.
13
+ */
14
+ export default class HighlightEmailIntegration extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "HighlightEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x12903d=_0x58a8;(function(_0x206222,_0x13693c){var _0x1120e2=_0x58a8,_0x544928=_0x206222();while(!![]){try{var _0x179202=-parseInt(_0x1120e2(0x174))/0x1+parseInt(_0x1120e2(0x170))/0x2+-parseInt(_0x1120e2(0x165))/0x3+parseInt(_0x1120e2(0x162))/0x4+-parseInt(_0x1120e2(0x163))/0x5+parseInt(_0x1120e2(0x16e))/0x6*(-parseInt(_0x1120e2(0x168))/0x7)+parseInt(_0x1120e2(0x16d))/0x8;if(_0x179202===_0x13693c)break;else _0x544928['push'](_0x544928['shift']());}catch(_0x3058b2){_0x544928['push'](_0x544928['shift']());}}}(_0x44ae,0xad4ed));import{Plugin as _0x384fb0}from'ckeditor5/src/core.js';function _0x58a8(_0x238521,_0x1bd3e7){var _0x44ae82=_0x44ae();return _0x58a8=function(_0x58a8cf,_0xa59ebb){_0x58a8cf=_0x58a8cf-0x162;var _0x60c399=_0x44ae82[_0x58a8cf];return _0x60c399;},_0x58a8(_0x238521,_0x1bd3e7);}import _0x2188a4 from'../emailconfigurationlogger.js';function _0x44ae(){var _0x4a677c=['plugins','_checkUnsupportedPlugin','isOfficialPlugin','editor','20241272lWnxSe','125526QSTmXF','afterInit','2343738WsGTzr','requires','isPremiumPlugin','get','770091WvGFrd','2631908gdZPrT','2020055XysUwi','Highlight','3850611FuxQwx','pluginName','HighlightEmailIntegration','399mkQizA'];_0x44ae=function(){return _0x4a677c;};return _0x44ae();}export default class e extends _0x384fb0{static get[_0x12903d(0x171)](){return[_0x2188a4];}static get[_0x12903d(0x166)](){var _0x165f71=_0x12903d;return _0x165f71(0x167);}static get[_0x12903d(0x16b)](){return!0x0;}static get[_0x12903d(0x172)](){return!0x0;}[_0x12903d(0x16f)](){var _0x2e6623=_0x12903d;this[_0x2e6623(0x16c)][_0x2e6623(0x169)][_0x2e6623(0x173)](_0x2188a4)[_0x2e6623(0x16a)](_0x2e6623(0x164));}}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, 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
+ /**
6
+ * @module email/integrations/image
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import EmailConfigurationLogger from '../emailconfigurationlogger.js';
11
+ /**
12
+ * A plugin that warns about using ImageBlock plugin in the email integration.
13
+ */
14
+ export default class ImageEmailIntegration extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get requires(): readonly [typeof EmailConfigurationLogger];
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get pluginName(): "ImageEmailIntegration";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x3e3d85=_0x3bcc;(function(_0x1b8160,_0x1d054c){var _0x231d87=_0x3bcc,_0x88eaea=_0x1b8160();while(!![]){try{var _0x4db86a=-parseInt(_0x231d87(0x143))/0x1*(parseInt(_0x231d87(0x14a))/0x2)+-parseInt(_0x231d87(0x148))/0x3+-parseInt(_0x231d87(0x141))/0x4*(parseInt(_0x231d87(0x14c))/0x5)+parseInt(_0x231d87(0x13c))/0x6*(parseInt(_0x231d87(0x145))/0x7)+-parseInt(_0x231d87(0x14b))/0x8*(-parseInt(_0x231d87(0x146))/0x9)+-parseInt(_0x231d87(0x13f))/0xa*(-parseInt(_0x231d87(0x151))/0xb)+-parseInt(_0x231d87(0x13e))/0xc;if(_0x4db86a===_0x1d054c)break;else _0x88eaea['push'](_0x88eaea['shift']());}catch(_0x24768a){_0x88eaea['push'](_0x88eaea['shift']());}}}(_0x2bbb,0xd6c69));import{Plugin as _0x224746}from'ckeditor5/src/core.js';import _0x17be01 from'../emailconfigurationlogger.js';export default class r extends _0x224746{static get[_0x3e3d85(0x150)](){return[_0x17be01];}static get[_0x3e3d85(0x147)](){var _0x4d91d2=_0x3e3d85;return _0x4d91d2(0x14d);}static get[_0x3e3d85(0x13d)](){return!0x0;}static get[_0x3e3d85(0x142)](){return!0x0;}[_0x3e3d85(0x140)](){var _0x1b57fa=_0x3e3d85;this[_0x1b57fa(0x13b)][_0x1b57fa(0x144)][_0x1b57fa(0x14f)](_0x17be01)[_0x1b57fa(0x14e)](_0x1b57fa(0x149));}}function _0x3bcc(_0xe9d579,_0x3d5a8a){var _0x2bbbfc=_0x2bbb();return _0x3bcc=function(_0x3bcc2b,_0x27d0e1){_0x3bcc2b=_0x3bcc2b-0x13b;var _0x5caffe=_0x2bbbfc[_0x3bcc2b];return _0x5caffe;},_0x3bcc(_0xe9d579,_0x3d5a8a);}function _0x2bbb(){var _0x29a56a=['get','requires','12364TxylJz','editor','3616116IUWTar','isOfficialPlugin','2716620FGhUMF','5960PvZDfn','afterInit','4iekNTk','isPremiumPlugin','592859eBJeNe','plugins','14KKketL','855eEXRXa','pluginName','2718765scCUJF','ImageBlock','2YaWiZn','112856msesIj','3051105vDPdPL','ImageEmailIntegration','_checkUnsupportedPlugin'];_0x2bbb=function(){return _0x29a56a;};return _0x2bbb();}