@everymatrix/cashier-verifications 1.85.19 → 1.85.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,35 @@
1
- var Lt = Object.defineProperty, vt = Object.defineProperties;
2
- var kt = Object.getOwnPropertyDescriptors;
3
- var K = Object.getOwnPropertySymbols;
4
- var Et = Object.prototype.hasOwnProperty, St = Object.prototype.propertyIsEnumerable;
5
- var D = (e, t, n) => t in e ? Lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Q = (e, t) => {
1
+ var St = Object.defineProperty, Tt = Object.defineProperties;
2
+ var Ot = Object.getOwnPropertyDescriptors;
3
+ var it = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
+ var K = (e, t, n) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, st = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Et.call(t, n) && D(e, n, t[n]);
8
- if (K)
9
- for (var n of K(t))
10
- St.call(t, n) && D(e, n, t[n]);
7
+ jt.call(t, n) && K(e, n, t[n]);
8
+ if (it)
9
+ for (var n of it(t))
10
+ zt.call(t, n) && K(e, n, t[n]);
11
11
  return e;
12
- }, X = (e, t) => vt(e, kt(t));
13
- var $ = (e, t, n) => (D(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var U = (e, t, n) => new Promise((i, s) => {
15
- var o = (u) => {
12
+ }, ot = (e, t) => Tt(e, Ot(t));
13
+ var M = (e, t, n) => (K(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Q = (e, t, n) => new Promise((i, s) => {
15
+ var o = (d) => {
16
16
  try {
17
- c(n.next(u));
17
+ c(n.next(d));
18
18
  } catch (l) {
19
19
  s(l);
20
20
  }
21
- }, r = (u) => {
21
+ }, r = (d) => {
22
22
  try {
23
- c(n.throw(u));
23
+ c(n.throw(d));
24
24
  } catch (l) {
25
25
  s(l);
26
26
  }
27
- }, c = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(o, r);
27
+ }, c = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(o, r);
28
28
  c((n = n.apply(e, t)).next());
29
29
  });
30
- function T() {
30
+ function q() {
31
31
  }
32
- function Ot(e, t) {
32
+ function Ht(e, t) {
33
33
  for (const n in t)
34
34
  e[n] = t[n];
35
35
  return (
@@ -37,46 +37,46 @@ function Ot(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function ct(e) {
40
+ function $t(e) {
41
41
  return e();
42
42
  }
43
- function tt() {
43
+ function rt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function N(e) {
47
- e.forEach(ct);
46
+ function F(e) {
47
+ e.forEach($t);
48
48
  }
49
- function ut(e) {
49
+ function yt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function jt(e, t) {
52
+ function At(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function zt(e) {
55
+ function Bt(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Tt(e, ...t) {
58
+ function It(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
62
- return T;
62
+ return q;
63
63
  }
64
64
  const n = e.subscribe(...t);
65
65
  return n.unsubscribe ? () => n.unsubscribe() : n;
66
66
  }
67
- function he(e, t, n) {
68
- e.$$.on_destroy.push(Tt(t, n));
67
+ function me(e, t, n) {
68
+ e.$$.on_destroy.push(It(t, n));
69
69
  }
70
- function At(e, t, n, i) {
70
+ function lt(e, t, n, i) {
71
71
  if (e) {
72
- const s = at(e, t, n, i);
72
+ const s = bt(e, t, n, i);
73
73
  return e[0](s);
74
74
  }
75
75
  }
76
- function at(e, t, n, i) {
77
- return e[1] && i ? Ot(n.ctx.slice(), e[1](i(t))) : n.ctx;
76
+ function bt(e, t, n, i) {
77
+ return e[1] && i ? Ht(n.ctx.slice(), e[1](i(t))) : n.ctx;
78
78
  }
79
- function Nt(e, t, n, i) {
79
+ function ct(e, t, n, i) {
80
80
  if (e[2] && i) {
81
81
  const s = e[2](i(n));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Nt(e, t, n, i) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Bt(e, t, n, i, s, o) {
94
+ function at(e, t, n, i, s, o) {
95
95
  if (s) {
96
- const r = at(t, n, i, o);
96
+ const r = bt(t, n, i, o);
97
97
  e.p(r, s);
98
98
  }
99
99
  }
100
- function Ht(e) {
100
+ function dt(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], n = e.ctx.length / 32;
103
103
  for (let i = 0; i < n; i++)
@@ -106,13 +106,13 @@ function Ht(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function y(e, t) {
109
+ function b(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function It(e, t, n) {
112
+ function Nt(e, t, n) {
113
113
  const i = Wt(e);
114
114
  if (!i.getElementById(t)) {
115
- const s = w("style");
115
+ const s = C("style");
116
116
  s.id = t, s.textContent = n, Pt(i, s);
117
117
  }
118
118
  }
@@ -127,76 +127,73 @@ function Wt(e) {
127
127
  ) : e.ownerDocument;
128
128
  }
129
129
  function Pt(e, t) {
130
- return y(
130
+ return b(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function B(e, t, n) {
136
+ function Y(e, t, n) {
137
137
  e.insertBefore(t, n || null);
138
138
  }
139
- function L(e) {
139
+ function O(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function me(e, t) {
142
+ function ge(e, t) {
143
143
  for (let n = 0; n < e.length; n += 1)
144
144
  e[n] && e[n].d(t);
145
145
  }
146
- function w(e) {
146
+ function C(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function et(e) {
149
+ function ut(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function dt(e) {
152
+ function Rt(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function nt() {
156
- return dt(" ");
157
- }
158
- function Rt() {
159
- return dt("");
155
+ function D() {
156
+ return Rt(" ");
160
157
  }
161
- function q(e, t, n, i) {
158
+ function et(e, t, n, i) {
162
159
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
163
160
  }
164
- function _(e, t, n) {
161
+ function $(e, t, n) {
165
162
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
166
163
  }
167
- function ge(e, t, n) {
164
+ function pe(e, t, n) {
168
165
  const i = t.toLowerCase();
169
- i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : _(e, t, n);
166
+ i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : $(e, t, n);
170
167
  }
171
168
  function Ft(e) {
172
169
  return Array.from(e.childNodes);
173
170
  }
174
- function pe(e, t) {
171
+ function _e(e, t) {
175
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
173
  t);
177
174
  }
178
- let H;
175
+ let U;
179
176
  function Yt() {
180
- if (H === void 0) {
181
- H = !1;
177
+ if (U === void 0) {
178
+ U = !1;
182
179
  try {
183
180
  typeof window != "undefined" && window.parent && window.parent.document;
184
181
  } catch (e) {
185
- H = !0;
182
+ U = !0;
186
183
  }
187
184
  }
188
- return H;
185
+ return U;
189
186
  }
190
187
  function Dt(e, t) {
191
188
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
192
- const i = w("iframe");
189
+ const i = C("iframe");
193
190
  i.setAttribute(
194
191
  "style",
195
192
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
196
193
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
197
194
  const s = Yt();
198
195
  let o;
199
- return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = q(
196
+ return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = et(
200
197
  window,
201
198
  "message",
202
199
  /** @param {MessageEvent} event */
@@ -204,12 +201,12 @@ function Dt(e, t) {
204
201
  r.source === i.contentWindow && t();
205
202
  }
206
203
  )) : (i.src = "about:blank", i.onload = () => {
207
- o = q(i.contentWindow, "resize", t), t();
208
- }), y(e, i), () => {
209
- (s || o && i.contentWindow) && o(), L(i);
204
+ o = et(i.contentWindow, "resize", t), t();
205
+ }), b(e, i), () => {
206
+ (s || o && i.contentWindow) && o(), O(i);
210
207
  };
211
208
  }
212
- function v(e, t, n) {
209
+ function z(e, t, n) {
213
210
  e.classList.toggle(t, !!n);
214
211
  }
215
212
  function Ut(e) {
@@ -221,91 +218,91 @@ function Ut(e) {
221
218
  }
222
219
  ), t;
223
220
  }
224
- let A;
225
- function j(e) {
226
- A = e;
221
+ let R;
222
+ function P(e) {
223
+ R = e;
227
224
  }
228
225
  function Jt() {
229
- if (!A)
226
+ if (!R)
230
227
  throw new Error("Function called outside component initialization");
231
- return A;
228
+ return R;
232
229
  }
233
230
  function Vt(e) {
234
231
  Jt().$$.on_mount.push(e);
235
232
  }
236
- const E = [], S = [];
237
- let O = [];
238
- const it = [], ft = /* @__PURE__ */ Promise.resolve();
239
- let Z = !1;
240
- function ht() {
241
- Z || (Z = !0, ft.then(b));
233
+ const A = [], B = [];
234
+ let I = [];
235
+ const ft = [], wt = /* @__PURE__ */ Promise.resolve();
236
+ let nt = !1;
237
+ function xt() {
238
+ nt || (nt = !0, wt.then(E));
242
239
  }
243
- function J() {
244
- return ht(), ft;
240
+ function X() {
241
+ return xt(), wt;
245
242
  }
246
- function P(e) {
247
- O.push(e);
243
+ function Z(e) {
244
+ I.push(e);
248
245
  }
249
- const V = /* @__PURE__ */ new Set();
250
- let k = 0;
251
- function b() {
252
- if (k !== 0)
246
+ const tt = /* @__PURE__ */ new Set();
247
+ let H = 0;
248
+ function E() {
249
+ if (H !== 0)
253
250
  return;
254
- const e = A;
251
+ const e = R;
255
252
  do {
256
253
  try {
257
- for (; k < E.length; ) {
258
- const t = E[k];
259
- k++, j(t), qt(t.$$);
254
+ for (; H < A.length; ) {
255
+ const t = A[H];
256
+ H++, P(t), qt(t.$$);
260
257
  }
261
258
  } catch (t) {
262
- throw E.length = 0, k = 0, t;
259
+ throw A.length = 0, H = 0, t;
263
260
  }
264
- for (j(null), E.length = 0, k = 0; S.length; )
265
- S.pop()();
266
- for (let t = 0; t < O.length; t += 1) {
267
- const n = O[t];
268
- V.has(n) || (V.add(n), n());
261
+ for (P(null), A.length = 0, H = 0; B.length; )
262
+ B.pop()();
263
+ for (let t = 0; t < I.length; t += 1) {
264
+ const n = I[t];
265
+ tt.has(n) || (tt.add(n), n());
269
266
  }
270
- O.length = 0;
271
- } while (E.length);
272
- for (; it.length; )
273
- it.pop()();
274
- Z = !1, V.clear(), j(e);
267
+ I.length = 0;
268
+ } while (A.length);
269
+ for (; ft.length; )
270
+ ft.pop()();
271
+ nt = !1, tt.clear(), P(e);
275
272
  }
276
273
  function qt(e) {
277
274
  if (e.fragment !== null) {
278
- e.update(), N(e.before_update);
275
+ e.update(), F(e.before_update);
279
276
  const t = e.dirty;
280
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(P);
277
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Z);
281
278
  }
282
279
  }
283
280
  function Zt(e) {
284
281
  const t = [], n = [];
285
- O.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), O = t;
282
+ I.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), I = t;
286
283
  }
287
- const I = /* @__PURE__ */ new Set();
288
- let M;
284
+ const J = /* @__PURE__ */ new Set();
285
+ let T;
289
286
  function Gt() {
290
- M = {
287
+ T = {
291
288
  r: 0,
292
289
  c: [],
293
- p: M
290
+ p: T
294
291
  // parent group
295
292
  };
296
293
  }
297
294
  function Kt() {
298
- M.r || N(M.c), M = M.p;
295
+ T.r || F(T.c), T = T.p;
299
296
  }
300
- function z(e, t) {
301
- e && e.i && (I.delete(e), e.i(t));
297
+ function N(e, t) {
298
+ e && e.i && (J.delete(e), e.i(t));
302
299
  }
303
300
  function G(e, t, n, i) {
304
301
  if (e && e.o) {
305
- if (I.has(e))
302
+ if (J.has(e))
306
303
  return;
307
- I.add(e), M.c.push(() => {
308
- I.delete(e), i && (n && e.d(1), i());
304
+ J.add(e), T.c.push(() => {
305
+ J.delete(e), i && (n && e.d(1), i());
309
306
  }), e.o(t);
310
307
  } else
311
308
  i && i();
@@ -315,79 +312,79 @@ function $e(e) {
315
312
  }
316
313
  function Qt(e, t, n) {
317
314
  const { fragment: i, after_update: s } = e.$$;
318
- i && i.m(t, n), P(() => {
319
- const o = e.$$.on_mount.map(ct).filter(ut);
320
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : N(o), e.$$.on_mount = [];
321
- }), s.forEach(P);
315
+ i && i.m(t, n), Z(() => {
316
+ const o = e.$$.on_mount.map($t).filter(yt);
317
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
318
+ }), s.forEach(Z);
322
319
  }
323
320
  function Xt(e, t) {
324
321
  const n = e.$$;
325
- n.fragment !== null && (Zt(n.after_update), N(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
322
+ n.fragment !== null && (Zt(n.after_update), F(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
326
323
  }
327
324
  function te(e, t) {
328
- e.$$.dirty[0] === -1 && (E.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
325
+ e.$$.dirty[0] === -1 && (A.push(e), xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
329
326
  }
330
327
  function ee(e, t, n, i, s, o, r = null, c = [-1]) {
331
- const u = A;
332
- j(e);
328
+ const d = R;
329
+ P(e);
333
330
  const l = e.$$ = {
334
331
  fragment: null,
335
332
  ctx: [],
336
333
  // state
337
334
  props: o,
338
- update: T,
335
+ update: q,
339
336
  not_equal: s,
340
- bound: tt(),
337
+ bound: rt(),
341
338
  // lifecycle
342
339
  on_mount: [],
343
340
  on_destroy: [],
344
341
  on_disconnect: [],
345
342
  before_update: [],
346
343
  after_update: [],
347
- context: new Map(t.context || (u ? u.$$.context : [])),
344
+ context: new Map(t.context || (d ? d.$$.context : [])),
348
345
  // everything else
349
- callbacks: tt(),
346
+ callbacks: rt(),
350
347
  dirty: c,
351
348
  skip_bound: !1,
352
- root: t.target || u.$$.root
349
+ root: t.target || d.$$.root
353
350
  };
354
351
  r && r(l.root);
355
- let f = !1;
356
- if (l.ctx = n ? n(e, t.props || {}, (p, g, ...d) => {
357
- const h = d.length ? d[0] : g;
358
- return l.ctx && s(l.ctx[p], l.ctx[p] = h) && (!l.skip_bound && l.bound[p] && l.bound[p](h), f && te(e, p)), g;
359
- }) : [], l.update(), f = !0, N(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
352
+ let v = !1;
353
+ if (l.ctx = n ? n(e, t.props || {}, (p, k, ..._) => {
354
+ const y = _.length ? _[0] : k;
355
+ return l.ctx && s(l.ctx[p], l.ctx[p] = y) && (!l.skip_bound && l.bound[p] && l.bound[p](y), v && te(e, p)), k;
356
+ }) : [], l.update(), v = !0, F(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
360
357
  if (t.hydrate) {
361
358
  const p = Ft(t.target);
362
- l.fragment && l.fragment.l(p), p.forEach(L);
359
+ l.fragment && l.fragment.l(p), p.forEach(O);
363
360
  } else
364
361
  l.fragment && l.fragment.c();
365
- t.intro && z(e.$$.fragment), Qt(e, t.target, t.anchor), b();
362
+ t.intro && N(e.$$.fragment), Qt(e, t.target, t.anchor), E();
366
363
  }
367
- j(u);
364
+ P(d);
368
365
  }
369
- let mt;
370
- typeof HTMLElement == "function" && (mt = class extends HTMLElement {
366
+ let Ct;
367
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
371
368
  constructor(t, n, i) {
372
369
  super();
373
370
  /** The Svelte component constructor */
374
- $(this, "$$ctor");
371
+ M(this, "$$ctor");
375
372
  /** Slots */
376
- $(this, "$$s");
373
+ M(this, "$$s");
377
374
  /** The Svelte component instance */
378
- $(this, "$$c");
375
+ M(this, "$$c");
379
376
  /** Whether or not the custom element is connected */
380
- $(this, "$$cn", !1);
377
+ M(this, "$$cn", !1);
381
378
  /** Component props data */
382
- $(this, "$$d", {});
379
+ M(this, "$$d", {});
383
380
  /** `true` if currently in the process of reflecting component props back to attributes */
384
- $(this, "$$r", !1);
381
+ M(this, "$$r", !1);
385
382
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
386
- $(this, "$$p_d", {});
383
+ M(this, "$$p_d", {});
387
384
  /** @type {Record<string, Function[]>} Event listeners */
388
- $(this, "$$l", {});
385
+ M(this, "$$l", {});
389
386
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
390
- $(this, "$$l_u", /* @__PURE__ */ new Map());
387
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
391
388
  this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
392
389
  }
393
390
  addEventListener(t, n, i) {
@@ -404,24 +401,24 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
404
401
  }
405
402
  }
406
403
  connectedCallback() {
407
- return U(this, null, function* () {
404
+ return Q(this, null, function* () {
408
405
  if (this.$$cn = !0, !this.$$c) {
409
406
  let t = function(o) {
410
407
  return () => {
411
408
  let r;
412
409
  return {
413
410
  c: function() {
414
- r = w("slot"), o !== "default" && _(r, "name", o);
411
+ r = C("slot"), o !== "default" && $(r, "name", o);
415
412
  },
416
413
  /**
417
414
  * @param {HTMLElement} target
418
415
  * @param {HTMLElement} [anchor]
419
416
  */
420
- m: function(l, f) {
421
- B(l, r, f);
417
+ m: function(l, v) {
418
+ Y(l, r, v);
422
419
  },
423
420
  d: function(l) {
424
- l && L(r);
421
+ l && O(r);
425
422
  }
426
423
  };
427
424
  };
@@ -433,13 +430,13 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
433
430
  o in i && (n[o] = [t(o)]);
434
431
  for (const o of this.attributes) {
435
432
  const r = this.$$g_p(o.name);
436
- r in this.$$d || (this.$$d[r] = W(r, o.value, this.$$p_d, "toProp"));
433
+ r in this.$$d || (this.$$d[r] = V(r, o.value, this.$$p_d, "toProp"));
437
434
  }
438
435
  for (const o in this.$$p_d)
439
436
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
440
437
  this.$$c = new this.$$ctor({
441
438
  target: this.shadowRoot || this,
442
- props: X(Q({}, this.$$d), {
439
+ props: ot(st({}, this.$$d), {
443
440
  $$slots: n,
444
441
  $$scope: {
445
442
  ctx: []
@@ -450,7 +447,7 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
450
447
  this.$$r = !0;
451
448
  for (const o in this.$$p_d)
452
449
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
453
- const r = W(
450
+ const r = V(
454
451
  o,
455
452
  this.$$d[o],
456
453
  this.$$p_d,
@@ -474,7 +471,7 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
474
471
  // and setting attributes through setAttribute etc, this is helpful
475
472
  attributeChangedCallback(t, n, i) {
476
473
  var s;
477
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = W(t, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
474
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = V(t, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
478
475
  }
479
476
  disconnectedCallback() {
480
477
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -487,7 +484,7 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
487
484
  ) || t;
488
485
  }
489
486
  });
490
- function W(e, t, n, i) {
487
+ function V(e, t, n, i) {
491
488
  var o;
492
489
  const s = (o = n[e]) == null ? void 0 : o.type;
493
490
  if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
@@ -518,7 +515,7 @@ function W(e, t, n, i) {
518
515
  }
519
516
  }
520
517
  function ne(e, t, n, i, s, o) {
521
- let r = class extends mt {
518
+ let r = class extends Ct {
522
519
  constructor() {
523
520
  super(e, n, s), this.$$p_d = t;
524
521
  }
@@ -533,16 +530,16 @@ function ne(e, t, n, i, s, o) {
533
530
  get() {
534
531
  return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
535
532
  },
536
- set(u) {
533
+ set(d) {
537
534
  var l;
538
- u = W(c, u, t), this.$$d[c] = u, (l = this.$$c) == null || l.$set({ [c]: u });
535
+ d = V(c, d, t), this.$$d[c] = d, (l = this.$$c) == null || l.$set({ [c]: d });
539
536
  }
540
537
  });
541
538
  }), i.forEach((c) => {
542
539
  Object.defineProperty(r.prototype, c, {
543
540
  get() {
544
- var u;
545
- return (u = this.$$c) == null ? void 0 : u[c];
541
+ var d;
542
+ return (d = this.$$c) == null ? void 0 : d[c];
546
543
  }
547
544
  });
548
545
  }), e.element = /** @type {any} */
@@ -557,7 +554,7 @@ class ie {
557
554
  *
558
555
  * @type {any}
559
556
  */
560
- $(this, "$$");
557
+ M(this, "$$");
561
558
  /**
562
559
  * ### PRIVATE API
563
560
  *
@@ -565,11 +562,11 @@ class ie {
565
562
  *
566
563
  * @type {any}
567
564
  */
568
- $(this, "$$set");
565
+ M(this, "$$set");
569
566
  }
570
567
  /** @returns {void} */
571
568
  $destroy() {
572
- Xt(this, 1), this.$destroy = T;
569
+ Xt(this, 1), this.$destroy = q;
573
570
  }
574
571
  /**
575
572
  * @template {Extract<keyof Events, string>} K
@@ -578,8 +575,8 @@ class ie {
578
575
  * @returns {() => void}
579
576
  */
580
577
  $on(t, n) {
581
- if (!ut(n))
582
- return T;
578
+ if (!yt(n))
579
+ return q;
583
580
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
584
581
  return i.push(n), () => {
585
582
  const s = i.indexOf(n);
@@ -591,7 +588,7 @@ class ie {
591
588
  * @returns {void}
592
589
  */
593
590
  $set(t) {
594
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
591
+ this.$$set && !Bt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
595
592
  }
596
593
  }
597
594
  const se = "4";
@@ -622,280 +619,302 @@ function le(e, t, n) {
622
619
  }
623
620
  }
624
621
  function ce(e) {
625
- It(e, "svelte-10nykxd", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
622
+ Nt(e, "svelte-medgnp", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
626
623
  }
627
- const ue = (e) => ({}), st = (e) => ({});
628
- function ot(e) {
629
- let t, n, i, s, o, r, c, u, l = (
624
+ const ae = (e) => ({}), ht = (e) => ({}), de = (e) => ({}), mt = (e) => ({});
625
+ function gt(e) {
626
+ let t, n, i, s, o, r, c, d, l, v, p, k, _, y, m, f, j, h = (
630
627
  /*modaltype*/
631
- e[3] !== "error" && /*modaltype*/
632
- e[3] !== "bonusList" && /*modaltype*/
633
- e[3] !== "2fa" && /*modaltype*/
634
- e[3] !== "2fa-old" && rt(e)
635
- ), f = (
628
+ e[3] == "error" && pt()
629
+ );
630
+ const S = (
631
+ /*#slots*/
632
+ e[14].title
633
+ ), w = lt(
634
+ S,
635
+ e,
636
+ /*$$scope*/
637
+ e[13],
638
+ mt
639
+ );
640
+ let g = (
636
641
  /*isloading*/
637
- e[4] === "true" && lt()
642
+ e[4] === "true" && _t()
638
643
  );
639
- const p = (
644
+ const W = (
640
645
  /*#slots*/
641
646
  e[14].content
642
- ), g = At(
643
- p,
647
+ ), x = lt(
648
+ W,
644
649
  e,
645
650
  /*$$scope*/
646
651
  e[13],
647
- st
652
+ ht
648
653
  );
649
654
  return {
650
655
  c() {
651
- t = w("div"), n = w("div"), i = w("div"), l && l.c(), s = nt(), f && f.c(), o = nt(), r = w("div"), g && g.c(), _(r, "class", "ModalContentWrapper"), v(
652
- r,
656
+ t = C("div"), n = C("div"), i = C("div"), s = C("div"), h && h.c(), o = D(), r = C("div"), w && w.c(), c = D(), d = C("div"), l = ut("svg"), v = ut("path"), p = D(), g && g.c(), k = D(), _ = C("div"), x && x.c(), $(r, "class", "TitleText"), $(s, "class", "ModalTitle"), $(v, "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"), $(l, "xmlns", "http://www.w3.org/2000/svg"), $(l, "viewBox", "0 0 13 13"), $(l, "fill", "none"), $(l, "class", "CloseButton"), $(d, "class", "ModalCloseIcon"), $(i, "class", "ModalHeader"), $(_, "class", "ModalContentWrapper"), z(
657
+ _,
653
658
  "hidden",
654
659
  /*isloading*/
655
660
  e[4] === "true"
656
- ), _(i, "class", "ModalContainer"), v(
657
- i,
661
+ ), $(n, "class", "ModalContainer"), z(
662
+ n,
658
663
  "video-mode",
659
664
  /*modaltype*/
660
665
  e[3] === "video"
661
- ), v(
662
- i,
666
+ ), z(
667
+ n,
663
668
  "twofa-mode",
664
669
  /*modaltype*/
665
670
  e[3] === "2fa"
666
- ), _(n, "id", "Modal"), P(() => (
667
- /*div2_elementresize_handler*/
668
- e[18].call(n)
671
+ ), $(t, "id", "Modal"), Z(() => (
672
+ /*div6_elementresize_handler*/
673
+ e[18].call(t)
669
674
  ));
670
675
  },
671
- m(d, h) {
672
- B(d, t, h), y(t, n), y(n, i), l && l.m(i, null), y(i, s), f && f.m(i, null), y(i, o), y(i, r), g && g.m(r, null), e[15](r), e[16](i), e[17](n), c = Dt(
673
- n,
674
- /*div2_elementresize_handler*/
675
- e[18].bind(n)
676
- ), e[19](t), u = !0;
676
+ m(u, L) {
677
+ Y(u, t, L), b(t, n), b(n, i), b(i, s), h && h.m(s, null), b(s, o), b(s, r), w && w.m(r, null), b(i, c), b(i, d), b(d, l), b(l, v), b(n, p), g && g.m(n, null), b(n, k), b(n, _), x && x.m(_, null), e[15](_), e[16](n), e[17](t), y = Dt(
678
+ t,
679
+ /*div6_elementresize_handler*/
680
+ e[18].bind(t)
681
+ ), m = !0, f || (j = et(
682
+ l,
683
+ "click",
684
+ /*closeModal*/
685
+ e[9]
686
+ ), f = !0);
677
687
  },
678
- p(d, h) {
688
+ p(u, L) {
679
689
  /*modaltype*/
680
- d[3] !== "error" && /*modaltype*/
681
- d[3] !== "bonusList" && /*modaltype*/
682
- d[3] !== "2fa" && /*modaltype*/
683
- d[3] !== "2fa-old" ? l ? l.p(d, h) : (l = rt(d), l.c(), l.m(i, s)) : l && (l.d(1), l = null), /*isloading*/
684
- d[4] === "true" ? f || (f = lt(), f.c(), f.m(i, o)) : f && (f.d(1), f = null), g && g.p && (!u || h & /*$$scope*/
685
- 8192) && Bt(
686
- g,
687
- p,
688
- d,
690
+ u[3] == "error" ? h || (h = pt(), h.c(), h.m(s, o)) : h && (h.d(1), h = null), w && w.p && (!m || L & /*$$scope*/
691
+ 8192) && at(
692
+ w,
693
+ S,
694
+ u,
689
695
  /*$$scope*/
690
- d[13],
691
- u ? Nt(
692
- p,
696
+ u[13],
697
+ m ? ct(
698
+ S,
693
699
  /*$$scope*/
694
- d[13],
695
- h,
696
- ue
697
- ) : Ht(
700
+ u[13],
701
+ L,
702
+ de
703
+ ) : dt(
698
704
  /*$$scope*/
699
- d[13]
705
+ u[13]
700
706
  ),
701
- st
702
- ), (!u || h & /*isloading*/
703
- 16) && v(
704
- r,
707
+ mt
708
+ ), /*isloading*/
709
+ u[4] === "true" ? g || (g = _t(), g.c(), g.m(n, k)) : g && (g.d(1), g = null), x && x.p && (!m || L & /*$$scope*/
710
+ 8192) && at(
711
+ x,
712
+ W,
713
+ u,
714
+ /*$$scope*/
715
+ u[13],
716
+ m ? ct(
717
+ W,
718
+ /*$$scope*/
719
+ u[13],
720
+ L,
721
+ ae
722
+ ) : dt(
723
+ /*$$scope*/
724
+ u[13]
725
+ ),
726
+ ht
727
+ ), (!m || L & /*isloading*/
728
+ 16) && z(
729
+ _,
705
730
  "hidden",
706
731
  /*isloading*/
707
- d[4] === "true"
708
- ), (!u || h & /*modaltype*/
709
- 8) && v(
710
- i,
732
+ u[4] === "true"
733
+ ), (!m || L & /*modaltype*/
734
+ 8) && z(
735
+ n,
711
736
  "video-mode",
712
737
  /*modaltype*/
713
- d[3] === "video"
714
- ), (!u || h & /*modaltype*/
715
- 8) && v(
716
- i,
738
+ u[3] === "video"
739
+ ), (!m || L & /*modaltype*/
740
+ 8) && z(
741
+ n,
717
742
  "twofa-mode",
718
743
  /*modaltype*/
719
- d[3] === "2fa"
744
+ u[3] === "2fa"
720
745
  );
721
746
  },
722
- i(d) {
723
- u || (z(g, d), u = !0);
747
+ i(u) {
748
+ m || (N(w, u), N(x, u), m = !0);
724
749
  },
725
- o(d) {
726
- G(g, d), u = !1;
750
+ o(u) {
751
+ G(w, u), G(x, u), m = !1;
727
752
  },
728
- d(d) {
729
- d && L(t), l && l.d(), f && f.d(), g && g.d(d), e[15](null), e[16](null), e[17](null), c(), e[19](null);
753
+ d(u) {
754
+ u && O(t), h && h.d(), w && w.d(u), g && g.d(), x && x.d(u), e[15](null), e[16](null), e[17](null), y(), f = !1, j();
730
755
  }
731
756
  };
732
757
  }
733
- function rt(e) {
734
- let t, n, i, s, o;
758
+ function pt(e) {
759
+ let t;
735
760
  return {
736
761
  c() {
737
- t = w("div"), n = et("svg"), i = et("path"), _(i, "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"), _(n, "xmlns", "http://www.w3.org/2000/svg"), _(n, "viewBox", "0 0 13 13"), _(n, "fill", "none"), _(n, "class", "CloseButton"), _(t, "class", "ModalCloseIcon");
762
+ t = C("div"), t.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', $(t, "class", "WarningIcon");
738
763
  },
739
- m(r, c) {
740
- B(r, t, c), y(t, n), y(n, i), s || (o = q(
741
- n,
742
- "click",
743
- /*closeModal*/
744
- e[9]
745
- ), s = !0);
764
+ m(n, i) {
765
+ Y(n, t, i);
746
766
  },
747
- p: T,
748
- d(r) {
749
- r && L(t), s = !1, o();
767
+ d(n) {
768
+ n && O(t);
750
769
  }
751
770
  };
752
771
  }
753
- function lt(e) {
772
+ function _t(e) {
754
773
  let t;
755
774
  return {
756
775
  c() {
757
- t = w("div"), t.innerHTML = '<div class="ModalLoader"></div>', _(t, "class", "ModalLoadingOverlay");
776
+ t = C("div"), t.innerHTML = '<div class="ModalLoader"></div>', $(t, "class", "ModalLoadingOverlay");
758
777
  },
759
778
  m(n, i) {
760
- B(n, t, i);
779
+ Y(n, t, i);
761
780
  },
762
781
  d(n) {
763
- n && L(t);
782
+ n && O(t);
764
783
  }
765
784
  };
766
785
  }
767
- function ae(e) {
786
+ function ue(e) {
768
787
  let t, n, i = (
769
788
  /*show*/
770
- e[2] === "true" && ot(e)
789
+ e[2] === "true" && gt(e)
771
790
  );
772
791
  return {
773
792
  c() {
774
- i && i.c(), t = Rt();
793
+ t = C("div"), i && i.c();
775
794
  },
776
795
  m(s, o) {
777
- i && i.m(s, o), B(s, t, o), n = !0;
796
+ Y(s, t, o), i && i.m(t, null), e[19](t), n = !0;
778
797
  },
779
798
  p(s, [o]) {
780
799
  /*show*/
781
800
  s[2] === "true" ? i ? (i.p(s, o), o & /*show*/
782
- 4 && z(i, 1)) : (i = ot(s), i.c(), z(i, 1), i.m(t.parentNode, t)) : i && (Gt(), G(i, 1, 1, () => {
801
+ 4 && N(i, 1)) : (i = gt(s), i.c(), N(i, 1), i.m(t, null)) : i && (Gt(), G(i, 1, 1, () => {
783
802
  i = null;
784
803
  }), Kt());
785
804
  },
786
805
  i(s) {
787
- n || (z(i), n = !0);
806
+ n || (N(i), n = !0);
788
807
  },
789
808
  o(s) {
790
809
  G(i), n = !1;
791
810
  },
792
811
  d(s) {
793
- s && L(t), i && i.d(s);
812
+ s && O(t), i && i.d(), e[19](null);
794
813
  }
795
814
  };
796
815
  }
797
- function de(e, t, n) {
798
- let { $$slots: i = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: r } = t, { clientstylingurl: c } = t, { show: u } = t, { modaltype: l = "" } = t, { isloading: f = "false" } = t, { width: p } = t, { height: g } = t, d, h, x, m, R = !1, C, F;
799
- const pt = () => {
800
- C && clearTimeout(C), d && (d.classList.add("closing"), C = setTimeout(
816
+ function fe(e, t, n) {
817
+ let { $$slots: i = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: r } = t, { clientstylingurl: c } = t, { show: d } = t, { modaltype: l = "" } = t, { isloading: v = "false" } = t, { width: p } = t, { height: k } = t, _, y, m, f, j = !1, h, S;
818
+ const w = () => {
819
+ h && clearTimeout(h), _ && (_.classList.add("closing"), h = setTimeout(
801
820
  () => {
802
821
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
803
822
  },
804
823
  200
805
824
  ));
806
- }, Y = () => U(this, null, function* () {
807
- if (!m || !x || R)
825
+ }, g = () => Q(this, null, function* () {
826
+ if (!f || !m || j)
808
827
  return;
809
- F && clearTimeout(C), R = !0;
810
- const a = m.offsetWidth, xt = m.offsetHeight;
811
- n(8, m.style.width = `${a}px`, m), n(8, m.style.height = `${xt}px`, m), m.offsetHeight, yield J();
812
- const Ct = x.scrollHeight, Mt = x.scrollWidth;
813
- n(8, m.style.width = `${Mt}px`, m), n(8, m.style.height = `${Ct}px`, m), F = setTimeout(
828
+ S && clearTimeout(h), j = !0;
829
+ const a = f.offsetWidth, kt = f.offsetHeight;
830
+ n(8, f.style.width = `${a}px`, f), n(8, f.style.height = `${kt}px`, f), f.offsetHeight, yield X();
831
+ const Lt = m.scrollHeight, Et = m.scrollWidth;
832
+ n(8, f.style.width = `${Et}px`, f), n(8, f.style.height = `${Lt}px`, f), S = setTimeout(
814
833
  () => {
815
- m && (n(8, m.style.width = "auto", m), n(8, m.style.height = "auto", m)), R = !1;
834
+ f && (n(8, f.style.width = "auto", f), n(8, f.style.height = "auto", f)), j = !1;
816
835
  },
817
836
  300
818
837
  );
819
838
  });
820
839
  Vt(() => {
821
- if (J().then(() => {
822
- Y();
823
- }), x) {
840
+ if (X().then(() => {
841
+ g();
842
+ }), m) {
824
843
  const a = new ResizeObserver(() => {
825
- Y();
844
+ g();
826
845
  });
827
- return a.observe(x), () => {
846
+ return a.observe(m), () => {
828
847
  a.disconnect();
829
848
  };
830
849
  }
831
850
  return () => {
832
- C && clearTimeout(C), F && clearTimeout(C);
851
+ h && clearTimeout(h), S && clearTimeout(h);
833
852
  };
834
853
  });
835
- function $t(a) {
836
- S[a ? "unshift" : "push"](() => {
837
- x = a, n(7, x);
854
+ function W(a) {
855
+ B[a ? "unshift" : "push"](() => {
856
+ m = a, n(7, m);
838
857
  });
839
858
  }
840
- function _t(a) {
841
- S[a ? "unshift" : "push"](() => {
842
- m = a, n(8, m);
859
+ function x(a) {
860
+ B[a ? "unshift" : "push"](() => {
861
+ f = a, n(8, f);
843
862
  });
844
863
  }
845
- function bt(a) {
846
- S[a ? "unshift" : "push"](() => {
847
- d = a, n(6, d);
864
+ function u(a) {
865
+ B[a ? "unshift" : "push"](() => {
866
+ _ = a, n(6, _);
848
867
  });
849
868
  }
850
- function yt() {
851
- p = this.clientWidth, g = this.clientHeight, n(0, p), n(1, g);
869
+ function L() {
870
+ p = this.clientWidth, k = this.clientHeight, n(0, p), n(1, k);
852
871
  }
853
- function wt(a) {
854
- S[a ? "unshift" : "push"](() => {
855
- h = a, n(5, h);
872
+ function Mt(a) {
873
+ B[a ? "unshift" : "push"](() => {
874
+ y = a, n(5, y);
856
875
  });
857
876
  }
858
877
  return e.$$set = (a) => {
859
- "mbsource" in a && n(10, o = a.mbsource), "clientstyling" in a && n(11, r = a.clientstyling), "clientstylingurl" in a && n(12, c = a.clientstylingurl), "show" in a && n(2, u = a.show), "modaltype" in a && n(3, l = a.modaltype), "isloading" in a && n(4, f = a.isloading), "width" in a && n(0, p = a.width), "height" in a && n(1, g = a.height), "$$scope" in a && n(13, s = a.$$scope);
878
+ "mbsource" in a && n(10, o = a.mbsource), "clientstyling" in a && n(11, r = a.clientstyling), "clientstylingurl" in a && n(12, c = a.clientstylingurl), "show" in a && n(2, d = a.show), "modaltype" in a && n(3, l = a.modaltype), "isloading" in a && n(4, v = a.isloading), "width" in a && n(0, p = a.width), "height" in a && n(1, k = a.height), "$$scope" in a && n(13, s = a.$$scope);
860
879
  }, e.$$.update = () => {
861
880
  e.$$.dirty & /*isloading*/
862
- 16 && f && J().then(() => {
863
- Y();
881
+ 16 && v && X().then(() => {
882
+ g();
864
883
  }), e.$$.dirty & /*clientstyling, customStylingContainer*/
865
- 2080 && r && h && oe(h, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
866
- 4128 && c && h && re(h, c), e.$$.dirty & /*mbsource, customStylingContainer*/
867
- 1056 && o && h && le(h, `${o}.Style`);
884
+ 2080 && r && y && oe(y, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
885
+ 4128 && c && y && re(y, c), e.$$.dirty & /*mbsource, customStylingContainer*/
886
+ 1056 && o && y && le(y, `${o}.Style`);
868
887
  }, [
869
888
  p,
870
- g,
871
- u,
872
- l,
873
- f,
874
- h,
889
+ k,
875
890
  d,
876
- x,
891
+ l,
892
+ v,
893
+ y,
894
+ _,
877
895
  m,
878
- pt,
896
+ f,
897
+ w,
879
898
  o,
880
899
  r,
881
900
  c,
882
901
  s,
883
902
  i,
884
- $t,
885
- _t,
886
- bt,
887
- yt,
888
- wt
903
+ W,
904
+ x,
905
+ u,
906
+ L,
907
+ Mt
889
908
  ];
890
909
  }
891
- class gt extends ie {
910
+ class vt extends ie {
892
911
  constructor(t) {
893
912
  super(), ee(
894
913
  this,
895
914
  t,
896
- de,
897
- ae,
898
- jt,
915
+ fe,
916
+ ue,
917
+ At,
899
918
  {
900
919
  mbsource: 10,
901
920
  clientstyling: 11,
@@ -913,86 +932,86 @@ class gt extends ie {
913
932
  return this.$$.ctx[10];
914
933
  }
915
934
  set mbsource(t) {
916
- this.$$set({ mbsource: t }), b();
935
+ this.$$set({ mbsource: t }), E();
917
936
  }
918
937
  get clientstyling() {
919
938
  return this.$$.ctx[11];
920
939
  }
921
940
  set clientstyling(t) {
922
- this.$$set({ clientstyling: t }), b();
941
+ this.$$set({ clientstyling: t }), E();
923
942
  }
924
943
  get clientstylingurl() {
925
944
  return this.$$.ctx[12];
926
945
  }
927
946
  set clientstylingurl(t) {
928
- this.$$set({ clientstylingurl: t }), b();
947
+ this.$$set({ clientstylingurl: t }), E();
929
948
  }
930
949
  get show() {
931
950
  return this.$$.ctx[2];
932
951
  }
933
952
  set show(t) {
934
- this.$$set({ show: t }), b();
953
+ this.$$set({ show: t }), E();
935
954
  }
936
955
  get modaltype() {
937
956
  return this.$$.ctx[3];
938
957
  }
939
958
  set modaltype(t) {
940
- this.$$set({ modaltype: t }), b();
959
+ this.$$set({ modaltype: t }), E();
941
960
  }
942
961
  get isloading() {
943
962
  return this.$$.ctx[4];
944
963
  }
945
964
  set isloading(t) {
946
- this.$$set({ isloading: t }), b();
965
+ this.$$set({ isloading: t }), E();
947
966
  }
948
967
  get width() {
949
968
  return this.$$.ctx[0];
950
969
  }
951
970
  set width(t) {
952
- this.$$set({ width: t }), b();
971
+ this.$$set({ width: t }), E();
953
972
  }
954
973
  get height() {
955
974
  return this.$$.ctx[1];
956
975
  }
957
976
  set height(t) {
958
- this.$$set({ height: t }), b();
977
+ this.$$set({ height: t }), E();
959
978
  }
960
979
  }
961
- ne(gt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
962
- const _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
980
+ ne(vt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
981
+ const ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
963
982
  __proto__: null,
964
- default: gt
983
+ default: vt
965
984
  }, Symbol.toStringTag, { value: "Module" }));
966
985
  export {
967
986
  oe as A,
968
987
  re as B,
969
988
  le as C,
970
- _e as D,
989
+ ye as D,
971
990
  ie as S,
972
- Tt as a,
991
+ It as a,
973
992
  ee as b,
974
993
  ne as c,
975
- It as d,
976
- L as e,
977
- b as f,
978
- B as g,
979
- w as h,
980
- ut as i,
981
- _ as j,
982
- he as k,
983
- S as l,
984
- ge as m,
985
- T as n,
994
+ Nt as d,
995
+ O as e,
996
+ E as f,
997
+ Y as g,
998
+ C as h,
999
+ yt as i,
1000
+ $ as j,
1001
+ me as k,
1002
+ B as l,
1003
+ pe as m,
1004
+ q as n,
986
1005
  Vt as o,
987
1006
  $e as p,
988
- me as q,
989
- N as r,
990
- jt as s,
991
- v as t,
992
- pe as u,
993
- y as v,
994
- q as w,
995
- et as x,
996
- nt as y,
997
- dt as z
1007
+ ge as q,
1008
+ F as r,
1009
+ At as s,
1010
+ z as t,
1011
+ _e as u,
1012
+ b as v,
1013
+ et as w,
1014
+ ut as x,
1015
+ D as y,
1016
+ Rt as z
998
1017
  };