@everymatrix/cashier-page 1.73.0 → 1.73.2

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 (63) hide show
  1. package/components/{CashierConfirmModal-BCk4hvRj.js → CashierConfirmModal-Bl65cs4j.js} +505 -470
  2. package/components/CashierConfirmModal-Dbth1Vwp.cjs +4 -0
  3. package/components/{CashierConfirmModal-DXlKhIue.js → CashierConfirmModal-DiJy6WCC.js} +359 -324
  4. package/components/CashierError-CUi7dlhw.cjs +5 -0
  5. package/components/CashierError-DT8XXsZb.js +3798 -0
  6. package/components/CashierError-sabBjpnx.js +3798 -0
  7. package/components/{CashierHeader-DtS_U-De.js → CashierHeader-B_TbzRzY.js} +181 -184
  8. package/components/CashierHeader-C87PEbuI.cjs +1 -0
  9. package/components/{CashierHeader-86wrgmgP.js → CashierHeader-CRNLSN-X.js} +182 -185
  10. package/components/{CashierIframeRedirect-Xzpx4Rjk.js → CashierIframeRedirect-DcI_fdtE.js} +79 -109
  11. package/components/CashierIframeRedirect-q6Z4Yxd2.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CmqcfGcT.js → CashierIframeRedirect-zBfOGfH0.js} +79 -109
  13. package/components/{CashierMethodDetails-oVkmdGDk.js → CashierMethodDetails-BSFTmQGh.js} +985 -999
  14. package/components/{CashierMethodDetails-Cf6KUGlj.cjs → CashierMethodDetails-Bn2T2uqA.cjs} +6 -6
  15. package/components/{CashierMethodDetails-DaUlJ18Q.js → CashierMethodDetails-Dw38VRXT.js} +977 -991
  16. package/components/{CashierMethodsList-bnXzA9E8.js → CashierMethodsList-BoxBSxdg.js} +372 -392
  17. package/components/CashierMethodsList-BraJmcfY.cjs +1 -0
  18. package/components/{CashierMethodsList-BKtn4kYZ.js → CashierMethodsList-DpB8OQgM.js} +354 -374
  19. package/components/CashierModal-BUzTqeZq.cjs +1 -0
  20. package/components/{CashierModal-B4b12-Am.js → CashierModal-C9DRbWKa.js} +24 -25
  21. package/components/{CashierModal-DCgiaC4V.js → CashierModal-l0r5lSbV.js} +28 -29
  22. package/components/{CashierNotifications-CWqwdi55.js → CashierNotifications-BRaPHw0O.js} +3 -3
  23. package/components/{CashierNotifications-BLJS7gpv.cjs → CashierNotifications-BrGm-gyx.cjs} +1 -1
  24. package/components/{CashierNotifications-BZCaBrRm.js → CashierNotifications-C60PYJS0.js} +9 -9
  25. package/components/{CashierPage-K6Sfcy3_.cjs → CashierPage-9Ld9PtFx.cjs} +1 -1
  26. package/components/{CashierPage-qGww6KeO.js → CashierPage-DPeHCblC.js} +617 -533
  27. package/components/{CashierPage-BhUYgsyn.js → CashierPage-Kr04tUC9.js} +612 -528
  28. package/components/{CashierReceiptPage-Hvc3tNuq.js → CashierReceiptPage-BJsytdmQ.js} +47 -47
  29. package/components/{CashierReceiptPage-BePAYhQV.js → CashierReceiptPage-D8xJxpP4.js} +47 -47
  30. package/components/CashierReceiptPage-Y3xANFuN.cjs +1 -0
  31. package/components/CashierSessionExpirationModal-B5KZiMN1.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-DfMX7unr.js → CashierSessionExpirationModal-CLmExJ5_.js} +13 -14
  33. package/components/{CashierSessionExpirationModal-C24hf-_h.js → CashierSessionExpirationModal-COQu8IVr.js} +13 -14
  34. package/components/{CashierSpinner-BdeNFm1c.js → CashierSpinner-CC_b-bLQ.js} +10 -11
  35. package/components/{CashierSpinner-COjPdCUV.js → CashierSpinner-DGvxbV84.js} +6 -7
  36. package/components/CashierSpinner-Dek1XIlD.cjs +1 -0
  37. package/components/{CashierTransactionHistory-BtkomNSc.js → CashierTransactionHistory-BtCGDpsh.js} +83 -84
  38. package/components/{CashierTransactionHistory-BgDq7hN9.js → CashierTransactionHistory-_dzkXj9B.js} +69 -70
  39. package/components/CashierTransactionHistory-yWcSzIDX.cjs +1 -0
  40. package/components/{CashierVerifications-7QimQj7T.js → CashierVerifications-CFZOQaUC.js} +31 -32
  41. package/components/CashierVerifications-Deeuh5dM.cjs +1 -0
  42. package/components/{CashierVerifications-tYl7M23B.js → CashierVerifications-df_pAaWn.js} +31 -32
  43. package/components/CashierVideoModal-BVDx9GT8.cjs +1 -0
  44. package/components/{CashierVideoModal-D4tXmX3D.js → CashierVideoModal-C4pk_kaX.js} +28 -29
  45. package/components/{CashierVideoModal-CM_ySf75.js → CashierVideoModal-DfOU6IDE.js} +35 -36
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/components/CashierConfirmModal-DMmJumcl.cjs +0 -4
  51. package/components/CashierError-BydkW7s_.js +0 -3800
  52. package/components/CashierError-Dpt_Z7yL.cjs +0 -5
  53. package/components/CashierError-Dz_HsnJl.js +0 -3800
  54. package/components/CashierHeader-BXKYku0i.cjs +0 -1
  55. package/components/CashierIframeRedirect-BARMuRTc.cjs +0 -1
  56. package/components/CashierMethodsList-BmNbGD7c.cjs +0 -1
  57. package/components/CashierModal-C-yyjQ8m.cjs +0 -1
  58. package/components/CashierReceiptPage-B5GxOKJ9.cjs +0 -1
  59. package/components/CashierSessionExpirationModal-BCKPn-ln.cjs +0 -2
  60. package/components/CashierSpinner-CpkB8Zoj.cjs +0 -1
  61. package/components/CashierTransactionHistory-siYwxijY.cjs +0 -1
  62. package/components/CashierVerifications-CjEiYZ7G.cjs +0 -1
  63. package/components/CashierVideoModal-CZSRGjh-.cjs +0 -1
