@everymatrix/cashier-method-details 1.45.0 → 1.45.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/components/CashierConfirmModal-BsoB5fQM.cjs +4 -0
  2. package/components/{CashierConfirmModal-B-t1-wAt.js → CashierConfirmModal-Dw8BnUfp.js} +168 -168
  3. package/components/{CashierError-DaumM6Zr.js → CashierError-B_iMgTfr.js} +28 -27
  4. package/components/CashierError-ClzxZoH7.cjs +5 -0
  5. package/components/CashierHeader-BU_vM2lH.cjs +1 -0
  6. package/components/CashierHeader-VE5z702l.js +360 -0
  7. package/components/{CashierIframeRedirect-Bilctj-5.js → CashierIframeRedirect-CUdjcENK.js} +72 -73
  8. package/components/CashierIframeRedirect-DSYHz0IC.cjs +1 -0
  9. package/components/{CashierMethodDetails-CJU3RjOA.js → CashierMethodDetails-Bf-5bGxo.js} +1647 -1621
  10. package/components/CashierMethodDetails-C4PD_IWn.cjs +18 -0
  11. package/components/CashierModal-9BGQdqOF.cjs +1 -0
  12. package/components/CashierModal-BInN_GEx.js +227 -0
  13. package/components/CashierNotifications-BhCyEcyg.js +136 -0
  14. package/components/CashierNotifications-FlAVIynI.cjs +1 -0
  15. package/components/CashierReceiptPage-BVJ9-Fkt.cjs +1 -0
  16. package/components/{CashierReceiptPage-DT7FhfRz.js → CashierReceiptPage-CWW92liL.js} +242 -243
  17. package/components/CashierSpinner-DREUPtXI.js +71 -0
  18. package/components/CashierSpinner-DUwdQyI3.cjs +1 -0
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/package.json +2 -2
  22. package/components/CashierConfirmModal-O8Y6vOPF.cjs +0 -4
  23. package/components/CashierError-CnDiY61e.cjs +0 -5
  24. package/components/CashierHeader-4ARwc1sM.cjs +0 -1
  25. package/components/CashierHeader-CYcLko5g.js +0 -361
  26. package/components/CashierIframeRedirect-BOPLcueW.cjs +0 -1
  27. package/components/CashierMethodDetails-7O4DrJHq.cjs +0 -18
  28. package/components/CashierModal-CdNYc0Aj.js +0 -220
  29. package/components/CashierModal-DjXj2L6b.cjs +0 -1
  30. package/components/CashierNotifications-BVX2JvTh.cjs +0 -1
  31. package/components/CashierNotifications-DOgyzpyH.js +0 -136
  32. package/components/CashierReceiptPage-D9_BjYHP.cjs +0 -1
  33. package/components/CashierSpinner-BUe-mWNE.js +0 -71
  34. package/components/CashierSpinner-C7awkOxo.cjs +0 -1
@@ -1,16 +1,16 @@
1
- var Ot = Object.defineProperty, St = Object.defineProperties;
2
- var At = Object.getOwnPropertyDescriptors;
1
+ var St = Object.defineProperty, At = Object.defineProperties;
2
+ var Nt = Object.getOwnPropertyDescriptors;
3
3
  var ut = Object.getOwnPropertySymbols;
