@everymatrix/casino-coinroyale-container 1.72.1 → 1.72.2

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 (19) hide show
  1. package/components/{CasinoCoinroyaleContainer-BKBWjEqR.js → CasinoCoinroyaleContainer-BAzU7-Tm.js} +3 -3
  2. package/components/{CasinoCoinroyaleContainer-Cy1HXFLo.js → CasinoCoinroyaleContainer-D9AUAWJz.js} +3 -3
  3. package/components/{CasinoCoinroyaleContainer-Bwl6ldRO.cjs → CasinoCoinroyaleContainer-DFRRjn-H.cjs} +1 -1
  4. package/components/{CasinoCoinroyaleDetails-Da6LYLCd.js → CasinoCoinroyaleDetails-CkKV_tck.js} +1 -1
  5. package/components/{CasinoCoinroyaleDetails-CVdkHnCy.js → CasinoCoinroyaleDetails-D786WV94.js} +1 -1
  6. package/components/{CasinoCoinroyaleDetails-stjZecSJ.cjs → CasinoCoinroyaleDetails-Zj3DfnKZ.cjs} +1 -1
  7. package/components/{CasinoCoinroyaleList-BCClpgnL.cjs → CasinoCoinroyaleList-B8dZJglH.cjs} +1 -1
  8. package/components/{CasinoCoinroyaleList-DJx4V4-B.js → CasinoCoinroyaleList-BG7dLWeO.js} +2 -2
  9. package/components/{CasinoCoinroyaleList-C2g3cP_H.js → CasinoCoinroyaleList-BZ_ioP04.js} +2 -2
  10. package/components/CasinoMysteryChestModal-CLz5BJoQ.js +106 -0
  11. package/components/CasinoMysteryChestModal-Db-Ghw8s.js +108 -0
  12. package/components/CasinoMysteryChestModal-h-KH_fFi.cjs +1 -0
  13. package/es2015/casino-coinroyale-container.cjs +1 -1
  14. package/es2015/casino-coinroyale-container.js +1 -1
  15. package/esnext/casino-coinroyale-container.js +1 -1
  16. package/package.json +1 -1
  17. package/components/CasinoMysteryChestModal-PJTff_Yi.cjs +0 -1
  18. package/components/CasinoMysteryChestModal-WlXKqWCs.js +0 -85
  19. package/components/CasinoMysteryChestModal-zw0ywkwL.js +0 -85
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoCoinroyaleContainer-BKBWjEqR.js";
1
+ import { C as s } from "../components/CasinoCoinroyaleContainer-BAzU7-Tm.js";
2
2
  function o(n) {
3
3
  return function(...t) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-coinroyale-container",
3
- "version": "1.72.1",
3
+ "version": "1.72.2",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-coinroyale-container.js",
6
6
  "module": "esnext/casino-coinroyale-container.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCoinroyaleContainer-Bwl6ldRO.cjs"),B=i=>window.postMessage(i,window.location.href);function H(i){e.append_styles(i,"svelte-286imq",".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}.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 O(i){let t,n,l,d,c,o,g,k,_,m=i[0].title+"",x,V,r,f=i[0].message+"",w,q,M,I,v,b=i[0].bold+"",z,S,p,h=i[0].btn+"",y,u,C,D;return{c(){t=e.element("div"),n=e.element("div"),l=e.element("div"),d=e.element("div"),c=e.space(),o=e.element("img"),k=e.space(),_=e.element("h2"),x=e.text(m),V=e.space(),r=e.element("p"),w=e.text(f),q=e.space(),M=e.element("br"),I=e.space(),v=e.element("b"),z=e.text(b),S=e.space(),p=e.element("button"),y=e.text(h),e.attr(d,"class","dialog__content__coin-glare"),e.attr(o,"class","dialog__content__icon"),e.src_url_equal(o.src,g=i[0].img)||e.attr(o,"src",g),e.attr(o,"alt",""),e.attr(l,"class","dialog__content__icon-container"),e.attr(_,"class","dialog__content__title"),e.attr(r,"class","dialog__content__message"),e.attr(p,"class","dialog__content__btn"),e.attr(n,"class","dialog__content"),e.attr(t,"class",u="dialog "+(i[1]?"mobile":""))},m(a,s){e.insert(a,t,s),e.append(t,n),e.append(n,l),e.append(l,d),e.append(l,c),e.append(l,o),e.append(n,k),e.append(n,_),e.append(_,x),e.append(n,V),e.append(n,r),e.append(r,w),e.append(r,q),e.append(r,M),e.append(r,I),e.append(r,v),e.append(v,z),e.append(n,S),e.append(n,p),e.append(p,y),C||(D=e.listen(p,"click",i[2]),C=!0)},p(a,[s]){s&1&&!e.src_url_equal(o.src,g=a[0].img)&&e.attr(o,"src",g),s&1&&m!==(m=a[0].title+"")&&e.set_data(x,m),s&1&&f!==(f=a[0].message+"")&&e.set_data(w,f),s&1&&b!==(b=a[0].bold+"")&&e.set_data(z,b),s&1&&h!==(h=a[0].btn+"")&&e.set_data(y,h),s&2&&u!==(u="dialog "+(a[1]?"mobile":""))&&e.attr(t,"class",u)},i:e.noop,o:e.noop,d(a){a&&e.detach(t),C=!1,D()}}}function P(i,t,n){let{dialogContent:l}=t,{mobileView:d=!1}=t;const c=()=>{B({type:"HideDialog"})};return i.$$set=o=>{"dialogContent"in o&&n(0,l=o.dialogContent),"mobileView"in o&&n(1,d=o.mobileView)},[l,d,c]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,P,O,e.safe_not_equal,{dialogContent:0,mobileView:1},H)}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(j,{dialogContent:{},mobileView:{type:"Boolean"}},[],[],!0);exports.default=j;
@@ -1,85 +0,0 @@
1
- import { S as J, i as K, s as L, f as E, b as N, n as F, d as O, v as G, k as a, c as z, e as P, g as e, l as Q, h as s, j as c, t as y, w as R } from "./CasinoCoinroyaleContainer-BKBWjEqR.js";
2
- const T = (i) => window.postMessage(i, window.location.href);
3
- function U(i) {
4
- N(i, "svelte-286imq", ".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}.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 W(i) {
7
- let t, o, r, _, p, n, f, D, h, b = (
8
- /*dialogContent*/
9
- i[0].title + ""
10
- ), C, S, d, u = (
11
- /*dialogContent*/
12
- i[0].message + ""
13
- ), k, j, B, H, V, x = (
14
- /*dialogContent*/
15
- i[0].bold + ""
16
- ), M, X, m, w = (
17
- /*dialogContent*/
18
- i[0].btn + ""
19
- ), q, v, I, A;
20
- return {
21
- c() {
22
- t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C = y(b), S = c(), d = s("p"), k = y(u), j = c(), B = s("br"), H = c(), V = s("b"), M = y(x), X = c(), m = s("button"), q = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
23
- i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(h, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
24
- (i[1] ? "mobile" : ""));
25
- },
26
- m(l, g) {
27
- P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d, j), e(d, B), e(d, H), e(d, V), e(V, M), e(o, X), e(o, m), e(m, q), I || (A = Q(
28
- m,
29
- "click",
30
- /*hideDialog*/
31
- i[2]
32
- ), I = !0);
33
- },
34
- p(l, [g]) {
35
- g & /*dialogContent*/
36
- 1 && !G(n.src, f = /*dialogContent*/
37
- l[0].img) && a(n, "src", f), g & /*dialogContent*/
38
- 1 && b !== (b = /*dialogContent*/
39
- l[0].title + "") && z(C, b), g & /*dialogContent*/
40
- 1 && u !== (u = /*dialogContent*/
41
- l[0].message + "") && z(k, u), g & /*dialogContent*/
42
- 1 && x !== (x = /*dialogContent*/
43
- l[0].bold + "") && z(M, x), g & /*dialogContent*/
44
- 1 && w !== (w = /*dialogContent*/
45
- l[0].btn + "") && z(q, w), g & /*mobileView*/
46
- 2 && v !== (v = "dialog " + /*mobileView*/
47
- (l[1] ? "mobile" : "")) && a(t, "class", v);
48
- },
49
- i: F,
50
- o: F,
51
- d(l) {
52
- l && O(t), I = !1, A();
53
- }
54
- };
55
- }
56
- function Y(i, t, o) {
57
- let { dialogContent: r } = t, { mobileView: _ = !1 } = t;
58
- const p = () => {
59
- T({ type: "HideDialog" });
60
- };
61
- return i.$$set = (n) => {
62
- "dialogContent" in n && o(0, r = n.dialogContent), "mobileView" in n && o(1, _ = n.mobileView);
63
- }, [r, _, p];
64
- }
65
- class Z extends J {
66
- constructor(t) {
67
- super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
68
- }
69
- get dialogContent() {
70
- return this.$$.ctx[0];
71
- }
72
- set dialogContent(t) {
73
- this.$$set({ dialogContent: t }), E();
74
- }
75
- get mobileView() {
76
- return this.$$.ctx[1];
77
- }
78
- set mobileView(t) {
79
- this.$$set({ mobileView: t }), E();
80
- }
81
- }
82
- R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
83
- export {
84
- Z as default
85
- };
@@ -1,85 +0,0 @@
1
- import { S as J, i as K, s as L, f as E, b as N, n as F, d as O, v as G, k as a, c as z, e as P, g as e, l as Q, h as s, j as c, t as y, w as R } from "./CasinoCoinroyaleContainer-Cy1HXFLo.js";
2
- const T = (i) => window.postMessage(i, window.location.href);
3
- function U(i) {
4
- N(i, "svelte-286imq", ".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}.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 W(i) {
7
- let t, o, r, _, p, n, f, D, h, b = (
8
- /*dialogContent*/
9
- i[0].title + ""
10
- ), C, S, d, u = (
11
- /*dialogContent*/
12
- i[0].message + ""
13
- ), k, j, B, H, V, x = (
14
- /*dialogContent*/
15
- i[0].bold + ""
16
- ), M, X, m, w = (
17
- /*dialogContent*/
18
- i[0].btn + ""
19
- ), q, v, I, A;
20
- return {
21
- c() {
22
- t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C = y(b), S = c(), d = s("p"), k = y(u), j = c(), B = s("br"), H = c(), V = s("b"), M = y(x), X = c(), m = s("button"), q = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
23
- i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(h, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
24
- (i[1] ? "mobile" : ""));
25
- },
26
- m(l, g) {
27
- P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d, j), e(d, B), e(d, H), e(d, V), e(V, M), e(o, X), e(o, m), e(m, q), I || (A = Q(
28
- m,
29
- "click",
30
- /*hideDialog*/
31
- i[2]
32
- ), I = !0);
33
- },
34
- p(l, [g]) {
35
- g & /*dialogContent*/
36
- 1 && !G(n.src, f = /*dialogContent*/
37
- l[0].img) && a(n, "src", f), g & /*dialogContent*/
38
- 1 && b !== (b = /*dialogContent*/
39
- l[0].title + "") && z(C, b), g & /*dialogContent*/
40
- 1 && u !== (u = /*dialogContent*/
41
- l[0].message + "") && z(k, u), g & /*dialogContent*/
42
- 1 && x !== (x = /*dialogContent*/
43
- l[0].bold + "") && z(M, x), g & /*dialogContent*/
44
- 1 && w !== (w = /*dialogContent*/
45
- l[0].btn + "") && z(q, w), g & /*mobileView*/
46
- 2 && v !== (v = "dialog " + /*mobileView*/
47
- (l[1] ? "mobile" : "")) && a(t, "class", v);
48
- },
49
- i: F,
50
- o: F,
51
- d(l) {
52
- l && O(t), I = !1, A();
53
- }
54
- };
55
- }
56
- function Y(i, t, o) {
57
- let { dialogContent: r } = t, { mobileView: _ = !1 } = t;
58
- const p = () => {
59
- T({ type: "HideDialog" });
60
- };
61
- return i.$$set = (n) => {
62
- "dialogContent" in n && o(0, r = n.dialogContent), "mobileView" in n && o(1, _ = n.mobileView);
63
- }, [r, _, p];
64
- }
65
- class Z extends J {
66
- constructor(t) {
67
- super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
68
- }
69
- get dialogContent() {
70
- return this.$$.ctx[0];
71
- }
72
- set dialogContent(t) {
73
- this.$$set({ dialogContent: t }), E();
74
- }
75
- get mobileView() {
76
- return this.$$.ctx[1];
77
- }
78
- set mobileView(t) {
79
- this.$$set({ mobileView: t }), E();
80
- }
81
- }
82
- R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
83
- export {
84
- Z as default
85
- };