@@ -1,4 +1,4 @@
1
- function E() {
1
+ function k() {
2
2
  }
3
3
  const ot = (t) => t;
4
4
  function Ot(t, e) {
@@ -18,15 +18,15 @@ function _t() {
18
18
  function L(t) {
19
19
  t.forEach(wt);
20
20
  }
21
- function D(t) {
21
+ function W(t) {
22
22
  return typeof t == "function";
23
23
  }
24
24
  function St(t, e) {
25
25
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
26
26
  }
27
- let H;
28
- function ce(t, e) {
29
- return t === e ? !0 : (H || (H = document.createElement("a")), H.href = e, t === H.href);
27
+ let I;
28
+ function de(t, e) {
29
+ return t === e ? !0 : (I || (I = document.createElement("a")), I.href = e, t === I.href);
30
30
  }
31
31
  function At(t) {
32
32
  return Object.keys(t).length === 0;
@@ -35,21 +35,21 @@ function Nt(t, ...e) {
35
35
  if (t == null) {
36
36
  for (const i of e)
37
37
  i(void 0);
38
- return E;
38
+ return k;
39
39
  }
40
40
  const n = t.subscribe(...e);
41
41
  return n.unsubscribe ? () => n.unsubscribe() : n;
42
42
  }
43
- function ae(t, e, n) {
43
+ function he(t, e, n) {
44
44
  t.$$.on_destroy.push(Nt(e, n));
45
45
  }
46
- function I(t, e, n, i) {
46
+ function U(t, e, n, i) {
47
47
  if (t) {
48
- const s = Ct(t, e, n, i);
48
+ const s = xt(t, e, n, i);
49
49
  return t[0](s);
50
50
  }
51
51
  }
52
- function Ct(t, e, n, i) {
52
+ function xt(t, e, n, i) {
53
53
  return t[1] && i ? Ot(n.ctx.slice(), t[1](i(e))) : n.ctx;
54
54
  }
55
55
  function q(t, e, n, i) {
@@ -69,11 +69,11 @@ function q(t, e, n, i) {
69
69
  }
70
70
  function F(t, e, n, i, s, o) {
71
71
  if (s) {
72
- const l = Ct(e, n, i, o);
72
+ const l = xt(e, n, i, o);
73
73
  t.p(l, s);
74
74
  }
75
75
  }
76
- function U(t) {
76
+ function J(t) {
77
77
  if (t.ctx.length > 32) {
78
78
  const e = [], n = t.ctx.length / 32;
79
79
  for (let i = 0; i < n; i++)
@@ -82,8 +82,8 @@ function U(t) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- const xt = typeof window < "u";
86
- let lt = xt ? () => window.performance.now() : () => Date.now(), ct = xt ? (t) => requestAnimationFrame(t) : E;
85
+ const Ct = typeof window < "u";
86
+ let lt = Ct ? () => window.performance.now() : () => Date.now(), ct = Ct ? (t) => requestAnimationFrame(t) : k;
87
87
  const A = /* @__PURE__ */ new Set();
88
88
  function vt(t) {
89
89
  A.forEach((e) => {
@@ -101,7 +101,7 @@ function at(t) {
101
101
  }
102
102
  };
103
103
  }
104
- const ue = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
104
+ const _e = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
105
105
  // @ts-ignore Node typings have this
106
106
  global
107
107
  );
@@ -111,7 +111,7 @@ function v(t, e) {
111
111
  function zt(t, e, n) {
112
112
  const i = ut(t);
113
113
  if (!i.getElementById(e)) {
114
- const s = k("style");
114
+ const s = E("style");
115
115
  s.id = e, s.textContent = n, Mt(i, s);
116
116
  }
117
117
  }
@@ -125,8 +125,8 @@ function ut(t) {
125
125
  e
126
126
  ) : t.ownerDocument;
127
127
  }
128
- function Pt(t) {
129
- const e = k("style");
128
+ function Bt(t) {
129
+ const e = E("style");
130
130
  return e.textContent = "/* empty */", Mt(ut(t), e), e.sheet;
131
131
  }
132
132
  function Mt(t, e) {
@@ -139,32 +139,32 @@ function Mt(t, e) {
139
139
  function ft(t, e, n) {
140
140
  t.insertBefore(e, n || null);
141
141
  }
142
- function P(t) {
142
+ function B(t) {
143
143
  t.parentNode && t.parentNode.removeChild(t);
144
144
  }
145
- function fe(t, e) {
145
+ function $e(t, e) {
146
146
  for (let n = 0; n < t.length; n += 1)
147
147
  t[n] && t[n].d(e);
148
148
  }
149
- function k(t) {
149
+ function E(t) {
150
150
  return document.createElement(t);
151
151
  }
152
152
  function $t(t) {
153
153
  return document.createElementNS("http://www.w3.org/2000/svg", t);
154
154
  }
155
- function kt(t) {
155
+ function Et(t) {
156
156
  return document.createTextNode(t);
157
157
  }
158
158
  function nt() {
159
- return kt(" ");
159
+ return Et(" ");
160
160
  }
161
- function de() {
162
- return kt("");
161
+ function me() {
162
+ return Et("");
163
163
  }
164
164
  function Q(t, e, n, i) {
165
165
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
166
166
  }
167
- function he(t) {
167
+ function ge(t) {
168
168
  return function(e) {
169
169
  return e.preventDefault(), t.call(this, e);
170
170
  };
@@ -172,41 +172,41 @@ function he(t) {
172
172
  function y(t, e, n) {
173
173
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
174
174
  }
175
- function _e(t, e, n) {
175
+ function pe(t, e, n) {
176
176
  const i = e.toLowerCase();
177
177
  i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : y(t, e, n);
178
178
  }
179
- function $e(t) {
179
+ function ye(t) {
180
180
  return t === "" ? null : +t;
181
181
  }
182
- function Bt(t) {
182
+ function Pt(t) {
183
183
  return Array.from(t.childNodes);
184
184
  }
185
- function me(t, e) {
185
+ function be(t, e) {
186
186
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
187
187
  e);
188
188
  }
189
- function ge(t, e) {
189
+ function we(t, e) {
190
190
  t.value = e ?? "";
191
191
  }
192
- function pe(t, e, n, i) {
192
+ function xe(t, e, n, i) {
193
193
  n == null ? t.style.removeProperty(e) : t.style.setProperty(e, n, "");
194
194
  }
195
- let J;
195
+ let V;
196
196
  function Tt() {
197
- if (J === void 0) {
198
- J = !1;
197
+ if (V === void 0) {
198
+ V = !1;
199
199
  try {
200
200
  typeof window < "u" && window.parent && window.parent.document;
201
201
  } catch {
202
- J = !0;
202
+ V = !0;
203
203
  }
204
204
  }
205
- return J;
205
+ return V;
206
206
  }
207
- function ye(t, e) {
207
+ function Ce(t, e) {
208
208
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
209
- const i = k("iframe");
209
+ const i = E("iframe");
210
210
  i.setAttribute(
211
211
  "style",
212
212
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -223,16 +223,16 @@ function ye(t, e) {
223
223
  )) : (i.src = "about:blank", i.onload = () => {
224
224
  o = Q(i.contentWindow, "resize", e), e();
225
225
  }), v(t, i), () => {
226
- (s || o && i.contentWindow) && o(), P(i);
226
+ (s || o && i.contentWindow) && o(), B(i);
227
227
  };
228
228
  }
229
- function be(t, e, n) {
229
+ function ve(t, e, n) {
230
230
  t.classList.toggle(e, !!n);
231
231
  }
232
232
  function Rt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
233
233
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
234
234
  }
235
- function Wt(t) {
235
+ function Dt(t) {
236
236
  const e = {};
237
237
  return t.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -242,83 +242,83 @@ function Wt(t) {
242
242
  ), e;
243
243
  }
244
244
  const X = /* @__PURE__ */ new Map();
245
- let Z = 0;
246
- function Dt(t) {
245
+ let Y = 0;
246
+ function Ht(t) {
247
247
  let e = 5381, n = t.length;
248
248
  for (; n--; )
249
249
  e = (e << 5) - e ^ t.charCodeAt(n);
250
250
  return e >>> 0;
251
251
  }
252
- function Ht(t, e) {
253
- const n = { stylesheet: Pt(e), rules: {} };
252
+ function Wt(t, e) {
253
+ const n = { stylesheet: Bt(e), rules: {} };
254
254
  return X.set(t, n), n;
255
255
  }
256
- function Y(t, e, n, i, s, o, l, r = 0) {
257
- const u = 16.666 / i;
256
+ function tt(t, e, n, i, s, o, l, r = 0) {
257
+ const a = 16.666 / i;
258
258
  let c = `{
259
259
  `;
260
- for (let p = 0; p <= 1; p += u) {
261
- const $ = e + (n - e) * o(p);
262
- c += p * 100 + `%{${l($, 1 - $)}}
260
+ for (let p = 0; p <= 1; p += a) {
261
+ const m = e + (n - e) * o(p);
262
+ c += p * 100 + `%{${l(m, 1 - m)}}
263
263
  `;
264
264
  }
265
- const m = c + `100% {${l(n, 1 - n)}}
266
- }`, _ = `__svelte_${Dt(m)}_${r}`, g = ut(t), { stylesheet: a, rules: d } = X.get(g) || Ht(g, t);
267
- d[_] || (d[_] = !0, a.insertRule(`@keyframes ${_} ${m}`, a.cssRules.length));
268
- const h = t.style.animation || "";
269
- return t.style.animation = `${h ? `${h}, ` : ""}${_} ${i}ms linear ${s}ms 1 both`, Z += 1, _;
265
+ const g = c + `100% {${l(n, 1 - n)}}
266
+ }`, f = `__svelte_${Ht(g)}_${r}`, h = ut(t), { stylesheet: $, rules: d } = X.get(h) || Wt(h, t);
267
+ d[f] || (d[f] = !0, $.insertRule(`@keyframes ${f} ${g}`, $.cssRules.length));
268
+ const _ = t.style.animation || "";
269
+ return t.style.animation = `${_ ? `${_}, ` : ""}${f} ${i}ms linear ${s}ms 1 both`, Y += 1, f;
270
270
  }
271
- function tt(t, e) {
271
+ function et(t, e) {
272
272
  const n = (t.style.animation || "").split(", "), i = n.filter(
273
273
  e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), s = n.length - i.length;
276
- s && (t.style.animation = i.join(", "), Z -= s, Z || It());
276
+ s && (t.style.animation = i.join(", "), Y -= s, Y || It());
277
277
  }
278
278
  function It() {
279
279
  ct(() => {
280
- Z || (X.forEach((t) => {
280
+ Y || (X.forEach((t) => {
281
281
  const { ownerNode: e } = t.stylesheet;
282
- e && P(e);
282
+ e && B(e);
283
283
  }), X.clear());
284
284
  });
285
285
  }
286
- let W;
286
+ let H;
287
287
  function R(t) {
288
- W = t;
288
+ H = t;
289
289
  }
290
- function Et() {
291
- if (!W)
290
+ function kt() {
291
+ if (!H)
292
292
  throw new Error("Function called outside component initialization");
293
- return W;
293
+ return H;
294
294
  }
295
- function we(t) {
296
- Et().$$.on_mount.push(t);
295
+ function Ut(t) {
296
+ kt().$$.on_mount.push(t);
297
297
  }
298
- function Ce(t) {
299
- Et().$$.on_destroy.push(t);
298
+ function Me(t) {
299
+ kt().$$.on_destroy.push(t);
300
300
  }
301
301
  const S = [], st = [];
302
302
  let N = [];
303
303
  const mt = [], qt = /* @__PURE__ */ Promise.resolve();
304
304
  let rt = !1;
305
305
  function Ft() {
306
- rt || (rt = !0, qt.then(et));
306
+ rt || (rt = !0, qt.then(D));
307
307
  }
308
308
  function z(t) {
309
309
  N.push(t);
310
310
  }
311
311
  const it = /* @__PURE__ */ new Set();
312
312
  let O = 0;
313
- function et() {
313
+ function D() {
314
314
  if (O !== 0)
315
315
  return;
316
- const t = W;
316
+ const t = H;
317
317
  do {
318
318
  try {
319
319
  for (; O < S.length; ) {
320
320
  const e = S[O];
321
- O++, R(e), Ut(e.$$);
321
+ O++, R(e), Jt(e.$$);
322
322
  }
323
323
  } catch (e) {
324
324
  throw S.length = 0, O = 0, e;
@@ -335,29 +335,29 @@ function et() {
335
335
  mt.pop()();
336
336
  rt = !1, it.clear(), R(t);
337
337
  }
338
- function Ut(t) {
338
+ function Jt(t) {
339
339
  if (t.fragment !== null) {
340
340
  t.update(), L(t.before_update);
341
341
  const e = t.dirty;
342
342
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(z);
343
343
  }
344
344
  }
345
- function Jt(t) {
345
+ function Vt(t) {
346
346
  const e = [], n = [];
347
347
  N.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), N = e;
348
348
  }
349
- let B;
349
+ let P;
350
350
  function dt() {
351
- return B || (B = Promise.resolve(), B.then(() => {
352
- B = null;
353
- })), B;
351
+ return P || (P = Promise.resolve(), P.then(() => {
352
+ P = null;
353
+ })), P;
354
354
  }
355
355
  function j(t, e, n) {
356
356
  t.dispatchEvent(Rt(`${e ? "intro" : "outro"}${n}`));
357
357
  }
358
358
  const G = /* @__PURE__ */ new Set();
359
359
  let M;
360
- function xe() {
360
+ function Ee() {
361
361
  M = {
362
362
  r: 0,
363
363
  c: [],
@@ -365,13 +365,13 @@ function xe() {
365
365
  // parent group
366
366
  };
367
367
  }
368
- function ve() {
368
+ function ke() {
369
369
  M.r || L(M.c), M = M.p;
370
370
  }
371
371
  function T(t, e) {
372
372
  t && t.i && (G.delete(t), t.i(e));
373
373
  }
374
- function V(t, e, n, i) {
374
+ function Z(t, e, n, i) {
375
375
  if (t && t.o) {
376
376
  if (G.has(t))
377
377
  return;
@@ -382,173 +382,173 @@ function V(t, e, n, i) {
382
382
  i && i();
383
383
  }
384
384
  const ht = { duration: 0 };
385
- function Me(t, e, n) {
385
+ function Le(t, e, n) {
386
386
  const i = { direction: "in" };
387
- let s = e(t, n, i), o = !1, l, r, u = 0;
387
+ let s = e(t, n, i), o = !1, l, r, a = 0;
388
388
  function c() {
389
- l && tt(t, l);
389
+ l && et(t, l);
390
390
  }
391
- function m() {
391
+ function g() {
392
392
  const {
393
- delay: g = 0,
394
- duration: a = 300,
393
+ delay: h = 0,
394
+ duration: $ = 300,
395
395
  easing: d = ot,
396
- tick: h = E,
396
+ tick: _ = k,
397
397
  css: p
398
398
  } = s || ht;
399
- p && (l = Y(t, 0, 1, a, g, d, p, u++)), h(0, 1);
400
- const $ = lt() + g, w = $ + a;
401
- r && r.abort(), o = !0, z(() => j(t, !0, "start")), r = at((C) => {
399
+ p && (l = tt(t, 0, 1, $, h, d, p, a++)), _(0, 1);
400
+ const m = lt() + h, w = m + $;
401
+ r && r.abort(), o = !0, z(() => j(t, !0, "start")), r = at((x) => {
402
402
  if (o) {
403
- if (C >= w)
404
- return h(1, 0), j(t, !0, "end"), c(), o = !1;
405
- if (C >= $) {
406
- const b = d((C - $) / a);
407
- h(b, 1 - b);
403
+ if (x >= w)
404
+ return _(1, 0), j(t, !0, "end"), c(), o = !1;
405
+ if (x >= m) {
406
+ const b = d((x - m) / $);
407
+ _(b, 1 - b);
408
408
  }
409
409
  }
410
410
  return o;
411
411
  });
412
412
  }
413
- let _ = !1;
413
+ let f = !1;
414
414
  return {
415
415
  start() {
416
- _ || (_ = !0, tt(t), D(s) ? (s = s(i), dt().then(m)) : m());
416
+ f || (f = !0, et(t), W(s) ? (s = s(i), dt().then(g)) : g());
417
417
  },
418
418
  invalidate() {
419
- _ = !1;
419
+ f = !1;
420
420
  },
421
421
  end() {
422
422
  o && (c(), o = !1);
423
423
  }
424
424
  };
425
425
  }
426
- function ke(t, e, n) {
426
+ function je(t, e, n) {
427
427
  const i = { direction: "out" };
428
428
  let s = e(t, n, i), o = !0, l;
429
429
  const r = M;
430
430
  r.r += 1;
431
- let u;
431
+ let a;
432
432
  function c() {
433
433
  const {
434
- delay: m = 0,
435
- duration: _ = 300,
436
- easing: g = ot,
437
- tick: a = E,
434
+ delay: g = 0,
435
+ duration: f = 300,
436
+ easing: h = ot,
437
+ tick: $ = k,
438
438
  css: d
439
439
  } = s || ht;
440
- d && (l = Y(t, 1, 0, _, m, g, d));
441
- const h = lt() + m, p = h + _;
442
- z(() => j(t, !1, "start")), "inert" in t && (u = /** @type {HTMLElement} */
443
- t.inert, t.inert = !0), at(($) => {
440
+ d && (l = tt(t, 1, 0, f, g, h, d));
441
+ const _ = lt() + g, p = _ + f;
442
+ z(() => j(t, !1, "start")), "inert" in t && (a = /** @type {HTMLElement} */
443
+ t.inert, t.inert = !0), at((m) => {
444
444
  if (o) {
445
- if ($ >= p)
446
- return a(0, 1), j(t, !1, "end"), --r.r || L(r.c), !1;
447
- if ($ >= h) {
448
- const w = g(($ - h) / _);
449
- a(1 - w, w);
445
+ if (m >= p)
446
+ return $(0, 1), j(t, !1, "end"), --r.r || L(r.c), !1;
447
+ if (m >= _) {
448
+ const w = h((m - _) / f);
449
+ $(1 - w, w);
450
450
  }
451
451
  }
452
452
  return o;
453
453
  });
454
454
  }
455
- return D(s) ? dt().then(() => {
455
+ return W(s) ? dt().then(() => {
456
456
  s = s(i), c();
457
457
  }) : c(), {
458
- end(m) {
459
- m && "inert" in t && (t.inert = u), m && s.tick && s.tick(1, 0), o && (l && tt(t, l), o = !1);
458
+ end(g) {
459
+ g && "inert" in t && (t.inert = a), g && s.tick && s.tick(1, 0), o && (l && et(t, l), o = !1);
460
460
  }
461
461
  };
462
462
  }
463
- function Ee(t, e, n, i) {
464
- let o = e(t, n, { direction: "both" }), l = i ? 0 : 1, r = null, u = null, c = null, m;
465
- function _() {
466
- c && tt(t, c);
463
+ function Oe(t, e, n, i) {
464
+ let o = e(t, n, { direction: "both" }), l = i ? 0 : 1, r = null, a = null, c = null, g;
465
+ function f() {
466
+ c && et(t, c);
467
467
  }
468
- function g(d, h) {
468
+ function h(d, _) {
469
469
  const p = (
470
470
  /** @type {Program['d']} */
471
471
  d.b - l
472
472
  );
473
- return h *= Math.abs(p), {
473
+ return _ *= Math.abs(p), {
474
474
  a: l,
475
475
  b: d.b,
476
476
  d: p,
477
- duration: h,
477
+ duration: _,
478
478
  start: d.start,
479
- end: d.start + h,
479
+ end: d.start + _,
480
480
  group: d.group
481
481
  };
482
482
  }
483
- function a(d) {
483
+ function $(d) {
484
484
  const {
485
- delay: h = 0,
485
+ delay: _ = 0,
486
486
  duration: p = 300,
487
- easing: $ = ot,
488
- tick: w = E,
489
- css: C
487
+ easing: m = ot,
488
+ tick: w = k,
489
+ css: x
490
490
  } = o || ht, b = {
491
- start: lt() + h,
491
+ start: lt() + _,
492
492
  b: d
493
493
  };
494
- d || (b.group = M, M.r += 1), "inert" in t && (d ? m !== void 0 && (t.inert = m) : (m = /** @type {HTMLElement} */
495
- t.inert, t.inert = !0)), r || u ? u = b : (C && (_(), c = Y(t, l, d, p, h, $, C)), d && w(0, 1), r = g(b, p), z(() => j(t, d, "start")), at((f) => {
496
- if (u && f > u.start && (r = g(u, p), u = null, j(t, r.b, "start"), C && (_(), c = Y(
494
+ d || (b.group = M, M.r += 1), "inert" in t && (d ? g !== void 0 && (t.inert = g) : (g = /** @type {HTMLElement} */
495
+ t.inert, t.inert = !0)), r || a ? a = b : (x && (f(), c = tt(t, l, d, p, _, m, x)), d && w(0, 1), r = h(b, p), z(() => j(t, d, "start")), at((u) => {
496
+ if (a && u > a.start && (r = h(a, p), a = null, j(t, r.b, "start"), x && (f(), c = tt(
497
497
  t,
498
498
  l,
499
499
  r.b,
500
500
  r.duration,
501
501
  0,
502
- $,
502
+ m,
503
503
  o.css
504
504
  ))), r) {
505
- if (f >= r.end)
506
- w(l = r.b, 1 - l), j(t, r.b, "end"), u || (r.b ? _() : --r.group.r || L(r.group.c)), r = null;
507
- else if (f >= r.start) {
508
- const x = f - r.start;
509
- l = r.a + r.d * $(x / r.duration), w(l, 1 - l);
505
+ if (u >= r.end)
506
+ w(l = r.b, 1 - l), j(t, r.b, "end"), a || (r.b ? f() : --r.group.r || L(r.group.c)), r = null;
507
+ else if (u >= r.start) {
508
+ const C = u - r.start;
509
+ l = r.a + r.d * m(C / r.duration), w(l, 1 - l);
510
510
  }
511
511
  }
512
- return !!(r || u);
512
+ return !!(r || a);
513
513
  }));
514
514
  }
515
515
  return {
516
516
  run(d) {
517
- D(o) ? dt().then(() => {
518
- o = o({ direction: d ? "in" : "out" }), a(d);
519
- }) : a(d);
517
+ W(o) ? dt().then(() => {
518
+ o = o({ direction: d ? "in" : "out" }), $(d);
519
+ }) : $(d);
520
520
  },
521
521
  end() {
522
- _(), r = u = null;
522
+ f(), r = a = null;
523
523
  }
524
524
  };
525
525
  }
526
- function Le(t) {
526
+ function Se(t) {
527
527
  return t?.length !== void 0 ? t : Array.from(t);
528
528
  }
529
- function Vt(t, e, n) {
529
+ function Zt(t, e, n) {
530
530
  const { fragment: i, after_update: s } = t.$$;
531
531
  i && i.m(e, n), z(() => {
532
- const o = t.$$.on_mount.map(wt).filter(D);
532
+ const o = t.$$.on_mount.map(wt).filter(W);
533
533
  t.$$.on_destroy ? t.$$.on_destroy.push(...o) : L(o), t.$$.on_mount = [];
534
534
  }), s.forEach(z);
535
535
  }
536
536
  function Gt(t, e) {
537
537
  const n = t.$$;
538
- n.fragment !== null && (Jt(n.after_update), L(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
538
+ n.fragment !== null && (Vt(n.after_update), L(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
539
539
  }
540
540
  function Kt(t, e) {
541
541
  t.$$.dirty[0] === -1 && (S.push(t), Ft(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
542
542
  }
543
543
  function Qt(t, e, n, i, s, o, l = null, r = [-1]) {
544
- const u = W;
544
+ const a = H;
545
545
  R(t);
546
546
  const c = t.$$ = {
547
547
  fragment: null,
548
548
  ctx: [],
549
549
  // state
550
550
  props: o,
551
- update: E,
551
+ update: k,
552
552
  not_equal: s,
553
553
  bound: _t(),
554
554
  // lifecycle
@@ -557,27 +557,27 @@ function Qt(t, e, n, i, s, o, l = null, r = [-1]) {
557
557
  on_disconnect: [],
558
558
  before_update: [],
559
559
  after_update: [],
560
- context: new Map(e.context || (u ? u.$$.context : [])),
560
+ context: new Map(e.context || (a ? a.$$.context : [])),
561
561
  // everything else
562
562
  callbacks: _t(),
563
563
  dirty: r,
564
564
  skip_bound: !1,
565
- root: e.target || u.$$.root
565
+ root: e.target || a.$$.root
566
566
  };
567
567
  l && l(c.root);
568
- let m = !1;
569
- if (c.ctx = n ? n(t, e.props || {}, (_, g, ...a) => {
570
- const d = a.length ? a[0] : g;
571
- return c.ctx && s(c.ctx[_], c.ctx[_] = d) && (!c.skip_bound && c.bound[_] && c.bound[_](d), m && Kt(t, _)), g;
572
- }) : [], c.update(), m = !0, L(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
568
+ let g = !1;
569
+ if (c.ctx = n ? n(t, e.props || {}, (f, h, ...$) => {
570
+ const d = $.length ? $[0] : h;
571
+ return c.ctx && s(c.ctx[f], c.ctx[f] = d) && (!c.skip_bound && c.bound[f] && c.bound[f](d), g && Kt(t, f)), h;
572
+ }) : [], c.update(), g = !0, L(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
573
573
  if (e.hydrate) {
574
- const _ = Bt(e.target);
575
- c.fragment && c.fragment.l(_), _.forEach(P);
574
+ const f = Pt(e.target);
575
+ c.fragment && c.fragment.l(f), f.forEach(B);
576
576
  } else
577
577
  c.fragment && c.fragment.c();
578
- e.intro && T(t.$$.fragment), Vt(t, e.target, e.anchor), et();
578
+ e.intro && T(t.$$.fragment), Zt(t, e.target, e.anchor), D();
579
579
  }
580
- R(u);
580
+ R(a);
581
581
  }
582
582
  let Lt;
583
583
  typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
@@ -622,24 +622,24 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
622
622
  let o;
623
623
  return {
624
624
  c: function() {
625
- o = k("slot"), s !== "default" && y(o, "name", s);
625
+ o = E("slot"), s !== "default" && y(o, "name", s);
626
626
  },
627
627
  /**
628
628
  * @param {HTMLElement} target
629
629
  * @param {HTMLElement} [anchor]
630
630
  */
631
- m: function(u, c) {
632
- ft(u, o, c);
631
+ m: function(a, c) {
632
+ ft(a, o, c);
633
633
  },
634
- d: function(u) {
635
- u && P(o);
634
+ d: function(a) {
635
+ a && B(o);
636
636
  }
637
637
  };
638
638
  };
639
639
  };
640
640
  if (await Promise.resolve(), !this.$$cn || this.$$c)
641
641
  return;
642
- const e = {}, n = Wt(this);
642
+ const e = {}, n = Dt(this);
643
643
  for (const s of this.$$s)
644
644
  s in n && (e[s] = [t(s)]);
645
645
  for (const s of this.attributes) {
@@ -742,8 +742,8 @@ function Xt(t, e, n, i, s, o) {
742
742
  get() {
743
743
  return this.$$c && r in this.$$c ? this.$$c[r] : this.$$d[r];
744
744
  },
745
- set(u) {
746
- u = K(r, u, e), this.$$d[r] = u, this.$$c?.$set({ [r]: u });
745
+ set(a) {
746
+ a = K(r, a, e), this.$$d[r] = a, this.$$c?.$set({ [r]: a });
747
747
  }
748
748
  });
749
749
  }), i.forEach((r) => {
@@ -755,7 +755,7 @@ function Xt(t, e, n, i, s, o) {
755
755
  }), t.element = /** @type {any} */
756
756
  l, l;
757
757
  }
758
- class Zt {
758
+ class Yt {
759
759
  /**
760
760
  * ### PRIVATE API
761
761
  *
@@ -774,7 +774,7 @@ class Zt {
774
774
  $$set = void 0;
775
775
  /** @returns {void} */
776
776
  $destroy() {
777
- Gt(this, 1), this.$destroy = E;
777
+ Gt(this, 1), this.$destroy = k;
778
778
  }
779
779
  /**
780
780
  * @template {Extract<keyof Events, string>} K
@@ -783,8 +783,8 @@ class Zt {
783
783
  * @returns {() => void}
784
784
  */
785
785
  $on(e, n) {
786
- if (!D(n))
787
- return E;
786
+ if (!W(n))
787
+ return k;
788
788
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
789
789
  return i.push(n), () => {
790
790
  const s = i.indexOf(n);
@@ -799,13 +799,36 @@ class Zt {
799
799
  this.$$set && !At(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
800
800
  }
801
801
  }
802
- const Yt = "4";
803
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yt);
804
- function te(t) {
802
+ const te = "4";
803
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(te);
804
+ function ee(t, e) {
805
+ if (t) {
806
+ const n = document.createElement("style");
807
+ n.innerHTML = e, t.appendChild(n);
808
+ }
809
+ }
810
+ function ne(t, e) {
811
+ const n = new URL(e);
812
+ fetch(n.href).then((i) => i.text()).then((i) => {
813
+ const s = document.createElement("style");
814
+ s.innerHTML = i, t && t.appendChild(s);
815
+ }).catch((i) => {
816
+ console.error("There was an error while trying to load client styling from URL", i);
817
+ });
818
+ }
819
+ function ie(t, e, n) {
820
+ if (window.emMessageBus) {
821
+ const i = document.createElement("style");
822
+ window.emMessageBus.subscribe(e, (s) => {
823
+ i.innerHTML = s, t && t.appendChild(i);
824
+ });
825
+ }
826
+ }
827
+ function se(t) {
805
828
  zt(t, "svelte-1m890h5", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;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;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}");
806
829
  }
807
- const ee = (t) => ({}), gt = (t) => ({}), ne = (t) => ({}), pt = (t) => ({}), ie = (t) => ({}), yt = (t) => ({ class: "CashierModalText" }), se = (t) => ({}), bt = (t) => ({ class: "CashierModalTitle" });
808
- function re(t) {
830
+ const re = (t) => ({}), gt = (t) => ({}), oe = (t) => ({}), pt = (t) => ({}), le = (t) => ({}), yt = (t) => ({ class: "CashierModalText" }), ce = (t) => ({}), bt = (t) => ({ class: "CashierModalTitle" });
831
+ function ae(t) {
809
832
  let e, n;
810
833
  return {
811
834
  c() {
@@ -814,57 +837,57 @@ function re(t) {
814
837
  m(i, s) {
815
838
  ft(i, e, s), v(e, n);
816
839
  },
817
- p: E,
840
+ p: k,
818
841
  d(i) {
819
- i && P(e);
842
+ i && B(e);
820
843
  }
821
844
  };
822
845
  }
823
- function oe(t) {
824
- let e, n, i, s, o, l, r, u, c, m, _;
825
- const g = (
846
+ function ue(t) {
847
+ let e, n, i, s, o, l, r, a, c, g, f;
848
+ const h = (
826
849
  /*#slots*/
827
- t[6].title
828
- ), a = I(
829
- g,
850
+ t[7].title
851
+ ), $ = U(
852
+ h,
830
853
  t,
831
854
  /*$$scope*/
832
- t[5],
855
+ t[6],
833
856
  bt
834
857
  ), d = (
835
858
  /*#slots*/
836
- t[6].text
837
- ), h = I(
859
+ t[7].text
860
+ ), _ = U(
838
861
  d,
839
862
  t,
840
863
  /*$$scope*/
841
- t[5],
864
+ t[6],
842
865
  yt
843
866
  ), p = (
844
867
  /*#slots*/
845
- t[6].confirm
846
- ), $ = I(
868
+ t[7].confirm
869
+ ), m = U(
847
870
  p,
848
871
  t,
849
872
  /*$$scope*/
850
- t[5],
873
+ t[6],
851
874
  pt
852
875
  ), w = (
853
876
  /*#slots*/
854
- t[6].close
855
- ), C = I(
877
+ t[7].close
878
+ ), x = U(
856
879
  w,
857
880
  t,
858
881
  /*$$scope*/
859
- t[5],
882
+ t[6],
860
883
  gt
861
- ), b = C || re();
884
+ ), b = x || ae();
862
885
  return {
863
886
  c() {
864
- e = k("div"), n = k("div"), i = k("div"), a && a.c(), s = nt(), h && h.c(), o = nt(), l = k("span"), $ && $.c(), r = nt(), u = k("span"), b && b.c(), y(l, "class", "ModalOkBtn"), y(l, "role", "button"), y(u, "class", "ModalCloseBtn"), y(u, "role", "button"), y(i, "class", "CashierModalContainer"), y(i, "part", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "part", "CashierModalWindow"), y(n, "id", "Modal"), y(e, "part", "CustomStylingContainer");
887
+ e = E("div"), n = E("div"), i = E("div"), $ && $.c(), s = nt(), _ && _.c(), o = nt(), l = E("span"), m && m.c(), r = nt(), a = E("span"), b && b.c(), y(l, "class", "ModalOkBtn"), y(l, "role", "button"), y(a, "class", "ModalCloseBtn"), y(a, "role", "button"), y(i, "class", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "id", "Modal");
865
888
  },
866
- m(f, x) {
867
- ft(f, e, x), v(e, n), v(n, i), a && a.m(i, null), v(i, s), h && h.m(i, null), v(i, o), v(i, l), $ && $.m(l, null), v(i, r), v(i, u), b && b.m(u, null), t[7](e), c = !0, m || (_ = [
889
+ m(u, C) {
890
+ ft(u, e, C), v(e, n), v(n, i), $ && $.m(i, null), v(i, s), _ && _.m(i, null), v(i, o), v(i, l), m && m.m(l, null), v(i, r), v(i, a), b && b.m(a, null), t[8](e), c = !0, g || (f = [
868
891
  Q(
869
892
  l,
870
893
  "click",
@@ -872,212 +895,224 @@ function oe(t) {
872
895
  t[2]
873
896
  ),
874
897
  Q(
875
- u,
898
+ a,
876
899
  "click",
877
900
  /*close*/
878
901
  t[1]
879
902
  )
880
- ], m = !0);
903
+ ], g = !0);
881
904
  },
882
- p(f, [x]) {
883
- a && a.p && (!c || x & /*$$scope*/
884
- 32) && F(
885
- a,
886
- g,
887
- f,
905
+ p(u, [C]) {
906
+ $ && $.p && (!c || C & /*$$scope*/
907
+ 64) && F(
908
+ $,
909
+ h,
910
+ u,
888
911
  /*$$scope*/
889
- f[5],
912
+ u[6],
890
913
  c ? q(
891
- g,
914
+ h,
892
915
  /*$$scope*/
893
- f[5],
894
- x,
895
- se
896
- ) : U(
916
+ u[6],
917
+ C,
918
+ ce
919
+ ) : J(
897
920
  /*$$scope*/
898
- f[5]
921
+ u[6]
899
922
  ),
900
923
  bt
901
- ), h && h.p && (!c || x & /*$$scope*/
902
- 32) && F(
903
- h,
924
+ ), _ && _.p && (!c || C & /*$$scope*/
925
+ 64) && F(
926
+ _,
904
927
  d,
905
- f,
928
+ u,
906
929
  /*$$scope*/
907
- f[5],
930
+ u[6],
908
931
  c ? q(
909
932
  d,
910
933
  /*$$scope*/
911
- f[5],
912
- x,
913
- ie
914
- ) : U(
934
+ u[6],
935
+ C,
936
+ le
937
+ ) : J(
915
938
  /*$$scope*/
916
- f[5]
939
+ u[6]
917
940
  ),
918
941
  yt
919
- ), $ && $.p && (!c || x & /*$$scope*/
920
- 32) && F(
921
- $,
942
+ ), m && m.p && (!c || C & /*$$scope*/
943
+ 64) && F(
944
+ m,
922
945
  p,
923
- f,
946
+ u,
924
947
  /*$$scope*/
925
- f[5],
948
+ u[6],
926
949
  c ? q(
927
950
  p,
928
951
  /*$$scope*/
929
- f[5],
930
- x,
931
- ne
932
- ) : U(
952
+ u[6],
953
+ C,
954
+ oe
955
+ ) : J(
933
956
  /*$$scope*/
934
- f[5]
957
+ u[6]
935
958
  ),
936
959
  pt
937
- ), C && C.p && (!c || x & /*$$scope*/
938
- 32) && F(
939
- C,
960
+ ), x && x.p && (!c || C & /*$$scope*/
961
+ 64) && F(
962
+ x,
940
963
  w,
941
- f,
964
+ u,
942
965
  /*$$scope*/
943
- f[5],
966
+ u[6],
944
967
  c ? q(
945
968
  w,
946
969
  /*$$scope*/
947
- f[5],
948
- x,
949
- ee
950
- ) : U(
970
+ u[6],
971
+ C,
972
+ re
973
+ ) : J(
951
974
  /*$$scope*/
952
- f[5]
975
+ u[6]
953
976
  ),
954
977
  gt
955
978
  );
956
979
  },
957
- i(f) {
958
- c || (T(a, f), T(h, f), T($, f), T(b, f), c = !0);
980
+ i(u) {
981
+ c || (T($, u), T(_, u), T(m, u), T(b, u), c = !0);
959
982
  },
960
- o(f) {
961
- V(a, f), V(h, f), V($, f), V(b, f), c = !1;
983
+ o(u) {
984
+ Z($, u), Z(_, u), Z(m, u), Z(b, u), c = !1;
962
985
  },
963
- d(f) {
964
- f && P(e), a && a.d(f), h && h.d(f), $ && $.d(f), b && b.d(f), t[7](null), m = !1, L(_);
986
+ d(u) {
987
+ u && B(e), $ && $.d(u), _ && _.d(u), m && m.d(u), b && b.d(u), t[8](null), g = !1, L(f);
965
988
  }
966
989
  };
967
990
  }
968
- function le(t, e, n) {
969
- let { $$slots: i = {}, $$scope: s } = e, { clientstyling: o = "" } = e, { clientstylingurl: l = "" } = e, r;
970
- const u = () => {
991
+ function fe(t, e, n) {
992
+ let { $$slots: i = {}, $$scope: s } = e, { clientstyling: o = "" } = e, { clientstylingurl: l = "" } = e, { mbsource: r = "" } = e, a;
993
+ const c = () => {
971
994
  window.postMessage({ type: "CloseModal" }, window.location.href);
972
- }, c = () => {
973
- window.postMessage({ type: "ConfirmModal" }, window.location.href), u();
974
- }, m = () => {
975
- let a = document.createElement("style");
976
- a.innerHTML = o, r.appendChild(a);
977
- }, _ = () => {
978
- let a = new URL(l), d = document.createElement("style");
979
- fetch(a.href).then((h) => h.text()).then((h) => {
980
- d.innerHTML = h, setTimeout(
981
- () => {
982
- r.appendChild(d);
983
- },
984
- 1
985
- );
986
- });
995
+ }, g = () => {
996
+ window.postMessage({ type: "ConfirmModal" }, window.location.href), c();
987
997
  };
988
- function g(a) {
989
- st[a ? "unshift" : "push"](() => {
990
- r = a, n(0, r);
998
+ Ut(() => () => {
999
+ });
1000
+ function f(h) {
1001
+ st[h ? "unshift" : "push"](() => {
1002
+ a = h, n(0, a);
991
1003
  });
992
1004
  }
993
- return t.$$set = (a) => {
994
- "clientstyling" in a && n(3, o = a.clientstyling), "clientstylingurl" in a && n(4, l = a.clientstylingurl), "$$scope" in a && n(5, s = a.$$scope);
1005
+ return t.$$set = (h) => {
1006
+ "clientstyling" in h && n(3, o = h.clientstyling), "clientstylingurl" in h && n(4, l = h.clientstylingurl), "mbsource" in h && n(5, r = h.mbsource), "$$scope" in h && n(6, s = h.$$scope);
995
1007
  }, t.$$.update = () => {
996
1008
  t.$$.dirty & /*clientstyling, customStylingContainer*/
997
- 9 && o && r && m(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
998
- 17 && l && r && _();
1009
+ 9 && o && a && ee(a, o), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1010
+ 17 && l && a && ne(a, l), t.$$.dirty & /*mbsource, customStylingContainer*/
1011
+ 33 && r && a && ie(a, `${r}.Style`);
999
1012
  }, [
1000
- r,
1001
- u,
1013
+ a,
1002
1014
  c,
1015
+ g,
1003
1016
  o,
1004
1017
  l,
1018
+ r,
1005
1019
  s,
1006
1020
  i,
1007
- g
1021
+ f
1008
1022
  ];
1009
1023
  }
1010
- class jt extends Zt {
1024
+ class jt extends Yt {
1011
1025
  constructor(e) {
1012
- super(), Qt(this, e, le, oe, St, { clientstyling: 3, clientstylingurl: 4 }, te);
1026
+ super(), Qt(
1027
+ this,
1028
+ e,
1029
+ fe,
1030
+ ue,
1031
+ St,
1032
+ {
1033
+ clientstyling: 3,
1034
+ clientstylingurl: 4,
1035
+ mbsource: 5
1036
+ },
1037
+ se
1038
+ );
1013
1039
  }
1014
1040
  get clientstyling() {
1015
1041
  return this.$$.ctx[3];
1016
1042
  }
1017
1043
  set clientstyling(e) {
1018
- this.$$set({ clientstyling: e }), et();
1044
+ this.$$set({ clientstyling: e }), D();
1019
1045
  }
1020
1046
  get clientstylingurl() {
1021
1047
  return this.$$.ctx[4];
1022
1048
  }
1023
1049
  set clientstylingurl(e) {
1024
- this.$$set({ clientstylingurl: e }), et();
1050
+ this.$$set({ clientstylingurl: e }), D();
1051
+ }
1052
+ get mbsource() {
1053
+ return this.$$.ctx[5];
1054
+ }
1055
+ set mbsource(e) {
1056
+ this.$$set({ mbsource: e }), D();
1025
1057
  }
1026
1058
  }
1027
- Xt(jt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1028
- const je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1059
+ Xt(jt, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, ["title", "text", "confirm", "close"], [], !0);
1060
+ const Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1029
1061
  __proto__: null,
1030
1062
  default: jt
1031
1063
  }, Symbol.toStringTag, { value: "Module" }));
1032
1064
  export {
1033
- Q as A,
1034
- ce as B,
1035
- _e as C,
1036
- xe as D,
1037
- Xt as E,
1038
- we as F,
1039
- z as G,
1040
- ue as H,
1041
- $e as I,
1042
- be as J,
1043
- Le as K,
1044
- fe as L,
1045
- he as M,
1046
- $t as N,
1047
- ge as O,
1048
- pe as P,
1049
- ot as Q,
1050
- Ee as R,
1051
- Zt as S,
1052
- ye as T,
1053
- Ce as U,
1054
- ke as V,
1055
- Me as W,
1056
- je as X,
1065
+ st as A,
1066
+ Q as B,
1067
+ de as C,
1068
+ pe as D,
1069
+ Ee as E,
1070
+ ee as F,
1071
+ ne as G,
1072
+ ie as H,
1073
+ Xt as I,
1074
+ z as J,
1075
+ _e as K,
1076
+ ye as L,
1077
+ ve as M,
1078
+ Se as N,
1079
+ $e as O,
1080
+ ge as P,
1081
+ $t as Q,
1082
+ we as R,
1083
+ Yt as S,
1084
+ xe as T,
1085
+ ot as U,
1086
+ Oe as V,
1087
+ Ce as W,
1088
+ Me as X,
1089
+ je as Y,
1090
+ Le as Z,
1091
+ Ae as _,
1057
1092
  Nt as a,
1058
1093
  Qt as b,
1059
1094
  zt as c,
1060
- I as d,
1061
- P as e,
1062
- et as f,
1095
+ U as d,
1096
+ B as e,
1097
+ D as f,
1063
1098
  T as g,
1064
- U as h,
1065
- D as i,
1099
+ J as h,
1100
+ W as i,
1066
1101
  q as j,
1067
- ve as k,
1102
+ ke as k,
1068
1103
  ft as l,
1069
1104
  v as m,
1070
- E as n,
1071
- k as o,
1105
+ k as n,
1106
+ E as o,
1072
1107
  nt as p,
1073
1108
  y as q,
1074
1109
  L as r,
1075
1110
  St as s,
1076
- V as t,
1111
+ Z as t,
1077
1112
  F as u,
1078
- ae as v,
1079
- de as w,
1113
+ he as v,
1114
+ Ut as w,
1080
1115
  me as x,
1081
- kt as y,
1082
- st as z
1116
+ be as y,
1117
+ Et as z
1083
1118
  };