@everymatrix/casino-game-overlay 1.72.2 → 1.73.1

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 (46) hide show
  1. package/components/CasinoCoinroyaleContainer-CuZBwtzG.cjs +18 -0
  2. package/components/CasinoCoinroyaleContainer-Df5B76r3.js +4877 -0
  3. package/components/CasinoCoinroyaleContainer-DfneP_U1.js +4922 -0
  4. package/components/CasinoCoinroyaleDetails-B_uxWsfx.js +512 -0
  5. package/components/CasinoCoinroyaleDetails-CwvS5W1V.cjs +2 -0
  6. package/components/CasinoCoinroyaleDetails-XmNi42xv.js +470 -0
  7. package/components/{CasinoCoinroyaleList-Cu24S7eY.js → CasinoCoinroyaleList-DqhwTada.js} +2 -2
  8. package/components/{CasinoCoinroyaleList-CZDVq0lA.cjs → CasinoCoinroyaleList-idiEPfJ1.cjs} +1 -1
  9. package/components/{CasinoCoinroyaleList-tGOdrJjF.js → CasinoCoinroyaleList-zrtnTTsN.js} +2 -2
  10. package/components/{CasinoGameOverlay-DO3wx5uG.js → CasinoGameOverlay-BV4tkRiF.js} +10 -10
  11. package/components/{CasinoGameOverlay-B6h4_hHz.js → CasinoGameOverlay-BX0q2m-s.js} +6 -6
  12. package/components/{CasinoGameOverlay-B_A0NRyF.cjs → CasinoGameOverlay-Da_01_g6.cjs} +1 -1
  13. package/components/CasinoMysteryChestContainer-BM_lVLcT.js +523 -0
  14. package/components/CasinoMysteryChestContainer-CE4652Zd.cjs +1 -0
  15. package/components/CasinoMysteryChestContainer-DrNZmAbn.js +512 -0
  16. package/components/CasinoMysteryChestDetails-BFH2lu2b.js +518 -0
  17. package/components/CasinoMysteryChestDetails-CJVoIJfk.js +480 -0
  18. package/components/CasinoMysteryChestDetails-j2aQsIqc.cjs +2 -0
  19. package/components/CasinoMysteryChestModal-C8k6pHGt.cjs +1 -0
  20. package/components/CasinoMysteryChestModal-DS6LWp0J.js +153 -0
  21. package/components/CasinoMysteryChestModal-w9Okx2Gr.js +150 -0
  22. package/components/{CasinoMysteryChestsList-DxAqh1ei.js → CasinoMysteryChestsList-CQJD_uf5.js} +3 -3
  23. package/components/{CasinoMysteryChestsList-BQ39OZqh.cjs → CasinoMysteryChestsList-Cm8-PxA9.cjs} +1 -1
  24. package/components/{CasinoMysteryChestsList-RByyHVQS.js → CasinoMysteryChestsList-n6OwrTKR.js} +3 -3
  25. package/components/{GeneralAnimationLoading-qicxgNBS.cjs → GeneralAnimationLoading-6ss2zV_J.cjs} +1 -1
  26. package/components/{GeneralAnimationLoading--aE4RjwM.js → GeneralAnimationLoading-CZYxJite.js} +2 -2
  27. package/components/{GeneralAnimationLoading-pkaub545.js → GeneralAnimationLoading-DV3zxqNd.js} +2 -2
  28. package/es2015/casino-game-overlay.cjs +1 -1
  29. package/es2015/casino-game-overlay.js +1 -1
  30. package/esnext/casino-game-overlay.js +1 -1
  31. package/package.json +1 -1
  32. package/components/CasinoCoinroyaleContainer-8G0BstNq.js +0 -4889
  33. package/components/CasinoCoinroyaleContainer-B-9thBKw.js +0 -4844
  34. package/components/CasinoCoinroyaleContainer-C_DRIp54.cjs +0 -18
  35. package/components/CasinoCoinroyaleDetails-BEVAjPM_.cjs +0 -2
  36. package/components/CasinoCoinroyaleDetails-CJC2b_Ha.js +0 -470
  37. package/components/CasinoCoinroyaleDetails-DeKQ6337.js +0 -512
  38. package/components/CasinoMysteryChestContainer-C8tB4I4F.js +0 -511
  39. package/components/CasinoMysteryChestContainer-CGE9SzRU.js +0 -522
  40. package/components/CasinoMysteryChestContainer-COVkfX0F.cjs +0 -1
  41. package/components/CasinoMysteryChestDetails-DIw0_NQy.js +0 -406
  42. package/components/CasinoMysteryChestDetails-DjNSqpje.cjs +0 -2
  43. package/components/CasinoMysteryChestDetails-DyBaLOF0.js +0 -368
  44. package/components/CasinoMysteryChestModal-Ch6-F_fr.js +0 -108
  45. package/components/CasinoMysteryChestModal-CjEaQSpx.js +0 -106
  46. package/components/CasinoMysteryChestModal-ClN3cgzr.cjs +0 -1
