@emailmaker/emailmaker 1.1.53 → 1.1.60

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 (66) hide show
  1. package/emailmaker-core.dd403703.js +673 -0
  2. package/emailmaker-esm.js +888 -565
  3. package/emailmaker.d.ts +8 -0
  4. package/emailmaker.js +762 -479
  5. package/iframe/js/amp.V09Q6hy6.js +1 -1
  6. package/iframe/js/iframe-eblock.js +1 -1
  7. package/iframe/js/iframe.js +1 -1
  8. package/iframe/js/rules.B-wCbIo7.js +1 -1
  9. package/npm-publish.manifest.json +7 -7
  10. package/package.json +1 -7
  11. package/runtime/THIRD_PARTY_LICENSES.txt +0 -235
  12. package/runtime/index.js +0 -2
  13. package/runtime/package.json +0 -6
  14. package/runtime/plugin-dev-manifest.json +0 -4
  15. package/singlepage_headless_plugin.html +1 -1
  16. package/static/core/{b3475019.js → 1567a51d.js} +3 -3
  17. package/static/core/{3723b7392.js → 17f94ad52.js} +2 -2
  18. package/static/core/{cc1487fb.js → 3763d012.js} +221 -210
  19. package/static/core/{f903e0b02.js → 3b0afd352.js} +17 -17
  20. package/static/core/{9f0a0813.js → 478adc67.js} +26 -8
  21. package/static/core/{83b6ffb1.js → 5430829b.js} +15291 -14910
  22. package/static/core/{51d702ff2.js → 54db7dc92.js} +3 -3
  23. package/static/core/{97d77f4b.js → 5761661e.js} +5 -5
  24. package/static/core/{7f43dc55.js → 5c5734a1.js} +10 -10
  25. package/static/core/{704587a1.js → 60b14e0c.js} +17 -17
  26. package/static/core/6115fe1b.js +3150 -0
  27. package/static/core/{9e5fd9cd.js → 7515f9852.js} +1 -1
  28. package/static/core/{1ce9dbcd2.js → 86a167002.js} +4 -4
  29. package/static/core/{54619353.js → 86ef0d53.js} +7 -7
  30. package/static/core/{10ac6936.js → 87d6fa75.js} +5 -5
  31. package/static/core/8b2a4177.js +811 -0
  32. package/static/core/{c4f07357.js → 95fcea69.js} +5 -5
  33. package/static/core/{956da3cd.js → 99b9545a.js} +9096 -9074
  34. package/static/core/{b6536443.js → 9be94d262.js} +1 -1
  35. package/static/core/{d745f656.js → a88dd635.js} +1019 -1032
  36. package/static/core/{d858c4102.js → aa8e5c1c2.js} +3 -3
  37. package/static/core/{51134c092.js → afd04ca42.js} +4 -4
  38. package/static/core/{7e999d72.js → b6907f0c.js} +13 -13
  39. package/static/core/{c46c4a1e2.js → b6cc5b522.js} +4 -4
  40. package/static/core/c734b889.js +466 -0
  41. package/static/core/{61a44678.js → cbac193c.js} +6789 -4865
  42. package/static/core/{927ea89f2.js → d7506406.js} +1 -1
  43. package/static/core/{d6b9ee5f2.js → d76199d02.js} +15 -15
  44. package/static/core/{abb0338c.js → d89e1015.js} +90 -90
  45. package/static/core/{4f1afec5.js → e437b0b0.js} +787 -792
  46. package/static/core/{b768aab6.js → e57264b8.js} +3 -3
  47. package/static/core/{57d41489.js → e900413d.js} +2134 -2040
  48. package/static/core/{4a0c3723.js → f25e08d3.js} +25 -25
  49. package/static/core/{75e0e02f.js → fa39fd23.js} +26 -26
  50. package/static/core/{898acf3a.js → fd0c6ce7.js} +8 -8
  51. package/static/core/{4a151a86.js → ffb0449a.js} +42 -42
  52. package/static/core/{c79a7344.js → ffd61885.js} +5 -5
  53. package/static/esm/7cd4296a.js +131 -0
  54. package/static/esm/{1ce2bc32.js → adb3ef80.js} +69 -88
  55. package/two_step_headless_plugin.html +1 -1
  56. package/emailmaker-core.2cbaea2b.js +0 -643
  57. package/runtime/prop-types/index.js +0 -4
  58. package/runtime/react-router-dom/index.js +0 -2
  59. package/static/core/342d650a.js +0 -467
  60. package/static/core/3bff559e.js +0 -3097
  61. package/static/core/9e7e9aa52.js +0 -602
  62. package/static/esm/c9e541a3.js +0 -127
  63. package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
  64. package/static/runtime/prop-types-p_yYKrF7.js +0 -47
  65. /package/iframe/{iframe-eblock.2cbaea2b.html → iframe-eblock.dd403703.html} +0 -0
  66. /package/iframe/{iframe.2cbaea2b.html → iframe.dd403703.html} +0 -0
