@everymatrix/cashier-page 1.63.2 → 1.64.0

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 (70) hide show
  1. package/components/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
  2. package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
  3. package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
  4. package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
  5. package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
  6. package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
  7. package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
  8. package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
  9. package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
  11. package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
  13. package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
  14. package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
  15. package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
  16. package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
  17. package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
  18. package/components/CashierMethodsList-CmF_WTB-.js +871 -0
  19. package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
  20. package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
  21. package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
  22. package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
  23. package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
  24. package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
  25. package/components/CashierPage-B453tZx8.cjs +1 -0
  26. package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
  27. package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
  28. package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
  29. package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
  30. package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
  31. package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
  32. package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
  34. package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
  35. package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
  36. package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
  37. package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
  39. package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
  40. package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
  41. package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
  42. package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
  43. package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
  44. package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
  45. package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
  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/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
  51. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  52. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
  53. package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
  54. package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
  55. package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
  56. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  57. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  58. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  59. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
  60. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
  61. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  62. package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
  63. package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
  64. package/components/CashierMethodsList-C0IZmP3U.js +0 -760
  65. package/components/CashierMethodsList-DfKVl2ns.js +0 -749
  66. package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
  67. package/components/CashierPage-DuVl1Vzu.cjs +0 -1
  68. package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
  69. package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
  70. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -1,18 +1,18 @@
