@everymatrix/player-account-self-exclusion 1.64.7 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/PlayerAccountGeneralConfirmationModal-CEXCwt04.cjs +21 -0
  2. package/components/PlayerAccountGeneralConfirmationModal-CKwbW7wD.js +4904 -0
  3. package/components/PlayerAccountGeneralConfirmationModal-D73R7dr_.js +4867 -0
  4. package/components/PlayerAccountModal-B3viE43z.cjs +1 -0
  5. package/components/PlayerAccountModal-DnhQ_Yxv.js +209 -0
  6. package/components/PlayerAccountModal-luyLruMA.js +209 -0
  7. package/components/{PlayerAccountSelfExclusion-Dx-NrLV4.js → PlayerAccountSelfExclusion-Bg1XXGXi.js} +4176 -8231
  8. package/components/{PlayerAccountSelfExclusion-MjP7crby.js → PlayerAccountSelfExclusion-CwTbsIJo.js} +4573 -8618
  9. package/components/PlayerAccountSelfExclusion-DSYYVCx6.cjs +3555 -0
  10. package/es2015/player-account-self-exclusion.cjs +1 -1
  11. package/es2015/player-account-self-exclusion.js +1 -1
  12. package/esnext/player-account-self-exclusion.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-CmHRXrte.cjs +1 -0
  15. package/stencil/index-b2193545-Dsw4OOA0.js +503 -0
  16. package/stencil/index-b2193545-b7FTTZLk.js +519 -0
  17. package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-1cb75d00-BNH09c7f.js} +1 -1
  18. package/stencil/{ui-skeleton-1cb75d00-CUSs6C3A.cjs → ui-skeleton-1cb75d00-CZaAqtpv.cjs} +1 -1
  19. package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-1cb75d00-D5-2p-WB.js} +1 -1
  20. package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-AIPVdsFJ.js} +2 -2
  21. package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-CrET-Yki.js} +2 -2
  22. package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-DeVqZ9-c.cjs} +1 -1
  23. package/components/PlayerAccountSelfExclusion-BxcquaBy.cjs +0 -3572
  24. package/stencil/index-b2193545-BcYyCldH.js +0 -519
  25. package/stencil/index-b2193545-CPztmidm.js +0 -503
  26. package/stencil/index-b2193545-D1Z0k4-D.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGeneralConfirmationModal-CEXCwt04.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function v(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,v,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -0,0 +1,209 @@
1
+ import { i as j, S as q, a as A, f, c as W, s as B, b as H, e as N, d as L, t as m, g as w, h as P, j as z, o as R, k as U, l as F, m as G, n as _, p as y, q as S, u as I, r as J, v as K, w as O, x as v, y as Q, z as k, A as T } from "./PlayerAccountGeneralConfirmationModal-CKwbW7wD.js";
2
+ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
3
+ const s = +getComputedStyle(e).opacity;
4
+ return {
5
+ delay: t,
6
+ duration: n,
7
+ easing: i,
8
+ css: (o) => `opacity: ${o * s}`
9
+ };
10
+ }
11
+ function V(e) {
12
+ H(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
13
+ }
14
+ function C(e) {
15
+ let t, n, i, s, o;
16
+ const d = (
17
+ /*#slots*/
18
+ e[9].default
19
+ ), r = G(
20
+ d,
21
+ e,
22
+ /*$$scope*/
23
+ e[8],
24
+ null
25
+ );
26
+ return {
27
+ c() {
28
+ t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
29
+ },
30
+ m(a, u) {
31
+ L(a, t, u), S(t, n), S(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
32
+ },
33
+ p(a, u) {
34
+ e = a, r && r.p && (!o || u & /*$$scope*/
35
+ 256) && I(
36
+ r,
37
+ d,
38
+ e,
39
+ /*$$scope*/
40
+ e[8],
41
+ o ? K(
42
+ d,
43
+ /*$$scope*/
44
+ e[8],
45
+ u,
46
+ null
47
+ ) : J(
48
+ /*$$scope*/
49
+ e[8]
50
+ ),
51
+ null
52
+ );
53
+ },
54
+ i(a) {
55
+ o || (m(r, a), a && O(() => {
56
+ o && (s || (s = v(n, M, { transitionDuration: (
57
+ /*duration*/
58
+ e[1]
59
+ ) }, !0)), s.run(1));
60
+ }), o = !0);
61
+ },
62
+ o(a) {
63
+ w(r, a), a && (s || (s = v(n, M, { transitionDuration: (
64
+ /*duration*/
65
+ e[1]
66
+ ) }, !1)), s.run(0)), o = !1;
67
+ },
68
+ d(a) {
69
+ a && z(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
70
+ }
71
+ };
72
+ }
73
+ function X(e) {
74
+ let t, n, i = (
75
+ /*show*/
76
+ e[0] && C(e)
77
+ );
78
+ return {
79
+ c() {
80
+ i && i.c(), t = N();
81
+ },
82
+ m(s, o) {
83
+ i && i.m(s, o), L(s, t, o), n = !0;
84
+ },
85
+ p(s, [o]) {
86
+ /*show*/
87
+ s[0] ? i ? (i.p(s, o), o & /*show*/
88
+ 1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), w(i, 1, 1, () => {
89
+ i = null;
90
+ }), P());
91
+ },
92
+ i(s) {
93
+ n || (m(i), n = !0);
94
+ },
95
+ o(s) {
96
+ w(i), n = !1;
97
+ },
98
+ d(s) {
99
+ s && z(t), i && i.d(s);
100
+ }
101
+ };
102
+ }
103
+ function Y(e, t, n) {
104
+ let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
105
+ const b = (l) => {
106
+ switch (l.data.type) {
107
+ case "ModalClosed":
108
+ n(0, o = !1);
109
+ break;
110
+ case g:
111
+ n(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
+ break;
113
+ }
114
+ };
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
+ window.removeEventListener("message", b);
117
+ }));
118
+ function D(l) {
119
+ k[l ? "unshift" : "push"](() => {
120
+ h = l, n(3, h);
121
+ });
122
+ }
123
+ function E(l) {
124
+ k[l ? "unshift" : "push"](() => {
125
+ c = l, n(2, c);
126
+ });
127
+ }
128
+ return e.$$set = (l) => {
129
+ "show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
130
+ }, e.$$.update = () => {
131
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
132
+ 20 && r && c && T(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && a && c && U(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && F(c, `${u}.Style`);
135
+ }, [
136
+ o,
137
+ d,
138
+ c,
139
+ h,
140
+ r,
141
+ a,
142
+ u,
143
+ g,
144
+ s,
145
+ i,
146
+ D,
147
+ E
148
+ ];
149
+ }
150
+ class Z extends q {
151
+ constructor(t) {
152
+ super(), A(
153
+ this,
154
+ t,
155
+ Y,
156
+ X,
157
+ B,
158
+ {
159
+ show: 0,
160
+ duration: 1,
161
+ clientstyling: 4,
162
+ clientstylingurl: 5,
163
+ mbsource: 6,
164
+ showmodaleventname: 7
165
+ },
166
+ V
167
+ );
168
+ }
169
+ get show() {
170
+ return this.$$.ctx[0];
171
+ }
172
+ set show(t) {
173
+ this.$$set({ show: t }), f();
174
+ }
175
+ get duration() {
176
+ return this.$$.ctx[1];
177
+ }
178
+ set duration(t) {
179
+ this.$$set({ duration: t }), f();
180
+ }
181
+ get clientstyling() {
182
+ return this.$$.ctx[4];
183
+ }
184
+ set clientstyling(t) {
185
+ this.$$set({ clientstyling: t }), f();
186
+ }
187
+ get clientstylingurl() {
188
+ return this.$$.ctx[5];
189
+ }
190
+ set clientstylingurl(t) {
191
+ this.$$set({ clientstylingurl: t }), f();
192
+ }
193
+ get mbsource() {
194
+ return this.$$.ctx[6];
195
+ }
196
+ set mbsource(t) {
197
+ this.$$set({ mbsource: t }), f();
198
+ }
199
+ get showmodaleventname() {
200
+ return this.$$.ctx[7];
201
+ }
202
+ set showmodaleventname(t) {
203
+ this.$$set({ showmodaleventname: t }), f();
204
+ }
205
+ }
206
+ W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
+ export {
208
+ Z as default
209
+ };
@@ -0,0 +1,209 @@
1
+ import { i as j, S as q, a as A, f, c as W, s as B, b as H, e as N, d as L, t as m, g as w, h as P, j as z, o as R, k as U, l as F, m as G, n as _, p as y, q as S, u as I, r as J, v as K, w as O, x as v, y as Q, z as k, A as T } from "./PlayerAccountGeneralConfirmationModal-D73R7dr_.js";
2
+ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
3
+ const s = +getComputedStyle(e).opacity;
4
+ return {
5
+ delay: t,
6
+ duration: n,
7
+ easing: i,
8
+ css: (o) => `opacity: ${o * s}`
9
+ };
10
+ }
11
+ function V(e) {
12
+ H(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
13
+ }
14
+ function C(e) {
15
+ let t, n, i, s, o;
16
+ const d = (
17
+ /*#slots*/
18
+ e[9].default
19
+ ), r = G(
20
+ d,
21
+ e,
22
+ /*$$scope*/
23
+ e[8],
24
+ null
25
+ );
26
+ return {
27
+ c() {
28
+ t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
29
+ },
30
+ m(a, u) {
31
+ L(a, t, u), S(t, n), S(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
32
+ },
33
+ p(a, u) {
34
+ e = a, r && r.p && (!o || u & /*$$scope*/
35
+ 256) && I(
36
+ r,
37
+ d,
38
+ e,
39
+ /*$$scope*/
40
+ e[8],
41
+ o ? K(
42
+ d,
43
+ /*$$scope*/
44
+ e[8],
45
+ u,
46
+ null
47
+ ) : J(
48
+ /*$$scope*/
49
+ e[8]
50
+ ),
51
+ null
52
+ );
53
+ },
54
+ i(a) {
55
+ o || (m(r, a), a && O(() => {
56
+ o && (s || (s = v(n, M, { transitionDuration: (
57
+ /*duration*/
58
+ e[1]
59
+ ) }, !0)), s.run(1));
60
+ }), o = !0);
61
+ },
62
+ o(a) {
63
+ w(r, a), a && (s || (s = v(n, M, { transitionDuration: (
64
+ /*duration*/
65
+ e[1]
66
+ ) }, !1)), s.run(0)), o = !1;
67
+ },
68
+ d(a) {
69
+ a && z(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
70
+ }
71
+ };
72
+ }
73
+ function X(e) {
74
+ let t, n, i = (
75
+ /*show*/
76
+ e[0] && C(e)
77
+ );
78
+ return {
79
+ c() {
80
+ i && i.c(), t = N();
81
+ },
82
+ m(s, o) {
83
+ i && i.m(s, o), L(s, t, o), n = !0;
84
+ },
85
+ p(s, [o]) {
86
+ /*show*/
87
+ s[0] ? i ? (i.p(s, o), o & /*show*/
88
+ 1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), w(i, 1, 1, () => {
89
+ i = null;
90
+ }), P());
91
+ },
92
+ i(s) {
93
+ n || (m(i), n = !0);
94
+ },
95
+ o(s) {
96
+ w(i), n = !1;
97
+ },
98
+ d(s) {
99
+ s && z(t), i && i.d(s);
100
+ }
101
+ };
102
+ }
103
+ function Y(e, t, n) {
104
+ let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
105
+ const b = (l) => {
106
+ switch (l.data.type) {
107
+ case "ModalClosed":
108
+ n(0, o = !1);
109
+ break;
110
+ case g:
111
+ n(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
+ break;
113
+ }
114
+ };
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
+ window.removeEventListener("message", b);
117
+ }));
118
+ function D(l) {
119
+ k[l ? "unshift" : "push"](() => {
120
+ h = l, n(3, h);
121
+ });
122
+ }
123
+ function E(l) {
124
+ k[l ? "unshift" : "push"](() => {
125
+ c = l, n(2, c);
126
+ });
127
+ }
128
+ return e.$$set = (l) => {
129
+ "show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
130
+ }, e.$$.update = () => {
131
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
132
+ 20 && r && c && T(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && a && c && U(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && F(c, `${u}.Style`);
135
+ }, [
136
+ o,
137
+ d,
138
+ c,
139
+ h,
140
+ r,
141
+ a,
142
+ u,
143
+ g,
144
+ s,
145
+ i,
146
+ D,
147
+ E
148
+ ];
149
+ }
150
+ class Z extends q {
151
+ constructor(t) {
152
+ super(), A(
153
+ this,
154
+ t,
155
+ Y,
156
+ X,
157
+ B,
158
+ {
159
+ show: 0,
160
+ duration: 1,
161
+ clientstyling: 4,
162
+ clientstylingurl: 5,
163
+ mbsource: 6,
164
+ showmodaleventname: 7
165
+ },
166
+ V
167
+ );
168
+ }
169
+ get show() {
170
+ return this.$$.ctx[0];
171
+ }
172
+ set show(t) {
173
+ this.$$set({ show: t }), f();
174
+ }
175
+ get duration() {
176
+ return this.$$.ctx[1];
177
+ }
178
+ set duration(t) {
179
+ this.$$set({ duration: t }), f();
180
+ }
181
+ get clientstyling() {
182
+ return this.$$.ctx[4];
183
+ }
184
+ set clientstyling(t) {
185
+ this.$$set({ clientstyling: t }), f();
186
+ }
187
+ get clientstylingurl() {
188
+ return this.$$.ctx[5];
189
+ }
190
+ set clientstylingurl(t) {
191
+ this.$$set({ clientstylingurl: t }), f();
192
+ }
193
+ get mbsource() {
194
+ return this.$$.ctx[6];
195
+ }
196
+ set mbsource(t) {
197
+ this.$$set({ mbsource: t }), f();
198
+ }
199
+ get showmodaleventname() {
200
+ return this.$$.ctx[7];
201
+ }
202
+ set showmodaleventname(t) {
203
+ this.$$set({ showmodaleventname: t }), f();
204
+ }
205
+ }
206
+ W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
+ export {
208
+ Z as default
209
+ };