@@ -1,4 +1,4 @@
1
- __emailmaker__.define("static/core/c79a7344.js", [
1
+ __emailmaker__.define("static/core/ffd61885.js", [
2
2
  "require",
3
3
  "exports",
4
4
  "module",
@@ -7,7 +7,7 @@ __emailmaker__.define("static/core/c79a7344.js", [
7
7
  ], function(n, p, g) {
8
8
  n("./16c2710d.js");
9
9
  const u = n("./2a164fc8.js");
10
- var d = {
10
+ var y = {
11
11
  items_per_page: "na stronę",
12
12
  jump_to: "Idź do",
13
13
  jump_to_confirm: "potwierdź",
@@ -42,14 +42,14 @@ __emailmaker__.define("static/core/c79a7344.js", [
42
42
  for (var e = 1; e < arguments.length; e++) {
43
43
  var t = arguments[e] != null ? arguments[e] : {};
44
44
  e % 2 ? l(Object(t), !0).forEach(function(o) {
45
- y(a, o, t[o]);
45
+ d(a, o, t[o]);
46
46
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : l(Object(t)).forEach(function(o) {
47
47
  Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(t, o));
48
48
  });
49
49
  }
50
50
  return a;
51
51
  }
52
- function y(a, e, t) {
52
+ function d(a, e, t) {
53
53
  return e = b(e), e in a ? Object.defineProperty(a, e, {
54
54
  value: t,
55
55
  enumerable: !0,
@@ -133,7 +133,7 @@ __emailmaker__.define("static/core/c79a7344.js", [
133
133
  }, f = m, r = "${label} nie posiada poprawnej wartości dla typu ${type}";
134
134
  p.default = {
135
135
  locale: "pl",
136
- Pagination: d,
136
+ Pagination: y,
137
137
  DatePicker: m,
138
138
  TimePicker: c,
139
139
  Calendar: f,
@@ -0,0 +1,131 @@
1
+ import { a as P, i as _ } from "./adb3ef80.js";
2
+ import "@emailmaker/emailmaker/runtime/react";
3
+ function i(r) {
4
+ if (r instanceof DOMException && r.name === "AbortError") return r;
5
+ const E = r === void 0 ? "The operation was aborted." : typeof r == "string" ? r : r instanceof Error ? r.message : String(r);
6
+ return new DOMException(E, "AbortError");
7
+ }
8
+ function s(r) {
9
+ if (r?.aborted) throw i(r.reason);
10
+ }
11
+ function h(r, E) {
12
+ return E ? (s(E), new Promise((I, t) => {
13
+ const n = () => {
14
+ N(), t(i(E.reason));
15
+ }, N = () => {
16
+ E.removeEventListener("abort", n);
17
+ };
18
+ E.addEventListener("abort", n), r.then((D) => {
19
+ N(), I(D);
20
+ }, (D) => {
21
+ N(), t(D);
22
+ });
23
+ })) : r;
24
+ }
25
+ function p(r) {
26
+ return typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(r) : r.replace(/([^a-zA-Z0-9_-])/g, "\\$1");
27
+ }
28
+ function c(r, E = document) {
29
+ try {
30
+ const t = E.querySelector(r);
31
+ if (t) return t;
32
+ } catch {
33
+ return null;
34
+ }
35
+ const I = E.querySelectorAll("*");
36
+ for (let t = 0; t < I.length; t++) {
37
+ const n = I[t]?.shadowRoot;
38
+ if (!n) continue;
39
+ const N = c(r, n);
40
+ if (N) return N;
41
+ }
42
+ return null;
43
+ }
44
+ function f(r, E = []) {
45
+ const I = r.querySelectorAll("*");
46
+ for (let t = 0; t < I.length; t++) {
47
+ const n = I[t]?.shadowRoot;
48
+ n && (E.push(n), f(n, E));
49
+ }
50
+ return E;
51
+ }
52
+ function M(r, E, I) {
53
+ if (r.isConnected) return r;
54
+ const t = r.id?.trim();
55
+ return t ? b(`#${p(t)}`, E, I) : Promise.reject(i("Editor mount element was disconnected and has no id — pass a CSS selector or call init() again after the host remounts the container."));
56
+ }
57
+ function b(r, E, I) {
58
+ if (s(I), typeof r < "u") {
59
+ if (typeof r == "string") {
60
+ const t = r, n = c(t);
61
+ if (n) return n;
62
+ const N = E.addDisposable(new P());
63
+ return new Promise((D, a) => {
64
+ const O = (e) => {
65
+ N.dispose(), e();
66
+ }, T = () => {
67
+ O(() => a(i(I?.reason)));
68
+ };
69
+ if (I?.aborted) {
70
+ T();
71
+ return;
72
+ }
73
+ I?.addEventListener("abort", T), N.addDispose(() => I?.removeEventListener("abort", T));
74
+ const A = document.body ?? document.documentElement;
75
+ if (!A) {
76
+ O(() => a(i("Document is not ready to observe mount element")));
77
+ return;
78
+ }
79
+ const u = /* @__PURE__ */ new Set(), L = new MutationObserver(() => {
80
+ const e = c(t);
81
+ if (e) {
82
+ O(() => D(e));
83
+ return;
84
+ }
85
+ d();
86
+ }), S = (e) => {
87
+ u.has(e) || (u.add(e), L.observe(e, {
88
+ attributes: !0,
89
+ childList: !0,
90
+ subtree: !0
91
+ }));
92
+ }, d = () => {
93
+ const e = document.documentElement;
94
+ if (e) for (const C of f(e)) S(C);
95
+ };
96
+ S(A), d(), N.addDispose(() => L.disconnect());
97
+ });
98
+ }
99
+ return r instanceof Element ? M(r, E, I) : r;
100
+ }
101
+ return r;
102
+ }
103
+ var w = /* @__PURE__ */ new Map();
104
+ _("ELEMENT_INSERT_HTML_PIPELINE");
105
+ _("BLOCK_INSERT_HTML_PIPELINE");
106
+ _("DomComponentRegistry");
107
+ _("ComponentRegistry");
108
+ function o(r) {
109
+ return _(r);
110
+ }
111
+ var R;
112
+ (function(r) {
113
+ r.BEFORE_SAVE_EMAIL = o(), r.ON_SAVEBUTTON_CLICK_ID = o(), r.ON_NEXTBUTTON_CLICK_ID = o(), r.ON_PREVIOUSBUTTON_CLICK_ID = o(), r.ON_MODEL_CHANGE = o(), r.WILL_EMAIL_INIT_ID = o(), r.ON_EMAIL_INIT_ID = o(), r.ON_BLOCK_INIT_ID = o(), r.ON_CONTENT_CHANGED_ID = o(), r.ON_PREHEADER_CHANGED_ID = o(), r.ON_SUBJECT_CHANGED_ID = o(), r.ON_EMAIL_CHANGED_ID = o(), r.ON_BLOCK_CHANGED_ID = o(), r.ON_CHUNKS_LOADED = o(), r.ON_SEND_TESTEMAIL_ID = o(), r.ON_SEND_LIVEPREVIEW_ID = o(), r.ON_SHARE_ID = o(), r.ON_SHOW_PREVIEW_ID = o(), r.ON_EMAIL_CLONE_ID = o(), r.ON_SEND_EMAIL_MODAL_ID = o(), r.ON_NOTIFICATION = o(), r.READ_LOCALE = o(), r.ON_TRANSLATE_ID = o(), r.ON_CODE_VALIDATE_ID = o(), r.UPLOAD_EVENT_ID = o(), r.PROXY_URL_EVENT_ID = o(), r.FILE_PROXY_EVENT_ID = o(), r.ON_LIMIT_ID = o(), r.ON_BROWSER_EXTENSION_DETECTED_ID = o(), r.ON_LAYOUT_CONVERT_REQUEST_ID = o(), r.ON_BROWSER_TRANSLATE_DETECTED_ID = o(), r.AI_TEXT_REQUEST_ID = o(), r.AI_IMAGE_REQUEST_ID = o(), r.AI_TEXT_PROGRESS_ID = o(), r.AI_IMAGE_PROGRESS_ID = o(), r.AI_TEXT_STREAM_ID = o();
114
+ })(R || (R = {}));
115
+ _();
116
+ _();
117
+ _("InitPipelineContext");
118
+ _();
119
+ _();
120
+ _();
121
+ _();
122
+ _();
123
+ _();
124
+ _();
125
+ _();
126
+ _("plugin.jwt.token");
127
+ _("plugin.jwt.error");
128
+ _("PluginCollection");
129
+ o("APP_LOAD_EVENT");
130
+ o("CONFIG_CHANGED_EVENT");
131
+ export { s as a, h as i, b as n, i as r, w as t };
@@ -1,18 +1,18 @@
1
- var E = Object.defineProperty, v = (t, e) => {
1
+ var g = Object.defineProperty, E = (t, e) => {
2
2
  let r = {};
3
- for (var n in t) E(r, n, {
3
+ for (var n in t) g(r, n, {
4
4
  get: t[n],
5
5
  enumerable: !0
6
6
  });
7
- return e || E(r, Symbol.toStringTag, { value: "Module" }), r;
8
- }, f = class y {
7
+ return e || g(r, Symbol.toStringTag, { value: "Module" }), r;
8
+ }, d = class v {
9
9
  _inner;
10
10
  _isDisposed = !1;
11
11
  constructor(e = []) {
12
12
  this._inner = e;
13
13
  }
14
14
  addDisposable(e) {
15
- return this._inner.push(e), e instanceof y && e.addDispose(() => {
15
+ return this._inner.push(e), e instanceof v && e.addDispose(() => {
16
16
  this.removeDisposable(e);
17
17
  }), e;
18
18
  }
@@ -33,10 +33,10 @@ var E = Object.defineProperty, v = (t, e) => {
33
33
  }
34
34
  }
35
35
  };
36
- function p(t) {
36
+ function _(t) {
37
37
  return `service_container_${t}`;
38
38
  }
39
- var T = class h extends f {
39
+ var I = class h extends d {
40
40
  _parent;
41
41
  _injectCallbacks = [];
42
42
  _injections = /* @__PURE__ */ Object.create(null);
@@ -55,14 +55,14 @@ var T = class h extends f {
55
55
  }
56
56
  injectFactory(e, r, n) {
57
57
  const s = this._injections[e];
58
- let o = typeof s == "function" ? s() : s;
59
- const i = this._injections[e] = () => (o = r(this, o), o);
60
- n && i(), this._runCallbacks(e);
58
+ let i = typeof s == "function" ? s() : s;
59
+ const o = this._injections[e] = () => (i = r(this, i), i);
60
+ n && o(), this._runCallbacks(e);
61
61
  }
62
62
  _find(e, r = !0) {
63
63
  return this._injections[e] || r && this._parent?._find(e);
64
64
  }
65
- _onInject(e, r, n = new f()) {
65
+ _onInject(e, r, n = new d()) {
66
66
  return n.addDisposable(this.onInject((s) => {
67
67
  e === s && (n.dispose(), r(this.getInstance(s)));
68
68
  })), this._parent && n.addDisposable(this._parent._onInject(e, r, n)), this.addDisposable(n), n;
@@ -82,24 +82,24 @@ var T = class h extends f {
82
82
  return typeof r == "function" ? Promise.resolve(r()) : new Promise((n) => this._onInject(e, () => n(this.getInstance(e))));
83
83
  }
84
84
  addService(e, r) {
85
- const n = p(e);
86
- this.injectFactory(n, (o, i = []) => i.indexOf(r) < 0 ? [...i, r] : i);
87
- const s = new f();
85
+ const n = _(e);
86
+ this.injectFactory(n, (i, o = []) => o.indexOf(r) < 0 ? [...o, r] : o);
87
+ const s = new d();
88
88
  return s.addDispose(() => {
89
- this.injectFactory(n, (o, i = []) => i.filter((u) => u !== r));
89
+ this.injectFactory(n, (i, o = []) => o.filter((c) => c !== r));
90
90
  }), s;
91
91
  }
92
92
  addServiceFactory(e, r, n) {
93
- const s = p(e);
94
- let o;
95
- this.injectFactory(s, (u, c = []) => (o = r(u, o), o === void 0 ? c : c.indexOf(o) < 0 ? [...c, o] : c), n);
96
- const i = new f();
97
- return i.addDispose(() => {
98
- this.injectFactory(s, (u, c = []) => o === void 0 ? c : c.filter((d) => d !== o));
99
- }), i;
93
+ const s = _(e);
94
+ let i;
95
+ this.injectFactory(s, (c, a = []) => (i = r(c, i), i === void 0 ? a : a.indexOf(i) < 0 ? [...a, i] : a), n);
96
+ const o = new d();
97
+ return o.addDispose(() => {
98
+ this.injectFactory(s, (c, a = []) => i === void 0 ? a : a.filter((D) => D !== i));
99
+ }), o;
100
100
  }
101
101
  getServices(e) {
102
- const r = p(e);
102
+ const r = _(e);
103
103
  return [...this.getInstance(r, !1) || [], ...this._parent?.getServices(e) || []];
104
104
  }
105
105
  createChild() {
@@ -115,29 +115,29 @@ var T = class h extends f {
115
115
  this._injections = /* @__PURE__ */ Object.create(null);
116
116
  }
117
117
  };
118
- function g(t) {
118
+ function p(t) {
119
119
  return t.startsWith("__") ? t : `__${t}__`;
120
120
  }
121
121
  function A(t) {
122
122
  if (typeof globalThis > "u") throw new Error("[di] globalThis is required for namespace container access.");
123
- const e = g(t), r = globalThis;
123
+ const e = p(t), r = globalThis;
124
124
  return r[e] ??= {};
125
125
  }
126
- function C(t) {
126
+ function T(t) {
127
127
  return t != null && typeof t == "object" && typeof t.inject == "function" && typeof t.getInstance == "function";
128
128
  }
129
- function m(t) {
130
- if (t) return g(t);
131
- return g("emailmaker".trim());
129
+ function C(t) {
130
+ if (t) return p(t);
131
+ return p("emailmaker".trim());
132
132
  }
133
- function S(t) {
134
- const e = A(m(t));
135
- if (C(e.container)) return e.container;
136
- const r = new T(null);
133
+ function y(t) {
134
+ const e = A(C(t));
135
+ if (T(e.container)) return e.container;
136
+ const r = new I(null);
137
137
  return e.container = r, r;
138
138
  }
139
- function x(t) {
140
- return S(t);
139
+ function m(t) {
140
+ return y(t);
141
141
  }
142
142
  function O() {
143
143
  let t = (/* @__PURE__ */ new Date()).getTime(), e = typeof performance < "u" && performance.now && performance.now() * 1e3 || 0;
@@ -146,73 +146,54 @@ function O() {
146
146
  return t > 0 ? (n = (t + n) % 16 | 0, t = Math.floor(t / 16)) : (n = (e + n) % 16 | 0, e = Math.floor(e / 16)), (r === "x" ? n : n & 3 | 8).toString(16);
147
147
  });
148
148
  }
149
- function w() {
149
+ function N() {
150
150
  return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : O();
151
151
  }
152
- function a(t = w()) {
152
+ function f(t = N()) {
153
153
  return t;
154
154
  }
155
- function I() {
155
+ function S() {
156
156
  return "esm".trim();
157
157
  }
158
- function N(t) {
158
+ function b(t) {
159
159
  if (typeof globalThis > "u") return;
160
- const e = I(), r = globalThis[t] ?? {};
160
+ const e = S(), r = globalThis[t] ?? {};
161
161
  globalThis[t] = r;
162
162
  const n = r.__diagnostics ??= {}, s = n.diModuleEval ??= {
163
163
  evalCount: 0,
164
- records: [],
165
- duplicateWarned: !1
164
+ records: []
166
165
  };
167
- if (s.records.push({
166
+ s.records.push({
168
167
  buildSource: e,
169
168
  timestamp: Date.now(),
170
169
  stack: (/* @__PURE__ */ new Error()).stack
171
- }), s.evalCount += 1, s.evalCount <= 1 || s.duplicateWarned) return;
172
- s.duplicateWarned = !0;
173
- s.evalCount, s.records;
170
+ }), s.evalCount += 1;
174
171
  }
175
- function R() {
172
+ function w() {
176
173
  return `__${"emailmaker".trim()}__`;
177
174
  }
178
- function b(t, e) {
179
- if (N(e), typeof globalThis > "u") return t;
180
- const r = I(), n = globalThis, s = n[e] = n[e] || {}, o = s.__diagnostics = s.__diagnostics || {}, i = o.dependencyResolver = o.dependencyResolver || {
181
- entries: [],
182
- warnings: []
183
- }, u = {
175
+ function R(t, e) {
176
+ if (b(e), typeof globalThis > "u") return t;
177
+ const r = S(), n = globalThis, s = n[e] = n[e] || {}, i = s.__diagnostics = s.__diagnostics || {}, o = i.dependencyResolver = i.dependencyResolver || { entries: [] }, c = {
184
178
  container: t,
185
179
  source: "packages/runtime-core/di/index.ts",
186
180
  buildSource: r,
187
181
  timestamp: Date.now(),
188
182
  stack: (/* @__PURE__ */ new Error()).stack
189
183
  };
190
- if (i.entries.push(u), i.entries.length > 1) {
191
- const c = i.entries[0];
192
- if (i.entries.some((d) => d.container !== c.container) && !i.duplicateWarningShown) {
193
- i.duplicateWarningShown = !0;
194
- const d = {
195
- message: "[di] Multiple DependencyResolver instances detected on namespace",
196
- namespaceKey: e,
197
- buildSource: r,
198
- entries: i.entries
199
- };
200
- i.warnings.push(d);
201
- }
202
- }
203
- return t;
184
+ return o.entries.push(c), t;
204
185
  }
205
- var _;
186
+ var l;
206
187
  function M() {
207
- if (_) return _;
208
- const t = R();
209
- return _ = b(S(t), t), _;
188
+ if (l) return l;
189
+ const t = w();
190
+ return l = R(y(t), t), l;
210
191
  }
211
192
  new Proxy({}, { get(t, e, r) {
212
193
  const n = M(), s = Reflect.get(n, e, r);
213
194
  return typeof s == "function" ? s.bind(n) : s;
214
195
  } });
215
- function L(t, e = "BackendError") {
196
+ function j(t, e = "BackendError") {
216
197
  switch (t) {
217
198
  case 400: return "ValidationError";
218
199
  case 401: return "AuthenticationFailed";
@@ -227,7 +208,7 @@ function L(t, e = "BackendError") {
227
208
  default: return e;
228
209
  }
229
210
  }
230
- var j = class {
211
+ var L = class {
231
212
  _plugins = /* @__PURE__ */ new Map();
232
213
  _listeners = /* @__PURE__ */ new Map();
233
214
  _getOrCreateEntry(t) {
@@ -387,20 +368,20 @@ var j = class {
387
368
  forContext() {
388
369
  return this.target().forContext();
389
370
  }
390
- }, U = "PluginRegistry";
391
- function F(t = x()) {
392
- return t.getOrCreateInstance(U, () => new j());
371
+ }, F = "PluginRegistry";
372
+ function U(t = m()) {
373
+ return t.getOrCreateInstance(F, () => new L());
393
374
  }
394
- var G = new P(() => F());
395
- function l(t) {
396
- return a(t);
375
+ var G = new P(() => U());
376
+ function u(t) {
377
+ return f(t);
397
378
  }
398
- l("HANDLE_ATOM_INSERT");
399
- l("SETTINGS_PANEL_EVENT");
400
- l("MODAL_SHOW_EVENT");
401
- l("MODAL_CLOSE_EVENT");
402
- l("MODAL_UPDATE_EVENT");
403
- var oe = /* @__PURE__ */ v({ FileManagerApiError: () => V }), V = class D extends Error {
379
+ u("HANDLE_ATOM_INSERT");
380
+ u("SETTINGS_PANEL_EVENT");
381
+ u("MODAL_SHOW_EVENT");
382
+ u("MODAL_CLOSE_EVENT");
383
+ u("MODAL_UPDATE_EVENT");
384
+ var K = /* @__PURE__ */ E({ FileManagerApiError: () => k }), k = class x extends Error {
404
385
  code;
405
386
  status;
406
387
  details;
@@ -408,7 +389,7 @@ var oe = /* @__PURE__ */ v({ FileManagerApiError: () => V }), V = class D extend
408
389
  return this.status;
409
390
  }
410
391
  constructor(e, r, n, s) {
411
- super(e), this.name = "FileManagerApiError", this.code = r, this.status = n, this.details = s, Error.captureStackTrace && Error.captureStackTrace(this, D);
392
+ super(e), this.name = "FileManagerApiError", this.code = r, this.status = n, this.details = s, Error.captureStackTrace && Error.captureStackTrace(this, x);
412
393
  }
413
- }, ae = /* @__PURE__ */ v({ mapHttpStatusToErrorCode: () => L });
414
- export { f as a, a as i, oe as n, G as r, ae as t };
394
+ }, ee = /* @__PURE__ */ E({ mapHttpStatusToErrorCode: () => j });
395
+ export { d as a, f as i, K as n, G as r, ee as t };
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <title>Two-step flow: design → subject/preheader (headless)</title>
6
- <script id="plugin-script" type="text/javascript" src="emailmaker.js?2cbaea2b"></script>
6
+ <script id="plugin-script" type="text/javascript" src="emailmaker.js?dd403703"></script>
7
7
  <style>
8
8
  body {
9
9
  margin: 0;