@useinsider/guido 3.9.1-beta.734031d → 3.9.1-beta.a6465cf

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.
@@ -1,12 +1,15 @@
1
1
  const e = {
2
2
  transactional: 2
3
- }, o = 2, t = 13, s = {
3
+ }, s = 2, a = 13, t = "https://email-static.useinsider.com", o = `${t}/templates/campaign/default.html`, l = `${t}/templates/campaign/default.css`, E = {
4
4
  SAVED_MODULES: "savedModules",
5
5
  DEFAULT_MODULES: "defaultModules"
6
6
  };
7
7
  export {
8
- o as EditorType,
9
- t as MAX_DEFAULT_TEMPLATE_ID,
10
- s as ModuleFolderDefaults,
8
+ l as BLANK_TEMPLATE_CSS_URL,
9
+ o as BLANK_TEMPLATE_HTML_URL,
10
+ t as EMAIL_STATIC_BASE_URL,
11
+ s as EditorType,
12
+ a as MAX_DEFAULT_TEMPLATE_ID,
13
+ E as ModuleFolderDefaults,
11
14
  e as TemplateTypes
12
15
  };
@@ -0,0 +1,34 @@
1
+ import { useToaster as m } from "../composables/useToaster.js";
2
+ import { useTranslations as c } from "../composables/useTranslations.js";
3
+ import { BLANK_TEMPLATE_HTML_URL as T, BLANK_TEMPLATE_CSS_URL as i } from "../enums/defaults.js";
4
+ import { ToasterTypeOptions as p } from "../enums/toaster.js";
5
+ const a = 3, f = 1e3;
6
+ let s = null;
7
+ const u = (e) => new Promise((t) => {
8
+ setTimeout(t, e);
9
+ }), n = async (e) => {
10
+ const t = await fetch(e);
11
+ if (!t.ok)
12
+ throw new Error(`Blank template request failed: ${t.status}`);
13
+ return t.text();
14
+ }, k = () => {
15
+ const { showToaster: e } = m(), t = c();
16
+ return { getBlankTemplate: async () => {
17
+ if (s)
18
+ return s;
19
+ for (let r = 1; r <= a; r++)
20
+ try {
21
+ const [o, l] = await Promise.all([
22
+ n(T),
23
+ n(i)
24
+ ]);
25
+ return s = { html: o, css: l }, s;
26
+ } catch (o) {
27
+ console.error(`Failed to fetch blank template (attempt ${r}/${a}):`, o), r < a && await u(r * f);
28
+ }
29
+ return e({ type: p.Alert, message: t("errors-pages.undefined-response") }), { html: "", css: "" };
30
+ } };
31
+ };
32
+ export {
33
+ k as useBlankTemplate
34
+ };
@@ -1,10 +1,9 @@
1
1
  import { useHttp as d } from "../composables/useHttp.js";
2
2
  import { useToaster as m } from "../composables/useToaster.js";
3
3
  import { MAX_DEFAULT_TEMPLATE_ID as y } from "../enums/defaults.js";