4
- var Nt = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable;
5
- var Y = (t, e, n) => e in t ? Ot(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, at = (t, e) => {
4
+ var Pt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
+ var Y = (t, e, n) => e in t ? St(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, at = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
- Nt.call(e, n) && Y(t, n, e[n]);
7
+ Pt.call(e, n) && Y(t, n, e[n]);
8
8
  if (ut)
9
9
  for (var n of ut(e))
10
- Pt.call(e, n) && Y(t, n, e[n]);
10
+ zt.call(e, n) && Y(t, n, e[n]);
11
11
  return t;
12
- }, ft = (t, e) => St(t, At(e));
13
- var v = (t, e, n) => Y(t, typeof e != "symbol" ? e + "" : e, n);
12
+ }, ft = (t, e) => At(t, Nt(e));
13
+ var C = (t, e, n) => Y(t, typeof e != "symbol" ? e + "" : e, n);
14
14
  var dt = (t, e, n) => new Promise((s, r) => {
15
15
  var i = (u) => {
16
16
  try {
@@ -27,7 +27,7 @@ var dt = (t, e, n) => new Promise((s, r) => {
27
27
  }, o = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, l);
28
28
  o((n = n.apply(t, e)).next());
29
29
  });
30
- function L() {
30
+ function k() {
31
31
  }
32
32
  const Bt = (t) => t;
33
33
  function Tt(t, e) {
@@ -37,14 +37,14 @@ function Tt(t, e) {
37
37
  t
38
38
  );
39
39
  }
40
- function bt(t) {
40
+ function wt(t) {
41
41
  return t();
42
42
  }
43
43
  function ht() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function k(t) {
47
- t.forEach(bt);
46
+ function j(t) {
47
+ t.forEach(wt);
48
48
  }
49
49
  function ot(t) {
50
50
  return typeof t == "function";
@@ -53,7 +53,7 @@ function Rt(t, e) {
53
53
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
54
54
  }
55
55
  let D;
56
- function we(t, e) {
56
+ function be(t, e) {
57
57
  return t === e ? !0 : (D || (D = document.createElement("a")), D.href = e, t === D.href);
58
58
  }
59
59
  function Dt(t) {
@@ -63,21 +63,21 @@ function Wt(t, ...e) {
63
63
  if (t == null) {
64
64
  for (const s of e)
65
65
  s(void 0);
66
- return L;
66
+ return k;
67
67
  }
68
68
  const n = t.subscribe(...e);
69
69
  return n.unsubscribe ? () => n.unsubscribe() : n;
70
70
  }
71
- function be(t, e, n) {
71
+ function we(t, e, n) {
72
72
  t.$$.on_destroy.push(Wt(e, n));
73
73
  }
74
74
  function W(t, e, n, s) {
75
75
  if (t) {
76
- const r = vt(t, e, n, s);
76
+ const r = Ct(t, e, n, s);
77
77
  return t[0](r);
78
78
  }
79
79
  }
80
- function vt(t, e, n, s) {
80
+ function Ct(t, e, n, s) {
81
81
  return t[1] && s ? Tt(n.ctx.slice(), t[1](s(e))) : n.ctx;
82
82
  }
83
83
  function H(t, e, n, s) {
@@ -97,7 +97,7 @@ function H(t, e, n, s) {
97
97
  }
98
98
  function I(t, e, n, s, r, i) {
99
99
  if (r) {
100
- const l = vt(e, n, s, i);
100
+ const l = Ct(e, n, s, i);
101
101
  t.p(l, r);
102
102
  }
103
103
  }
@@ -110,36 +110,36 @@ function q(t) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- const Ct = typeof window != "undefined";
114
- let Ht = Ct ? () => window.performance.now() : () => Date.now(), rt = Ct ? (t) => requestAnimationFrame(t) : L;
115
- const S = /* @__PURE__ */ new Set();
116
- function xt(t) {
117
- S.forEach((e) => {
118
- e.c(t) || (S.delete(e), e.f());
119
- }), S.size !== 0 && rt(xt);
113
+ const xt = typeof window != "undefined";
114
+ let Ht = xt ? () => window.performance.now() : () => Date.now(), rt = xt ? (t) => requestAnimationFrame(t) : k;
115
+ const A = /* @__PURE__ */ new Set();
116
+ function vt(t) {
117
+ A.forEach((e) => {
118
+ e.c(t) || (A.delete(e), e.f());
119
+ }), A.size !== 0 && rt(vt);
120
120
  }
121
121
  function It(t) {
122
122
  let e;
123
- return S.size === 0 && rt(xt), {
123
+ return A.size === 0 && rt(vt), {
124
124
  promise: new Promise((n) => {
125
- S.add(e = { c: t, f: n });
125
+ A.add(e = { c: t, f: n });
126
126
  }),
127
127
  abort() {
128
- S.delete(e);
128
+ A.delete(e);
129
129
  }
130
130
  };
131
131
  }
132
- const ve = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
132
+ const Ce = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
133
133
  // @ts-ignore Node typings have this
134
134
  global
135
135
  );
136
- function C(t, e) {
136
+ function x(t, e) {
137
137
  t.appendChild(e);
138
138
  }
139
139
  function qt(t, e, n) {
140
140
  const s = lt(t);
141
141
  if (!s.getElementById(e)) {
142
- const r = x("style");
142
+ const r = v("style");
143
143
  r.id = e, r.textContent = n, Et(s, r);
144
144
  }
145
145
  }
@@ -153,11 +153,11 @@ function lt(t) {
153
153
  ) : t.ownerDocument;
154
154
  }
155
155
  function Ft(t) {
156
- const e = x("style");
156
+ const e = v("style");
157
157
  return e.textContent = "/* empty */", Et(lt(t), e), e.sheet;
158
158
  }
159
159
  function Et(t, e) {
160
- return C(
160
+ return x(
161
161
  /** @type {Document} */
162
162
  t.head || t,
163
163
  e
@@ -166,27 +166,27 @@ function Et(t, e) {
166
166
  function ct(t, e, n) {
167
167
  t.insertBefore(e, n || null);
168
168
  }
169
- function N(t) {
169
+ function P(t) {
170
170
  t.parentNode && t.parentNode.removeChild(t);
171
171
  }
172
- function Ce(t, e) {
172
+ function xe(t, e) {
173
173
  for (let n = 0; n < t.length; n += 1)
174
174
  t[n] && t[n].d(e);
175
175
  }
176
- function x(t) {
176
+ function v(t) {
177
177
  return document.createElement(t);
178
178
  }
179
179
  function $t(t) {
180
180
  return document.createElementNS("http://www.w3.org/2000/svg", t);
181
181
  }
182
- function zt(t) {
182
+ function Mt(t) {
183
183
  return document.createTextNode(t);
184
184
  }
185
185
  function tt() {
186
- return zt(" ");
186
+ return Mt(" ");
187
187
  }
188
- function xe() {
189
- return zt("");
188
+ function ve() {
189
+ return Mt("");
190
190
  }
191
191
  function G(t, e, n, s) {
192
192
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
@@ -199,24 +199,24 @@ function Ee(t) {
199
199
  function m(t, e, n) {
200
200
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
201
201
  }
202
- function ze(t, e, n) {
202
+ function Me(t, e, n) {
203
203
  const s = e.toLowerCase();
204
204
  s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : m(t, e, n);
205
205
  }
206
- function Me(t) {
206
+ function Le(t) {
207
207
  return t === "" ? null : +t;
208
208
  }
209
209
  function Ut(t) {
210
210
  return Array.from(t.childNodes);
211
211
  }
212
- function Le(t, e) {
212
+ function ke(t, e) {
213
213
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
214
214
  e);
215
215
  }
216
- function ke(t, e) {
216
+ function je(t, e) {
217
217
  t.value = e == null ? "" : e;
218
218
  }
219
- function je(t, e, n, s) {
219
+ function Oe(t, e, n, s) {
220
220
  n == null ? t.style.removeProperty(e) : t.style.setProperty(e, n, "");
221
221
  }
222
222
  let F;
@@ -231,9 +231,9 @@ function Jt() {
231
231
  }
232
232
  return F;
233
233
  }
234
- function Oe(t, e) {
234
+ function Se(t, e) {
235
235
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
236
- const s = x("iframe");
236
+ const s = v("iframe");
237
237
  s.setAttribute(
238
238
  "style",
239
239
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -249,14 +249,14 @@ function Oe(t, e) {
249
249
  }
250
250
  )) : (s.src = "about:blank", s.onload = () => {
251
251
  i = G(s.contentWindow, "resize", e), e();
252
- }), C(t, s), () => {
253
- (r || i && s.contentWindow) && i(), N(s);
252
+ }), x(t, s), () => {
253
+ (r || i && s.contentWindow) && i(), P(s);
254
254
  };
255
255
  }
256
- function Se(t, e, n) {
256
+ function Ae(t, e, n) {
257
257
  t.classList.toggle(e, !!n);
258
258
  }
259
- function Mt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
259
+ function Lt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
260
260
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: s });
261
261
  }
262
262
  function Vt(t) {
@@ -305,7 +305,7 @@ function Zt() {
305
305
  rt(() => {
306
306
  Q || (K.forEach((t) => {
307
307
  const { ownerNode: e } = t.stylesheet;
308
- e && N(e);
308
+ e && P(e);
309
309
  }), K.clear());
310
310
  });
311
311
  }
@@ -313,19 +313,19 @@ let R;
313
313
  function T(t) {
314
314
  R = t;
315
315
  }
316
- function Lt() {
316
+ function kt() {
317
317
  if (!R) throw new Error("Function called outside component initialization");
318
318
  return R;
319
319
  }
320
- function Ae(t) {
321
- Lt().$$.on_mount.push(t);
320
+ function Ne(t) {
321
+ kt().$$.on_mount.push(t);
322
322
  }
323
- function Ne() {
324
- const t = Lt();
323
+ function Pe() {
324
+ const t = kt();
325
325
  return (e, n, { cancelable: s = !1 } = {}) => {
326
326
  const r = t.$$.callbacks[e];
327
327
  if (r) {
328
- const i = Mt(
328
+ const i = Lt(
329
329
  /** @type {string} */
330
330
  e,
331
331
  n,
@@ -338,65 +338,65 @@ function Ne() {
338
338
  return !0;
339
339
  };
340
340
  }
341
- const O = [], st = [];
342
- let A = [];
341
+ const S = [], st = [];
342
+ let N = [];
343
343
  const _t = [], Xt = /* @__PURE__ */ Promise.resolve();
344
344
  let it = !1;
345
345
  function Yt() {
346
346
  it || (it = !0, Xt.then(X));
347
347
  }
348
348
  function Z(t) {
349
- A.push(t);
349
+ N.push(t);
350
350
  }
351
351
  const et = /* @__PURE__ */ new Set();
352
- let j = 0;
352
+ let O = 0;
353
353
  function X() {
354
- if (j !== 0)
354
+ if (O !== 0)
355
355
  return;
356
356
  const t = R;
357
357
  do {
358
358
  try {
359
- for (; j < O.length; ) {
360
- const e = O[j];
361
- j++, T(e), te(e.$$);
359
+ for (; O < S.length; ) {
360
+ const e = S[O];
361
+ O++, T(e), te(e.$$);
362
362
  }
363
363
  } catch (e) {
364
- throw O.length = 0, j = 0, e;
364
+ throw S.length = 0, O = 0, e;
365
365
  }
366
- for (T(null), O.length = 0, j = 0; st.length; ) st.pop()();
367
- for (let e = 0; e < A.length; e += 1) {
368
- const n = A[e];
366
+ for (T(null), S.length = 0, O = 0; st.length; ) st.pop()();
367
+ for (let e = 0; e < N.length; e += 1) {
368
+ const n = N[e];
369
369
  et.has(n) || (et.add(n), n());
370
370
  }
371
- A.length = 0;
372
- } while (O.length);
371
+ N.length = 0;
372
+ } while (S.length);
373
373
  for (; _t.length; )
374
374
  _t.pop()();
375
375
  it = !1, et.clear(), T(t);
376
376
  }
377
377
  function te(t) {
378
378
  if (t.fragment !== null) {
379
- t.update(), k(t.before_update);
379
+ t.update(), j(t.before_update);
380
380
  const e = t.dirty;
381
381
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Z);
382
382
  }
383
383
  }
384
384
  function ee(t) {
385
385
  const e = [], n = [];
386
- A.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), A = e;
386
+ N.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), N = e;
387
387
  }
388
- let P;
388
+ let z;
389
389
  function ne() {
390
- return P || (P = Promise.resolve(), P.then(() => {
391
- P = null;
392
- })), P;
390
+ return z || (z = Promise.resolve(), z.then(() => {
391
+ z = null;
392
+ })), z;
393
393
  }
394
394
  function nt(t, e, n) {
395
- t.dispatchEvent(Mt(`${e ? "intro" : "outro"}${n}`));
395
+ t.dispatchEvent(Lt(`${e ? "intro" : "outro"}${n}`));
396
396
  }
397
397
  const J = /* @__PURE__ */ new Set();
398
398
  let E;
399
- function Pe() {
399
+ function ze() {
400
400
  E = {
401
401
  r: 0,
402
402
  c: [],
@@ -405,7 +405,7 @@ function Pe() {
405
405
  };
406
406
  }
407
407
  function Be() {
408
- E.r || k(E.c), E = E.p;
408
+ E.r || j(E.c), E = E.p;
409
409
  }
410
410
  function B(t, e) {
411
411
  t && t.i && (J.delete(t), t.i(e));
@@ -444,15 +444,15 @@ function Te(t, e, n, s) {
444
444
  delay: h = 0,
445
445
  duration: g = 300,
446
446
  easing: _ = Bt,
447
- tick: M = L,
448
- css: z
449
- } = i || se, w = {
447
+ tick: L = k,
448
+ css: M
449
+ } = i || se, b = {
450
450
  start: Ht() + h,
451
451
  b: d
452
452
  };
453
- d || (w.group = E, E.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
454
- t.inert, t.inert = !0)), o || u ? u = w : (z && ($(), c = mt(t, l, d, g, h, _, z)), d && M(0, 1), o = y(w, g), Z(() => nt(t, d, "start")), It((a) => {
455
- if (u && a > u.start && (o = y(u, g), u = null, nt(t, o.b, "start"), z && ($(), c = mt(
453
+ d || (b.group = E, E.r += 1), "inert" in t && (d ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
454
+ t.inert, t.inert = !0)), o || u ? u = b : (M && ($(), c = mt(t, l, d, g, h, _, M)), d && L(0, 1), o = y(b, g), Z(() => nt(t, d, "start")), It((a) => {
455
+ if (u && a > u.start && (o = y(u, g), u = null, nt(t, o.b, "start"), M && ($(), c = mt(
456
456
  t,
457
457
  l,
458
458
  o.b,
@@ -462,10 +462,10 @@ function Te(t, e, n, s) {
462
462
  i.css
463
463
  ))), o) {
464
464
  if (a >= o.end)
465
- M(l = o.b, 1 - l), nt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || k(o.group.c)), o = null;
465
+ L(l = o.b, 1 - l), nt(t, o.b, "end"), u || (o.b ? $() : --o.group.r || j(o.group.c)), o = null;
466
466
  else if (a >= o.start) {
467
- const b = a - o.start;
468
- l = o.a + o.d * _(b / o.duration), M(l, 1 - l);
467
+ const w = a - o.start;
468
+ l = o.a + o.d * _(w / o.duration), L(l, 1 - l);
469
469
  }
470
470
  }
471
471
  return !!(o || u);
@@ -488,16 +488,16 @@ function Re(t) {
488
488
  function ie(t, e, n) {
489
489
  const { fragment: s, after_update: r } = t.$$;
490
490
  s && s.m(e, n), Z(() => {
491
- const i = t.$$.on_mount.map(bt).filter(ot);
492
- t.$$.on_destroy ? t.$$.on_destroy.push(...i) : k(i), t.$$.on_mount = [];
491
+ const i = t.$$.on_mount.map(wt).filter(ot);
492
+ t.$$.on_destroy ? t.$$.on_destroy.push(...i) : j(i), t.$$.on_mount = [];
493
493
  }), r.forEach(Z);
494
494
  }
495
495
  function oe(t, e) {
496
496
  const n = t.$$;
497
- n.fragment !== null && (ee(n.after_update), k(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
497
+ n.fragment !== null && (ee(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
498
498
  }
499
499
  function re(t, e) {
500
- t.$$.dirty[0] === -1 && (O.push(t), Yt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
500
+ t.$$.dirty[0] === -1 && (S.push(t), Yt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
501
501
  }
502
502
  function le(t, e, n, s, r, i, l = null, o = [-1]) {
503
503
  const u = R;
@@ -507,7 +507,7 @@ function le(t, e, n, s, r, i, l = null, o = [-1]) {
507
507
  ctx: [],
508
508
  // state
509
509
  props: i,
510
- update: L,
510
+ update: k,
511
511
  not_equal: r,
512
512
  bound: ht(),
513
513
  // lifecycle
@@ -528,38 +528,38 @@ function le(t, e, n, s, r, i, l = null, o = [-1]) {
528
528
  if (c.ctx = n ? n(t, e.props || {}, ($, y, ...f) => {
529
529
  const d = f.length ? f[0] : y;
530
530
  return c.ctx && r(c.ctx[$], c.ctx[$] = d) && (!c.skip_bound && c.bound[$] && c.bound[$](d), p && re(t, $)), y;
531
- }) : [], c.update(), p = !0, k(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
531
+ }) : [], c.update(), p = !0, j(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
532
532
  if (e.hydrate) {
533
533
  const $ = Ut(e.target);
534
- c.fragment && c.fragment.l($), $.forEach(N);
534
+ c.fragment && c.fragment.l($), $.forEach(P);
535
535
  } else
536
536
  c.fragment && c.fragment.c();
537
537
  e.intro && B(t.$$.fragment), ie(t, e.target, e.anchor), X();
538
538
  }
539
539
  T(u);
540
540
  }
541
- let kt;
542
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
541
+ let jt;
542
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
543
543
  constructor(e, n, s) {
544
544
  super();
545
545
  /** The Svelte component constructor */
546
- v(this, "$$ctor");
546
+ C(this, "$$ctor");
547
547
  /** Slots */
548
- v(this, "$$s");
548
+ C(this, "$$s");
549
549
  /** The Svelte component instance */
550
- v(this, "$$c");
550
+ C(this, "$$c");
551
551
  /** Whether or not the custom element is connected */
552
- v(this, "$$cn", !1);
552
+ C(this, "$$cn", !1);
553
553
  /** Component props data */
554
- v(this, "$$d", {});
554
+ C(this, "$$d", {});
555
555
  /** `true` if currently in the process of reflecting component props back to attributes */
556
- v(this, "$$r", !1);
556
+ C(this, "$$r", !1);
557
557
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
558
- v(this, "$$p_d", {});
558
+ C(this, "$$p_d", {});
559
559
  /** @type {Record<string, Function[]>} Event listeners */
560
- v(this, "$$l", {});
560
+ C(this, "$$l", {});
561
561
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
562
- v(this, "$$l_u", /* @__PURE__ */ new Map());
562
+ C(this, "$$l_u", /* @__PURE__ */ new Map());
563
563
  this.$$ctor = e, this.$$s = n, s && this.attachShadow({ mode: "open" });
564
564
  }
565
565
  addEventListener(e, n, s) {
@@ -583,7 +583,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
583
583
  let l;
584
584
  return {
585
585
  c: function() {
586
- l = x("slot"), i !== "default" && m(l, "name", i);
586
+ l = v("slot"), i !== "default" && m(l, "name", i);
587
587
  },
588
588
  /**
589
589
  * @param {HTMLElement} target
@@ -593,7 +593,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
593
593
  ct(c, l, p);
594
594
  },
595
595
  d: function(c) {
596
- c && N(l);
596
+ c && P(l);
597
597
  }
598
598
  };
599
599
  };
@@ -690,7 +690,7 @@ function V(t, e, n, s) {
690
690
  }
691
691
  }
692
692
  function ce(t, e, n, s, r, i) {
693
- let l = class extends kt {
693
+ let l = class extends jt {
694
694
  constructor() {
695
695
  super(t, n, r), this.$$p_d = e;
696
696
  }
@@ -729,7 +729,7 @@ class ue {
729
729
  *
730
730
  * @type {any}
731
731
  */
732
- v(this, "$$");
732
+ C(this, "$$");
733
733
  /**
734
734
  * ### PRIVATE API
735
735
  *
@@ -737,11 +737,11 @@ class ue {
737
737
  *
738
738
  * @type {any}
739
739
  */
740
- v(this, "$$set");
740
+ C(this, "$$set");
741
741
  }
742
742
  /** @returns {void} */
743
743
  $destroy() {
744
- oe(this, 1), this.$destroy = L;
744
+ oe(this, 1), this.$destroy = k;
745
745
  }
746
746
  /**
747
747
  * @template {Extract<keyof Events, string>} K
@@ -751,7 +751,7 @@ class ue {
751
751
  */
752
752
  $on(e, n) {
753
753
  if (!ot(n))
754
- return L;
754
+ return k;
755
755
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
756
756
  return s.push(n), () => {
757
757
  const r = s.indexOf(n);
@@ -769,21 +769,21 @@ class ue {
769
769
  const ae = "4";
770
770
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ae);
771
771
  function fe(t) {
772
- qt(t, "svelte-8szw87", ".svelte-8szw87,.svelte-8szw87::before,.svelte-8szw87::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow.svelte-8szw87{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(255, 255, 255, 0.5))}.CashierModalContainer.svelte-8szw87{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.svelte-8szw87{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:normal;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn.svelte-8szw87{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.svelte-8szw87{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}");
772
+ qt(t, "svelte-tf74md", "*,*::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(255, 255, 255, 0.5))}.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)}}");
773
773
  }
774
- const de = (t) => ({}), pt = (t) => ({}), he = (t) => ({}), gt = (t) => ({}), $e = (t) => ({}), yt = (t) => ({ class: "CashierModalText svelte-8szw87" }), me = (t) => ({}), wt = (t) => ({ class: "CashierModalTitle svelte-8szw87" });
774
+ const de = (t) => ({}), pt = (t) => ({}), he = (t) => ({}), gt = (t) => ({}), $e = (t) => ({}), yt = (t) => ({ class: "CashierModalText" }), me = (t) => ({}), bt = (t) => ({ class: "CashierModalTitle" });
775
775
  function _e(t) {
776
776
  let e, n;
777
777
  return {
778
778
  c() {
779
- e = $t("svg"), n = $t("path"), m(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"), m(n, "fill", "#111111"), m(n, "class", "svelte-8szw87"), m(e, "xmlns", "http://www.w3.org/2000/svg"), m(e, "width", "13"), m(e, "height", "20"), m(e, "viewBox", "0 0 13 13"), m(e, "fill", "none"), m(e, "class", "svelte-8szw87");
779
+ e = $t("svg"), n = $t("path"), m(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"), m(n, "fill", "#111111"), m(e, "xmlns", "http://www.w3.org/2000/svg"), m(e, "width", "13"), m(e, "height", "20"), m(e, "viewBox", "0 0 13 13"), m(e, "fill", "none");
780
780
  },
781
781
  m(s, r) {
782
- ct(s, e, r), C(e, n);
782
+ ct(s, e, r), x(e, n);
783
783
  },
784
- p: L,
784
+ p: k,
785
785
  d(s) {
786
- s && N(e);
786
+ s && P(e);
787
787
  }
788
788
  };
789
789
  }
@@ -797,7 +797,7 @@ function pe(t) {
797
797
  t,
798
798
  /*$$scope*/
799
799
  t[5],
800
- wt
800
+ bt
801
801
  ), d = (
802
802
  /*#slots*/
803
803
  t[6].text
@@ -816,22 +816,22 @@ function pe(t) {
816
816
  /*$$scope*/
817
817
  t[5],
818
818
  gt
819
- ), M = (
819
+ ), L = (
820
820
  /*#slots*/
821
821
  t[6].close
822
- ), z = W(
823
- M,
822
+ ), M = W(
823
+ L,
824
824
  t,
825
825
  /*$$scope*/
826
826
  t[5],
827
827
  pt
828
- ), w = z || _e();
828
+ ), b = M || _e();
829
829
  return {
830
830
  c() {
831
- e = x("div"), n = x("div"), s = x("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = x("span"), _ && _.c(), o = tt(), u = x("span"), w && w.c(), m(l, "class", "ModalOkBtn svelte-8szw87"), m(l, "role", "button"), m(u, "class", "ModalCloseBtn svelte-8szw87"), m(u, "role", "button"), m(s, "class", "CashierModalContainer svelte-8szw87"), m(s, "part", "CashierModalContainer"), m(n, "class", "CashierModalWindow svelte-8szw87"), m(n, "part", "CashierModalWindow"), m(n, "id", "Modal"), m(e, "part", "CustomStylingContainer"), m(e, "class", "svelte-8szw87");
831
+ e = v("div"), n = v("div"), s = v("div"), f && f.c(), r = tt(), h && h.c(), i = tt(), l = v("span"), _ && _.c(), o = tt(), u = v("span"), b && b.c(), m(l, "class", "ModalOkBtn"), m(l, "role", "button"), m(u, "class", "ModalCloseBtn"), m(u, "role", "button"), m(s, "class", "CashierModalContainer"), m(s, "part", "CashierModalContainer"), m(n, "class", "CashierModalWindow"), m(n, "part", "CashierModalWindow"), m(n, "id", "Modal"), m(e, "part", "CustomStylingContainer");
832
832
  },
833
- m(a, b) {
834
- ct(a, e, b), C(e, n), C(n, s), f && f.m(s, null), C(s, r), h && h.m(s, null), C(s, i), C(s, l), _ && _.m(l, null), C(s, o), C(s, u), w && w.m(u, null), t[7](e), c = !0, p || ($ = [
833
+ m(a, w) {
834
+ ct(a, e, w), x(e, n), x(n, s), f && f.m(s, null), x(s, r), h && h.m(s, null), x(s, i), x(s, l), _ && _.m(l, null), x(s, o), x(s, u), b && b.m(u, null), t[7](e), c = !0, p || ($ = [
835
835
  G(
836
836
  l,
837
837
  "click",
@@ -846,8 +846,8 @@ function pe(t) {
846
846
  )
847
847
  ], p = !0);
848
848
  },
849
- p(a, [b]) {
850
- f && f.p && (!c || b & /*$$scope*/
849
+ p(a, [w]) {
850
+ f && f.p && (!c || w & /*$$scope*/
851
851
  32) && I(
852
852
  f,
853
853
  y,
@@ -858,14 +858,14 @@ function pe(t) {
858
858
  y,
859
859
  /*$$scope*/
860
860
  a[5],
861
- b,
861
+ w,
862
862
  me
863
863
  ) : q(
864
864
  /*$$scope*/
865
865
  a[5]
866
866
  ),
867
- wt
868
- ), h && h.p && (!c || b & /*$$scope*/
867
+ bt
868
+ ), h && h.p && (!c || w & /*$$scope*/
869
869
  32) && I(
870
870
  h,
871
871
  d,
@@ -876,14 +876,14 @@ function pe(t) {
876
876
  d,
877
877
  /*$$scope*/
878
878
  a[5],
879
- b,
879
+ w,
880
880
  $e
881
881
  ) : q(
882
882
  /*$$scope*/
883
883
  a[5]
884
884
  ),
885
885
  yt
886
- ), _ && _.p && (!c || b & /*$$scope*/
886
+ ), _ && _.p && (!c || w & /*$$scope*/
887
887
  32) && I(
888
888
  _,
889
889
  g,
@@ -894,25 +894,25 @@ function pe(t) {
894
894
  g,
895
895
  /*$$scope*/
896
896
  a[5],
897
- b,
897
+ w,
898
898
  he
899
899
  ) : q(
900
900
  /*$$scope*/
901
901
  a[5]
902
902
  ),
903
903
  gt
904
- ), z && z.p && (!c || b & /*$$scope*/
904
+ ), M && M.p && (!c || w & /*$$scope*/
905
905
  32) && I(
906
- z,
907
906
  M,
907
+ L,
908
908
  a,
909
909
  /*$$scope*/
910
910
  a[5],
911
911
  c ? H(
912
- M,
912
+ L,
913
913
  /*$$scope*/
914
914
  a[5],
915
- b,
915
+ w,
916
916
  de
917
917
  ) : q(
918
918
  /*$$scope*/
@@ -922,13 +922,13 @@ function pe(t) {
922
922
  );
923
923
  },
924
924
  i(a) {
925
- c || (B(f, a), B(h, a), B(_, a), B(w, a), c = !0);
925
+ c || (B(f, a), B(h, a), B(_, a), B(b, a), c = !0);
926
926
  },
927
927
  o(a) {
928
- U(f, a), U(h, a), U(_, a), U(w, a), c = !1;
928
+ U(f, a), U(h, a), U(_, a), U(b, a), c = !1;
929
929
  },
930
930
  d(a) {
931
- a && N(e), f && f.d(a), h && h.d(a), _ && _.d(a), w && w.d(a), t[7](null), p = !1, k($);
931
+ a && P(e), f && f.d(a), h && h.d(a), _ && _.d(a), b && b.d(a), t[7](null), p = !1, j($);
932
932
  }
933
933
  };
934
934
  }
@@ -989,7 +989,7 @@ function ge(t, e, n) {
989
989
  y
990
990
  ];
991
991
  }
992
- class jt extends ue {
992
+ class Ot extends ue {
993
993
  constructor(e) {
994
994
  super(), le(this, e, ge, pe, Rt, { clientstyling: 3, clientstylingurl: 4 }, fe);
995
995
  }
@@ -1006,32 +1006,32 @@ class jt extends ue {
1006
1006
  this.$$set({ clientstylingurl: e }), X();
1007
1007
  }
1008
1008
  }
1009
- ce(jt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1009
+ ce(Ot, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1010
1010
  const De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1011
1011
  __proto__: null,
1012
- default: jt
1012
+ default: Ot
1013
1013
  }, Symbol.toStringTag, { value: "Module" }));
1014
1014
  export {
1015
1015
  G as A,
1016
- Pe as B,
1016
+ ze as B,
1017
1017
  st as C,
1018
- we as D,
1019
- ze as E,
1020
- Ne as F,
1018
+ be as D,
1019
+ Me as E,
1020
+ Pe as F,
1021
1021
  Z as G,
1022
- Ae as H,
1023
- ve as I,
1024
- Se as J,
1022
+ Ne as H,
1023
+ Ce as I,
1024
+ Ae as J,
1025
1025
  Re as K,
1026
1026
  Ee as L,
1027
- Ce as M,
1028
- Me as N,
1029
- ke as O,
1027
+ xe as M,
1028
+ Le as N,
1029
+ je as O,
1030
1030
  $t as P,
1031
- je as Q,
1031
+ Oe as Q,
1032
1032
  Bt as R,
1033
1033
  ue as S,
1034
- Oe as T,
1034
+ Se as T,
1035
1035
  Te as U,
1036
1036
  De as V,
1037
1037
  Rt as a,
@@ -1040,24 +1040,24 @@ export {
1040
1040
  qt as d,
1041
1041
  W as e,
1042
1042
  X as f,
1043
- x as g,
1043
+ v as g,
1044
1044
  tt as h,
1045
1045
  ot as i,
1046
1046
  m as j,
1047
1047
  ct as k,
1048
- C as l,
1048
+ x as l,
1049
1049
  q as m,
1050
- L as n,
1050
+ k as n,
1051
1051
  H as o,
1052
1052
  U as p,
1053
1053
  Be as q,
1054
- k as r,
1054
+ j as r,
1055
1055
  Wt as s,
1056
1056
  B as t,
1057
1057
  I as u,
1058
- N as v,
1059
- be as w,
1060
- xe as x,
1061
- zt as y,
1062
- Le as z
1058
+ P as v,
1059
+ we as w,
1060
+ ve as x,
1061
+ Mt as y,
1062
+ ke as z
1063
1063
  };