@everymatrix/player-account-self-exclusion-nd 1.76.13 → 1.76.14

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-CF0gIxAh.js → PlayerAccountGeneralConfirmationModal-COn8IPHo.js} +815 -836
  2. package/components/PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs +21 -0
  3. package/components/{PlayerAccountGeneralConfirmationModal-DTX1CBzd.js → PlayerAccountGeneralConfirmationModal-DeKth9rU.js} +816 -837
  4. package/components/{PlayerAccountModal-CJKwahNB.js → PlayerAccountModal-1yio55uP.js} +17 -17
  5. package/components/{PlayerAccountModal-Db-SglWF.js → PlayerAccountModal-bhlvepWR.js} +21 -21
  6. package/components/{PlayerAccountModal-D5N72NeZ.cjs → PlayerAccountModal-hE4QiaWT.cjs} +1 -1
  7. package/components/{PlayerAccountSelfExclusionNd-_oUe60S2.cjs → PlayerAccountSelfExclusionNd-BDWzo3ic.cjs} +77 -77
  8. package/components/{PlayerAccountSelfExclusionNd-BxmnRxYL.js → PlayerAccountSelfExclusionNd-CvJTo9Xq.js} +708 -707
  9. package/components/{PlayerAccountSelfExclusionNd-By_-FjjY.js → PlayerAccountSelfExclusionNd-yog-b1L9.js} +371 -370
  10. package/es2015/player-account-self-exclusion-nd.cjs +1 -1
  11. package/es2015/player-account-self-exclusion-nd.js +1 -1
  12. package/esnext/player-account-self-exclusion-nd.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BtPvM93e.js +519 -0
  15. package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
  16. package/stencil/index-b2193545-D_KBbaD-.js +503 -0
  17. package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
  18. package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
  19. package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
  20. package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
  22. package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
  23. package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +0 -21
  24. package/stencil/index-b2193545-BeKKnKhR.js +0 -519
  25. package/stencil/index-b2193545-HC0t7mHa.js +0 -503
  26. package/stencil/index-b2193545-YW9b062G.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { i as j, S as q, a as A, f, s as W, c as B, b as H, d as L, t as w, e as m, g as N, h as P, j as z, k as R, o as U, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountGeneralConfirmationModal-CF0gIxAh.js";
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-DeKth9rU.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -16,7 +16,7 @@ function C(e) {
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = F(
19
+ ), r = G(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -28,7 +28,7 @@ function C(e) {
28
28
  t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
29
29
  },
30
30
  m(a, u) {
31
- z(a, t, u), v(t, n), v(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
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
32
  },
33
33
  p(a, u) {
34
34
  e = a, r && r.p && (!o || u & /*$$scope*/
@@ -52,21 +52,21 @@ function C(e) {
52
52
  );
53
53
  },
54
54
  i(a) {
55
- o || (m(r, a), a && G(() => {
56
- o && (s || (s = S(n, M, { transitionDuration: (
55
+ o || (m(r, a), a && O(() => {
56
+ o && (s || (s = v(n, M, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
59
59
  ) }, !0)), s.run(1));
60
60
  }), o = !0);
61
61
  },
62
62
  o(a) {
63
- w(r, a), a && (s || (s = S(n, M, { transitionDuration: (
63
+ w(r, a), a && (s || (s = v(n, M, { transitionDuration: (
64
64
  /*duration*/
65
65
  e[1]
66
66
  ) }, !1)), s.run(0)), o = !1;
67
67
  },
68
68
  d(a) {
69
- a && L(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
69
+ a && z(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
70
70
  }
71
71
  };
72
72
  }
@@ -77,15 +77,15 @@ function X(e) {
77
77
  );
78
78
  return {
79
79
  c() {
80
- i && i.c(), t = R();
80
+ i && i.c(), t = N();
81
81
  },
82
82
  m(s, o) {
83
- i && i.m(s, o), z(s, t, o), n = !0;
83
+ i && i.m(s, o), L(s, t, o), n = !0;
84
84
  },
85
85
  p(s, [o]) {
86
86
  /*show*/
87
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 && (N(), w(i, 1, 1, () => {
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
89
  i = null;
90
90
  }), P());
91
91
  },
@@ -96,7 +96,7 @@ function X(e) {
96
96
  w(i), n = !1;
97
97
  },
98
98
  d(s) {
99
- s && L(t), i && i.d(s);
99
+ s && z(t), i && i.d(s);
100
100
  }
101
101
  };
102
102
  }
@@ -112,7 +112,7 @@ function Y(e, t, n) {
112
112
  break;
113
113
  }
114
114
  };
115
- U(() => (window.addEventListener("message", b, !1), () => {
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function D(l) {
@@ -129,9 +129,9 @@ function Y(e, t, n) {
129
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
130
  }, e.$$.update = () => {
131
131
  e.$$.dirty & /*clientstyling, customStylingContainer*/
132
- 20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && a && c && Q(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && T(c, `${u}.Style`);
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
135
  }, [
136
136
  o,
137
137
  d,
@@ -154,7 +154,7 @@ class Z extends q {
154
154
  t,
155
155
  Y,
156
156
  X,
157
- W,
157
+ B,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -203,7 +203,7 @@ class Z extends q {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- B(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  Z as default
209
209
  };
@@ -1,4 +1,4 @@
1
- import { i as j, S as q, a as A, s as W, f, b as B, d as L, t as w, c as m, e as H, g as z, h as N, o as P, j as R, k as S, l as U, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountGeneralConfirmationModal-DTX1CBzd.js";
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-COn8IPHo.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -9,14 +9,14 @@ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
9
9
  };
10
10
  }
11
11
  function V(e) {
12
- B(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}");
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
13
  }
14
14
  function C(e) {
15
15
  let t, n, i, s, o;
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = R(
19
+ ), r = G(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -28,23 +28,23 @@ function C(e) {
28
28
  t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
29
29
  },
30
30
  m(a, u) {
31
- z(a, t, u), v(t, n), v(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
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
32
  },
33
33
  p(a, u) {
34
34
  e = a, r && r.p && (!o || u & /*$$scope*/
35
- 256) && F(
35
+ 256) && I(
36
36
  r,
37
37
  d,
38
38
  e,
39
39
  /*$$scope*/
40
40
  e[8],
41
- o ? I(
41
+ o ? K(
42
42
  d,
43
43
  /*$$scope*/
44
44
  e[8],
45
45
  u,
46
46
  null
47
- ) : G(
47
+ ) : J(
48
48
  /*$$scope*/
49
49
  e[8]
50
50
  ),
@@ -52,21 +52,21 @@ function C(e) {
52
52
  );
53
53
  },
54
54
  i(a) {
55
- o || (m(r, a), a && U(() => {
56
- o && (s || (s = S(n, M, { transitionDuration: (
55
+ o || (m(r, a), a && O(() => {
56
+ o && (s || (s = v(n, M, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
59
59
  ) }, !0)), s.run(1));
60
60
  }), o = !0);
61
61
  },
62
62
  o(a) {
63
- w(r, a), a && (s || (s = S(n, M, { transitionDuration: (
63
+ w(r, a), a && (s || (s = v(n, M, { transitionDuration: (
64
64
  /*duration*/
65
65
  e[1]
66
66
  ) }, !1)), s.run(0)), o = !1;
67
67
  },
68
68
  d(a) {
69
- a && L(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
69
+ a && z(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
70
70
  }
71
71
  };
72
72
  }
@@ -80,14 +80,14 @@ function X(e) {
80
80
  i && i.c(), t = N();
81
81
  },
82
82
  m(s, o) {
83
- i && i.m(s, o), z(s, t, o), n = !0;
83
+ i && i.m(s, o), L(s, t, o), n = !0;
84
84
  },
85
85
  p(s, [o]) {
86
86
  /*show*/
87
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 && (J(), w(i, 1, 1, () => {
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
89
  i = null;
90
- }), H());
90
+ }), P());
91
91
  },
92
92
  i(s) {
93
93
  n || (m(i), n = !0);
@@ -96,7 +96,7 @@ function X(e) {
96
96
  w(i), n = !1;
97
97
  },
98
98
  d(s) {
99
- s && L(t), i && i.d(s);
99
+ s && z(t), i && i.d(s);
100
100
  }
101
101
  };
102
102
  }
@@ -112,7 +112,7 @@ function Y(e, t, n) {
112
112
  break;
113
113
  }
114
114
  };
115
- P(() => (window.addEventListener("message", b, !1), () => {
115
+ R(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function D(l) {
@@ -129,9 +129,9 @@ function Y(e, t, n) {
129
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
130
  }, e.$$.update = () => {
131
131
  e.$$.dirty & /*clientstyling, customStylingContainer*/
132
- 20 && r && c && K(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && a && c && O(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && Q(c, `${u}.Style`);
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
135
  }, [
136
136
  o,
137
137
  d,
@@ -154,7 +154,7 @@ class Z extends q {
154
154
  t,
155
155
  Y,
156
156
  X,
157
- W,
157
+ B,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -203,7 +203,7 @@ class Z extends q {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- T(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  Z as default
209
209
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGeneralConfirmationModal-CepZsQsl.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGeneralConfirmationModal-CTkrsADp.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;