@everymatrix/cashier-verifications 1.85.20 → 1.85.22

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