@@ -1,108 +0,0 @@
1
- import { S as N, i as O, s as P, f as E, b as Q, n as F, d as K, v as G, k as d, c as z, e as L, g as i, l as R, h as g, j as p, t as y, w as T } from "./CasinoCoinroyaleContainer-8G0BstNq.js";
2
- const U = (o) => window.postMessage(o, window.location.href);
3
- function W(o) {
4
- Q(o, "svelte-1jclt4m", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}@media screen and (max-width: 992px){.dialog{width:70%}}@media screen and (max-width: 768px){.dialog{width:80%}}@media screen and (max-width: 576px){.dialog{width:90%}}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
5
- }
6
- function J(o) {
7
- let e, t = (
8
- /*dialogContent*/
9
- o[0].bold + ""
10
- ), a;
11
- return {
12
- c() {
13
- e = g("b"), a = y(t);
14
- },
15
- m(s, _) {
16
- L(s, e, _), i(e, a);
17
- },
18
- p(s, _) {
19
- _ & /*dialogContent*/
20
- 1 && t !== (t = /*dialogContent*/
21
- s[0].bold + "") && z(a, t);
22
- },
23
- d(s) {
24
- s && K(e);
25
- }
26
- };
27
- }
28
- function Y(o) {
29
- var X;
30
- let e, t, a, s, _, l, h, I, b, u = (
31
- /*dialogContent*/
32
- o[0].title + ""
33
- ), k, j, c, w = (
34
- /*dialogContent*/
35
- o[0].message + ""
36
- ), C, q, D, S, B, f, x = (
37
- /*dialogContent*/
38
- o[0].btn + ""
39
- ), V, v, M, H, n = (
40
- /*dialogContent*/
41
- ((X = o[0]) == null ? void 0 : X.bold) && J(o)
42
- );
43
- return {
44
- c() {
45
- e = g("div"), t = g("div"), a = g("div"), s = g("div"), _ = p(), l = g("img"), I = p(), b = g("h2"), k = y(u), j = p(), c = g("p"), C = y(w), q = p(), D = g("br"), S = p(), n && n.c(), B = p(), f = g("button"), V = y(x), d(s, "class", "dialog__content__coin-glare"), d(l, "class", "dialog__content__icon"), G(l.src, h = /*dialogContent*/
46
- o[0].img) || d(l, "src", h), d(l, "alt", ""), d(a, "class", "dialog__content__icon-container"), d(b, "class", "dialog__content__title"), d(c, "class", "dialog__content__message"), d(f, "class", "dialog__content__btn"), d(t, "class", "dialog__content"), d(e, "class", v = "dialog " + /*mobileView*/
47
- (o[1] ? "mobile" : ""));
48
- },
49
- m(r, m) {
50
- L(r, e, m), i(e, t), i(t, a), i(a, s), i(a, _), i(a, l), i(t, I), i(t, b), i(b, k), i(t, j), i(t, c), i(c, C), i(c, q), i(c, D), i(c, S), n && n.m(c, null), i(t, B), i(t, f), i(f, V), M || (H = R(
51
- f,
52
- "click",
53
- /*hideDialog*/
54
- o[2]
55
- ), M = !0);
56
- },
57
- p(r, [m]) {
58
- var A;
59
- m & /*dialogContent*/
60
- 1 && !G(l.src, h = /*dialogContent*/
61
- r[0].img) && d(l, "src", h), m & /*dialogContent*/
62
- 1 && u !== (u = /*dialogContent*/
63
- r[0].title + "") && z(k, u), m & /*dialogContent*/
64
- 1 && w !== (w = /*dialogContent*/
65
- r[0].message + "") && z(C, w), /*dialogContent*/
66
- (A = r[0]) != null && A.bold ? n ? n.p(r, m) : (n = J(r), n.c(), n.m(c, null)) : n && (n.d(1), n = null), m & /*dialogContent*/
67
- 1 && x !== (x = /*dialogContent*/
68
- r[0].btn + "") && z(V, x), m & /*mobileView*/
69
- 2 && v !== (v = "dialog " + /*mobileView*/
70
- (r[1] ? "mobile" : "")) && d(e, "class", v);
71
- },
72
- i: F,
73
- o: F,
74
- d(r) {
75
- r && K(e), n && n.d(), M = !1, H();
76
- }
77
- };
78
- }
79
- function Z(o, e, t) {
80
- let { dialogContent: a } = e, { mobileView: s = !1 } = e;
81
- const _ = () => {
82
- U({ type: "HideDialog" });
83
- };
84
- return o.$$set = (l) => {
85
- "dialogContent" in l && t(0, a = l.dialogContent), "mobileView" in l && t(1, s = l.mobileView);
86
- }, [a, s, _];
87
- }
88
- class $ extends N {
89
- constructor(e) {
90
- super(), O(this, e, Z, Y, P, { dialogContent: 0, mobileView: 1 }, W);
91
- }
92
- get dialogContent() {
93
- return this.$$.ctx[0];
94
- }
95
- set dialogContent(e) {
96
- this.$$set({ dialogContent: e }), E();
97
- }
98
- get mobileView() {
99
- return this.$$.ctx[1];
100
- }
101
- set mobileView(e) {
102
- this.$$set({ mobileView: e }), E();
103
- }
104
- }
105
- T($, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
106
- export {
107
- $ as default
108
- };
@@ -1,106 +0,0 @@
1
- import { S as K, i as L, s as N, f as X, b as O, n as A, d as G, v as E, k as d, c as z, e as J, g as i, l as P, h as g, j as p, t as y, w as Q } from "./CasinoCoinroyaleContainer-B-9thBKw.js";
2
- const R = (o) => window.postMessage(o, window.location.href);
3
- function T(o) {
4
- O(o, "svelte-1jclt4m", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}@media screen and (max-width: 992px){.dialog{width:70%}}@media screen and (max-width: 768px){.dialog{width:80%}}@media screen and (max-width: 576px){.dialog{width:90%}}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
5
- }
6
- function F(o) {
7
- let e, t = (
8
- /*dialogContent*/
9
- o[0].bold + ""
10
- ), a;
11
- return {
12
- c() {
13
- e = g("b"), a = y(t);
14
- },
15
- m(s, _) {
16
- J(s, e, _), i(e, a);
17
- },
18
- p(s, _) {
19
- _ & /*dialogContent*/
20
- 1 && t !== (t = /*dialogContent*/
21
- s[0].bold + "") && z(a, t);
22
- },
23
- d(s) {
24
- s && G(e);
25
- }
26
- };
27
- }
28
- function U(o) {
29
- let e, t, a, s, _, l, h, I, b, u = (
30
- /*dialogContent*/
31
- o[0].title + ""
32
- ), k, j, c, w = (
33
- /*dialogContent*/
34
- o[0].message + ""
35
- ), C, q, D, S, B, f, x = (
36
- /*dialogContent*/
37
- o[0].btn + ""
38
- ), V, v, M, H, n = (
39
- /*dialogContent*/
40
- o[0]?.bold && F(o)
41
- );
42
- return {
43
- c() {
44
- e = g("div"), t = g("div"), a = g("div"), s = g("div"), _ = p(), l = g("img"), I = p(), b = g("h2"), k = y(u), j = p(), c = g("p"), C = y(w), q = p(), D = g("br"), S = p(), n && n.c(), B = p(), f = g("button"), V = y(x), d(s, "class", "dialog__content__coin-glare"), d(l, "class", "dialog__content__icon"), E(l.src, h = /*dialogContent*/
45
- o[0].img) || d(l, "src", h), d(l, "alt", ""), d(a, "class", "dialog__content__icon-container"), d(b, "class", "dialog__content__title"), d(c, "class", "dialog__content__message"), d(f, "class", "dialog__content__btn"), d(t, "class", "dialog__content"), d(e, "class", v = "dialog " + /*mobileView*/
46
- (o[1] ? "mobile" : ""));
47
- },
48
- m(r, m) {
49
- J(r, e, m), i(e, t), i(t, a), i(a, s), i(a, _), i(a, l), i(t, I), i(t, b), i(b, k), i(t, j), i(t, c), i(c, C), i(c, q), i(c, D), i(c, S), n && n.m(c, null), i(t, B), i(t, f), i(f, V), M || (H = P(
50
- f,
51
- "click",
52
- /*hideDialog*/
53
- o[2]
54
- ), M = !0);
55
- },
56
- p(r, [m]) {
57
- m & /*dialogContent*/
58
- 1 && !E(l.src, h = /*dialogContent*/
59
- r[0].img) && d(l, "src", h), m & /*dialogContent*/
60
- 1 && u !== (u = /*dialogContent*/
61
- r[0].title + "") && z(k, u), m & /*dialogContent*/
62
- 1 && w !== (w = /*dialogContent*/
63
- r[0].message + "") && z(C, w), /*dialogContent*/
64
- r[0]?.bold ? n ? n.p(r, m) : (n = F(r), n.c(), n.m(c, null)) : n && (n.d(1), n = null), m & /*dialogContent*/
65
- 1 && x !== (x = /*dialogContent*/
66
- r[0].btn + "") && z(V, x), m & /*mobileView*/
67
- 2 && v !== (v = "dialog " + /*mobileView*/
68
- (r[1] ? "mobile" : "")) && d(e, "class", v);
69
- },
70
- i: A,
71
- o: A,
72
- d(r) {
73
- r && G(e), n && n.d(), M = !1, H();
74
- }
75
- };
76
- }
77
- function W(o, e, t) {
78
- let { dialogContent: a } = e, { mobileView: s = !1 } = e;
79
- const _ = () => {
80
- R({ type: "HideDialog" });
81
- };
82
- return o.$$set = (l) => {
83
- "dialogContent" in l && t(0, a = l.dialogContent), "mobileView" in l && t(1, s = l.mobileView);
84
- }, [a, s, _];
85
- }
86
- class Y extends K {
87
- constructor(e) {
88
- super(), L(this, e, W, U, N, { dialogContent: 0, mobileView: 1 }, T);
89
- }
90
- get dialogContent() {
91
- return this.$$.ctx[0];
92
- }
93
- set dialogContent(e) {
94
- this.$$set({ dialogContent: e }), X();
95
- }
96
- get mobileView() {
97
- return this.$$.ctx[1];
98
- }
99
- set mobileView(e) {
100
- this.$$set({ mobileView: e }), X();
101
- }
102
- }
103
- Q(Y, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
104
- export {
105
- Y as default
106
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCoinroyaleContainer-C_DRIp54.cjs"),H=n=>window.postMessage(n,window.location.href);function O(n){e.append_styles(n,"svelte-1jclt4m",".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}@media screen and (max-width: 992px){.dialog{width:70%}}@media screen and (max-width: 768px){.dialog{width:80%}}@media screen and (max-width: 576px){.dialog{width:90%}}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}")}function D(n){let t,i=n[0].bold+"",o;return{c(){t=e.element("b"),o=e.text(i)},m(r,p){e.insert(r,t,p),e.append(t,o)},p(r,p){p&1&&i!==(i=r[0].bold+"")&&e.set_data(o,i)},d(r){r&&e.detach(t)}}}function P(n){var S;let t,i,o,r,p,l,_,y,m,f=n[0].title+"",x,C,s,h=n[0].message+"",w,k,V,M,q,g,b=n[0].btn+"",v,u,z,I,a=((S=n[0])==null?void 0:S.bold)&&D(n);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),p=e.space(),l=e.element("img"),y=e.space(),m=e.element("h2"),x=e.text(f),C=e.space(),s=e.element("p"),w=e.text(h),k=e.space(),V=e.element("br"),M=e.space(),a&&a.c(),q=e.space(),g=e.element("button"),v=e.text(b),e.attr(r,"class","dialog__content__coin-glare"),e.attr(l,"class","dialog__content__icon"),e.src_url_equal(l.src,_=n[0].img)||e.attr(l,"src",_),e.attr(l,"alt",""),e.attr(o,"class","dialog__content__icon-container"),e.attr(m,"class","dialog__content__title"),e.attr(s,"class","dialog__content__message"),e.attr(g,"class","dialog__content__btn"),e.attr(i,"class","dialog__content"),e.attr(t,"class",u="dialog "+(n[1]?"mobile":""))},m(d,c){e.insert(d,t,c),e.append(t,i),e.append(i,o),e.append(o,r),e.append(o,p),e.append(o,l),e.append(i,y),e.append(i,m),e.append(m,x),e.append(i,C),e.append(i,s),e.append(s,w),e.append(s,k),e.append(s,V),e.append(s,M),a&&a.m(s,null),e.append(i,q),e.append(i,g),e.append(g,v),z||(I=e.listen(g,"click",n[2]),z=!0)},p(d,[c]){var j;c&1&&!e.src_url_equal(l.src,_=d[0].img)&&e.attr(l,"src",_),c&1&&f!==(f=d[0].title+"")&&e.set_data(x,f),c&1&&h!==(h=d[0].message+"")&&e.set_data(w,h),(j=d[0])!=null&&j.bold?a?a.p(d,c):(a=D(d),a.c(),a.m(s,null)):a&&(a.d(1),a=null),c&1&&b!==(b=d[0].btn+"")&&e.set_data(v,b),c&2&&u!==(u="dialog "+(d[1]?"mobile":""))&&e.attr(t,"class",u)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),a&&a.d(),z=!1,I()}}}function T(n,t,i){let{dialogContent:o}=t,{mobileView:r=!1}=t;const p=()=>{H({type:"HideDialog"})};return n.$$set=l=>{"dialogContent"in l&&i(0,o=l.dialogContent),"mobileView"in l&&i(1,r=l.mobileView)},[o,r,p]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,T,P,e.safe_not_equal,{dialogContent:0,mobileView:1},O)}get dialogContent(){return this.$$.ctx[0]}set dialogContent(t){this.$$set({dialogContent:t}),e.flush()}get mobileView(){return this.$$.ctx[1]}set mobileView(t){this.$$set({mobileView:t}),e.flush()}}e.create_custom_element(B,{dialogContent:{},mobileView:{type:"Boolean"}},[],[],!0);exports.default=B;