1
- var Tt = Object.defineProperty, Rt = Object.defineProperties;
2
- var Dt = Object.getOwnPropertyDescriptors;
3
- var gt = Object.getOwnPropertySymbols;
4
- var Wt = Object.prototype.hasOwnProperty, Ht = Object.prototype.propertyIsEnumerable;
5
- var st = (t, e, n) => e in t ? Tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, pt = (t, e) => {
1
+ var Bt = Object.defineProperty, Tt = Object.defineProperties;
2
+ var Rt = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Wt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable;
5
+ var it = (t, e, n) => e in t ? Bt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, gt = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
- Wt.call(e, n) && st(t, n, e[n]);
8
- if (gt)
9
- for (var n of gt(e))
10
- Ht.call(e, n) && st(t, n, e[n]);
7
+ Wt.call(e, n) && it(t, n, e[n]);
8
+ if (mt)
9
+ for (var n of mt(e))
10
+ Dt.call(e, n) && it(t, n, e[n]);
11
11
  return t;
12
- }, yt = (t, e) => Rt(t, Dt(e));
13
- var v = (t, e, n) => (st(t, typeof e != "symbol" ? e + "" : e, n), n);
14
- var bt = (t, e, n) => new Promise((s, o) => {
15
- var i = (a) => {
12
+ }, pt = (t, e) => Tt(t, Rt(e));
13
+ var v = (t, e, n) => (it(t, typeof e != "symbol" ? e + "" : e, n), n);
14
+ var yt = (t, e, n) => new Promise((i, o) => {
15
+ var s = (a) => {
16
16
  try {
17
17
  r(n.next(a));
18
18
  } catch (c) {
@@ -24,13 +24,13 @@ var bt = (t, e, n) => new Promise((s, o) => {
24
24
  } catch (c) {
25
25
  o(c);
26
26
  }
27
- }, r = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
27
+ }, r = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(s, l);
28
28
  r((n = n.apply(t, e)).next());
29
29
  });
30
- function L() {
30
+ function k() {
31
31
  }
32
32
  const ct = (t) => t;
33
- function It(t, e) {
33
+ function Ht(t, e) {
34
34
  for (const n in e)
35
35
  t[n] = e[n];
36
36
  return (
@@ -41,7 +41,7 @@ function It(t, e) {
41
41
  function Lt(t) {
42
42
  return t();
43
43
  }
44
- function wt() {
44
+ function bt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function j(t) {
@@ -50,78 +50,78 @@ function j(t) {
50
50
  function H(t) {
51
51
  return typeof t == "function";
52
52
  }
53
- function qt(t, e) {
53
+ function It(t, e) {
54
54
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
55
55
  }
56
56
  let I;
57
57
  function be(t, e) {
58
58
  return t === e ? !0 : (I || (I = document.createElement("a")), I.href = e, t === I.href);
59
59
  }
60
- function Ft(t) {
60
+ function qt(t) {
61
61
  return Object.keys(t).length === 0;
62
62
  }
63
- function Ut(t, ...e) {
63
+ function Ft(t, ...e) {
64
64
  if (t == null) {
65
- for (const s of e)
66
- s(void 0);
67
- return L;
65
+ for (const i of e)
66
+ i(void 0);
67
+ return k;
68
68
  }
69
69
  const n = t.subscribe(...e);
70
70
  return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
72
  function we(t, e, n) {
73
- t.$$.on_destroy.push(Ut(e, n));
73
+ t.$$.on_destroy.push(Ft(e, n));
74
74
  }
75
- function q(t, e, n, s) {
75
+ function q(t, e, n, i) {
76
76
  if (t) {
77
- const o = jt(t, e, n, s);
77
+ const o = kt(t, e, n, i);
78
78
  return t[0](o);
79
79
  }
80
80
  }
81
- function jt(t, e, n, s) {
82
- return t[1] && s ? It(n.ctx.slice(), t[1](s(e))) : n.ctx;
81
+ function kt(t, e, n, i) {
82
+ return t[1] && i ? Ht(n.ctx.slice(), t[1](i(e))) : n.ctx;
83
83
  }
84
- function F(t, e, n, s) {
85
- if (t[2] && s) {
86
- const o = t[2](s(n));
84
+ function F(t, e, n, i) {
85
+ if (t[2] && i) {
86
+ const o = t[2](i(n));
87
87
  if (e.dirty === void 0)
88
88
  return o;
89
89
  if (typeof o == "object") {
90
- const i = [], l = Math.max(e.dirty.length, o.length);
90
+ const s = [], l = Math.max(e.dirty.length, o.length);
91
91
  for (let r = 0; r < l; r += 1)
92
- i[r] = e.dirty[r] | o[r];
93
- return i;
92
+ s[r] = e.dirty[r] | o[r];
93
+ return s;
94
94
  }
95
95
  return e.dirty | o;
96
96
  }
97
97
  return e.dirty;
98
98
  }
99
- function U(t, e, n, s, o, i) {
99
+ function U(t, e, n, i, o, s) {
100
100
  if (o) {
101
- const l = jt(e, n, s, i);
101
+ const l = kt(e, n, i, s);
102
102
  t.p(l, o);
103
103
  }
104
104
  }
105
105
  function J(t) {
106
106
  if (t.ctx.length > 32) {
107
107
  const e = [], n = t.ctx.length / 32;
108
- for (let s = 0; s < n; s++)
109
- e[s] = -1;
108
+ for (let i = 0; i < n; i++)
109
+ e[i] = -1;
110
110
  return e;
111
111
  }
112
112
  return -1;
113
113
  }
114
- const Ot = typeof window != "undefined";
115
- let at = Ot ? () => window.performance.now() : () => Date.now(), ut = Ot ? (t) => requestAnimationFrame(t) : L;
114
+ const jt = typeof window != "undefined";
115
+ let at = jt ? () => window.performance.now() : () => Date.now(), ut = jt ? (t) => requestAnimationFrame(t) : k;
116
116
  const N = /* @__PURE__ */ new Set();
117
- function St(t) {
117
+ function Ot(t) {
118
118
  N.forEach((e) => {
119
119
  e.c(t) || (N.delete(e), e.f());
120
- }), N.size !== 0 && ut(St);
120
+ }), N.size !== 0 && ut(Ot);
121
121
  }
122
122
  function ft(t) {
123
123
  let e;
124
- return N.size === 0 && ut(St), {
124
+ return N.size === 0 && ut(Ot), {
125
125
  promise: new Promise((n) => {
126
126
  N.add(e = { c: t, f: n });
127
127
  }),
@@ -134,14 +134,14 @@ const Ce = typeof window != "undefined" ? window : typeof globalThis != "undefin
134
134
  // @ts-ignore Node typings have this
135
135
  global
136
136
  );
137
- function E(t, e) {
137
+ function M(t, e) {
138
138
  t.appendChild(e);
139
139
  }
140
- function Jt(t, e, n) {
141
- const s = dt(t);
142
- if (!s.getElementById(e)) {
143
- const o = k("style");
144
- o.id = e, o.textContent = n, At(s, o);
140
+ function Ut(t, e, n) {
141
+ const i = dt(t);
142
+ if (!i.getElementById(e)) {
143
+ const o = L("style");
144
+ o.id = e, o.textContent = n, St(i, o);
145
145
  }
146
146
  }
147
147
  function dt(t) {
@@ -154,12 +154,12 @@ function dt(t) {
154
154
  e
155
155
  ) : t.ownerDocument;
156
156
  }
157
- function Vt(t) {
158
- const e = k("style");
159
- return e.textContent = "/* empty */", At(dt(t), e), e.sheet;
157
+ function Jt(t) {
158
+ const e = L("style");
159
+ return e.textContent = "/* empty */", St(dt(t), e), e.sheet;
160
160
  }
161
- function At(t, e) {
162
- return E(
161
+ function St(t, e) {
162
+ return M(
163
163
  /** @type {Document} */
164
164
  t.head || t,
165
165
  e
@@ -175,25 +175,25 @@ function xe(t, e) {
175
175
  for (let n = 0; n < t.length; n += 1)
176
176
  t[n] && t[n].d(e);
177
177
  }
178
- function k(t) {
178
+ function L(t) {
179
179
  return document.createElement(t);
180
180
  }
181
- function Ct(t) {
181
+ function wt(t) {
182
182
  return document.createElementNS("http://www.w3.org/2000/svg", t);
183
183
  }
184
- function Nt(t) {
184
+ function At(t) {
185
185
  return document.createTextNode(t);
186
186
  }
187
- function it() {
188
- return Nt(" ");
187
+ function st() {
188
+ return At(" ");
189
189
  }
190
190
  function ve() {
191
- return Nt("");
191
+ return At("");
192
192
  }
193
- function X(t, e, n, s) {
194
- return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
193
+ function X(t, e, n, i) {
194
+ return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
195
195
  }
196
- function Ee(t) {
196
+ function Me(t) {
197
197
  return function(e) {
198
198
  return e.preventDefault(), t.call(this, e);
199
199
  };
@@ -201,28 +201,28 @@ function Ee(t) {
201
201
  function y(t, e, n) {
202
202
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
203
203
  }
204
- function Me(t, e, n) {
205
- const s = e.toLowerCase();
206
- s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : y(t, e, n);
204
+ function Ee(t, e, n) {
205
+ const i = e.toLowerCase();
206
+ 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);
207
207
  }
208
- function ke(t) {
208
+ function Le(t) {
209
209
  return t === "" ? null : +t;
210
210
  }
211
- function Gt(t) {
211
+ function Vt(t) {
212
212
  return Array.from(t.childNodes);
213
213
  }
214
- function Le(t, e) {
214
+ function ke(t, e) {
215
215
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
216
216
  e);
217
217
  }
218
218
  function je(t, e) {
219
219
  t.value = e == null ? "" : e;
220
220
  }
221
- function Oe(t, e, n, s) {
221
+ function Oe(t, e, n, i) {
222
222
  n == null ? t.style.removeProperty(e) : t.style.setProperty(e, n, "");
223
223
  }
224
224
  let V;
225
- function Kt() {
225
+ function Gt() {
226
226
  if (V === void 0) {
227
227
  V = !1;
228
228
  try {
@@ -235,31 +235,31 @@ function Kt() {
235
235
  }
236
236
  function Se(t, e) {
237
237
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
238
- const s = k("iframe");
239
- s.setAttribute(
238
+ const i = L("iframe");
239
+ i.setAttribute(
240
240
  "style",
241
241
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
242
- ), s.setAttribute("aria-hidden", "true"), s.tabIndex = -1;
243
- const o = Kt();
244
- let i;
245
- return o ? (s.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", i = X(
242
+ ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
243
+ const o = Gt();
244
+ let s;
245
+ return o ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = X(
246
246
  window,
247
247
  "message",
248
248
  /** @param {MessageEvent} event */
249
249
  (l) => {
250
- l.source === s.contentWindow && e();
250
+ l.source === i.contentWindow && e();
251
251
  }
252
- )) : (s.src = "about:blank", s.onload = () => {
253
- i = X(s.contentWindow, "resize", e), e();
254
- }), E(t, s), () => {
255
- (o || i && s.contentWindow) && i(), B(s);
252
+ )) : (i.src = "about:blank", i.onload = () => {
253
+ s = X(i.contentWindow, "resize", e), e();
254
+ }), M(t, i), () => {
255
+ (o || s && i.contentWindow) && s(), B(i);
256
256
  };
257
257
  }
258
258
  function Ae(t, e, n) {
259
259
  t.classList.toggle(e, !!n);
260
260
  }
261
- function Pt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
262
- return new CustomEvent(t, { detail: e, bubbles: n, cancelable: s });
261
+ function Kt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
262
+ return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
263
263
  }
264
264
  function Qt(t) {
265
265
  const e = {};
@@ -270,168 +270,150 @@ function Qt(t) {
270
270
  }
271
271
  ), e;
272
272
  }
273
- const Y = /* @__PURE__ */ new Map();
274
- let Z = 0;
273
+ const Z = /* @__PURE__ */ new Map();
274
+ let Y = 0;
275
275
  function Xt(t) {
276
276
  let e = 5381, n = t.length;
277
277
  for (; n--; )
278
278
  e = (e << 5) - e ^ t.charCodeAt(n);
279
279
  return e >>> 0;
280
280
  }
281
- function Yt(t, e) {
282
- const n = { stylesheet: Vt(e), rules: {} };
283
- return Y.set(t, n), n;
281
+ function Zt(t, e) {
282
+ const n = { stylesheet: Jt(e), rules: {} };
283
+ return Z.set(t, n), n;
284
284
  }
285
- function tt(t, e, n, s, o, i, l, r = 0) {
286
- const a = 16.666 / s;
285
+ function tt(t, e, n, i, o, s, l, r = 0) {
286
+ const a = 16.666 / i;
287
287
  let c = `{
288
288
  `;
289
289
  for (let p = 0; p <= 1; p += a) {
290
- const m = e + (n - e) * i(p);
290
+ const m = e + (n - e) * s(p);
291
291
  c += p * 100 + `%{${l(m, 1 - m)}}
292
292
  `;
293
293
  }
294
294
  const _ = c + `100% {${l(n, 1 - n)}}
295
- }`, $ = `__svelte_${Xt(_)}_${r}`, g = dt(t), { stylesheet: u, rules: d } = Y.get(g) || Yt(g, t);
295
+ }`, $ = `__svelte_${Xt(_)}_${r}`, g = dt(t), { stylesheet: u, rules: d } = Z.get(g) || Zt(g, t);
296
296
  d[$] || (d[$] = !0, u.insertRule(`@keyframes ${$} ${_}`, u.cssRules.length));
297
297
  const h = t.style.animation || "";
298
- return t.style.animation = `${h ? `${h}, ` : ""}${$} ${s}ms linear ${o}ms 1 both`, Z += 1, $;
298
+ return t.style.animation = `${h ? `${h}, ` : ""}${$} ${i}ms linear ${o}ms 1 both`, Y += 1, $;
299
299
  }
300
300
  function et(t, e) {
301
- const n = (t.style.animation || "").split(", "), s = n.filter(
302
- e ? (i) => i.indexOf(e) < 0 : (i) => i.indexOf("__svelte") === -1
301
+ const n = (t.style.animation || "").split(", "), i = n.filter(
302
+ e ? (s) => s.indexOf(e) < 0 : (s) => s.indexOf("__svelte") === -1
303
303
  // remove all Svelte animations
304
- ), o = n.length - s.length;
305
- o && (t.style.animation = s.join(", "), Z -= o, Z || Zt());
304
+ ), o = n.length - i.length;
305
+ o && (t.style.animation = i.join(", "), Y -= o, Y || Yt());
306
306
  }
307
- function Zt() {
307
+ function Yt() {
308
308
  ut(() => {
309
- Z || (Y.forEach((t) => {
309
+ Y || (Z.forEach((t) => {
310
310
  const { ownerNode: e } = t.stylesheet;
311
311
  e && B(e);
312
- }), Y.clear());
312
+ }), Z.clear());
313
313
  });
314
314
  }
315
- let W;
316
- function D(t) {
317
- W = t;
315
+ let D;
316
+ function W(t) {
317
+ D = t;
318
318
  }
319
- function $t() {
320
- if (!W)
319
+ function Nt() {
320
+ if (!D)
321
321
  throw new Error("Function called outside component initialization");
322
- return W;
322
+ return D;
323
323
  }
324
324
  function Ne(t) {
325
- $t().$$.on_mount.push(t);
326
- }
327
- function Pe(t) {
328
- $t().$$.on_destroy.push(t);
329
- }
330
- function ze() {
331
- const t = $t();
332
- return (e, n, { cancelable: s = !1 } = {}) => {
333
- const o = t.$$.callbacks[e];
334
- if (o) {
335
- const i = Pt(
336
- /** @type {string} */
337
- e,
338
- n,
339
- { cancelable: s }
340
- );
341
- return o.slice().forEach((l) => {
342
- l.call(t, i);
343
- }), !i.defaultPrevented;
344
- }
345
- return !0;
346
- };
325
+ Nt().$$.on_mount.push(t);
326
+ }
327
+ function ze(t) {
328
+ Nt().$$.on_destroy.push(t);
347
329
  }
348
330
  const A = [], rt = [];
349
- let P = [];
350
- const xt = [], te = /* @__PURE__ */ Promise.resolve();
331
+ let z = [];
332
+ const Ct = [], te = /* @__PURE__ */ Promise.resolve();
351
333
  let lt = !1;
352
334
  function ee() {
353
335
  lt || (lt = !0, te.then(nt));
354
336
  }
355
- function z(t) {
356
- P.push(t);
337
+ function P(t) {
338
+ z.push(t);
357
339
  }
358
340
  const ot = /* @__PURE__ */ new Set();
359
341
  let S = 0;
360
342
  function nt() {
361
343
  if (S !== 0)
362
344
  return;
363
- const t = W;
345
+ const t = D;
364
346
  do {
365
347
  try {
366
348
  for (; S < A.length; ) {
367
349
  const e = A[S];
368
- S++, D(e), ne(e.$$);
350
+ S++, W(e), ne(e.$$);
369
351
  }
370
352
  } catch (e) {
371
353
  throw A.length = 0, S = 0, e;
372
354
  }
373
- for (D(null), A.length = 0, S = 0; rt.length; )
355
+ for (W(null), A.length = 0, S = 0; rt.length; )
374
356
  rt.pop()();
375
- for (let e = 0; e < P.length; e += 1) {
376
- const n = P[e];
357
+ for (let e = 0; e < z.length; e += 1) {
358
+ const n = z[e];
377
359
  ot.has(n) || (ot.add(n), n());
378
360
  }
379
- P.length = 0;
361
+ z.length = 0;
380
362
  } while (A.length);
381
- for (; xt.length; )
382
- xt.pop()();
383
- lt = !1, ot.clear(), D(t);
363
+ for (; Ct.length; )
364
+ Ct.pop()();
365
+ lt = !1, ot.clear(), W(t);
384
366
  }
385
367
  function ne(t) {
386
368
  if (t.fragment !== null) {
387
369
  t.update(), j(t.before_update);
388
370
  const e = t.dirty;
389
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(z);
371
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(P);
390
372
  }
391
373
  }
392
- function se(t) {
374
+ function ie(t) {
393
375
  const e = [], n = [];
394
- P.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), P = e;
376
+ z.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), z = e;
395
377
  }
396
378
  let T;
397
- function _t() {
379
+ function $t() {
398
380
  return T || (T = Promise.resolve(), T.then(() => {
399
381
  T = null;
400
382
  })), T;
401
383
  }
402
384
  function O(t, e, n) {
403
- t.dispatchEvent(Pt(`${e ? "intro" : "outro"}${n}`));
385
+ t.dispatchEvent(Kt(`${e ? "intro" : "outro"}${n}`));
404
386
  }
405
387
  const K = /* @__PURE__ */ new Set();
406
- let M;
407
- function Be() {
408
- M = {
388
+ let E;
389
+ function Pe() {
390
+ E = {
409
391
  r: 0,
410
392
  c: [],
411
- p: M
393
+ p: E
412
394
  // parent group
413
395
  };
414
396
  }
415
- function Te() {
416
- M.r || j(M.c), M = M.p;
397
+ function Be() {
398
+ E.r || j(E.c), E = E.p;
417
399
  }
418
400
  function R(t, e) {
419
401
  t && t.i && (K.delete(t), t.i(e));
420
402
  }
421
- function G(t, e, n, s) {
403
+ function G(t, e, n, i) {
422
404
  if (t && t.o) {
423
405
  if (K.has(t))
424
406
  return;
425
- K.add(t), M.c.push(() => {
426
- K.delete(t), s && (n && t.d(1), s());
407
+ K.add(t), E.c.push(() => {
408
+ K.delete(t), i && (n && t.d(1), i());
427
409
  }), t.o(e);
428
410
  } else
429
- s && s();
411
+ i && i();
430
412
  }
431
- const mt = { duration: 0 };
432
- function Re(t, e, n) {
433
- const s = { direction: "in" };
434
- let o = e(t, n, s), i = !1, l, r, a = 0;
413
+ const _t = { duration: 0 };
414
+ function Te(t, e, n) {
415
+ const i = { direction: "in" };
416
+ let o = e(t, n, i), s = !1, l, r, a = 0;
435
417
  function c() {
436
418
  l && et(t, l);
437
419
  }
@@ -440,40 +422,40 @@ function Re(t, e, n) {
440
422
  delay: g = 0,
441
423
  duration: u = 300,
442
424
  easing: d = ct,
443
- tick: h = L,
425
+ tick: h = k,
444
426
  css: p
445
- } = o || mt;
427
+ } = o || _t;
446
428
  p && (l = tt(t, 0, 1, u, g, d, p, a++)), h(0, 1);
447
429
  const m = at() + g, w = m + u;
448
- r && r.abort(), i = !0, z(() => O(t, !0, "start")), r = ft((C) => {
449
- if (i) {
430
+ r && r.abort(), s = !0, P(() => O(t, !0, "start")), r = ft((C) => {
431
+ if (s) {
450
432
  if (C >= w)
451
- return h(1, 0), O(t, !0, "end"), c(), i = !1;
433
+ return h(1, 0), O(t, !0, "end"), c(), s = !1;
452
434
  if (C >= m) {
453
435
  const b = d((C - m) / u);
454
436
  h(b, 1 - b);
455
437
  }
456
438
  }
457
- return i;
439
+ return s;
458
440
  });
459
441
  }
460
442
  let $ = !1;
461
443
  return {
462
444
  start() {
463
- $ || ($ = !0, et(t), H(o) ? (o = o(s), _t().then(_)) : _());
445
+ $ || ($ = !0, et(t), H(o) ? (o = o(i), $t().then(_)) : _());
464
446
  },
465
447
  invalidate() {
466
448
  $ = !1;
467
449
  },
468
450
  end() {
469
- i && (c(), i = !1);
451
+ s && (c(), s = !1);
470
452
  }
471
453
  };
472
454
  }
473
- function De(t, e, n) {
474
- const s = { direction: "out" };
475
- let o = e(t, n, s), i = !0, l;
476
- const r = M;
455
+ function Re(t, e, n) {
456
+ const i = { direction: "out" };
457
+ let o = e(t, n, i), s = !0, l;
458
+ const r = E;
477
459
  r.r += 1;
478
460
  let a;
479
461
  function c() {
@@ -481,14 +463,14 @@ function De(t, e, n) {
481
463
  delay: _ = 0,
482
464
  duration: $ = 300,
483
465
  easing: g = ct,
484
- tick: u = L,
466
+ tick: u = k,
485
467
  css: d
486
- } = o || mt;
468
+ } = o || _t;
487
469
  d && (l = tt(t, 1, 0, $, _, g, d));
488
470
  const h = at() + _, p = h + $;
489
- z(() => O(t, !1, "start")), "inert" in t && (a = /** @type {HTMLElement} */
471
+ P(() => O(t, !1, "start")), "inert" in t && (a = /** @type {HTMLElement} */
490
472
  t.inert, t.inert = !0), ft((m) => {
491
- if (i) {
473
+ if (s) {
492
474
  if (m >= p)
493
475
  return u(0, 1), O(t, !1, "end"), --r.r || j(r.c), !1;
494
476
  if (m >= h) {
@@ -496,19 +478,19 @@ function De(t, e, n) {
496
478
  u(1 - w, w);
497
479
  }
498
480
  }
499
- return i;
481
+ return s;
500
482
  });
501
483
  }
502
- return H(o) ? _t().then(() => {
503
- o = o(s), c();
484
+ return H(o) ? $t().then(() => {
485
+ o = o(i), c();
504
486
  }) : c(), {
505
487
  end(_) {
506
- _ && "inert" in t && (t.inert = a), _ && o.tick && o.tick(1, 0), i && (l && et(t, l), i = !1);
488
+ _ && "inert" in t && (t.inert = a), _ && o.tick && o.tick(1, 0), s && (l && et(t, l), s = !1);
507
489
  }
508
490
  };
509
491
  }
510
- function We(t, e, n, s) {
511
- let i = e(t, n, { direction: "both" }), l = s ? 0 : 1, r = null, a = null, c = null, _;
492
+ function We(t, e, n, i) {
493
+ let s = e(t, n, { direction: "both" }), l = i ? 0 : 1, r = null, a = null, c = null, _;
512
494
  function $() {
513
495
  c && et(t, c);
514
496
  }
@@ -532,14 +514,14 @@ function We(t, e, n, s) {
532
514
  delay: h = 0,
533
515
  duration: p = 300,
534
516
  easing: m = ct,
535
- tick: w = L,
517
+ tick: w = k,
536
518
  css: C
537
- } = i || mt, b = {
519
+ } = s || _t, b = {
538
520
  start: at() + h,
539
521
  b: d
540
522
  };
541
- d || (b.group = M, M.r += 1), "inert" in t && (d ? _ !== void 0 && (t.inert = _) : (_ = /** @type {HTMLElement} */
542
- t.inert, t.inert = !0)), r || a ? a = b : (C && ($(), c = tt(t, l, d, p, h, m, C)), d && w(0, 1), r = g(b, p), z(() => O(t, d, "start")), ft((f) => {
523
+ d || (b.group = E, E.r += 1), "inert" in t && (d ? _ !== void 0 && (t.inert = _) : (_ = /** @type {HTMLElement} */
524
+ t.inert, t.inert = !0)), r || a ? a = b : (C && ($(), c = tt(t, l, d, p, h, m, C)), d && w(0, 1), r = g(b, p), P(() => O(t, d, "start")), ft((f) => {
543
525
  if (a && f > a.start && (r = g(a, p), a = null, O(t, r.b, "start"), C && ($(), c = tt(
544
526
  t,
545
527
  l,
@@ -547,7 +529,7 @@ function We(t, e, n, s) {
547
529
  r.duration,
548
530
  0,
549
531
  m,
550
- i.css
532
+ s.css
551
533
  ))), r) {
552
534
  if (f >= r.end)
553
535
  w(l = r.b, 1 - l), O(t, r.b, "end"), a || (r.b ? $() : --r.group.r || j(r.group.c)), r = null;
@@ -561,8 +543,8 @@ function We(t, e, n, s) {
561
543
  }
562
544
  return {
563
545
  run(d) {
564
- H(i) ? _t().then(() => {
565
- i = i({ direction: d ? "in" : "out" }), u(d);
546
+ H(s) ? $t().then(() => {
547
+ s = s({ direction: d ? "in" : "out" }), u(d);
566
548
  }) : u(d);
567
549
  },
568
550
  end() {
@@ -570,34 +552,34 @@ function We(t, e, n, s) {
570
552
  }
571
553
  };
572
554
  }
573
- function He(t) {
555
+ function De(t) {
574
556
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
575
557
  }
576
- function ie(t, e, n) {
577
- const { fragment: s, after_update: o } = t.$$;
578
- s && s.m(e, n), z(() => {
579
- const i = t.$$.on_mount.map(Lt).filter(H);
580
- t.$$.on_destroy ? t.$$.on_destroy.push(...i) : j(i), t.$$.on_mount = [];
581
- }), o.forEach(z);
558
+ function se(t, e, n) {
559
+ const { fragment: i, after_update: o } = t.$$;
560
+ i && i.m(e, n), P(() => {
561
+ const s = t.$$.on_mount.map(Lt).filter(H);
562
+ t.$$.on_destroy ? t.$$.on_destroy.push(...s) : j(s), t.$$.on_mount = [];
563
+ }), o.forEach(P);
582
564
  }
583
565
  function oe(t, e) {
584
566
  const n = t.$$;
585
- n.fragment !== null && (se(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
567
+ n.fragment !== null && (ie(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
586
568
  }
587
569
  function re(t, e) {
588
570
  t.$$.dirty[0] === -1 && (A.push(t), ee(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
589
571
  }
590
- function le(t, e, n, s, o, i, l = null, r = [-1]) {
591
- const a = W;
592
- D(t);
572
+ function le(t, e, n, i, o, s, l = null, r = [-1]) {
573
+ const a = D;
574
+ W(t);
593
575
  const c = t.$$ = {
594
576
  fragment: null,
595
577
  ctx: [],
596
578
  // state
597
- props: i,
598
- update: L,
579
+ props: s,
580
+ update: k,
599
581
  not_equal: o,
600
- bound: wt(),
582
+ bound: bt(),
601
583
  // lifecycle
602
584
  on_mount: [],
603
585
  on_destroy: [],
@@ -606,7 +588,7 @@ function le(t, e, n, s, o, i, l = null, r = [-1]) {
606
588
  after_update: [],
607
589
  context: new Map(e.context || (a ? a.$$.context : [])),
608
590
  // everything else
609
- callbacks: wt(),
591
+ callbacks: bt(),
610
592
  dirty: r,
611
593
  skip_bound: !1,
612
594
  root: e.target || a.$$.root
@@ -616,19 +598,19 @@ function le(t, e, n, s, o, i, l = null, r = [-1]) {
616
598
  if (c.ctx = n ? n(t, e.props || {}, ($, g, ...u) => {
617
599
  const d = u.length ? u[0] : g;
618
600
  return c.ctx && o(c.ctx[$], c.ctx[$] = d) && (!c.skip_bound && c.bound[$] && c.bound[$](d), _ && re(t, $)), g;
619
- }) : [], c.update(), _ = !0, j(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
601
+ }) : [], c.update(), _ = !0, j(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
620
602
  if (e.hydrate) {
621
- const $ = Gt(e.target);
603
+ const $ = Vt(e.target);
622
604
  c.fragment && c.fragment.l($), $.forEach(B);
623
605
  } else
624
606
  c.fragment && c.fragment.c();
625
- e.intro && R(t.$$.fragment), ie(t, e.target, e.anchor), nt();
607
+ e.intro && R(t.$$.fragment), se(t, e.target, e.anchor), nt();
626
608
  }
627
- D(a);
609
+ W(a);
628
610
  }
629
611
  let zt;
630
612
  typeof HTMLElement == "function" && (zt = class extends HTMLElement {
631
- constructor(e, n, s) {
613
+ constructor(e, n, i) {
632
614
  super();
633
615
  /** The Svelte component constructor */
634
616
  v(this, "$$ctor");
@@ -648,30 +630,30 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
648
630
  v(this, "$$l", {});
649
631
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
650
632
  v(this, "$$l_u", /* @__PURE__ */ new Map());
651
- this.$$ctor = e, this.$$s = n, s && this.attachShadow({ mode: "open" });
633
+ this.$$ctor = e, this.$$s = n, i && this.attachShadow({ mode: "open" });
652
634
  }
653
- addEventListener(e, n, s) {
635
+ addEventListener(e, n, i) {
654
636
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(n), this.$$c) {
655
637
  const o = this.$$c.$on(e, n);
656
638
  this.$$l_u.set(n, o);
657
639
  }
658
- super.addEventListener(e, n, s);
640
+ super.addEventListener(e, n, i);
659
641
  }
660
- removeEventListener(e, n, s) {
661
- if (super.removeEventListener(e, n, s), this.$$c) {
642
+ removeEventListener(e, n, i) {
643
+ if (super.removeEventListener(e, n, i), this.$$c) {
662
644
  const o = this.$$l_u.get(n);
663
645
  o && (o(), this.$$l_u.delete(n));
664
646
  }
665
647
  }
666
648
  connectedCallback() {
667
- return bt(this, null, function* () {
649
+ return yt(this, null, function* () {
668
650
  if (this.$$cn = !0, !this.$$c) {
669
- let e = function(i) {
651
+ let e = function(s) {
670
652
  return () => {
671
653
  let l;
672
654
  return {
673
655
  c: function() {
674
- l = k("slot"), i !== "default" && y(l, "name", i);
656
+ l = L("slot"), s !== "default" && y(l, "name", s);
675
657
  },
676
658
  /**
677
659
  * @param {HTMLElement} target
@@ -688,18 +670,18 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
688
670
  };
689
671
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
690
672
  return;
691
- const n = {}, s = Qt(this);
692
- for (const i of this.$$s)
693
- i in s && (n[i] = [e(i)]);
694
- for (const i of this.attributes) {
695
- const l = this.$$g_p(i.name);
696
- l in this.$$d || (this.$$d[l] = Q(l, i.value, this.$$p_d, "toProp"));
673
+ const n = {}, i = Qt(this);
674
+ for (const s of this.$$s)
675
+ s in i && (n[s] = [e(s)]);
676
+ for (const s of this.attributes) {
677
+ const l = this.$$g_p(s.name);
678
+ l in this.$$d || (this.$$d[l] = Q(l, s.value, this.$$p_d, "toProp"));
697
679
  }
698
- for (const i in this.$$p_d)
699
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
680
+ for (const s in this.$$p_d)
681
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
700
682
  this.$$c = new this.$$ctor({
701
683
  target: this.shadowRoot || this,
702
- props: yt(pt({}, this.$$d), {
684
+ props: pt(gt({}, this.$$d), {
703
685
  $$slots: n,
704
686
  $$scope: {
705
687
  ctx: []
@@ -708,22 +690,22 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
708
690
  });
709
691
  const o = () => {
710
692
  this.$$r = !0;
711
- for (const i in this.$$p_d)
712
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
693
+ for (const s in this.$$p_d)
694
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
713
695
  const l = Q(
714
- i,
715
- this.$$d[i],
696
+ s,
697
+ this.$$d[s],
716
698
  this.$$p_d,
717
699
  "toAttribute"
718
700
  );
719
- l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
701
+ l == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, l);
720
702
  }
721
703
  this.$$r = !1;
722
704
  };
723
705
  this.$$c.$$.after_update.push(o), o();
724
- for (const i in this.$$l)
725
- for (const l of this.$$l[i]) {
726
- const r = this.$$c.$on(i, l);
706
+ for (const s in this.$$l)
707
+ for (const l of this.$$l[s]) {
708
+ const r = this.$$c.$on(s, l);
727
709
  this.$$l_u.set(l, r);
728
710
  }
729
711
  this.$$l = {};
@@ -732,9 +714,9 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
732
714
  }
733
715
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
734
716
  // and setting attributes through setAttribute etc, this is helpful
735
- attributeChangedCallback(e, n, s) {
717
+ attributeChangedCallback(e, n, i) {
736
718
  var o;
737
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Q(e, s, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [e]: this.$$d[e] }));
719
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Q(e, i, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [e]: this.$$d[e] }));
738
720
  }
739
721
  disconnectedCallback() {
740
722
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -747,12 +729,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
747
729
  ) || e;
748
730
  }
749
731
  });
750
- function Q(t, e, n, s) {
751
- var i;
752
- const o = (i = n[t]) == null ? void 0 : i.type;
753
- if (e = o === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
732
+ function Q(t, e, n, i) {
733
+ var s;
734
+ const o = (s = n[t]) == null ? void 0 : s.type;
735
+ if (e = o === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
754
736
  return e;
755
- if (s === "toAttribute")
737
+ if (i === "toAttribute")
756
738
  switch (o) {
757
739
  case "Object":
758
740
  case "Array":
@@ -777,7 +759,7 @@ function Q(t, e, n, s) {
777
759
  return e;
778
760
  }
779
761
  }
780
- function ce(t, e, n, s, o, i) {
762
+ function ce(t, e, n, i, o, s) {
781
763
  let l = class extends zt {
782
764
  constructor() {
783
765
  super(t, n, o), this.$$p_d = e;
@@ -798,7 +780,7 @@ function ce(t, e, n, s, o, i) {
798
780
  a = Q(r, a, e), this.$$d[r] = a, (c = this.$$c) == null || c.$set({ [r]: a });
799
781
  }
800
782
  });
801
- }), s.forEach((r) => {
783
+ }), i.forEach((r) => {
802
784
  Object.defineProperty(l.prototype, r, {
803
785
  get() {
804
786
  var a;
@@ -829,7 +811,7 @@ class ae {
829
811
  }
830
812
  /** @returns {void} */
831
813
  $destroy() {
832
- oe(this, 1), this.$destroy = L;
814
+ oe(this, 1), this.$destroy = k;
833
815
  }
834
816
  /**
835
817
  * @template {Extract<keyof Events, string>} K
@@ -839,11 +821,11 @@ class ae {
839
821
  */
840
822
  $on(e, n) {
841
823
  if (!H(n))
842
- return L;
843
- const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
844
- return s.push(n), () => {
845
- const o = s.indexOf(n);
846
- o !== -1 && s.splice(o, 1);
824
+ return k;
825
+ const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
826
+ return i.push(n), () => {
827
+ const o = i.indexOf(n);
828
+ o !== -1 && i.splice(o, 1);
847
829
  };
848
830
  }
849
831
  /**
@@ -851,32 +833,32 @@ class ae {
851
833
  * @returns {void}
852
834
  */
853
835
  $set(e) {
854
- this.$$set && !Ft(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
836
+ this.$$set && !qt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
855
837
  }
856
838
  }
857
839
  const ue = "4";
858
840
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ue);
859
841
  function fe(t) {
860
- Jt(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)}}");
842
+ Ut(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)}}");
861
843
  }
862
- const de = (t) => ({}), vt = (t) => ({}), he = (t) => ({}), Et = (t) => ({}), $e = (t) => ({}), Mt = (t) => ({ class: "CashierModalText" }), _e = (t) => ({}), kt = (t) => ({ class: "CashierModalTitle" });
844
+ const de = (t) => ({}), xt = (t) => ({}), he = (t) => ({}), vt = (t) => ({}), $e = (t) => ({}), Mt = (t) => ({ class: "CashierModalText" }), _e = (t) => ({}), Et = (t) => ({ class: "CashierModalTitle" });
863
845
  function me(t) {
864
846
  let e, n;
865
847
  return {
866
848
  c() {
867
- e = Ct("svg"), n = Ct("path"), y(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"), y(n, "fill", "#111111"), y(e, "xmlns", "http://www.w3.org/2000/svg"), y(e, "width", "13"), y(e, "height", "20"), y(e, "viewBox", "0 0 13 13"), y(e, "fill", "none");
849
+ e = wt("svg"), n = wt("path"), y(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"), y(n, "fill", "#111111"), y(e, "xmlns", "http://www.w3.org/2000/svg"), y(e, "width", "13"), y(e, "height", "20"), y(e, "viewBox", "0 0 13 13"), y(e, "fill", "none");
868
850
  },
869
- m(s, o) {
870
- ht(s, e, o), E(e, n);
851
+ m(i, o) {
852
+ ht(i, e, o), M(e, n);
871
853
  },
872
- p: L,
873
- d(s) {
874
- s && B(e);
854
+ p: k,
855
+ d(i) {
856
+ i && B(e);
875
857
  }
876
858
  };
877
859
  }
878
860
  function ge(t) {
879
- let e, n, s, o, i, l, r, a, c, _, $;
861
+ let e, n, i, o, s, l, r, a, c, _, $;
880
862
  const g = (
881
863
  /*#slots*/
882
864
  t[6].title
@@ -885,7 +867,7 @@ function ge(t) {
885
867
  t,
886
868
  /*$$scope*/
887
869
  t[5],
888
- kt
870
+ Et
889
871
  ), d = (
890
872
  /*#slots*/
891
873
  t[6].text
@@ -903,7 +885,7 @@ function ge(t) {
903
885
  t,
904
886
  /*$$scope*/
905
887
  t[5],
906
- Et
888
+ vt
907
889
  ), w = (
908
890
  /*#slots*/
909
891
  t[6].close
@@ -912,14 +894,14 @@ function ge(t) {
912
894
  t,
913
895
  /*$$scope*/
914
896
  t[5],
915
- vt
897
+ xt
916
898
  ), b = C || me();
917
899
  return {
918
900
  c() {
919
- e = k("div"), n = k("div"), s = k("div"), u && u.c(), o = it(), h && h.c(), i = it(), l = k("span"), m && m.c(), r = it(), a = k("span"), b && b.c(), y(l, "class", "ModalOkBtn"), y(l, "role", "button"), y(a, "class", "ModalCloseBtn"), y(a, "role", "button"), y(s, "class", "CashierModalContainer"), y(s, "part", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "part", "CashierModalWindow"), y(n, "id", "Modal"), y(e, "part", "CustomStylingContainer");
901
+ e = L("div"), n = L("div"), i = L("div"), u && u.c(), o = st(), h && h.c(), s = st(), l = L("span"), m && m.c(), r = st(), a = L("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(i, "part", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "part", "CashierModalWindow"), y(n, "id", "Modal"), y(e, "part", "CustomStylingContainer");
920
902
  },
921
903
  m(f, x) {
922
- ht(f, e, x), E(e, n), E(n, s), u && u.m(s, null), E(s, o), h && h.m(s, null), E(s, i), E(s, l), m && m.m(l, null), E(s, r), E(s, a), b && b.m(a, null), t[7](e), c = !0, _ || ($ = [
904
+ ht(f, e, x), M(e, n), M(n, i), u && u.m(i, null), M(i, o), h && h.m(i, null), M(i, s), M(i, l), m && m.m(l, null), M(i, r), M(i, a), b && b.m(a, null), t[7](e), c = !0, _ || ($ = [
923
905
  X(
924
906
  l,
925
907
  "click",
@@ -952,7 +934,7 @@ function ge(t) {
952
934
  /*$$scope*/
953
935
  f[5]
954
936
  ),
955
- kt
937
+ Et
956
938
  ), h && h.p && (!c || x & /*$$scope*/
957
939
  32) && U(
958
940
  h,
@@ -988,7 +970,7 @@ function ge(t) {
988
970
  /*$$scope*/
989
971
  f[5]
990
972
  ),
991
- Et
973
+ vt
992
974
  ), C && C.p && (!c || x & /*$$scope*/
993
975
  32) && U(
994
976
  C,
@@ -1006,7 +988,7 @@ function ge(t) {
1006
988
  /*$$scope*/
1007
989
  f[5]
1008
990
  ),
1009
- vt
991
+ xt
1010
992
  );
1011
993
  },
1012
994
  i(f) {
@@ -1021,14 +1003,14 @@ function ge(t) {
1021
1003
  };
1022
1004
  }
1023
1005
  function pe(t, e, n) {
1024
- let { $$slots: s = {}, $$scope: o } = e, { clientstyling: i = "" } = e, { clientstylingurl: l = "" } = e, r;
1006
+ let { $$slots: i = {}, $$scope: o } = e, { clientstyling: s = "" } = e, { clientstylingurl: l = "" } = e, r;
1025
1007
  const a = () => {
1026
1008
  window.postMessage({ type: "CloseModal" }, window.location.href);
1027
1009
  }, c = () => {
1028
1010
  window.postMessage({ type: "ConfirmModal" }, window.location.href), a();
1029
1011
  }, _ = () => {
1030
1012
  let u = document.createElement("style");
1031
- u.innerHTML = i, r.appendChild(u);
1013
+ u.innerHTML = s, r.appendChild(u);
1032
1014
  }, $ = () => {
1033
1015
  let u = new URL(l), d = document.createElement("style");
1034
1016
  fetch(u.href).then((h) => h.text()).then((h) => {
@@ -1046,25 +1028,25 @@ function pe(t, e, n) {
1046
1028
  });
1047
1029
  }
1048
1030
  return t.$$set = (u) => {
1049
- "clientstyling" in u && n(3, i = u.clientstyling), "clientstylingurl" in u && n(4, l = u.clientstylingurl), "$$scope" in u && n(5, o = u.$$scope);
1031
+ "clientstyling" in u && n(3, s = u.clientstyling), "clientstylingurl" in u && n(4, l = u.clientstylingurl), "$$scope" in u && n(5, o = u.$$scope);
1050
1032
  }, t.$$.update = () => {
1051
1033
  t.$$.dirty & /*clientstyling, customStylingContainer*/
1052
- 9 && i && r && _(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1034
+ 9 && s && r && _(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1053
1035
  17 && l && r && $();
1054
1036
  }, [
1055
1037
  r,
1056
1038
  a,
1057
1039
  c,
1058
- i,
1040
+ s,
1059
1041
  l,
1060
1042
  o,
1061
- s,
1043
+ i,
1062
1044
  g
1063
1045
  ];
1064
1046
  }
1065
- class Bt extends ae {
1047
+ class Pt extends ae {
1066
1048
  constructor(e) {
1067
- super(), le(this, e, pe, ge, qt, { clientstyling: 3, clientstylingurl: 4 }, fe);
1049
+ super(), le(this, e, pe, ge, It, { clientstyling: 3, clientstylingurl: 4 }, fe);
1068
1050
  }
1069
1051
  get clientstyling() {
1070
1052
  return this.$$.ctx[3];
@@ -1079,40 +1061,39 @@ class Bt extends ae {
1079
1061
  this.$$set({ clientstylingurl: e }), nt();
1080
1062
  }
1081
1063
  }
1082
- ce(Bt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1083
- const Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1064
+ ce(Pt, { clientstyling: {}, clientstylingurl: {} }, ["title", "text", "confirm", "close"], [], !0);
1065
+ const He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1084
1066
  __proto__: null,
1085
- default: Bt
1067
+ default: Pt
1086
1068
  }, Symbol.toStringTag, { value: "Module" }));
1087
1069
  export {
1088
1070
  rt as A,
1089
1071
  X as B,
1090
1072
  be as C,
1091
- Me as D,
1073
+ Ee as D,
1092
1074
  ce as E,
1093
- z as F,
1075
+ P as F,
1094
1076
  Ce as G,
1095
1077
  Ne as H,
1096
- ke as I,
1078
+ Le as I,
1097
1079
  Ae as J,
1098
- He as K,
1080
+ De as K,
1099
1081
  xe as L,
1100
- Ee as M,
1101
- Ct as N,
1082
+ Me as M,
1083
+ wt as N,
1102
1084
  je as O,
1103
1085
  Oe as P,
1104
- ze as Q,
1105
- ct as R,
1086
+ ct as Q,
1087
+ We as R,
1106
1088
  ae as S,
1107
- We as T,
1108
- Se as U,
1109
- Pe as V,
1110
- De as W,
1111
- Re as X,
1112
- Ie as Y,
1113
- Ut as a,
1089
+ Se as T,
1090
+ ze as U,
1091
+ Re as V,
1092
+ Te as W,
1093
+ He as X,
1094
+ Ft as a,
1114
1095
  le as b,
1115
- Jt as c,
1096
+ Ut as c,
1116
1097
  q as d,
1117
1098
  B as e,
1118
1099
  nt as f,
@@ -1120,20 +1101,20 @@ export {
1120
1101
  J as h,
1121
1102
  H as i,
1122
1103
  F as j,
1123
- Be as k,
1124
- Te as l,
1104
+ Pe as k,
1105
+ Be as l,
1125
1106
  ht as m,
1126
- L as n,
1127
- E as o,
1128
- k as p,
1129
- it as q,
1107
+ k as n,
1108
+ M as o,
1109
+ L as p,
1110
+ st as q,
1130
1111
  j as r,
1131
- qt as s,
1112
+ It as s,
1132
1113
  G as t,
1133
1114
  U as u,
1134
1115
  y as v,
1135
1116
  we as w,
1136
1117
  ve as x,
1137
- Le as y,
1138
- Nt as z
1118
+ ke as y,
1119
+ At as z
1139
1120
  };