4
- import f from "../static/templates/empty/index.html.js";
5
- import g from "../static/templates/empty/style.css.js";
6
- const E = () => {
7
- const { get: s, post: c } = d(), { handleError: r } = m();
4
+ import { useBlankTemplate as f } from "./blankTemplate.js";
5
+ const D = () => {
6
+ const { get: s, post: u } = d(), { handleError: r } = m(), { getBlankTemplate: o } = f();
8
7
  return {
9
8
  getToken: async () => {
10
9
  try {
@@ -26,18 +25,14 @@ const E = () => {
26
25
  }
27
26
  },
28
27
  getDefaultTemplate: async () => {
29
- const t = {
30
- html: f,
31
- css: g
32
- };
33
28
  try {
34
- const e = new URLSearchParams(window.location.search), u = e.get("default-template"), p = e.get("master"), a = u ? parseInt(u) : 0, i = a >= 1 && a <= y ? a : 0;
35
- if (!i && !p)
36
- return t;
37
- const l = `/stripo/default-template/${i}`, { data: n } = await s(l), o = typeof n == "string" ? JSON.parse(n) : n;
38
- return !o || typeof o != "object" || !("html" in o) || !("css" in o) ? t : o;
39
- } catch (e) {
40
- return r(e, "Failed to fetch default template"), t;
29
+ const t = new URLSearchParams(window.location.search), e = t.get("default-template"), l = t.get("master"), n = e ? parseInt(e) : 0, i = n >= 1 && n <= y ? n : 0;
30
+ if (!i && !l)
31
+ return await o();
32
+ const p = `/stripo/default-template/${i}`, { data: c } = await s(p), a = typeof c == "string" ? JSON.parse(c) : c;
33
+ return !a || typeof a != "object" || !("html" in a) || !("css" in a) ? await o() : a;
34
+ } catch (t) {
35
+ return r(t, "Failed to fetch default template"), o();
41
36
  }
42
37
  },
43
38
  getSyncModulesStatus: async () => {
@@ -50,7 +45,7 @@ const E = () => {
50
45
  },
51
46
  updateSyncModule: async (t) => {
52
47
  try {
53
- return await c(`/stripo/stripo-modules/${t.moduleId}/update`), !0;
48
+ return await u(`/stripo/stripo-modules/${t.moduleId}/update`), !0;
54
49
  } catch (e) {
55
50
  return r(e, "Failed to update sync module"), !1;
56
51
  }
@@ -71,7 +66,7 @@ const E = () => {
71
66
  if (t.length === 0)
72
67
  return !0;
73
68
  try {
74
- return await c("/stripo/stripo-modules/set-unsubscription-preference-pages", t), !0;
69
+ return await u("/stripo/stripo-modules/set-unsubscription-preference-pages", t), !0;
75
70
  } catch (e) {
76
71
  return r(e, "Failed to set unsubscription preference pages"), !1;
77
72
  }
@@ -79,5 +74,5 @@ const E = () => {
79
74
  };
80
75
  };
81
76
  export {
82
- E as useStripoApi
77
+ D as useStripoApi
83
78
  };
@@ -8,6 +8,9 @@ export declare const TemplateTypes: {
8
8
  };
9
9
  export declare const EditorType: number;
10
10
  export declare const MAX_DEFAULT_TEMPLATE_ID = 13;
11
+ export declare const EMAIL_STATIC_BASE_URL = "https://email-static.useinsider.com";
12
+ export declare const BLANK_TEMPLATE_HTML_URL = "https://email-static.useinsider.com/templates/campaign/default.html";
13
+ export declare const BLANK_TEMPLATE_CSS_URL = "https://email-static.useinsider.com/templates/campaign/default.css";
11
14
  export declare const ProductIds: Record<string, number>;
12
15
  export declare const ModuleFolderDefaults: {
13
16
  readonly SAVED_MODULES: "savedModules";
@@ -0,0 +1,11 @@
1
+ import type { Template } from '@@/Types/stripo';
2
+ /**
3
+ * Fetches the blank starter template (html + css) from the email CDN — the single
4
+ * source of truth shared with email-fe. Retries a few times, caches the result for
5
+ * the session, and on persistent failure returns an empty template (the editor still
6
+ * opens) plus a toaster. Kept separate from stripoApi: this is a CDN asset fetch, not
7
+ * a Stripo backend call.
8
+ */
9
+ export declare const useBlankTemplate: () => {
10
+ getBlankTemplate: () => Promise<Template>;
11
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/guido",
3
- "version": "3.9.1-beta.734031d",
3
+ "version": "3.9.1-beta.a6465cf",
4
4
  "description": "Guido is a Vue + TypeScript wrapper for Email Plugin. Easily embed the email editor in your Vue applications.",
5
5
  "main": "./dist/guido.umd.cjs",
6
6
  "module": "./dist/library.js",
@@ -29,8 +29,6 @@
29
29
  "test:visual-update": "npx playwright test --update-snapshots --reporter html",
30
30
  "test:e2e:coverage": "E2E_COVERAGE=true playwright test",
31
31
  "coverage:e2e:report": "nyc report --reporter=lcov --reporter=text-summary --report-dir=coverage/e2e",
32
- "test:mutation": "stryker run",
33
- "test:mutation:since": "stryker run --since=origin/develop --incremental",
34
32
  "prepare": "husky",
35
33
  "preinstall": "rm -rf ./node_modules/.vite"
36
34
  },
@@ -54,8 +52,6 @@
54
52
  "@eslint/eslintrc": "3.3.0",
55
53
  "@eslint/js": "8.57.1",
56
54
  "@playwright/test": "1.57.0",
57
- "@stryker-mutator/core": "9.6.1",
58
- "@stryker-mutator/vitest-runner": "9.6.1",
59
55
  "@stylistic/eslint-plugin": "3.1.0",
60
56
  "@stylistic/eslint-plugin-migrate": "3.1.0",
61
57
  "@types/eslint": "8.56.12",
@@ -1,74 +0,0 @@
1
- const t = `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html>
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta content="width=device-width, initial-scale=1" name="viewport">
7
- <meta name="x-apple-disable-message-reformatting">
8
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
9
- <meta content="telephone=no" name="format-detection">
10
- <title></title>
11
- <!--[if (mso 16)]><style type="text/css">a{text-decoration:none}</style><![endif]-->
12
- <!--[if gte mso 9]><style>sup{font-size:100% !important}</style><![endif]-->
13
- <!--[if gte mso 9]><style>sup{font-size:100% !important}</style><![endif]-->
14
- <!--[if gte mso 9]><style>sup{font-size:100% !important}</style><![endif]-->
15
- <!--[if gte mso 9]><style>sup{font-size:100% !important}</style><![endif]-->
16
- <!--[if gte mso 9]><style>sup { font-size: 100% !important; }</style><![endif]-->
17
- </head>
18
-
19
- <body>
20
- <div class="es-wrapper-color">
21
- <!--[if gte mso 9]>
22
- <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
23
- <v:fill type="tile" color="#f6f6f6"></v:fill>
24
- </v:background>
25
- <![endif]-->
26
- <table class="es-wrapper" width="100%" cellspacing="0" cellpadding="0">
27
- <tbody>
28
- <tr>
29
- <td class="esd-email-paddings" valign="top">
30
- <table class="es-content esd-footer-popover" cellspacing="0" cellpadding="0" align="center">
31
- <tbody>
32
- <tr>
33
- <td class="esd-stripe" align="center">
34
- <table class="es-content-body" width="600" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center">
35
- <tbody>
36
- <tr>
37
- <td class="esd-structure es-p20" align="left">
38
- <table cellpadding="0" cellspacing="0" width="100%">
39
- <tbody>
40
- <tr>
41
- <td width="560" class="esd-container-frame" align="center" valign="top">
42
- <table cellpadding="0" cellspacing="0" width="100%">
43
- <tbody>
44
- <tr>
45
- <td align="center" class="esd-empty-container" style="display: none;"></td>
46
- </tr>
47
- </tbody>
48
- </table>
49
- </td>
50
- </tr>
51
- </tbody>
52
- </table>
53
- </td>
54
- </tr>
55
- </tbody>
56
- </table>
57
- </td>
58
- </tr>
59
- </tbody>
60
- </table>
61
- </td>
62
- </tr>
63
- </tbody>
64
- </table>
65
- </div>
66
- <div style="position: absolute; left: -9999px; top: -9999px; margin: 0px;"></div>
67
- <div style="position: absolute; left: -9999px; top: -9999px; margin: 0px; padding: 0px; border: 0px none; width: 1px;"></div>
68
- </body>
69
-
70
- </html>
71
- `;
72
- export {
73
- t as default
74
- };
@@ -1,779 +0,0 @@
1
- const n = `/* CONFIG STYLES Please do not delete and edit CSS styles below */
2
- /* IMPORTANT THIS STYLES MUST BE ON FINAL EMAIL */
3
- #outlook a {
4
- padding: 0;
5
- }
6
-
7
- .ExternalClass {
8
- width: 100%;
9
- }
10
-
11
- .ExternalClass,
12
- .ExternalClass p,
13
- .ExternalClass span,
14
- .ExternalClass font,
15
- .ExternalClass td,
16
- .ExternalClass div {
17
- line-height: 100%;
18
- }
19
-
20
- .es-button {
21
- mso-style-priority: 100 !important;
22
- text-decoration: none !important;
23
- }
24
-
25
- a[x-apple-data-detectors] {
26
- color: inherit !important;
27
- text-decoration: none !important;
28
- font-size: inherit !important;
29
- font-family: inherit !important;
30
- font-weight: inherit !important;
31
- line-height: inherit !important;
32
- }
33
-
34
- .es-desk-hidden {
35
- display: none;
36
- float: left;
37
- overflow: hidden;
38
- width: 0;
39
- max-height: 0;
40
- line-height: 0;
41
- mso-hide: all;
42
- }
43
-
44
- /* END OF IMPORTANT */
45
- body {
46
- width: 100%;
47
- font-family: arial, 'helvetica neue', helvetica, sans-serif;
48
- -webkit-text-size-adjust: 100%;
49
- -ms-text-size-adjust: 100%;
50
- }
51
-
52
- table {
53
- mso-table-lspace: 0pt;
54
- mso-table-rspace: 0pt;
55
- border-collapse: collapse;
56
- border-spacing: 0px;
57
- }
58
-
59
- table td,
60
- html,
61
- body,
62
- .es-wrapper {
63
- padding: 0;
64
- Margin: 0;
65
- }
66
-
67
- .es-content,
68
- .es-header,
69
- .es-footer {
70
- table-layout: fixed !important;
71
- width: 100%;
72
- }
73
-
74
- img {
75
- display: block;
76
- border: 0;
77
- outline: none;
78
- text-decoration: none;
79
- -ms-interpolation-mode: bicubic;
80
- }
81
-
82
- table tr {
83
- border-collapse: collapse;
84
- }
85
-
86
- p,
87
- hr {
88
- Margin: 0;
89
- }
90
-
91
- h1,
92
- h2,
93
- h3,
94
- h4,
95
- h5 {
96
- Margin: 0;
97
- line-height: 120%;
98
- mso-line-height-rule: exactly;
99
- font-family: arial, 'helvetica neue', helvetica, sans-serif;
100
- }
101
-
102
- p,
103
- ul li,
104
- ol li,
105
- a {
106
- -webkit-text-size-adjust: none;
107
- -ms-text-size-adjust: none;
108
- mso-line-height-rule: exactly;
109
- }
110
-
111
- .es-left {
112
- float: left;
113
- }
114
-
115
- .es-right {
116
- float: right;
117
- }
118
-
119
- .es-p5 {
120
- padding: 5px;
121
- }
122
-
123
- .es-p5t {
124
- padding-top: 5px;
125
- }
126
-
127
- .es-p5b {
128
- padding-bottom: 5px;
129
- }
130
-
131
- .es-p5l {
132
- padding-left: 5px;
133
- }
134
-
135
- .es-p5r {
136
- padding-right: 5px;
137
- }
138
-
139
- .es-p10 {
140
- padding: 10px;
141
- }
142
-
143
- .es-p10t {
144
- padding-top: 10px;
145
- }
146
-
147
- .es-p10b {
148
- padding-bottom: 10px;
149
- }
150
-
151
- .es-p10l {
152
- padding-left: 10px;
153
- }
154
-
155
- .es-p10r {
156
- padding-right: 10px;
157
- }
158
-
159
- .es-p15 {
160
- padding: 15px;
161
- }
162
-
163
- .es-p15t {
164
- padding-top: 15px;
165
- }
166
-
167
- .es-p15b {
168
- padding-bottom: 15px;
169
- }
170
-
171
- .es-p15l {
172
- padding-left: 15px;
173
- }
174
-
175
- .es-p15r {
176
- padding-right: 15px;
177
- }
178
-
179
- .es-p20 {
180
- padding: 20px;
181
- }
182
-
183
- .es-p20t {
184
- padding-top: 20px;
185
- }
186
-
187
- .es-p20b {
188
- padding-bottom: 20px;
189
- }
190
-
191
- .es-p20l {
192
- padding-left: 20px;
193
- }
194
-
195
- .es-p20r {
196
- padding-right: 20px;
197
- }
198
-
199
- .es-p25 {
200
- padding: 25px;
201
- }
202
-
203
- .es-p25t {
204
- padding-top: 25px;
205
- }
206
-
207
- .es-p25b {
208
- padding-bottom: 25px;
209
- }
210
-
211
- .es-p25l {
212
- padding-left: 25px;
213
- }
214
-
215
- .es-p25r {
216
- padding-right: 25px;
217
- }
218
-
219
- .es-p30 {
220
- padding: 30px;
221
- }
222
-
223
- .es-p30t {
224
- padding-top: 30px;
225
- }
226
-
227
- .es-p30b {
228
- padding-bottom: 30px;
229
- }
230
-
231
- .es-p30l {
232
- padding-left: 30px;
233
- }
234
-
235
- .es-p30r {
236
- padding-right: 30px;
237
- }
238
-
239
- .es-p35 {
240
- padding: 35px;
241
- }
242
-
243
- .es-p35t {
244
- padding-top: 35px;
245
- }
246
-
247
- .es-p35b {
248
- padding-bottom: 35px;
249
- }
250
-
251
- .es-p35l {
252
- padding-left: 35px;
253
- }
254
-
255
- .es-p35r {
256
- padding-right: 35px;
257
- }
258
-
259
- .es-p40 {
260
- padding: 40px;
261
- }
262
-
263
- .es-p40t {
264
- padding-top: 40px;
265
- }
266
-
267
- .es-p40b {
268
- padding-bottom: 40px;
269
- }
270
-
271
- .es-p40l {
272
- padding-left: 40px;
273
- }
274
-
275
- .es-p40r {
276
- padding-right: 40px;
277
- }
278
-
279
- .es-menu td {
280
- border: 0;
281
- }
282
-
283
- .es-menu td a img {
284
- display: inline !important;
285
- }
286
-
287
- /* END CONFIG STYLES */
288
- a {
289
- text-decoration: underline;
290
- }
291
-
292
- p,
293
- ul li,
294
- ol li {
295
- font-family: arial, 'helvetica neue', helvetica, sans-serif;
296
- line-height: 150%;
297
- }
298
-
299
- ul li,
300
- ol li {
301
- Margin-bottom: 15px;
302
- margin-left: 0;
303
- }
304
-
305
- .es-menu td a {
306
- text-decoration: none;
307
- display: block;
308
- font-family: arial, 'helvetica neue', helvetica, sans-serif;
309
- }
310
-
311
- .es-wrapper {
312
- width: 100%;
313
- height: 100%;
314
- background-image: ;
315
- background-repeat: repeat;
316
- background-position: center top;
317
- }
318
-
319
- .es-wrapper-color,
320
- .es-wrapper {
321
- background-color: #f6f6f6;
322
- }
323
-
324
- .es-header {
325
- background-color: transparent;
326
- background-image: ;
327
- background-repeat: repeat;
328
- background-position: center top;
329
- }
330
-
331
- .es-header-body {
332
- background-color: transparent;
333
- }
334
-
335
- .es-header-body p,
336
- .es-header-body ul li,
337
- .es-header-body ol li {
338
- color: #333333;
339
- font-size: 14px;
340
- }
341
-
342
- .es-header-body a {
343
- color: #333333;
344
- font-size: 14px;
345
- }
346
-
347
- .es-content-body {
348
- background-color: #ffffff;
349
- }
350
-
351
- .es-content-body p,
352
- .es-content-body ul li,
353
- .es-content-body ol li {
354
- color: #333333;
355
- font-size: 14px;
356
- }
357
-
358
- .es-content-body a {
359
- color: #333333;
360
- font-size: 14px;
361
- }
362
-
363
- .es-footer {
364
- background-color: transparent;
365
- background-image: ;
366
- background-repeat: repeat;
367
- background-position: center top;
368
- }
369
-
370
- .es-footer-body {
371
- background-color: #333333;
372
- }
373
-
374
- .es-footer-body p,
375
- .es-footer-body ul li,
376
- .es-footer-body ol li {
377
- color: #ffffff;
378
- font-size: 14px;
379
- }
380
-
381
- .es-footer-body a {
382
- color: #ffffff;
383
- font-size: 14px;
384
- }
385
-
386
- .es-infoblock,
387
- .es-infoblock p,
388
- .es-infoblock ul li,
389
- .es-infoblock ol li {
390
- line-height: 120%;
391
- font-size: 12px;
392
- color: #cccccc;
393
- }
394
-
395
- .es-infoblock a {
396
- font-size: 12px;
397
- color: #cccccc;
398
- }
399
-
400
- h1 {
401
- font-size: 30px;
402
- font-style: normal;
403
- font-weight: normal;
404
- color: #333333;
405
- }
406
-
407
- h2 {
408
- font-size: 24px;
409
- font-style: normal;
410
- font-weight: normal;
411
- color: #333333;
412
- }
413
-
414
- h3 {
415
- font-size: 20px;
416
- font-style: normal;
417
- font-weight: normal;
418
- color: #333333;
419
- }
420
-
421
- .es-header-body h1 a,
422
- .es-content-body h1 a,
423
- .es-footer-body h1 a {
424
- font-size: 30px;
425
- }
426
-
427
- .es-header-body h2 a,
428
- .es-content-body h2 a,
429
- .es-footer-body h2 a {
430
- font-size: 24px;
431
- }
432
-
433
- .es-header-body h3 a,
434
- .es-content-body h3 a,
435
- .es-footer-body h3 a {
436
- font-size: 20px;
437
- }
438
-
439
- a.es-button,
440
- button.es-button {
441
- display: inline-block;
442
- background: #f0f0f0;
443
- border-radius: 0px;
444
- font-size: 16px;
445
- font-family: arial, 'helvetica neue', helvetica, sans-serif;
446
- font-weight: normal;
447
- font-style: normal;
448
- line-height: 120%;
449
- color: #333333;
450
- text-decoration: none;
451
- width: auto;
452
- text-align: center;
453
- padding: 5px 30px 5px 30px;
454
- mso-padding-alt: 0;
455
- mso-border-alt: 10px solid #f0f0f0;
456
- }
457
-
458
- .es-button-border {
459
- border-style: solid solid solid solid;
460
- border-color: #808080 #808080 #808080 #808080;
461
- background: #f0f0f0;
462
- border-width: 2px 2px 2px 2px;
463
- display: inline-block;
464
- border-radius: 0px;
465
- width: auto;
466
- }
467
-
468
- .ins-trim-text {
469
- overflow: hidden;
470
- text-overflow: ellipsis;
471
- white-space: nowrap;
472
- padding-top: 10px;
473
- padding-bottom: 10px;
474
- }
475
-
476
- /* RESPONSIVE STYLES Please do not delete and edit CSS styles below. If you don't need responsive layout, please delete this section. */
477
- @media only screen and (max-width: 600px) {
478
-
479
- p,
480
- ul li,
481
- ol li,
482
- a {
483
- line-height: 150% !important;
484
- }
485
-
486
- h1,
487
- h2,
488
- h3,
489
- h1 a,
490
- h2 a,
491
- h3 a {
492
- line-height: 120% !important;
493
- }
494
-
495
- h1 {
496
- font-size: 30px !important;
497
- text-align: center;
498
- }
499
-
500
- h2 {
501
- font-size: 26px !important;
502
- text-align: center;
503
- }
504
-
505
- h3 {
506
- font-size: 20px !important;
507
- text-align: center;
508
- }
509
-
510
- .es-header-body h1 a,
511
- .es-content-body h1 a,
512
- .es-footer-body h1 a {
513
- font-size: 30px !important;
514
- }
515
-
516
- .es-header-body h2 a,
517
- .es-content-body h2 a,
518
- .es-footer-body h2 a {
519
- font-size: 26px !important;
520
- }
521
-
522
- .es-header-body h3 a,
523
- .es-content-body h3 a,
524
- .es-footer-body h3 a {
525
- font-size: 20px !important;
526
- }
527
-
528
- .es-menu td a {
529
- font-size: 13px !important;
530
- }
531
-
532
- .es-header-body p,
533
- .es-header-body ul li,
534
- .es-header-body ol li,
535
- .es-header-body a {
536
- font-size: 16px !important;
537
- }
538
-
539
- .es-content-body p,
540
- .es-content-body ul li,
541
- .es-content-body ol li,
542
- .es-content-body a {
543
- font-size: 16px !important;
544
- }
545
-
546
- .es-footer-body p,
547
- .es-footer-body ul li,
548
- .es-footer-body ol li,
549
- .es-footer-body a {
550
- font-size: 16px !important;
551
- }
552
-
553
- .es-infoblock p,
554
- .es-infoblock ul li,
555
- .es-infoblock ol li,
556
- .es-infoblock a {
557
- font-size: 12px !important;
558
- }
559
-
560
- *[class="gmail-fix"] {
561
- display: none !important;
562
- }
563
-
564
- .es-m-txt-c,
565
- .es-m-txt-c h1,
566
- .es-m-txt-c h2,
567
- .es-m-txt-c h3 {
568
- text-align: center !important;
569
- }
570
-
571
- .es-m-txt-r,
572
- .es-m-txt-r h1,
573
- .es-m-txt-r h2,
574
- .es-m-txt-r h3 {
575
- text-align: right !important;
576
- }
577
-
578
- .es-m-txt-l,
579
- .es-m-txt-l h1,
580
- .es-m-txt-l h2,
581
- .es-m-txt-l h3 {
582
- text-align: left !important;
583
- }
584
-
585
- .es-m-txt-r img,
586
- .es-m-txt-c img,
587
- .es-m-txt-l img {
588
- display: inline !important;
589
- }
590
-
591
- .es-button-border {
592
- display: block !important;
593
- }
594
-
595
- a.es-button,
596
- button.es-button {
597
- font-size: 16px !important;
598
- display: block !important;
599
- padding: 10px 0px 10px 0px !important;
600
- }
601
-
602
- .es-btn-fw {
603
- border-width: 10px 0px !important;
604
- text-align: center !important;
605
- }
606
-
607
- .es-adaptive table,
608
- .es-btn-fw,
609
- .es-btn-fw-brdr,
610
- .es-left,
611
- .es-right {
612
- width: 100% !important;
613
- }
614
-
615
- .ext-product-button,
616
- .ext-product-price p,
617
- .ext-product-original-price p {
618
- width: 100% !important;
619
- }
620
-
621
- .ext-product-button a {
622
- max-width: 100% !important;
623
- }
624
-
625
- .ext-product-name.ins-vertical p {
626
- height: 90px !important;
627
- overflow: hidden !important;
628
- word-break: break-all !important;
629
- font-size: 12px !important;
630
- line-height: 150% !important;
631
- }
632
-
633
- .ext-product-name.ins-vertical {
634
- height: 100px !important;
635
- }
636
-
637
- .ext-product-name p {
638
- height: unset !important;
639
- width: 100% !important;
640
- overflow: hidden !important;
641
- font-size: 16px !important;
642
- line-height: 150% !important;
643
- }
644
-
645
- .ext-product-name {
646
- height: unset !important;
647
- }
648
-
649
- .ext-product-price.ins-vertical p {
650
- overflow: hidden !important;
651
- word-break: break-all !important;
652
- height: 36px !important;
653
- font-size: 12px !important;
654
- line-height: 150% !important;
655
- }
656
-
657
- .ext-product-price.ins-vertical {
658
- height: 56px !important;
659
- }
660
-
661
- .ext-product-original-price.ins-vertical p {
662
- overflow: hidden !important;
663
- word-break: break-all !important;
664
- height: 36px !important;
665
- font-size: 12px !important;
666
- line-height: 150% !important;
667
- }
668
-
669
- .ext-product-original-price.ins-vertical {
670
- height: 56px !important;
671
- }
672
-
673
- .ext-ins-attr.ins-vertical p {
674
- overflow: hidden !important;
675
- word-break: break-all !important;
676
- height: 54px !important;
677
- font-size: 12px !important;
678
- line-height: 150% !important;
679
- width: 100% !important;
680
- }
681
-
682
- .ext-ins-attr.ins-vertical {
683
- height: 74px !important;
684
- }
685
-
686
- .ext-product-button a.ins-vertical {
687
- word-break: break-all !important;
688
- font-size: 12px !important;
689
- }
690
-
691
- .ext-product-image.ins-vertical {
692
- height: unset !important;
693
- }
694
-
695
- td.esdev-mso-td.ins-vertical {
696
- vertical-align: bottom !important;
697
- }
698
-
699
- .es-content table,
700
- .es-header table,
701
- .es-footer table,
702
- .es-content,
703
- .es-footer,
704
- .es-header {
705
- width: 100% !important;
706
- max-width: 600px !important;
707
- }
708
-
709
- .es-adapt-td {
710
- display: block !important;
711
- width: 100% !important;
712
- }
713
-
714
- .adapt-img {
715
- width: 100% !important;
716
- height: auto !important;
717
- }
718
-
719
- .es-m-p0 {
720
- padding: 0px !important;
721
- }
722
-
723
- .es-m-p0r {
724
- padding-right: 0px !important;
725
- }
726
-
727
- .es-m-p0l {
728
- padding-left: 0px !important;
729
- }
730
-
731
- .es-m-p0t {
732
- padding-top: 0px !important;
733
- }
734
-
735
- .es-m-p0b {
736
- padding-bottom: 0 !important;
737
- }
738
-
739
- .es-m-p20b {
740
- padding-bottom: 20px !important;
741
- }
742
-
743
- .es-mobile-hidden,
744
- .es-hidden {
745
- display: none !important;
746
- }
747
-
748
- .es-desk-hidden {
749
- display: table-row !important;
750
- width: auto !important;
751
- overflow: visible !important;
752
- float: none !important;
753
- max-height: inherit !important;
754
- line-height: inherit !important;
755
- }
756
-
757
- .es-desk-menu-hidden {
758
- display: table-cell !important;
759
- }
760
-
761
- table.es-table-not-adapt,
762
- .esd-block-html table {
763
- width: auto !important;
764
- }
765
-
766
- table.es-social {
767
- display: inline-block !important;
768
- }
769
-
770
- table.es-social td {
771
- display: inline-block !important;
772
- }
773
- }
774
-
775
- /* END RESPONSIVE STYLES */
776
- `;
777
- export {
778
- n as default
779
- };