@everymatrix/cashier-modal 1.76.4 → 1.76.6

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,36 +1,36 @@
1
- var Ct = Object.defineProperty, vt = Object.defineProperties;
2
- var Et = Object.getOwnPropertyDescriptors;
1
+ var vt = Object.defineProperty, Et = Object.defineProperties;
2
+ var Lt = Object.getOwnPropertyDescriptors;
3
3
  var nt = Object.getOwnPropertySymbols;
4
- var Lt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
5
- var V = (e, t, n) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, it = (e, t) => {
4
+ var kt = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable;
5
+ var q = (e, t, n) => t in e ? vt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, it = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Lt.call(t, n) && V(e, n, t[n]);
7
+ kt.call(t, n) && q(e, n, t[n]);
8
8
  if (nt)
9
9
  for (var n of nt(t))
10
- kt.call(t, n) && V(e, n, t[n]);
10
+ Mt.call(t, n) && q(e, n, t[n]);
11
11
  return e;
12
- }, st = (e, t) => vt(e, Et(t));
13
- var p = (e, t, n) => (V(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var rt = (e, t, n) => new Promise((i, s) => {
15
- var r = (f) => {
12
+ }, st = (e, t) => Et(e, Lt(t));
13
+ var p = (e, t, n) => (q(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var rt = (e, t, n) => new Promise((i, r) => {
15
+ var s = (u) => {
16
16
  try {
17
- o(n.next(f));
17
+ o(n.next(u));
18
18
  } catch (l) {
19
- s(l);
19
+ r(l);
20
20
  }
21
- }, c = (f) => {
21
+ }, c = (u) => {
22
22
  try {
23
- o(n.throw(f));
23
+ o(n.throw(u));
24
24
  } catch (l) {
25
- s(l);
25
+ r(l);
26
26
  }
27
- }, o = (f) => f.done ? i(f.value) : Promise.resolve(f.value).then(r, c);
27
+ }, o = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(s, c);
28
28
  o((n = n.apply(e, t)).next());
29
29
  });
30
- function P() {
30
+ function j() {
31
31
  }
32
- const $t = (e) => e;
33
- function Mt(e, t) {
32
+ const _t = (e) => e;
33
+ function St(e, t) {
34
34
  for (const n in t)
35
35
  e[n] = t[n];
36
36
  return (
@@ -38,55 +38,55 @@ function Mt(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function _t(e) {
41
+ function mt(e) {
42
42
  return e();
43
43
  }
44
44
  function ot() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function j(e) {
48
- e.forEach(_t);
47
+ function A(e) {
48
+ e.forEach(mt);
49
49
  }
50
- function X(e) {
50
+ function Y(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function St(e, t) {
53
+ function jt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function jt(e) {
56
+ function Ot(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function Ot(e, t, n, i) {
59
+ function At(e, t, n, i) {
60
60
  if (e) {
61
- const s = gt(e, t, n, i);
62
- return e[0](s);
61
+ const r = gt(e, t, n, i);
62
+ return e[0](r);
63
63
  }
64
64
  }
65
65
  function gt(e, t, n, i) {
66
- return e[1] && i ? Mt(n.ctx.slice(), e[1](i(t))) : n.ctx;
66
+ return e[1] && i ? St(n.ctx.slice(), e[1](i(t))) : n.ctx;
67
67
  }
68
- function At(e, t, n, i) {
68
+ function Nt(e, t, n, i) {
69
69
  if (e[2] && i) {
70
- const s = e[2](i(n));
70
+ const r = e[2](i(n));
71
71
  if (t.dirty === void 0)
72
- return s;
73
- if (typeof s == "object") {
74
- const r = [], c = Math.max(t.dirty.length, s.length);
75
- for (let o = 0; o < c; o += 1)
76
- r[o] = t.dirty[o] | s[o];
77
72
  return r;
73
+ if (typeof r == "object") {
74
+ const s = [], c = Math.max(t.dirty.length, r.length);
75
+ for (let o = 0; o < c; o += 1)
76
+ s[o] = t.dirty[o] | r[o];
77
+ return s;
78
78
  }
79
- return t.dirty | s;
79
+ return t.dirty | r;
80
80
  }
81
81
  return t.dirty;
82
82
  }
83
- function Nt(e, t, n, i, s, r) {
84
- if (s) {
85
- const c = gt(t, n, i, r);
86
- e.p(c, s);
83
+ function zt(e, t, n, i, r, s) {
84
+ if (r) {
85
+ const c = gt(t, n, i, s);
86
+ e.p(c, r);
87
87
  }
88
88
  }
89
- function zt(e) {
89
+ function Bt(e) {
90
90
  if (e.ctx.length > 32) {
91
91
  const t = [], n = e.ctx.length / 32;
92
92
  for (let i = 0; i < n; i++)
@@ -95,17 +95,17 @@ function zt(e) {
95
95
  }
96
96
  return -1;
97
97
  }
98
- const mt = typeof window != "undefined";
99
- let Bt = mt ? () => window.performance.now() : () => Date.now(), Y = mt ? (e) => requestAnimationFrame(e) : P;
98
+ const yt = typeof window != "undefined";
99
+ let Pt = yt ? () => window.performance.now() : () => Date.now(), tt = yt ? (e) => requestAnimationFrame(e) : j;
100
100
  const k = /* @__PURE__ */ new Set();
101
- function yt(e) {
101
+ function pt(e) {
102
102
  k.forEach((t) => {
103
103
  t.c(e) || (k.delete(t), t.f());
104
- }), k.size !== 0 && Y(yt);
104
+ }), k.size !== 0 && tt(pt);
105
105
  }
106
- function Pt(e) {
106
+ function Rt(e) {
107
107
  let t;
108
- return k.size === 0 && Y(yt), {
108
+ return k.size === 0 && tt(pt), {
109
109
  promise: new Promise((n) => {
110
110
  k.add(t = { c: e, f: n });
111
111
  }),
@@ -114,17 +114,17 @@ function Pt(e) {
114
114
  }
115
115
  };
116
116
  }
117
- function C(e, t) {
117
+ function M(e, t) {
118
118
  e.appendChild(t);
119
119
  }
120
- function Rt(e, t, n) {
121
- const i = tt(e);
120
+ function Tt(e, t, n) {
121
+ const i = et(e);
122
122
  if (!i.getElementById(t)) {
123
- const s = v("style");
124
- s.id = t, s.textContent = n, pt(i, s);
123
+ const r = C("style");
124
+ r.id = t, r.textContent = n, wt(i, r);
125
125
  }
126
126
  }
127
- function tt(e) {
127
+ function et(e) {
128
128
  if (!e)
129
129
  return document;
130
130
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -134,49 +134,49 @@ function tt(e) {
134
134
  t
135
135
  ) : e.ownerDocument;
136
136
  }
137
- function Tt(e) {
138
- const t = v("style");
139
- return t.textContent = "/* empty */", pt(tt(e), t), t.sheet;
137
+ function Ht(e) {
138
+ const t = C("style");
139
+ return t.textContent = "/* empty */", wt(et(e), t), t.sheet;
140
140
  }
141
- function pt(e, t) {
142
- return C(
141
+ function wt(e, t) {
142
+ return M(
143
143
  /** @type {Document} */
144
144
  e.head || e,
145
145
  t
146
146
  ), t.sheet;
147
147
  }
148
- function et(e, t, n) {
148
+ function J(e, t, n) {
149
149
  e.insertBefore(t, n || null);
150
150
  }
151
- function O(e) {
151
+ function v(e) {
152
152
  e.parentNode && e.parentNode.removeChild(e);
153
153
  }
154
- function v(e) {
154
+ function C(e) {
155
155
  return document.createElement(e);
156
156
  }
157
157
  function ct(e) {
158
158
  return document.createElementNS("http://www.w3.org/2000/svg", e);
159
159
  }
160
- function wt(e) {
160
+ function bt(e) {
161
161
  return document.createTextNode(e);
162
162
  }
163
- function Ht() {
164
- return wt(" ");
165
- }
166
163
  function It() {
167
- return wt("");
164
+ return bt(" ");
168
165
  }
169
- function G(e, t, n, i) {
166
+ function Ut() {
167
+ return bt("");
168
+ }
169
+ function K(e, t, n, i) {
170
170
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
171
171
  }
172
- function y(e, t, n) {
172
+ function g(e, t, n) {
173
173
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
174
174
  }
175
- function Ut(e) {
175
+ function Wt(e) {
176
176
  return Array.from(e.childNodes);
177
177
  }
178
178
  let H;
179
- function Wt() {
179
+ function Dt() {
180
180
  if (H === void 0) {
181
181
  H = !1;
182
182
  try {
@@ -187,16 +187,16 @@ function Wt() {
187
187
  }
188
188
  return H;
189
189
  }
190
- function Dt(e, t) {
190
+ function Ft(e, t) {
191
191
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
192
- const i = v("iframe");
192
+ const i = C("iframe");
193
193
  i.setAttribute(
194
194
  "style",
195
195
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
196
196
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
197
- const s = Wt();
198
- let r;
199
- return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", r = G(
197
+ const r = Dt();
198
+ let s;
199
+ return r ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = K(
200
200
  window,
201
201
  "message",
202
202
  /** @param {MessageEvent} event */
@@ -204,15 +204,15 @@ function Dt(e, t) {
204
204
  c.source === i.contentWindow && t();
205
205
  }
206
206
  )) : (i.src = "about:blank", i.onload = () => {
207
- r = G(i.contentWindow, "resize", t), t();
208
- }), C(e, i), () => {
209
- (s || r && i.contentWindow) && r(), O(i);
207
+ s = K(i.contentWindow, "resize", t), t();
208
+ }), M(e, i), () => {
209
+ (r || s && i.contentWindow) && s(), v(i);
210
210
  };
211
211
  }
212
- function Ft(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
212
+ function Jt(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
213
213
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: i });
214
214
  }
215
- function Jt(e) {
215
+ function Vt(e) {
216
216
  const t = {};
217
217
  return e.childNodes.forEach(
218
218
  /** @param {Element} node */
@@ -223,69 +223,69 @@ function Jt(e) {
223
223
  }
224
224
  const W = /* @__PURE__ */ new Map();
225
225
  let D = 0;
226
- function Vt(e) {
226
+ function qt(e) {
227
227
  let t = 5381, n = e.length;
228
228
  for (; n--; )
229
229
  t = (t << 5) - t ^ e.charCodeAt(n);
230
230
  return t >>> 0;
231
231
  }
232
- function qt(e, t) {
233
- const n = { stylesheet: Tt(t), rules: {} };
232
+ function Zt(e, t) {
233
+ const n = { stylesheet: Ht(t), rules: {} };
234
234
  return W.set(e, n), n;
235
235
  }
236
- function lt(e, t, n, i, s, r, c, o = 0) {
237
- const f = 16.666 / i;
236
+ function lt(e, t, n, i, r, s, c, o = 0) {
237
+ const u = 16.666 / i;
238
238
  let l = `{
239
239
  `;
240
- for (let _ = 0; _ <= 1; _ += f) {
241
- const x = t + (n - t) * r(_);
242
- l += _ * 100 + `%{${c(x, 1 - x)}}
240
+ for (let m = 0; m <= 1; m += u) {
241
+ const x = t + (n - t) * s(m);
242
+ l += m * 100 + `%{${c(x, 1 - x)}}
243
243
  `;
244
244
  }
245
- const $ = l + `100% {${c(n, 1 - n)}}
246
- }`, a = `__svelte_${Vt($)}_${o}`, g = tt(e), { stylesheet: m, rules: u } = W.get(g) || qt(g, e);
247
- u[a] || (u[a] = !0, m.insertRule(`@keyframes ${a} ${$}`, m.cssRules.length));
248
- const h = e.style.animation || "";
249
- return e.style.animation = `${h ? `${h}, ` : ""}${a} ${i}ms linear ${s}ms 1 both`, D += 1, a;
245
+ const _ = l + `100% {${c(n, 1 - n)}}
246
+ }`, f = `__svelte_${qt(_)}_${o}`, h = et(e), { stylesheet: $, rules: a } = W.get(h) || Zt(h, e);
247
+ a[f] || (a[f] = !0, $.insertRule(`@keyframes ${f} ${_}`, $.cssRules.length));
248
+ const y = e.style.animation || "";
249
+ return e.style.animation = `${y ? `${y}, ` : ""}${f} ${i}ms linear ${r}ms 1 both`, D += 1, f;
250
250
  }
251
- function Zt(e, t) {
251
+ function Gt(e, t) {
252
252
  const n = (e.style.animation || "").split(", "), i = n.filter(
253
- t ? (r) => r.indexOf(t) < 0 : (r) => r.indexOf("__svelte") === -1
253
+ t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
254
254
  // remove all Svelte animations
255
- ), s = n.length - i.length;
256
- s && (e.style.animation = i.join(", "), D -= s, D || Gt());
255
+ ), r = n.length - i.length;
256
+ r && (e.style.animation = i.join(", "), D -= r, D || Kt());
257
257
  }
258
- function Gt() {
259
- Y(() => {
258
+ function Kt() {
259
+ tt(() => {
260
260
  D || (W.forEach((e) => {
261
261
  const { ownerNode: t } = e.stylesheet;
262
- t && O(t);
262
+ t && v(t);
263
263
  }), W.clear());
264
264
  });
265
265
  }
266
266
  let R;
267
- function z(e) {
267
+ function B(e) {
268
268
  R = e;
269
269
  }
270
- function Kt() {
270
+ function Qt() {
271
271
  if (!R)
272
272
  throw new Error("Function called outside component initialization");
273
273
  return R;
274
274
  }
275
- function Qt(e) {
276
- Kt().$$.on_mount.push(e);
275
+ function Xt(e) {
276
+ Qt().$$.on_mount.push(e);
277
277
  }
278
278
  const L = [], F = [];
279
- let M = [];
280
- const ut = [], Xt = /* @__PURE__ */ Promise.resolve();
281
- let K = !1;
282
- function Yt() {
283
- K || (K = !0, Xt.then(w));
279
+ let S = [];
280
+ const ut = [], Yt = /* @__PURE__ */ Promise.resolve();
281
+ let Q = !1;
282
+ function te() {
283
+ Q || (Q = !0, Yt.then(w));
284
284
  }
285
- function S(e) {
286
- M.push(e);
285
+ function O(e) {
286
+ S.push(e);
287
287
  }
288
- const q = /* @__PURE__ */ new Set();
288
+ const Z = /* @__PURE__ */ new Set();
289
289
  let E = 0;
290
290
  function w() {
291
291
  if (E !== 0)
@@ -295,46 +295,46 @@ function w() {
295
295
  try {
296
296
  for (; E < L.length; ) {
297
297
  const t = L[E];
298
- E++, z(t), te(t.$$);
298
+ E++, B(t), ee(t.$$);
299
299
  }
300
300
  } catch (t) {
301
301
  throw L.length = 0, E = 0, t;
302
302
  }
303
- for (z(null), L.length = 0, E = 0; F.length; )
303
+ for (B(null), L.length = 0, E = 0; F.length; )
304
304
  F.pop()();
305
- for (let t = 0; t < M.length; t += 1) {
306
- const n = M[t];
307
- q.has(n) || (q.add(n), n());
305
+ for (let t = 0; t < S.length; t += 1) {
306
+ const n = S[t];
307
+ Z.has(n) || (Z.add(n), n());
308
308
  }
309
- M.length = 0;
309
+ S.length = 0;
310
310
  } while (L.length);
311
311
  for (; ut.length; )
312
312
  ut.pop()();
313
- K = !1, q.clear(), z(e);
313
+ Q = !1, Z.clear(), B(e);
314
314
  }
315
- function te(e) {
315
+ function ee(e) {
316
316
  if (e.fragment !== null) {
317
- e.update(), j(e.before_update);
317
+ e.update(), A(e.before_update);
318
318
  const t = e.dirty;
319
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(S);
319
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(O);
320
320
  }
321
321
  }
322
- function ee(e) {
322
+ function ne(e) {
323
323
  const t = [], n = [];
324
- M.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), M = t;
324
+ S.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), S = t;
325
325
  }
326
- let N;
327
- function ne() {
328
- return N || (N = Promise.resolve(), N.then(() => {
329
- N = null;
330
- })), N;
326
+ let z;
327
+ function ie() {
328
+ return z || (z = Promise.resolve(), z.then(() => {
329
+ z = null;
330
+ })), z;
331
331
  }
332
- function Z(e, t, n) {
333
- e.dispatchEvent(Ft(`${t ? "intro" : "outro"}${n}`));
332
+ function G(e, t, n) {
333
+ e.dispatchEvent(Jt(`${t ? "intro" : "outro"}${n}`));
334
334
  }
335
335
  const I = /* @__PURE__ */ new Set();
336
336
  let b;
337
- function ie() {
337
+ function se() {
338
338
  b = {
339
339
  r: 0,
340
340
  c: [],
@@ -342,13 +342,13 @@ function ie() {
342
342
  // parent group
343
343
  };
344
344
  }
345
- function se() {
346
- b.r || j(b.c), b = b.p;
345
+ function re() {
346
+ b.r || A(b.c), b = b.p;
347
347
  }
348
- function B(e, t) {
348
+ function P(e, t) {
349
349
  e && e.i && (I.delete(e), e.i(t));
350
350
  }
351
- function Q(e, t, n, i) {
351
+ function X(e, t, n, i) {
352
352
  if (e && e.o) {
353
353
  if (I.has(e))
354
354
  return;
@@ -358,94 +358,94 @@ function Q(e, t, n, i) {
358
358
  } else
359
359
  i && i();
360
360
  }
361
- const re = { duration: 0 };
361
+ const oe = { duration: 0 };
362
362
  function ft(e, t, n, i) {
363
- let r = t(e, n, { direction: "both" }), c = i ? 0 : 1, o = null, f = null, l = null, $;
364
- function a() {
365
- l && Zt(e, l);
363
+ let s = t(e, n, { direction: "both" }), c = i ? 0 : 1, o = null, u = null, l = null, _;
364
+ function f() {
365
+ l && Gt(e, l);
366
366
  }
367
- function g(u, h) {
368
- const _ = (
367
+ function h(a, y) {
368
+ const m = (
369
369
  /** @type {Program['d']} */
370
- u.b - c
370
+ a.b - c
371
371
  );
372
- return h *= Math.abs(_), {
372
+ return y *= Math.abs(m), {
373
373
  a: c,
374
- b: u.b,
375
- d: _,
376
- duration: h,
377
- start: u.start,
378
- end: u.start + h,
379
- group: u.group
374
+ b: a.b,
375
+ d: m,
376
+ duration: y,
377
+ start: a.start,
378
+ end: a.start + y,
379
+ group: a.group
380
380
  };
381
381
  }
382
- function m(u) {
382
+ function $(a) {
383
383
  const {
384
- delay: h = 0,
385
- duration: _ = 300,
386
- easing: x = $t,
387
- tick: A = P,
384
+ delay: y = 0,
385
+ duration: m = 300,
386
+ easing: x = _t,
387
+ tick: N = j,
388
388
  css: d
389
- } = r || re, J = {
390
- start: Bt() + h,
391
- b: u
389
+ } = s || oe, V = {
390
+ start: Pt() + y,
391
+ b: a
392
392
  };
393
- u || (J.group = b, b.r += 1), "inert" in e && (u ? $ !== void 0 && (e.inert = $) : ($ = /** @type {HTMLElement} */
394
- e.inert, e.inert = !0)), o || f ? f = J : (d && (a(), l = lt(e, c, u, _, h, x, d)), u && A(0, 1), o = g(J, _), S(() => Z(e, u, "start")), Pt((T) => {
395
- if (f && T > f.start && (o = g(f, _), f = null, Z(e, o.b, "start"), d && (a(), l = lt(
393
+ a || (V.group = b, b.r += 1), "inert" in e && (a ? _ !== void 0 && (e.inert = _) : (_ = /** @type {HTMLElement} */
394
+ e.inert, e.inert = !0)), o || u ? u = V : (d && (f(), l = lt(e, c, a, m, y, x, d)), a && N(0, 1), o = h(V, m), O(() => G(e, a, "start")), Rt((T) => {
395
+ if (u && T > u.start && (o = h(u, m), u = null, G(e, o.b, "start"), d && (f(), l = lt(
396
396
  e,
397
397
  c,
398
398
  o.b,
399
399
  o.duration,
400
400
  0,
401
401
  x,
402
- r.css
402
+ s.css
403
403
  ))), o) {
404
404
  if (T >= o.end)
405
- A(c = o.b, 1 - c), Z(e, o.b, "end"), f || (o.b ? a() : --o.group.r || j(o.group.c)), o = null;
405
+ N(c = o.b, 1 - c), G(e, o.b, "end"), u || (o.b ? f() : --o.group.r || A(o.group.c)), o = null;
406
406
  else if (T >= o.start) {
407
- const xt = T - o.start;
408
- c = o.a + o.d * x(xt / o.duration), A(c, 1 - c);
407
+ const Ct = T - o.start;
408
+ c = o.a + o.d * x(Ct / o.duration), N(c, 1 - c);
409
409
  }
410
410
  }
411
- return !!(o || f);
411
+ return !!(o || u);
412
412
  }));
413
413
  }
414
414
  return {
415
- run(u) {
416
- X(r) ? ne().then(() => {
417
- r = r({ direction: u ? "in" : "out" }), m(u);
418
- }) : m(u);
415
+ run(a) {
416
+ Y(s) ? ie().then(() => {
417
+ s = s({ direction: a ? "in" : "out" }), $(a);
418
+ }) : $(a);
419
419
  },
420
420
  end() {
421
- a(), o = f = null;
421
+ f(), o = u = null;
422
422
  }
423
423
  };
424
424
  }
425
- function oe(e, t, n) {
426
- const { fragment: i, after_update: s } = e.$$;
427
- i && i.m(t, n), S(() => {
428
- const r = e.$$.on_mount.map(_t).filter(X);
429
- e.$$.on_destroy ? e.$$.on_destroy.push(...r) : j(r), e.$$.on_mount = [];
430
- }), s.forEach(S);
425
+ function ce(e, t, n) {
426
+ const { fragment: i, after_update: r } = e.$$;
427
+ i && i.m(t, n), O(() => {
428
+ const s = e.$$.on_mount.map(mt).filter(Y);
429
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : A(s), e.$$.on_mount = [];
430
+ }), r.forEach(O);
431
431
  }
432
- function ce(e, t) {
432
+ function le(e, t) {
433
433
  const n = e.$$;
434
- n.fragment !== null && (ee(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
434
+ n.fragment !== null && (ne(n.after_update), A(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
435
435
  }
436
- function le(e, t) {
437
- e.$$.dirty[0] === -1 && (L.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
436
+ function ue(e, t) {
437
+ e.$$.dirty[0] === -1 && (L.push(e), te(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
438
438
  }
439
- function ue(e, t, n, i, s, r, c = null, o = [-1]) {
440
- const f = R;
441
- z(e);
439
+ function fe(e, t, n, i, r, s, c = null, o = [-1]) {
440
+ const u = R;
441
+ B(e);
442
442
  const l = e.$$ = {
443
443
  fragment: null,
444
444
  ctx: [],
445
445
  // state
446
- props: r,
447
- update: P,
448
- not_equal: s,
446
+ props: s,
447
+ update: j,
448
+ not_equal: r,
449
449
  bound: ot(),
450
450
  // lifecycle
451
451
  on_mount: [],
@@ -453,30 +453,30 @@ function ue(e, t, n, i, s, r, c = null, o = [-1]) {
453
453
  on_disconnect: [],
454
454
  before_update: [],
455
455
  after_update: [],
456
- context: new Map(t.context || (f ? f.$$.context : [])),
456
+ context: new Map(t.context || (u ? u.$$.context : [])),
457
457
  // everything else
458
458
  callbacks: ot(),
459
459
  dirty: o,
460
460
  skip_bound: !1,
461
- root: t.target || f.$$.root
461
+ root: t.target || u.$$.root
462
462
  };
463
463
  c && c(l.root);
464
- let $ = !1;
465
- if (l.ctx = n ? n(e, t.props || {}, (a, g, ...m) => {
466
- const u = m.length ? m[0] : g;
467
- return l.ctx && s(l.ctx[a], l.ctx[a] = u) && (!l.skip_bound && l.bound[a] && l.bound[a](u), $ && le(e, a)), g;
468
- }) : [], l.update(), $ = !0, j(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
464
+ let _ = !1;
465
+ if (l.ctx = n ? n(e, t.props || {}, (f, h, ...$) => {
466
+ const a = $.length ? $[0] : h;
467
+ return l.ctx && r(l.ctx[f], l.ctx[f] = a) && (!l.skip_bound && l.bound[f] && l.bound[f](a), _ && ue(e, f)), h;
468
+ }) : [], l.update(), _ = !0, A(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
469
469
  if (t.hydrate) {
470
- const a = Ut(t.target);
471
- l.fragment && l.fragment.l(a), a.forEach(O);
470
+ const f = Wt(t.target);
471
+ l.fragment && l.fragment.l(f), f.forEach(v);
472
472
  } else
473
473
  l.fragment && l.fragment.c();
474
- t.intro && B(e.$$.fragment), oe(e, t.target, t.anchor), w();
474
+ t.intro && P(e.$$.fragment), ce(e, t.target, t.anchor), w();
475
475
  }
476
- z(f);
476
+ B(u);
477
477
  }
478
- let bt;
479
- typeof HTMLElement == "function" && (bt = class extends HTMLElement {
478
+ let xt;
479
+ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
480
480
  constructor(t, n, i) {
481
481
  super();
482
482
  /** The Svelte component constructor */
@@ -501,51 +501,51 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
501
501
  }
502
502
  addEventListener(t, n, i) {
503
503
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
504
- const s = this.$$c.$on(t, n);
505
- this.$$l_u.set(n, s);
504
+ const r = this.$$c.$on(t, n);
505
+ this.$$l_u.set(n, r);
506
506
  }
507
507
  super.addEventListener(t, n, i);
508
508
  }
509
509
  removeEventListener(t, n, i) {
510
510
  if (super.removeEventListener(t, n, i), this.$$c) {
511
- const s = this.$$l_u.get(n);
512
- s && (s(), this.$$l_u.delete(n));
511
+ const r = this.$$l_u.get(n);
512
+ r && (r(), this.$$l_u.delete(n));
513
513
  }
514
514
  }
515
515
  connectedCallback() {
516
516
  return rt(this, null, function* () {
517
517
  if (this.$$cn = !0, !this.$$c) {
518
- let t = function(r) {
518
+ let t = function(s) {
519
519
  return () => {
520
520
  let c;
521
521
  return {
522
522
  c: function() {
523
- c = v("slot"), r !== "default" && y(c, "name", r);
523
+ c = C("slot"), s !== "default" && g(c, "name", s);
524
524
  },
525
525
  /**
526
526
  * @param {HTMLElement} target
527
527
  * @param {HTMLElement} [anchor]
528
528
  */
529
- m: function(l, $) {
530
- et(l, c, $);
529
+ m: function(l, _) {
530
+ J(l, c, _);
531
531
  },
532
532
  d: function(l) {
533
- l && O(c);
533
+ l && v(c);
534
534
  }
535
535
  };
536
536
  };
537
537
  };
538
538
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
539
539
  return;
540
- const n = {}, i = Jt(this);
541
- for (const r of this.$$s)
542
- r in i && (n[r] = [t(r)]);
543
- for (const r of this.attributes) {
544
- const c = this.$$g_p(r.name);
545
- c in this.$$d || (this.$$d[c] = U(c, r.value, this.$$p_d, "toProp"));
540
+ const n = {}, i = Vt(this);
541
+ for (const s of this.$$s)
542
+ s in i && (n[s] = [t(s)]);
543
+ for (const s of this.attributes) {
544
+ const c = this.$$g_p(s.name);
545
+ c in this.$$d || (this.$$d[c] = U(c, s.value, this.$$p_d, "toProp"));
546
546
  }
547
- for (const r in this.$$p_d)
548
- !(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
547
+ for (const s in this.$$p_d)
548
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
549
549
  this.$$c = new this.$$ctor({
550
550
  target: this.shadowRoot || this,
551
551
  props: st(it({}, this.$$d), {
@@ -555,24 +555,24 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
555
555
  }
556
556
  })
557
557
  });
558
- const s = () => {
558
+ const r = () => {
559
559
  this.$$r = !0;
560
- for (const r in this.$$p_d)
561
- if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
560
+ for (const s in this.$$p_d)
561
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
562
562
  const c = U(
563
- r,
564
- this.$$d[r],
563
+ s,
564
+ this.$$d[s],
565
565
  this.$$p_d,
566
566
  "toAttribute"
567
567
  );
568
- c == null ? this.removeAttribute(this.$$p_d[r].attribute || r) : this.setAttribute(this.$$p_d[r].attribute || r, c);
568
+ c == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, c);
569
569
  }
570
570
  this.$$r = !1;
571
571
  };
572
- this.$$c.$$.after_update.push(s), s();
573
- for (const r in this.$$l)
574
- for (const c of this.$$l[r]) {
575
- const o = this.$$c.$on(r, c);
572
+ this.$$c.$$.after_update.push(r), r();
573
+ for (const s in this.$$l)
574
+ for (const c of this.$$l[s]) {
575
+ const o = this.$$c.$on(s, c);
576
576
  this.$$l_u.set(c, o);
577
577
  }
578
578
  this.$$l = {};
@@ -582,8 +582,8 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
582
582
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
583
583
  // and setting attributes through setAttribute etc, this is helpful
584
584
  attributeChangedCallback(t, n, i) {
585
- var s;
586
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = U(t, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
585
+ var r;
586
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = U(t, i, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
587
587
  }
588
588
  disconnectedCallback() {
589
589
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -597,12 +597,12 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
597
597
  }
598
598
  });
599
599
  function U(e, t, n, i) {
600
- var r;
601
- const s = (r = n[e]) == null ? void 0 : r.type;
602
- if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
600
+ var s;
601
+ const r = (s = n[e]) == null ? void 0 : s.type;
602
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
603
603
  return t;
604
604
  if (i === "toAttribute")
605
- switch (s) {
605
+ switch (r) {
606
606
  case "Object":
607
607
  case "Array":
608
608
  return t == null ? null : JSON.stringify(t);
@@ -614,7 +614,7 @@ function U(e, t, n, i) {
614
614
  return t;
615
615
  }
616
616
  else
617
- switch (s) {
617
+ switch (r) {
618
618
  case "Object":
619
619
  case "Array":
620
620
  return t && JSON.parse(t);
@@ -626,10 +626,10 @@ function U(e, t, n, i) {
626
626
  return t;
627
627
  }
628
628
  }
629
- function fe(e, t, n, i, s, r) {
630
- let c = class extends bt {
629
+ function ae(e, t, n, i, r, s) {
630
+ let c = class extends xt {
631
631
  constructor() {
632
- super(e, n, s), this.$$p_d = t;
632
+ super(e, n, r), this.$$p_d = t;
633
633
  }
634
634
  static get observedAttributes() {
635
635
  return Object.keys(t).map(
@@ -642,22 +642,22 @@ function fe(e, t, n, i, s, r) {
642
642
  get() {
643
643
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
644
644
  },
645
- set(f) {
645
+ set(u) {
646
646
  var l;
647
- f = U(o, f, t), this.$$d[o] = f, (l = this.$$c) == null || l.$set({ [o]: f });
647
+ u = U(o, u, t), this.$$d[o] = u, (l = this.$$c) == null || l.$set({ [o]: u });
648
648
  }
649
649
  });
650
650
  }), i.forEach((o) => {
651
651
  Object.defineProperty(c.prototype, o, {
652
652
  get() {
653
- var f;
654
- return (f = this.$$c) == null ? void 0 : f[o];
653
+ var u;
654
+ return (u = this.$$c) == null ? void 0 : u[o];
655
655
  }
656
656
  });
657
657
  }), e.element = /** @type {any} */
658
658
  c, c;
659
659
  }
660
- class ae {
660
+ class de {
661
661
  constructor() {
662
662
  /**
663
663
  * ### PRIVATE API
@@ -678,7 +678,7 @@ class ae {
678
678
  }
679
679
  /** @returns {void} */
680
680
  $destroy() {
681
- ce(this, 1), this.$destroy = P;
681
+ le(this, 1), this.$destroy = j;
682
682
  }
683
683
  /**
684
684
  * @template {Extract<keyof Events, string>} K
@@ -687,12 +687,12 @@ class ae {
687
687
  * @returns {() => void}
688
688
  */
689
689
  $on(t, n) {
690
- if (!X(n))
691
- return P;
690
+ if (!Y(n))
691
+ return j;
692
692
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
693
693
  return i.push(n), () => {
694
- const s = i.indexOf(n);
695
- s !== -1 && i.splice(s, 1);
694
+ const r = i.indexOf(n);
695
+ r !== -1 && i.splice(r, 1);
696
696
  };
697
697
  }
698
698
  /**
@@ -700,54 +700,57 @@ class ae {
700
700
  * @returns {void}
701
701
  */
702
702
  $set(t) {
703
- this.$$set && !jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
703
+ this.$$set && !Ot(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
704
704
  }
705
705
  }
706
- const de = "4";
707
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(de);
708
- function at(e, { delay: t = 0, duration: n = 400, easing: i = $t } = {}) {
709
- const s = +getComputedStyle(e).opacity;
706
+ const he = "4";
707
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(he);
708
+ function at(e, { delay: t = 0, duration: n = 400, easing: i = _t } = {}) {
709
+ const r = +getComputedStyle(e).opacity;
710
710
  return {
711
711
  delay: t,
712
712
  duration: n,
713
713
  easing: i,
714
- css: (r) => `opacity: ${r * s}`
714
+ css: (s) => `opacity: ${s * r}`
715
715
  };
716
716
  }
717
- function he(e, t) {
717
+ function $e(e, t) {
718
718
  if (e) {
719
719
  const n = document.createElement("style");
720
720
  n.innerHTML = t, e.appendChild(n);
721
721
  }
722
722
  }
723
- function $e(e, t) {
723
+ function _e(e, t) {
724
724
  const n = new URL(t);
725
725
  fetch(n.href).then((i) => i.text()).then((i) => {
726
- const s = document.createElement("style");
727
- s.innerHTML = i, e && e.appendChild(s);
726
+ const r = document.createElement("style");
727
+ r.innerHTML = i, e && e.appendChild(r);
728
728
  }).catch((i) => {
729
729
  console.error("There was an error while trying to load client styling from URL", i);
730
730
  });
731
731
  }
732
- function _e(e, t, n) {
732
+ function me(e, t, n) {
733
733
  if (window.emMessageBus) {
734
734
  const i = document.createElement("style");
735
- window.emMessageBus.subscribe(t, (s) => {
736
- i.innerHTML = s, e && e.appendChild(i);
735
+ window.emMessageBus.subscribe(t, (r) => {
736
+ i.innerHTML = r, e && e.appendChild(i);
737
737
  });
738
738
  }
739
739
  }
740
740
  function ge(e) {
741
- Rt(e, "svelte-2w7akv", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){#Modal{display:grid;place-items:center start;grid-template-rows:minmax(10vh, 1fr) auto minmax(5vh, 1fr)}.ModalContainer{grid-row:2;max-width:90%;max-height:80vh;overflow-y:auto;margin:auto}}");
741
+ Tt(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
742
742
  }
743
- const me = (e) => ({}), dt = (e) => ({});
743
+ const ye = (e) => ({}), dt = (e) => ({});
744
744
  function ht(e) {
745
- let t, n, i, s, r, c, o, f, l, $, a, g;
746
- const m = (
745
+ let t, n, i, r, s, c, o, u, l = (
746
+ /*modaltype*/
747
+ e[3] !== "error" && $t(e)
748
+ );
749
+ const _ = (
747
750
  /*#slots*/
748
751
  e[12].content
749
- ), u = Ot(
750
- m,
752
+ ), f = At(
753
+ _,
751
754
  e,
752
755
  /*$$scope*/
753
756
  e[11],
@@ -755,162 +758,178 @@ function ht(e) {
755
758
  );
756
759
  return {
757
760
  c() {
758
- t = v("div"), n = v("div"), i = v("div"), s = ct("svg"), r = ct("path"), c = Ht(), u && u.c(), y(r, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), y(r, "fill", "#111111"), y(s, "xmlns", "http://www.w3.org/2000/svg"), y(s, "width", "13"), y(s, "height", "13"), y(s, "viewBox", "0 0 13 13"), y(s, "fill", "none"), y(s, "class", "CloseButton"), y(i, "class", "ModalContainer"), y(i, "style", o = /*isvideo*/
759
- e[3] === "true" ? "height: 70%" : "height: auto"), y(n, "id", "Modal"), S(() => (
761
+ t = C("div"), n = C("div"), i = C("div"), l && l.c(), r = It(), f && f.c(), g(i, "class", "ModalContainer"), g(i, "style", s = /*modaltype*/
762
+ e[3] === "video" ? "height: 70%" : "height: auto"), g(n, "id", "Modal"), O(() => (
760
763
  /*div1_elementresize_handler*/
761
764
  e[14].call(n)
762
765
  ));
763
766
  },
764
- m(h, _) {
765
- et(h, t, _), C(t, n), C(n, i), C(i, s), C(s, r), C(i, c), u && u.m(i, null), e[13](n), f = Dt(
767
+ m(h, $) {
768
+ J(h, t, $), M(t, n), M(n, i), l && l.m(i, null), M(i, r), f && f.m(i, null), e[13](n), c = Ft(
766
769
  n,
767
770
  /*div1_elementresize_handler*/
768
771
  e[14].bind(n)
769
- ), e[15](t), $ = !0, a || (g = G(
770
- s,
771
- "click",
772
- /*closeModal*/
773
- e[7]
774
- ), a = !0);
772
+ ), e[15](t), u = !0;
775
773
  },
776
- p(h, _) {
777
- e = h, u && u.p && (!$ || _ & /*$$scope*/
778
- 2048) && Nt(
779
- u,
780
- m,
774
+ p(h, $) {
775
+ e = h, /*modaltype*/
776
+ e[3] !== "error" ? l ? l.p(e, $) : (l = $t(e), l.c(), l.m(i, r)) : l && (l.d(1), l = null), f && f.p && (!u || $ & /*$$scope*/
777
+ 2048) && zt(
778
+ f,
779
+ _,
781
780
  e,
782
781
  /*$$scope*/
783
782
  e[11],
784
- $ ? At(
785
- m,
783
+ u ? Nt(
784
+ _,
786
785
  /*$$scope*/
787
786
  e[11],
788
- _,
789
- me
790
- ) : zt(
787
+ $,
788
+ ye
789
+ ) : Bt(
791
790
  /*$$scope*/
792
791
  e[11]
793
792
  ),
794
793
  dt
795
- ), (!$ || _ & /*isvideo*/
796
- 8 && o !== (o = /*isvideo*/
797
- e[3] === "true" ? "height: 70%" : "height: auto")) && y(i, "style", o);
794
+ ), (!u || $ & /*modaltype*/
795
+ 8 && s !== (s = /*modaltype*/
796
+ e[3] === "video" ? "height: 70%" : "height: auto")) && g(i, "style", s);
798
797
  },
799
798
  i(h) {
800
- $ || (B(u, h), h && S(() => {
801
- $ && (l || (l = ft(
799
+ u || (P(f, h), h && O(() => {
800
+ u && (o || (o = ft(
802
801
  n,
803
802
  at,
804
803
  /*duration*/
805
804
  e[4],
806
805
  !0
807
- )), l.run(1));
808
- }), $ = !0);
806
+ )), o.run(1));
807
+ }), u = !0);
809
808
  },
810
809
  o(h) {
811
- Q(u, h), h && (l || (l = ft(
810
+ X(f, h), h && (o || (o = ft(
812
811
  n,
813
812
  at,
814
813
  /*duration*/
815
814
  e[4],
816
815
  !1
817
- )), l.run(0)), $ = !1;
816
+ )), o.run(0)), u = !1;
818
817
  },
819
818
  d(h) {
820
- h && O(t), u && u.d(h), e[13](null), f(), h && l && l.end(), e[15](null), a = !1, g();
819
+ h && v(t), l && l.d(), f && f.d(h), e[13](null), c(), h && o && o.end(), e[15](null);
820
+ }
821
+ };
822
+ }
823
+ function $t(e) {
824
+ let t, n, i, r;
825
+ return {
826
+ c() {
827
+ t = ct("svg"), n = ct("path"), g(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), g(n, "fill", "#111111"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "13"), g(t, "height", "13"), g(t, "viewBox", "0 0 13 13"), g(t, "fill", "none"), g(t, "class", "CloseButton");
828
+ },
829
+ m(s, c) {
830
+ J(s, t, c), M(t, n), i || (r = K(
831
+ t,
832
+ "click",
833
+ /*closeModal*/
834
+ e[7]
835
+ ), i = !0);
836
+ },
837
+ p: j,
838
+ d(s) {
839
+ s && v(t), i = !1, r();
821
840
  }
822
841
  };
823
842
  }
824
- function ye(e) {
843
+ function pe(e) {
825
844
  let t, n, i = (
826
845
  /*show*/
827
846
  e[2] === "true" && ht(e)
828
847
  );
829
848
  return {
830
849
  c() {
831
- i && i.c(), t = It();
850
+ i && i.c(), t = Ut();
832
851
  },
833
- m(s, r) {
834
- i && i.m(s, r), et(s, t, r), n = !0;
852
+ m(r, s) {
853
+ i && i.m(r, s), J(r, t, s), n = !0;
835
854
  },
836
- p(s, [r]) {
855
+ p(r, [s]) {
837
856
  /*show*/
838
- s[2] === "true" ? i ? (i.p(s, r), r & /*show*/
839
- 4 && B(i, 1)) : (i = ht(s), i.c(), B(i, 1), i.m(t.parentNode, t)) : i && (ie(), Q(i, 1, 1, () => {
857
+ r[2] === "true" ? i ? (i.p(r, s), s & /*show*/
858
+ 4 && P(i, 1)) : (i = ht(r), i.c(), P(i, 1), i.m(t.parentNode, t)) : i && (se(), X(i, 1, 1, () => {
840
859
  i = null;
841
- }), se());
860
+ }), re());
842
861
  },
843
- i(s) {
844
- n || (B(i), n = !0);
862
+ i(r) {
863
+ n || (P(i), n = !0);
845
864
  },
846
- o(s) {
847
- Q(i), n = !1;
865
+ o(r) {
866
+ X(i), n = !1;
848
867
  },
849
- d(s) {
850
- s && O(t), i && i.d(s);
868
+ d(r) {
869
+ r && v(t), i && i.d(r);
851
870
  }
852
871
  };
853
872
  }
854
- function pe(e, t, n) {
855
- let { $$slots: i = {}, $$scope: s } = t, { mbsource: r } = t, { clientstyling: c } = t, { clientstylingurl: o } = t, { show: f } = t, { isvideo: l = "" } = t, { duration: $ = 200 } = t, { width: a } = t, { height: g } = t, m, u;
856
- const h = () => {
857
- window.postMessage({ type: "CloseModal" }, window.location.href);
873
+ function we(e, t, n) {
874
+ let { $$slots: i = {}, $$scope: r } = t, { mbsource: s } = t, { clientstyling: c } = t, { clientstylingurl: o } = t, { show: u } = t, { modaltype: l = "" } = t, { duration: _ = 200 } = t, { width: f } = t, { height: h } = t, $, a;
875
+ const y = () => {
876
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
858
877
  };
859
- Qt(() => () => {
878
+ Xt(() => () => {
860
879
  });
861
- function _(d) {
880
+ function m(d) {
862
881
  F[d ? "unshift" : "push"](() => {
863
- m = d, n(6, m);
882
+ $ = d, n(6, $);
864
883
  });
865
884
  }
866
885
  function x() {
867
- a = this.clientWidth, g = this.clientHeight, n(0, a), n(1, g);
886
+ f = this.clientWidth, h = this.clientHeight, n(0, f), n(1, h);
868
887
  }
869
- function A(d) {
888
+ function N(d) {
870
889
  F[d ? "unshift" : "push"](() => {
871
- u = d, n(5, u);
890
+ a = d, n(5, a);
872
891
  });
873
892
  }
874
893
  return e.$$set = (d) => {
875
- "mbsource" in d && n(8, r = d.mbsource), "clientstyling" in d && n(9, c = d.clientstyling), "clientstylingurl" in d && n(10, o = d.clientstylingurl), "show" in d && n(2, f = d.show), "isvideo" in d && n(3, l = d.isvideo), "duration" in d && n(4, $ = d.duration), "width" in d && n(0, a = d.width), "height" in d && n(1, g = d.height), "$$scope" in d && n(11, s = d.$$scope);
894
+ "mbsource" in d && n(8, s = d.mbsource), "clientstyling" in d && n(9, c = d.clientstyling), "clientstylingurl" in d && n(10, o = d.clientstylingurl), "show" in d && n(2, u = d.show), "modaltype" in d && n(3, l = d.modaltype), "duration" in d && n(4, _ = d.duration), "width" in d && n(0, f = d.width), "height" in d && n(1, h = d.height), "$$scope" in d && n(11, r = d.$$scope);
876
895
  }, e.$$.update = () => {
877
896
  e.$$.dirty & /*clientstyling, customStylingContainer*/
878
- 544 && c && u && he(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
879
- 1056 && o && u && $e(u, o), e.$$.dirty & /*mbsource, customStylingContainer*/
880
- 288 && r && u && _e(u, `${r}.Style`);
897
+ 544 && c && a && $e(a, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
898
+ 1056 && o && a && _e(a, o), e.$$.dirty & /*mbsource, customStylingContainer*/
899
+ 288 && s && a && me(a, `${s}.Style`);
881
900
  }, [
882
- a,
883
- g,
884
901
  f,
902
+ h,
903
+ u,
885
904
  l,
905
+ _,
906
+ a,
886
907
  $,
887
- u,
888
- m,
889
- h,
890
- r,
908
+ y,
909
+ s,
891
910
  c,
892
911
  o,
893
- s,
912
+ r,
894
913
  i,
895
- _,
914
+ m,
896
915
  x,
897
- A
916
+ N
898
917
  ];
899
918
  }
900
- class we extends ae {
919
+ class be extends de {
901
920
  constructor(t) {
902
- super(), ue(
921
+ super(), fe(
903
922
  this,
904
923
  t,
924
+ we,
905
925
  pe,
906
- ye,
907
- St,
926
+ jt,
908
927
  {
909
928
  mbsource: 8,
910
929
  clientstyling: 9,
911
930
  clientstylingurl: 10,
912
931
  show: 2,
913
- isvideo: 3,
932
+ modaltype: 3,
914
933
  duration: 4,
915
934
  width: 0,
916
935
  height: 1
@@ -942,11 +961,11 @@ class we extends ae {
942
961
  set show(t) {
943
962
  this.$$set({ show: t }), w();
944
963
  }
945
- get isvideo() {
964
+ get modaltype() {
946
965
  return this.$$.ctx[3];
947
966
  }
948
- set isvideo(t) {
949
- this.$$set({ isvideo: t }), w();
967
+ set modaltype(t) {
968
+ this.$$set({ modaltype: t }), w();
950
969
  }
951
970
  get duration() {
952
971
  return this.$$.ctx[4];
@@ -967,7 +986,7 @@ class we extends ae {
967
986
  this.$$set({ height: t }), w();
968
987
  }
969
988
  }
970
- fe(we, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
989
+ ae(be, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
971
990
  export {
972
- we as default
991
+ be as default
973
992
  };