@everymatrix/player-account-self-exclusion 1.94.113 → 1.94.115
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.
- package/components/{PlayerAccountGeneralConfirmationModal-BOxU7bc7.js → PlayerAccountGeneralConfirmationModal-D8akNs65.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-C7WXgf4g.cjs → PlayerAccountGeneralConfirmationModal-DXxiPGY9.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-nPfY99JS.js → PlayerAccountGeneralConfirmationModal-gcAOCwXn.js} +1 -1
- package/components/{PlayerAccountModal-DTMbblo1.cjs → PlayerAccountModal-B0Gpvs7c.cjs} +1 -1
- package/components/{PlayerAccountModal-BRoV4zad.js → PlayerAccountModal-ClfAOwk1.js} +1 -1
- package/components/{PlayerAccountModal-DgU0o_eb.js → PlayerAccountModal-DsHadoZI.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-CR49BwJ_.cjs → PlayerAccountSelfExclusion-B1KxL7Uc.cjs} +2 -2
- package/components/{PlayerAccountSelfExclusion-Ccq1vLJn.js → PlayerAccountSelfExclusion-C-gMfNgb.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Cz7FIeJm.js → PlayerAccountSelfExclusion-DJSl2b5x.js} +3 -3
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-aZT0Suei.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-B9VBo72p.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-8UVsv6jT.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CQoA7I2l.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BQ-1TtKf.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-C7JH5ymf.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/stencil/index-b2193545-BK1eKuNv.js +0 -493
- package/stencil/index-b2193545-BzLH-hhx.js +0 -509
- package/stencil/index-b2193545-CIfou2cI.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountSelfExclusion-
|
|
1
|
+
import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountSelfExclusion-DJSl2b5x.js";
|
|
2
2
|
function H(n, e) {
|
|
3
3
|
K(n, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountSelfExclusion-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountSelfExclusion-B1KxL7Uc.cjs");function A(o,t){e.addMessages(o,t)}function N(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,d){e.insert(i,t,d),e.append(t,n),e.append(n,a)},p(i,d){d&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,d;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(f,C){e.insert(f,t,C),e.append(t,a),i||(d=e.listen(t,"click",o[18]),i=!0)},p(f,C){C&16&&n!==(n=f[4]("cancel")+"")&&e.set_data(a,n)},d(f){f&&e.detach(t),i=!1,d()}}}function U(o){let t,n,a,i,d,f,C,g,x,h,v=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&j(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),d=e.space(),f=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),x=e.space(),h=e.element("button"),_=e.text(v),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(f,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,d),e.append(n,f),f.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,x),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,d)):s&&(s.d(1),s=null),(!u||b&1)&&(f.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,x)):m&&(m.d(1),m=null),(!u||b&16)&&v!==(v=l[4]("confirm")+"")&&e.set_data(_,v)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:d}=t,{modaltext:f="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:x=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:v={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&x&&c.dispatchEvent(new CustomEvent(x,{detail:v,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},L=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const T=()=>{N(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function W(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,f=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,x=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,v=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,d=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&f&&_&&T(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&L()},[f,C,g,c,a,m,l,b,x,h,v,_,u,y,k,w,d,i,O,P,W]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(E,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountSelfExclusion-
|
|
1
|
+
import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountSelfExclusion-C-gMfNgb.js";
|
|
2
2
|
function H(n, e) {
|
|
3
3
|
K(n, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountSelfExclusion-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountSelfExclusion-B1KxL7Uc.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,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(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 C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;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 S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(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,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=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&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,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,4 +1,4 @@
|
|
|
1
|
-
import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, 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 "./PlayerAccountSelfExclusion-
|
|
1
|
+
import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, 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 "./PlayerAccountSelfExclusion-C-gMfNgb.js";
|
|
2
2
|
function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, 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 "./PlayerAccountSelfExclusion-
|
|
1
|
+
import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, 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 "./PlayerAccountSelfExclusion-DJSl2b5x.js";
|
|
2
2
|
function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var zl=Object.defineProperty,Ul=Object.defineProperties;var jl=Object.getOwnPropertyDescriptors;var Vo=Object.getOwnPropertySymbols;var Vl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var Zi=(t,i,e)=>i in t?zl(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,It=(t,i)=>{for(var e in i||(i={}))Vl.call(i,e)&&Zi(t,e,i[e]);if(Vo)for(var e of Vo(i))Yl.call(i,e)&&Zi(t,e,i[e]);return t},Nt=(t,i)=>Ul(t,jl(i));var Pe=(t,i,e)=>(Zi(t,typeof i!="symbol"?i+"":i,e),e);var st=(t,i,e)=>new Promise((r,o)=>{var n=l=>{try{a(e.next(l))}catch(u){o(u)}},s=l=>{try{a(e.throw(l))}catch(u){o(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(n,s);a((e=e.apply(t,i)).next())});require("../stencil/ui-skeleton-
|
|
1
|
+
"use strict";var zl=Object.defineProperty,Ul=Object.defineProperties;var jl=Object.getOwnPropertyDescriptors;var Vo=Object.getOwnPropertySymbols;var Vl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var Zi=(t,i,e)=>i in t?zl(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,It=(t,i)=>{for(var e in i||(i={}))Vl.call(i,e)&&Zi(t,e,i[e]);if(Vo)for(var e of Vo(i))Yl.call(i,e)&&Zi(t,e,i[e]);return t},Nt=(t,i)=>Ul(t,jl(i));var Pe=(t,i,e)=>(Zi(t,typeof i!="symbol"?i+"":i,e),e);var st=(t,i,e)=>new Promise((r,o)=>{var n=l=>{try{a(e.next(l))}catch(u){o(u)}},s=l=>{try{a(e.throw(l))}catch(u){o(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(n,s);a((e=e.apply(t,i)).next())});require("../stencil/ui-skeleton-BreIU6e5.cjs");function xe(){}const ps=t=>t;function Gl(t,i){for(const e in i)t[e]=i[e];return t}function ms(t){return t()}function Yo(){return Object.create(null)}function ze(t){t.forEach(ms)}function Bi(t){return typeof t=="function"}function fo(t,i){return t!=t?i==i:t!==i||t&&typeof t=="object"||typeof t=="function"}function Wl(t){return Object.keys(t).length===0}function _s(t,...i){if(t==null){for(const r of i)r(void 0);return xe}const e=t.subscribe(...i);return e.unsubscribe?()=>e.unsubscribe():e}function gs(t,i,e){t.$$.on_destroy.push(_s(i,e))}function ql(t,i,e,r){if(t){const o=bs(t,i,e,r);return t[0](o)}}function bs(t,i,e,r){return t[1]&&r?Gl(e.ctx.slice(),t[1](r(i))):e.ctx}function Xl(t,i,e,r){if(t[2]&&r){const o=t[2](r(e));if(i.dirty===void 0)return o;if(typeof o=="object"){const n=[],s=Math.max(i.dirty.length,o.length);for(let a=0;a<s;a+=1)n[a]=i.dirty[a]|o[a];return n}return i.dirty|o}return i.dirty}function Kl(t,i,e,r,o,n){if(o){const s=bs(i,e,r,n);t.p(s,o)}}function Jl(t){if(t.ctx.length>32){const i=[],e=t.ctx.length/32;for(let r=0;r<e;r++)i[r]=-1;return i}return-1}const ys=typeof window!="undefined";let Zl=ys?()=>window.performance.now():()=>Date.now(),po=ys?t=>requestAnimationFrame(t):xe;const pt=new Set;function vs(t){pt.forEach(i=>{i.c(t)||(pt.delete(i),i.f())}),pt.size!==0&&po(vs)}function Ql(t){let i;return pt.size===0&&po(vs),{promise:new Promise(e=>{pt.add(i={c:t,f:e})}),abort(){pt.delete(i)}}}function b(t,i){t.appendChild(i)}function xs(t,i,e){const r=mo(t);if(!r.getElementById(i)){const o=M("style");o.id=i,o.textContent=e,Es(r,o)}}function mo(t){if(!t)return document;const i=t.getRootNode?t.getRootNode():t.ownerDocument;return i&&i.host?i:t.ownerDocument}function eu(t){const i=M("style");return i.textContent="/* empty */",Es(mo(t),i),i.sheet}function Es(t,i){return b(t.head||t,i),i.sheet}function Ae(t,i,e){t.insertBefore(i,e||null)}function be(t){t.parentNode&&t.parentNode.removeChild(t)}function tu(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function M(t){return document.createElement(t)}function ke(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function pe(t){return document.createTextNode(t)}function Z(){return pe(" ")}function iu(){return pe("")}function qt(t,i,e,r){return t.addEventListener(i,e,r),()=>t.removeEventListener(i,e,r)}function k(t,i,e){e==null?t.removeAttribute(i):t.getAttribute(i)!==e&&t.setAttribute(i,e)}function L(t,i,e){const r=i.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:i in t?t[i]=typeof t[i]=="boolean"&&e===""?!0:e:k(t,i,e)}function ru(t){return Array.from(t.childNodes)}function Te(t,i){i=""+i,t.data!==i&&(t.data=i)}function Qi(t,i,e,r){e==null?t.style.removeProperty(i):t.style.setProperty(i,e,"")}function at(t,i,e){t.classList.toggle(i,!!e)}function ou(t,i,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:i,bubbles:e,cancelable:r})}function nu(t){const i={};return t.childNodes.forEach(e=>{i[e.slot||"default"]=!0}),i}const Ci=new Map;let Ti=0;function su(t){let i=5381,e=t.length;for(;e--;)i=(i<<5)-i^t.charCodeAt(e);return i>>>0}function au(t,i){const e={stylesheet:eu(i),rules:{}};return Ci.set(t,e),e}function Go(t,i,e,r,o,n,s,a=0){const l=16.666/r;let u=`{
|
|
2
2
|
`;for(let _=0;_<=1;_+=l){const S=i+(e-i)*n(_);u+=_*100+`%{${s(S,1-S)}}
|
|
3
3
|
`}const c=u+`100% {${s(e,1-e)}}
|
|
4
4
|
}`,h=`__svelte_${su(c)}_${a}`,d=mo(t),{stylesheet:p,rules:m}=Ci.get(d)||au(d,t);m[h]||(m[h]=!0,p.insertRule(`@keyframes ${h} ${c}`,p.cssRules.length));const f=t.style.animation||"";return t.style.animation=`${f?`${f}, `:""}${h} ${r}ms linear ${o}ms 1 both`,Ti+=1,h}function lu(t,i){const e=(t.style.animation||"").split(", "),r=e.filter(i?n=>n.indexOf(i)<0:n=>n.indexOf("__svelte")===-1),o=e.length-r.length;o&&(t.style.animation=r.join(", "),Ti-=o,Ti||uu())}function uu(){po(()=>{Ti||(Ci.forEach(t=>{const{ownerNode:i}=t.stylesheet;i&&be(i)}),Ci.clear())})}let Xt;function Vt(t){Xt=t}function cu(){if(!Xt)throw new Error("Function called outside component initialization");return Xt}function ws(t){cu().$$.on_mount.push(t)}const ht=[],mt=[];let _t=[];const Wo=[],hu=Promise.resolve();let Tr=!1;function du(){Tr||(Tr=!0,hu.then(he))}function Kt(t){_t.push(t)}const er=new Set;let lt=0;function he(){if(lt!==0)return;const t=Xt;do{try{for(;lt<ht.length;){const i=ht[lt];lt++,Vt(i),fu(i.$$)}}catch(i){throw ht.length=0,lt=0,i}for(Vt(null),ht.length=0,lt=0;mt.length;)mt.pop()();for(let i=0;i<_t.length;i+=1){const e=_t[i];er.has(e)||(er.add(e),e())}_t.length=0}while(ht.length);for(;Wo.length;)Wo.pop()();Tr=!1,er.clear(),Vt(t)}function fu(t){if(t.fragment!==null){t.update(),ze(t.before_update);const i=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,i),t.after_update.forEach(Kt)}}function pu(t){const i=[],e=[];_t.forEach(r=>t.indexOf(r)===-1?i.push(r):e.push(r)),e.forEach(r=>r()),_t=i}let Lt;function mu(){return Lt||(Lt=Promise.resolve(),Lt.then(()=>{Lt=null})),Lt}function tr(t,i,e){t.dispatchEvent(ou(`${i?"intro":"outro"}${e}`))}const yi=new Set;let $e;function _u(){$e={r:0,c:[],p:$e}}function gu(){$e.r||ze($e.c),$e=$e.p}function Ss(t,i){t&&t.i&&(yi.delete(t),t.i(i))}function bu(t,i,e,r){if(t&&t.o){if(yi.has(t))return;yi.add(t),$e.c.push(()=>{yi.delete(t),r&&(e&&t.d(1),r())}),t.o(i)}else r&&r()}const yu={duration:0};function vu(t,i,e,r){let n=i(t,e,{direction:"both"}),s=r?0:1,a=null,l=null,u=null,c;function h(){u&&lu(t,u)}function d(m,f){const _=m.b-s;return f*=Math.abs(_),{a:s,b:m.b,d:_,duration:f,start:m.start,end:m.start+f,group:m.group}}function p(m){const{delay:f=0,duration:_=300,easing:S=ps,tick:E=xe,css:D}=n||yu,F={start:Zl()+f,b:m};m||(F.group=$e,$e.r+=1),"inert"in t&&(m?c!==void 0&&(t.inert=c):(c=t.inert,t.inert=!0)),a||l?l=F:(D&&(h(),u=Go(t,s,m,_,f,S,D)),m&&E(0,1),a=d(F,_),Kt(()=>tr(t,m,"start")),Ql(P=>{if(l&&P>l.start&&(a=d(l,_),l=null,tr(t,a.b,"start"),D&&(h(),u=Go(t,s,a.b,a.duration,0,S,n.css))),a){if(P>=a.end)E(s=a.b,1-s),tr(t,a.b,"end"),l||(a.b?h():--a.group.r||ze(a.group.c)),a=null;else if(P>=a.start){const Y=P-a.start;s=a.a+a.d*S(Y/a.duration),E(s,1-s)}}return!!(a||l)}))}return{run(m){Bi(n)?mu().then(()=>{n=n({direction:m?"in":"out"}),p(m)}):p(m)},end(){h(),a=l=null}}}function qo(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function xu(t,i,e){const{fragment:r,after_update:o}=t.$$;r&&r.m(i,e),Kt(()=>{const n=t.$$.on_mount.map(ms).filter(Bi);t.$$.on_destroy?t.$$.on_destroy.push(...n):ze(n),t.$$.on_mount=[]}),o.forEach(Kt)}function Eu(t,i){const e=t.$$;e.fragment!==null&&(pu(e.after_update),ze(e.on_destroy),e.fragment&&e.fragment.d(i),e.on_destroy=e.fragment=null,e.ctx=[])}function wu(t,i){t.$$.dirty[0]===-1&&(ht.push(t),du(),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31}function As(t,i,e,r,o,n,s=null,a=[-1]){const l=Xt;Vt(t);const u=t.$$={fragment:null,ctx:[],props:n,update:xe,not_equal:o,bound:Yo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i.context||(l?l.$$.context:[])),callbacks:Yo(),dirty:a,skip_bound:!1,root:i.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=e?e(t,i.props||{},(h,d,...p)=>{const m=p.length?p[0]:d;return u.ctx&&o(u.ctx[h],u.ctx[h]=m)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](m),c&&wu(t,h)),d}):[],u.update(),c=!0,ze(u.before_update),u.fragment=r?r(u.ctx):!1,i.target){if(i.hydrate){const h=ru(i.target);u.fragment&&u.fragment.l(h),h.forEach(be)}else u.fragment&&u.fragment.c();i.intro&&Ss(t.$$.fragment),xu(t,i.target,i.anchor),he()}Vt(l)}let Cs;typeof HTMLElement=="function"&&(Cs=class extends HTMLElement{constructor(i,e,r){super();Pe(this,"$$ctor");Pe(this,"$$s");Pe(this,"$$c");Pe(this,"$$cn",!1);Pe(this,"$$d",{});Pe(this,"$$r",!1);Pe(this,"$$p_d",{});Pe(this,"$$l",{});Pe(this,"$$l_u",new Map);this.$$ctor=i,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(i,e,r){if(this.$$l[i]=this.$$l[i]||[],this.$$l[i].push(e),this.$$c){const o=this.$$c.$on(i,e);this.$$l_u.set(e,o)}super.addEventListener(i,e,r)}removeEventListener(i,e,r){if(super.removeEventListener(i,e,r),this.$$c){const o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}connectedCallback(){return st(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(n){return()=>{let s;return{c:function(){s=M("slot"),n!=="default"&&k(s,"name",n)},m:function(u,c){Ae(u,s,c)},d:function(u){u&&be(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=nu(this);for(const n of this.$$s)n in r&&(e[n]=[i(n)]);for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=vi(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Nt(It({},this.$$d),{$$slots:e,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const s=vi(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const n in this.$$l)for(const s of this.$$l[n]){const a=this.$$c.$on(n,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(i,e,r){var o;this.$$r||(i=this.$$g_p(i),this.$$d[i]=vi(i,r,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[i]:this.$$d[i]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(i){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===i||!this.$$p_d[e].attribute&&e.toLowerCase()===i)||i}});function vi(t,i,e,r){var n;const o=(n=e[t])==null?void 0:n.type;if(i=o==="Boolean"&&typeof i!="boolean"?i!=null:i,!r||!e[t])return i;if(r==="toAttribute")switch(o){case"Object":case"Array":return i==null?null:JSON.stringify(i);case"Boolean":return i?"":null;case"Number":return i==null?null:i;default:return i}else switch(o){case"Object":case"Array":return i&&JSON.parse(i);case"Boolean":return i;case"Number":return i!=null?+i:i;default:return i}}function Ts(t,i,e,r,o,n){let s=class extends Cs{constructor(){super(t,e,o),this.$$p_d=i}static get observedAttributes(){return Object.keys(i).map(a=>(i[a].attribute||a).toLowerCase())}};return Object.keys(i).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=vi(a,l,i),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),t.element=s,s}class Ps{constructor(){Pe(this,"$$");Pe(this,"$$set")}$destroy(){Eu(this,1),this.$destroy=xe}$on(i,e){if(!Bi(e))return xe;const r=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return r.push(e),()=>{const o=r.indexOf(e);o!==-1&&r.splice(o,1)}}$set(i){this.$$set&&!Wl(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}}const Su="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Su);/*! *****************************************************************************
|
|
@@ -3572,4 +3572,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
3572
3572
|
></vaadin-date-picker-overlay>
|
|
3573
3573
|
|
|
3574
3574
|
<slot name="tooltip"></slot>
|
|
3575
|
-
`}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new e_(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new t_(this.inputElement,this._labelController)),this._tooltipController=new pl(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ie(c_);if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-DTMbblo1.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-C7WXgf4g.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}function h_(t){xs(t,"svelte-st6cko",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ns(t,i,e){const r=t.slice();return r[58]=i[e],r}function d_(t){let i,e,r,o,n=t[23]("titleSelfExclusion")+"",s,a,l,u,c=t[23]("selfExclusionText",{values:{operatorname:t[3],baseurl:t[5],lang:t[2]}})+"",h,d,p=t[23]("selfExclusionEmailText")+"",m,f,_,S,E,D,F,P,Y,K=t[23](`${t[16]}`)+"",X,Q,I,N,q,oe,A,v,g,w,y,C,T,H=t[23]("save")+"",z,G,W,se,Ee,_e,ne=t[25]&&p_(t),ie=qo(t[12]),$=[];for(let O=0;O<ie.length;O+=1)$[O]=ss(ns(t,ie,O));let j=t[19]&&as(t);function ye(O,ee){return O[18]?g_:O[20]?m_:__}let ge=ye(t),fe=ge(t),we=t[26]&&b_(t);return{c(){i=M("div"),e=M("form"),ne&&ne.c(),r=Z(),o=M("h2"),s=pe(n),a=Z(),l=M("div"),u=M("p"),h=Z(),d=M("p"),m=pe(p),f=Z(),_=M("a"),S=pe(t[4]),D=Z(),F=M("div"),P=M("div"),Y=M("p"),X=pe(K),Q=Z(),I=ke("svg"),N=ke("g"),q=ke("path"),oe=Z(),A=M("div");for(let O=0;O<$.length;O+=1)$[O].c();v=Z(),j&&j.c(),g=Z(),w=M("div"),fe.c(),y=Z(),C=M("div"),T=M("button"),z=pe(H),se=Z(),we&&we.c(),k(o,"class","PlayerSelfExclusionTitle "+(t[25]?"PlayerSelfExclusionTitleNone":"")),k(u,"class","SelfExclusionDescriptionText"),k(_,"href",E="mailto:"+t[4]),k(d,"class","SelfExclusionDescriptionText"),k(l,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),k(q,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),k(q,"stroke-linecap","round"),k(I,"xmlns","http://www.w3.org/2000/svg"),k(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),k(I,"version","1.1"),k(I,"viewBox","0 0 100 100"),k(I,"xml:space","preserve"),k(I,"class","SelfExclusionConfigIcon"),at(I,"active",t[21]),k(P,"class","SelfExclusionConfigLabel"),k(A,"class","SelfExclusionDropDown"),at(A,"active",t[21]),k(F,"class","SelfExclusionConfigWrapper "+(t[25]?"SelfExclusionConfigWrapperMobile":"")),at(F,"active",t[21]),k(w,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),k(T,"class",G="SelfExclusionSave "+(t[20]?"active":"")),T.disabled=W=!t[20],k(C,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),k(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),k(i,"class","SelfExclusionContainer")},m(O,ee){Ae(O,i,ee),b(i,e),ne&&ne.m(e,null),b(e,r),b(e,o),b(o,s),b(e,a),b(e,l),b(l,u),u.innerHTML=c,b(l,h),b(l,d),b(d,m),b(d,f),b(d,_),b(_,S),b(e,D),b(e,F),b(F,P),b(P,Y),b(Y,X),b(P,Q),b(P,I),b(I,N),b(N,q),b(F,oe),b(F,A);for(let ae=0;ae<$.length;ae+=1)$[ae]&&$[ae].m(A,null);b(e,v),j&&j.m(e,null),b(e,g),b(e,w),fe.m(w,null),b(e,y),b(e,C),b(C,T),b(T,z),b(i,se),we&&we.m(i,null),Ee||(_e=[qt(P,"click",t[38]),qt(T,"click",t[41])],Ee=!0)},p(O,ee){if(O[25]&&ne.p(O,ee),ee[0]&8388608&&n!==(n=O[23]("titleSelfExclusion")+"")&&Te(s,n),ee[0]&8388652&&c!==(c=O[23]("selfExclusionText",{values:{operatorname:O[3],baseurl:O[5],lang:O[2]}})+"")&&(u.innerHTML=c),ee[0]&8388608&&p!==(p=O[23]("selfExclusionEmailText")+"")&&Te(m,p),ee[0]&16&&Te(S,O[4]),ee[0]&16&&E!==(E="mailto:"+O[4])&&k(_,"href",E),ee[0]&8454144&&K!==(K=O[23](`${O[16]}`)+"")&&Te(X,K),ee[0]&2097152&&at(I,"active",O[21]),ee[0]&276828160){ie=qo(O[12]);let ae;for(ae=0;ae<ie.length;ae+=1){const hi=ns(O,ie,ae);$[ae]?$[ae].p(hi,ee):($[ae]=ss(hi),$[ae].c(),$[ae].m(A,null))}for(;ae<$.length;ae+=1)$[ae].d(1);$.length=ie.length}ee[0]&2097152&&at(A,"active",O[21]),ee[0]&2097152&&at(F,"active",O[21]),O[19]?j?j.p(O,ee):(j=as(O),j.c(),j.m(e,g)):j&&(j.d(1),j=null),ge===(ge=ye(O))&&fe?fe.p(O,ee):(fe.d(1),fe=ge(O),fe&&(fe.c(),fe.m(w,null))),ee[0]&8388608&&H!==(H=O[23]("save")+"")&&Te(z,H),ee[0]&1048576&&G!==(G="SelfExclusionSave "+(O[20]?"active":""))&&k(T,"class",G),ee[0]&1048576&&W!==(W=!O[20])&&(T.disabled=W),O[26]&&we.p(O,ee)},d(O){O&&be(i),ne&&ne.d(),tu($,O),j&&j.d(),fe.d(),we&&we.d(),Ee=!1,ze(_e)}}}function f_(t){let i,e,r,o,n,s,a,l,u,c,h,d,p,m,f,_,S,E,D,F,P;function Y(Q,I){return Q[25]?v_:y_}let X=Y(t)(t);return{c(){i=M("div"),e=M("div"),X.c(),r=Z(),o=M("div"),n=M("ui-skeleton"),s=Z(),a=M("div"),l=Z(),u=M("ui-skeleton"),c=Z(),h=M("div"),d=Z(),p=M("div"),m=M("ui-skeleton"),f=Z(),_=M("div"),S=Z(),E=M("ui-skeleton"),D=Z(),F=M("div"),P=M("ui-skeleton"),L(n,"structure","text"),L(n,"height",t[25]?"15px":"20px"),L(n,"rows","6"),L(n,"width","100%"),Qi(a,"height",t[25]?"10px":"20px"),L(u,"structure","text"),L(u,"height",t[25]?"15px":"20px"),L(u,"width","30%"),Qi(h,"height","10px"),k(o,"class","SelfExclusionDescription"),L(m,"structure","rectangle"),L(m,"width",t[25]?"100%":"50%"),L(m,"height",t[25]?"30px":"44px"),Qi(_,"height",t[25]?"15px":"20px"),L(E,"structure","text"),L(E,"height",t[25]?"15px":"20px"),L(E,"width","30%"),k(p,"class","SelfExclusionConfig"),L(P,"structure","rectangle"),L(P,"width","100%"),L(P,"height",t[25]?"35px":"50px"),k(F,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),k(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),k(i,"class","SelfExclusionContainer")},m(Q,I){Ae(Q,i,I),b(i,e),X.m(e,null),b(e,r),b(e,o),b(o,n),b(o,s),b(o,a),b(o,l),b(o,u),b(o,c),b(o,h),b(e,d),b(e,p),b(p,m),b(p,f),b(p,_),b(p,S),b(p,E),b(e,D),b(e,F),b(F,P)},p:xe,d(Q){Q&&be(i),X.d()}}}function p_(t){let i,e,r,o,n,s,a,l,u,c,h=t[23]("titleSelfExclusion")+"",d,p,m;return{c(){i=M("div"),e=ke("svg"),r=ke("defs"),o=ke("style"),n=pe(".aaa{fill:var(--emw--color-primary, #22B04E);}"),s=ke("g"),a=ke("g"),l=ke("path"),u=Z(),c=M("h2"),d=pe(h),k(l,"class","aaa"),k(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),k(l,"transform","translate(15 15) rotate(180)"),k(a,"transform","translate(20 158)"),k(s,"transform","translate(-20 -158)"),k(e,"xmlns","http://www.w3.org/2000/svg"),k(e,"width","15"),k(e,"height","15"),k(e,"viewBox","0 0 15 15"),k(c,"class","PlayerSelfExclusionTitleMobile"),k(i,"class","MenuReturnButton")},m(f,_){Ae(f,i,_),b(i,e),b(e,r),b(r,o),b(o,n),b(e,s),b(s,a),b(a,l),b(i,u),b(i,c),b(c,d),p||(m=qt(i,"click",t[37]),p=!0)},p(f,_){_[0]&8388608&&h!==(h=f[23]("titleSelfExclusion")+"")&&Te(d,h)},d(f){f&&be(i),p=!1,m()}}}function ss(t){let i,e=t[23](`${t[58].key}`)+"",r,o,n;function s(){return t[39](t[58])}return{c(){i=M("div"),r=pe(e)},m(a,l){Ae(a,i,l),b(i,r),o||(n=qt(i,"click",s),o=!0)},p(a,l){t=a,l[0]&8392704&&e!==(e=t[23](`${t[58].key}`)+"")&&Te(r,e)},d(a){a&&be(i),o=!1,n()}}}function as(t){let i,e,r=t[23]("duration")+"",o,n,s,a=t[23]("dateInstructions")+"",l,u,c,h,d,p,m;return{c(){i=M("div"),e=M("label"),o=pe(r),n=Z(),s=M("span"),l=pe(a),u=Z(),c=M("strong"),h=pe(t[24]),d=M("strong"),p=Z(),m=M("vaadin-date-picker"),k(e,"for","SelfExclusionDate"),k(s,"class","SelfExclusionDateInstructions"),L(m,"min",t[13]),L(m,"max",t[14]),L(m,"value",t[15]),k(i,"class","SelfExclusionDateWrapper "+(t[25]?"SelfExclusionDateWrapperMobile":""))},m(f,_){Ae(f,i,_),b(i,e),b(e,o),b(i,n),b(i,s),b(s,l),b(s,u),b(s,c),b(c,h),b(c,d),b(i,p),b(i,m),t[40](m)},p(f,_){_[0]&8388608&&r!==(r=f[23]("duration")+"")&&Te(o,r),_[0]&8388608&&a!==(a=f[23]("dateInstructions")+"")&&Te(l,a),_[0]&8192&&L(m,"min",f[13]),_[0]&16384&&L(m,"max",f[14]),_[0]&32768&&L(m,"value",f[15])},d(f){f&&be(i),t[40](null)}}}function m_(t){let i,e,r=t[23]("temporarySelfExclusion",{values:{date:Fe(t[15]).format(t[24])}})+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8421376&&r!==(r=n[23]("temporarySelfExclusion",{values:{date:Fe(n[15]).format(n[24])}})+"")&&Te(o,r)},d(n){n&&be(i)}}}function __(t){let i,e,r=t[23]("noPeriodSelected")+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("noPeriodSelected")+"")&&Te(o,r)},d(n){n&&be(i)}}}function g_(t){let i,e,r=t[23]("permanentSelfExclusion")+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("permanentSelfExclusion")+"")&&Te(o,r)},d(n){n&&be(i)}}}function b_(t){let i,e,r,o;return{c(){i=M("player-account-modal"),e=M("player-account-general-confirmation-modal"),L(e,"modaltitle",r=t[23]("confirmationModalTitle")),L(e,"modaltext",t[17]),L(e,"hascancelbutton",!1),L(e,"modalconfirmevent","setSelfExclusion"),L(e,"modalconfirmdata",o={userid:t[1],selectedPeriodKey:t[16],session:t[0]}),L(e,"mbsource",t[8]),L(e,"lang",t[2]),L(i,"clientstyling",t[6]),L(i,"clientstylingurl",t[7]),L(i,"mbsource",t[8]),L(i,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(n,s){Ae(n,i,s),b(i,e),t[42](e)},p(n,s){s[0]&8388608&&r!==(r=n[23]("confirmationModalTitle"))&&L(e,"modaltitle",r),s[0]&131072&&L(e,"modaltext",n[17]),s[0]&65539&&o!==(o={userid:n[1],selectedPeriodKey:n[16],session:n[0]})&&L(e,"modalconfirmdata",o),s[0]&256&&L(e,"mbsource",n[8]),s[0]&4&&L(e,"lang",n[2]),s[0]&64&&L(i,"clientstyling",n[6]),s[0]&128&&L(i,"clientstylingurl",n[7]),s[0]&256&&L(i,"mbsource",n[8])},d(n){n&&be(i),t[42](null)}}}function y_(t){let i;return{c(){i=M("ui-skeleton"),L(i,"structure","title"),L(i,"width","100px"),L(i,"margin-top","20px"),L(i,"margin-bottom","20px")},m(e,r){Ae(e,i,r)},d(e){e&&be(i)}}}function v_(t){let i;return{c(){i=M("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',k(i,"class","MenuReturnButton")},m(e,r){Ae(e,i,r)},d(e){e&&be(i)}}}function x_(t){let i;function e(n,s){return n[22]?f_:d_}let r=e(t),o=r(t);return{c(){i=M("div"),o.c()},m(n,s){Ae(n,i,s),o.m(i,null),t[43](i)},p(n,s){r===(r=e(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:xe,o:xe,d(n){n&&be(i),o.d(),t[43](null)}}}function E_(t,i,e){let r;gs(t,na,x=>e(23,r=x)),Fe.extend(Th);let{endpoint:o="",session:n="",userid:s="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:c="",baseurl:h="",clientstyling:d="",clientstylingurl:p="",mbsource:m,translationurl:f="",hasconfirmationmodal:_="false",dateformat:S="DD/MM/YYYY",sendnotificationemail:E="false"}=i,D,F,P,Y=[],K={},X=S.toUpperCase(),Q=window.navigator.userAgent,I,N,q="",oe="",A="selectAPeriod",v="",g="",w=sa(Q)!=="PC",y=!1,C=!1,T=!1,H=!1,z=_==="true",G=!0,W;const se=()=>{fetch(f).then(le=>le.json()).then(le=>{Object.keys(le).forEach(ue=>{_n(ue,le[ue])})}).catch(le=>{console.log(le)})};Object.keys(gn).forEach(x=>{_n(x,gn[x])});const Ee=()=>{let x=new URL(`${o}/v1/player/selfExclusionSettings`);fetch(x,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(ue=>ne(ue)).then(ue=>{e(12,Y=ue.periods)}).catch(ue=>{console.log(ue),window.postMessage({type:"WidgetNotification",data:{type:"error",message:ue.message}},window.location.href)}).finally(()=>{e(22,G=!1)})},_e=x=>{const{userid:le,selectedPeriodKey:ue,session:Ne}=x.detail;e(1,s=le),e(16,A=ue),e(0,n=Ne),ge()},ne=x=>st(this,null,function*(){var le;if(!x.ok){K=yield x.json(),g=(le=K.thirdPartyResponse)==null?void 0:le.errorCode;const ue=r(g||"generalError");throw new Error(ue)}return x.json()}),ie=()=>{e(21,H=!H)},$=x=>{switch(oe=x.text,e(16,A=x.key),e(20,T=!0),e(21,H=!1),e(18,y=!1),e(19,C=!1),oe){case"Until":e(19,C=!0),e(13,I=Fe().add(6,"months").format("YYYY-MM-DD")),e(14,N=Fe().add(5,"years").format("YYYY-MM-DD")),e(15,q=I);break;case"Permanent":e(18,y=!y);break;default:const[le,ue]=oe.split(" "),Ne=ue.includes("Day")?"days":ue.includes("Month")?"months":ue.includes("Year")?"years":null;if(!Ne)return;e(15,q=Fe().add(Number(le),Ne).format("YYYY-MM-DD"));break}z&&j()},j=()=>{if(!z||!oe||!q){e(17,v="");return}e(17,v=C?r("confirmationModalTextUntilSelfExclusion",{values:{date:Fe(q).format(X)}}):r("confirmationModalTextPeriodSelfExclusion",{values:{period:r(oe)}}))},ye=x=>{x.preventDefault(),z?(j(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):ge()},ge=()=>{e(22,G=!0);const x=new URL(`${o}/v2/player/${s}/limits${l==="gm16"?"/session":""}`),ue={method:"PUT",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:A,expiryDate:q,selfExclusionReason:"UserRequest",sendNotificationEmail:E==="true"}})};fetch(x.href,ue).then(Ne=>ne(Ne)).then(Ne=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ne=>{console.error(r("errorSelfExclusionCall"),Ne),window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(22,G=!1)})},fe=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:w},window.location.href)},we=x=>{e(15,q=x.target.value)},O=()=>{P.addEventListener("change",we,!1),e(10,P.i18n=Nt(It({},P.i18n),{formatDate:x=>Fe(new Date(x.year,x.month,x.day)).format(X),parseDate:x=>{const le=Fe(x,X);return{year:le.year(),month:le.month(),day:le.date()}}}),P)};ws(()=>()=>{P.removeEventListener("change",we),W.removeEventListener("setSelfExclusion",_e)});const ee=()=>{Ph(a)},ae=()=>fe(),hi=()=>ie(),Fl=x=>$(x);function Hl(x){mt[x?"unshift":"push"](()=>{P=x,e(10,P)})}const $l=x=>ye(x);function Bl(x){mt[x?"unshift":"push"](()=>{W=x,e(11,W)})}function Rl(x){mt[x?"unshift":"push"](()=>{D=x,e(9,D)})}return t.$$set=x=>{"endpoint"in x&&e(31,o=x.endpoint),"session"in x&&e(0,n=x.session),"userid"in x&&e(1,s=x.userid),"lang"in x&&e(2,a=x.lang),"gmversion"in x&&e(32,l=x.gmversion),"operator"in x&&e(3,u=x.operator),"supportemail"in x&&e(4,c=x.supportemail),"baseurl"in x&&e(5,h=x.baseurl),"clientstyling"in x&&e(6,d=x.clientstyling),"clientstylingurl"in x&&e(7,p=x.clientstylingurl),"mbsource"in x&&e(8,m=x.mbsource),"translationurl"in x&&e(33,f=x.translationurl),"hasconfirmationmodal"in x&&e(34,_=x.hasconfirmationmodal),"dateformat"in x&&e(35,S=x.dateformat),"sendnotificationemail"in x&&e(36,E=x.sendnotificationemail)},t.$$.update=()=>{t.$$.dirty[0]&4&&a&&ee(),t.$$.dirty[0]&3|t.$$.dirty[1]&3&&o&&n&&s&&l&&Ee(),t.$$.dirty[0]&1024&&P&&O(),t.$$.dirty[0]&576&&d&&D&&ua(D,d),t.$$.dirty[0]&640&&p&&D&&ca(D,p),t.$$.dirty[0]&768&&m&&D&&ha(D,`${m}.Style`,F),t.$$.dirty[1]&4&&f&&se(),t.$$.dirty[0]&2048&&W&&W.addEventListener("setSelfExclusion",_e)},z&&j(),[n,s,a,u,c,h,d,p,m,D,P,W,Y,I,N,q,A,v,y,C,T,H,G,r,X,w,z,ie,$,ye,fe,o,l,f,_,S,E,ae,hi,Fl,Hl,$l,Bl,Rl]}class Ll extends Ps{constructor(i){super(),As(this,i,E_,x_,fo,{endpoint:31,session:0,userid:1,lang:2,gmversion:32,operator:3,supportemail:4,baseurl:5,clientstyling:6,clientstylingurl:7,mbsource:8,translationurl:33,hasconfirmationmodal:34,dateformat:35,sendnotificationemail:36},h_,[-1,-1])}get endpoint(){return this.$$.ctx[31]}set endpoint(i){this.$$set({endpoint:i}),he()}get session(){return this.$$.ctx[0]}set session(i){this.$$set({session:i}),he()}get userid(){return this.$$.ctx[1]}set userid(i){this.$$set({userid:i}),he()}get lang(){return this.$$.ctx[2]}set lang(i){this.$$set({lang:i}),he()}get gmversion(){return this.$$.ctx[32]}set gmversion(i){this.$$set({gmversion:i}),he()}get operator(){return this.$$.ctx[3]}set operator(i){this.$$set({operator:i}),he()}get supportemail(){return this.$$.ctx[4]}set supportemail(i){this.$$set({supportemail:i}),he()}get baseurl(){return this.$$.ctx[5]}set baseurl(i){this.$$set({baseurl:i}),he()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(i){this.$$set({clientstyling:i}),he()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),he()}get mbsource(){return this.$$.ctx[8]}set mbsource(i){this.$$set({mbsource:i}),he()}get translationurl(){return this.$$.ctx[33]}set translationurl(i){this.$$set({translationurl:i}),he()}get hasconfirmationmodal(){return this.$$.ctx[34]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),he()}get dateformat(){return this.$$.ctx[35]}set dateformat(i){this.$$set({dateformat:i}),he()}get sendnotificationemail(){return this.$$.ctx[36]}set sendnotificationemail(i){this.$$set({sendnotificationemail:i}),he()}}Ts(Ll,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const w_=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"}));exports.$format=na;exports.$locale=it;exports.PlayerAccountSelfExclusion_ce=w_;exports.SvelteComponent=Ps;exports.addMessages=bo;exports.add_render_callback=Kt;exports.append=b;exports.append_styles=xs;exports.attr=k;exports.binding_callbacks=mt;exports.check_outros=gu;exports.component_subscribe=gs;exports.create_bidirectional_transition=vu;exports.create_custom_element=Ts;exports.create_slot=ql;exports.detach=be;exports.element=M;exports.empty=iu;exports.flush=he;exports.getDevice=sa;exports.get_all_dirty_from_scope=Jl;exports.get_slot_changes=Xl;exports.group_outros=_u;exports.identity=ps;exports.init=As;exports.insert=Ae;exports.listen=qt;exports.noop=xe;exports.onMount=ws;exports.run_all=ze;exports.safe_not_equal=fo;exports.setClientStyling=ua;exports.setClientStylingURL=ca;exports.setStreamStyling=ha;exports.set_data=Te;exports.space=Z;exports.svg_element=ke;exports.text=pe;exports.transition_in=Ss;exports.transition_out=bu;exports.update_slot_base=Kl;
|
|
3575
|
+
`}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new e_(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new t_(this.inputElement,this._labelController)),this._tooltipController=new pl(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ie(c_);if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-B0Gpvs7c.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-DXxiPGY9.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}function h_(t){xs(t,"svelte-st6cko",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ns(t,i,e){const r=t.slice();return r[58]=i[e],r}function d_(t){let i,e,r,o,n=t[23]("titleSelfExclusion")+"",s,a,l,u,c=t[23]("selfExclusionText",{values:{operatorname:t[3],baseurl:t[5],lang:t[2]}})+"",h,d,p=t[23]("selfExclusionEmailText")+"",m,f,_,S,E,D,F,P,Y,K=t[23](`${t[16]}`)+"",X,Q,I,N,q,oe,A,v,g,w,y,C,T,H=t[23]("save")+"",z,G,W,se,Ee,_e,ne=t[25]&&p_(t),ie=qo(t[12]),$=[];for(let O=0;O<ie.length;O+=1)$[O]=ss(ns(t,ie,O));let j=t[19]&&as(t);function ye(O,ee){return O[18]?g_:O[20]?m_:__}let ge=ye(t),fe=ge(t),we=t[26]&&b_(t);return{c(){i=M("div"),e=M("form"),ne&&ne.c(),r=Z(),o=M("h2"),s=pe(n),a=Z(),l=M("div"),u=M("p"),h=Z(),d=M("p"),m=pe(p),f=Z(),_=M("a"),S=pe(t[4]),D=Z(),F=M("div"),P=M("div"),Y=M("p"),X=pe(K),Q=Z(),I=ke("svg"),N=ke("g"),q=ke("path"),oe=Z(),A=M("div");for(let O=0;O<$.length;O+=1)$[O].c();v=Z(),j&&j.c(),g=Z(),w=M("div"),fe.c(),y=Z(),C=M("div"),T=M("button"),z=pe(H),se=Z(),we&&we.c(),k(o,"class","PlayerSelfExclusionTitle "+(t[25]?"PlayerSelfExclusionTitleNone":"")),k(u,"class","SelfExclusionDescriptionText"),k(_,"href",E="mailto:"+t[4]),k(d,"class","SelfExclusionDescriptionText"),k(l,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),k(q,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),k(q,"stroke-linecap","round"),k(I,"xmlns","http://www.w3.org/2000/svg"),k(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),k(I,"version","1.1"),k(I,"viewBox","0 0 100 100"),k(I,"xml:space","preserve"),k(I,"class","SelfExclusionConfigIcon"),at(I,"active",t[21]),k(P,"class","SelfExclusionConfigLabel"),k(A,"class","SelfExclusionDropDown"),at(A,"active",t[21]),k(F,"class","SelfExclusionConfigWrapper "+(t[25]?"SelfExclusionConfigWrapperMobile":"")),at(F,"active",t[21]),k(w,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),k(T,"class",G="SelfExclusionSave "+(t[20]?"active":"")),T.disabled=W=!t[20],k(C,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),k(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),k(i,"class","SelfExclusionContainer")},m(O,ee){Ae(O,i,ee),b(i,e),ne&&ne.m(e,null),b(e,r),b(e,o),b(o,s),b(e,a),b(e,l),b(l,u),u.innerHTML=c,b(l,h),b(l,d),b(d,m),b(d,f),b(d,_),b(_,S),b(e,D),b(e,F),b(F,P),b(P,Y),b(Y,X),b(P,Q),b(P,I),b(I,N),b(N,q),b(F,oe),b(F,A);for(let ae=0;ae<$.length;ae+=1)$[ae]&&$[ae].m(A,null);b(e,v),j&&j.m(e,null),b(e,g),b(e,w),fe.m(w,null),b(e,y),b(e,C),b(C,T),b(T,z),b(i,se),we&&we.m(i,null),Ee||(_e=[qt(P,"click",t[38]),qt(T,"click",t[41])],Ee=!0)},p(O,ee){if(O[25]&&ne.p(O,ee),ee[0]&8388608&&n!==(n=O[23]("titleSelfExclusion")+"")&&Te(s,n),ee[0]&8388652&&c!==(c=O[23]("selfExclusionText",{values:{operatorname:O[3],baseurl:O[5],lang:O[2]}})+"")&&(u.innerHTML=c),ee[0]&8388608&&p!==(p=O[23]("selfExclusionEmailText")+"")&&Te(m,p),ee[0]&16&&Te(S,O[4]),ee[0]&16&&E!==(E="mailto:"+O[4])&&k(_,"href",E),ee[0]&8454144&&K!==(K=O[23](`${O[16]}`)+"")&&Te(X,K),ee[0]&2097152&&at(I,"active",O[21]),ee[0]&276828160){ie=qo(O[12]);let ae;for(ae=0;ae<ie.length;ae+=1){const hi=ns(O,ie,ae);$[ae]?$[ae].p(hi,ee):($[ae]=ss(hi),$[ae].c(),$[ae].m(A,null))}for(;ae<$.length;ae+=1)$[ae].d(1);$.length=ie.length}ee[0]&2097152&&at(A,"active",O[21]),ee[0]&2097152&&at(F,"active",O[21]),O[19]?j?j.p(O,ee):(j=as(O),j.c(),j.m(e,g)):j&&(j.d(1),j=null),ge===(ge=ye(O))&&fe?fe.p(O,ee):(fe.d(1),fe=ge(O),fe&&(fe.c(),fe.m(w,null))),ee[0]&8388608&&H!==(H=O[23]("save")+"")&&Te(z,H),ee[0]&1048576&&G!==(G="SelfExclusionSave "+(O[20]?"active":""))&&k(T,"class",G),ee[0]&1048576&&W!==(W=!O[20])&&(T.disabled=W),O[26]&&we.p(O,ee)},d(O){O&&be(i),ne&&ne.d(),tu($,O),j&&j.d(),fe.d(),we&&we.d(),Ee=!1,ze(_e)}}}function f_(t){let i,e,r,o,n,s,a,l,u,c,h,d,p,m,f,_,S,E,D,F,P;function Y(Q,I){return Q[25]?v_:y_}let X=Y(t)(t);return{c(){i=M("div"),e=M("div"),X.c(),r=Z(),o=M("div"),n=M("ui-skeleton"),s=Z(),a=M("div"),l=Z(),u=M("ui-skeleton"),c=Z(),h=M("div"),d=Z(),p=M("div"),m=M("ui-skeleton"),f=Z(),_=M("div"),S=Z(),E=M("ui-skeleton"),D=Z(),F=M("div"),P=M("ui-skeleton"),L(n,"structure","text"),L(n,"height",t[25]?"15px":"20px"),L(n,"rows","6"),L(n,"width","100%"),Qi(a,"height",t[25]?"10px":"20px"),L(u,"structure","text"),L(u,"height",t[25]?"15px":"20px"),L(u,"width","30%"),Qi(h,"height","10px"),k(o,"class","SelfExclusionDescription"),L(m,"structure","rectangle"),L(m,"width",t[25]?"100%":"50%"),L(m,"height",t[25]?"30px":"44px"),Qi(_,"height",t[25]?"15px":"20px"),L(E,"structure","text"),L(E,"height",t[25]?"15px":"20px"),L(E,"width","30%"),k(p,"class","SelfExclusionConfig"),L(P,"structure","rectangle"),L(P,"width","100%"),L(P,"height",t[25]?"35px":"50px"),k(F,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),k(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),k(i,"class","SelfExclusionContainer")},m(Q,I){Ae(Q,i,I),b(i,e),X.m(e,null),b(e,r),b(e,o),b(o,n),b(o,s),b(o,a),b(o,l),b(o,u),b(o,c),b(o,h),b(e,d),b(e,p),b(p,m),b(p,f),b(p,_),b(p,S),b(p,E),b(e,D),b(e,F),b(F,P)},p:xe,d(Q){Q&&be(i),X.d()}}}function p_(t){let i,e,r,o,n,s,a,l,u,c,h=t[23]("titleSelfExclusion")+"",d,p,m;return{c(){i=M("div"),e=ke("svg"),r=ke("defs"),o=ke("style"),n=pe(".aaa{fill:var(--emw--color-primary, #22B04E);}"),s=ke("g"),a=ke("g"),l=ke("path"),u=Z(),c=M("h2"),d=pe(h),k(l,"class","aaa"),k(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),k(l,"transform","translate(15 15) rotate(180)"),k(a,"transform","translate(20 158)"),k(s,"transform","translate(-20 -158)"),k(e,"xmlns","http://www.w3.org/2000/svg"),k(e,"width","15"),k(e,"height","15"),k(e,"viewBox","0 0 15 15"),k(c,"class","PlayerSelfExclusionTitleMobile"),k(i,"class","MenuReturnButton")},m(f,_){Ae(f,i,_),b(i,e),b(e,r),b(r,o),b(o,n),b(e,s),b(s,a),b(a,l),b(i,u),b(i,c),b(c,d),p||(m=qt(i,"click",t[37]),p=!0)},p(f,_){_[0]&8388608&&h!==(h=f[23]("titleSelfExclusion")+"")&&Te(d,h)},d(f){f&&be(i),p=!1,m()}}}function ss(t){let i,e=t[23](`${t[58].key}`)+"",r,o,n;function s(){return t[39](t[58])}return{c(){i=M("div"),r=pe(e)},m(a,l){Ae(a,i,l),b(i,r),o||(n=qt(i,"click",s),o=!0)},p(a,l){t=a,l[0]&8392704&&e!==(e=t[23](`${t[58].key}`)+"")&&Te(r,e)},d(a){a&&be(i),o=!1,n()}}}function as(t){let i,e,r=t[23]("duration")+"",o,n,s,a=t[23]("dateInstructions")+"",l,u,c,h,d,p,m;return{c(){i=M("div"),e=M("label"),o=pe(r),n=Z(),s=M("span"),l=pe(a),u=Z(),c=M("strong"),h=pe(t[24]),d=M("strong"),p=Z(),m=M("vaadin-date-picker"),k(e,"for","SelfExclusionDate"),k(s,"class","SelfExclusionDateInstructions"),L(m,"min",t[13]),L(m,"max",t[14]),L(m,"value",t[15]),k(i,"class","SelfExclusionDateWrapper "+(t[25]?"SelfExclusionDateWrapperMobile":""))},m(f,_){Ae(f,i,_),b(i,e),b(e,o),b(i,n),b(i,s),b(s,l),b(s,u),b(s,c),b(c,h),b(c,d),b(i,p),b(i,m),t[40](m)},p(f,_){_[0]&8388608&&r!==(r=f[23]("duration")+"")&&Te(o,r),_[0]&8388608&&a!==(a=f[23]("dateInstructions")+"")&&Te(l,a),_[0]&8192&&L(m,"min",f[13]),_[0]&16384&&L(m,"max",f[14]),_[0]&32768&&L(m,"value",f[15])},d(f){f&&be(i),t[40](null)}}}function m_(t){let i,e,r=t[23]("temporarySelfExclusion",{values:{date:Fe(t[15]).format(t[24])}})+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8421376&&r!==(r=n[23]("temporarySelfExclusion",{values:{date:Fe(n[15]).format(n[24])}})+"")&&Te(o,r)},d(n){n&&be(i)}}}function __(t){let i,e,r=t[23]("noPeriodSelected")+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("noPeriodSelected")+"")&&Te(o,r)},d(n){n&&be(i)}}}function g_(t){let i,e,r=t[23]("permanentSelfExclusion")+"",o;return{c(){i=M("p"),e=M("strong"),o=pe(r),k(i,"class","SelfExclusionDescriptionText")},m(n,s){Ae(n,i,s),b(i,e),b(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("permanentSelfExclusion")+"")&&Te(o,r)},d(n){n&&be(i)}}}function b_(t){let i,e,r,o;return{c(){i=M("player-account-modal"),e=M("player-account-general-confirmation-modal"),L(e,"modaltitle",r=t[23]("confirmationModalTitle")),L(e,"modaltext",t[17]),L(e,"hascancelbutton",!1),L(e,"modalconfirmevent","setSelfExclusion"),L(e,"modalconfirmdata",o={userid:t[1],selectedPeriodKey:t[16],session:t[0]}),L(e,"mbsource",t[8]),L(e,"lang",t[2]),L(i,"clientstyling",t[6]),L(i,"clientstylingurl",t[7]),L(i,"mbsource",t[8]),L(i,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(n,s){Ae(n,i,s),b(i,e),t[42](e)},p(n,s){s[0]&8388608&&r!==(r=n[23]("confirmationModalTitle"))&&L(e,"modaltitle",r),s[0]&131072&&L(e,"modaltext",n[17]),s[0]&65539&&o!==(o={userid:n[1],selectedPeriodKey:n[16],session:n[0]})&&L(e,"modalconfirmdata",o),s[0]&256&&L(e,"mbsource",n[8]),s[0]&4&&L(e,"lang",n[2]),s[0]&64&&L(i,"clientstyling",n[6]),s[0]&128&&L(i,"clientstylingurl",n[7]),s[0]&256&&L(i,"mbsource",n[8])},d(n){n&&be(i),t[42](null)}}}function y_(t){let i;return{c(){i=M("ui-skeleton"),L(i,"structure","title"),L(i,"width","100px"),L(i,"margin-top","20px"),L(i,"margin-bottom","20px")},m(e,r){Ae(e,i,r)},d(e){e&&be(i)}}}function v_(t){let i;return{c(){i=M("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',k(i,"class","MenuReturnButton")},m(e,r){Ae(e,i,r)},d(e){e&&be(i)}}}function x_(t){let i;function e(n,s){return n[22]?f_:d_}let r=e(t),o=r(t);return{c(){i=M("div"),o.c()},m(n,s){Ae(n,i,s),o.m(i,null),t[43](i)},p(n,s){r===(r=e(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:xe,o:xe,d(n){n&&be(i),o.d(),t[43](null)}}}function E_(t,i,e){let r;gs(t,na,x=>e(23,r=x)),Fe.extend(Th);let{endpoint:o="",session:n="",userid:s="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:c="",baseurl:h="",clientstyling:d="",clientstylingurl:p="",mbsource:m,translationurl:f="",hasconfirmationmodal:_="false",dateformat:S="DD/MM/YYYY",sendnotificationemail:E="false"}=i,D,F,P,Y=[],K={},X=S.toUpperCase(),Q=window.navigator.userAgent,I,N,q="",oe="",A="selectAPeriod",v="",g="",w=sa(Q)!=="PC",y=!1,C=!1,T=!1,H=!1,z=_==="true",G=!0,W;const se=()=>{fetch(f).then(le=>le.json()).then(le=>{Object.keys(le).forEach(ue=>{_n(ue,le[ue])})}).catch(le=>{console.log(le)})};Object.keys(gn).forEach(x=>{_n(x,gn[x])});const Ee=()=>{let x=new URL(`${o}/v1/player/selfExclusionSettings`);fetch(x,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(ue=>ne(ue)).then(ue=>{e(12,Y=ue.periods)}).catch(ue=>{console.log(ue),window.postMessage({type:"WidgetNotification",data:{type:"error",message:ue.message}},window.location.href)}).finally(()=>{e(22,G=!1)})},_e=x=>{const{userid:le,selectedPeriodKey:ue,session:Ne}=x.detail;e(1,s=le),e(16,A=ue),e(0,n=Ne),ge()},ne=x=>st(this,null,function*(){var le;if(!x.ok){K=yield x.json(),g=(le=K.thirdPartyResponse)==null?void 0:le.errorCode;const ue=r(g||"generalError");throw new Error(ue)}return x.json()}),ie=()=>{e(21,H=!H)},$=x=>{switch(oe=x.text,e(16,A=x.key),e(20,T=!0),e(21,H=!1),e(18,y=!1),e(19,C=!1),oe){case"Until":e(19,C=!0),e(13,I=Fe().add(6,"months").format("YYYY-MM-DD")),e(14,N=Fe().add(5,"years").format("YYYY-MM-DD")),e(15,q=I);break;case"Permanent":e(18,y=!y);break;default:const[le,ue]=oe.split(" "),Ne=ue.includes("Day")?"days":ue.includes("Month")?"months":ue.includes("Year")?"years":null;if(!Ne)return;e(15,q=Fe().add(Number(le),Ne).format("YYYY-MM-DD"));break}z&&j()},j=()=>{if(!z||!oe||!q){e(17,v="");return}e(17,v=C?r("confirmationModalTextUntilSelfExclusion",{values:{date:Fe(q).format(X)}}):r("confirmationModalTextPeriodSelfExclusion",{values:{period:r(oe)}}))},ye=x=>{x.preventDefault(),z?(j(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):ge()},ge=()=>{e(22,G=!0);const x=new URL(`${o}/v2/player/${s}/limits${l==="gm16"?"/session":""}`),ue={method:"PUT",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:A,expiryDate:q,selfExclusionReason:"UserRequest",sendNotificationEmail:E==="true"}})};fetch(x.href,ue).then(Ne=>ne(Ne)).then(Ne=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ne=>{console.error(r("errorSelfExclusionCall"),Ne),window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(22,G=!1)})},fe=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:w},window.location.href)},we=x=>{e(15,q=x.target.value)},O=()=>{P.addEventListener("change",we,!1),e(10,P.i18n=Nt(It({},P.i18n),{formatDate:x=>Fe(new Date(x.year,x.month,x.day)).format(X),parseDate:x=>{const le=Fe(x,X);return{year:le.year(),month:le.month(),day:le.date()}}}),P)};ws(()=>()=>{P.removeEventListener("change",we),W.removeEventListener("setSelfExclusion",_e)});const ee=()=>{Ph(a)},ae=()=>fe(),hi=()=>ie(),Fl=x=>$(x);function Hl(x){mt[x?"unshift":"push"](()=>{P=x,e(10,P)})}const $l=x=>ye(x);function Bl(x){mt[x?"unshift":"push"](()=>{W=x,e(11,W)})}function Rl(x){mt[x?"unshift":"push"](()=>{D=x,e(9,D)})}return t.$$set=x=>{"endpoint"in x&&e(31,o=x.endpoint),"session"in x&&e(0,n=x.session),"userid"in x&&e(1,s=x.userid),"lang"in x&&e(2,a=x.lang),"gmversion"in x&&e(32,l=x.gmversion),"operator"in x&&e(3,u=x.operator),"supportemail"in x&&e(4,c=x.supportemail),"baseurl"in x&&e(5,h=x.baseurl),"clientstyling"in x&&e(6,d=x.clientstyling),"clientstylingurl"in x&&e(7,p=x.clientstylingurl),"mbsource"in x&&e(8,m=x.mbsource),"translationurl"in x&&e(33,f=x.translationurl),"hasconfirmationmodal"in x&&e(34,_=x.hasconfirmationmodal),"dateformat"in x&&e(35,S=x.dateformat),"sendnotificationemail"in x&&e(36,E=x.sendnotificationemail)},t.$$.update=()=>{t.$$.dirty[0]&4&&a&&ee(),t.$$.dirty[0]&3|t.$$.dirty[1]&3&&o&&n&&s&&l&&Ee(),t.$$.dirty[0]&1024&&P&&O(),t.$$.dirty[0]&576&&d&&D&&ua(D,d),t.$$.dirty[0]&640&&p&&D&&ca(D,p),t.$$.dirty[0]&768&&m&&D&&ha(D,`${m}.Style`,F),t.$$.dirty[1]&4&&f&&se(),t.$$.dirty[0]&2048&&W&&W.addEventListener("setSelfExclusion",_e)},z&&j(),[n,s,a,u,c,h,d,p,m,D,P,W,Y,I,N,q,A,v,y,C,T,H,G,r,X,w,z,ie,$,ye,fe,o,l,f,_,S,E,ae,hi,Fl,Hl,$l,Bl,Rl]}class Ll extends Ps{constructor(i){super(),As(this,i,E_,x_,fo,{endpoint:31,session:0,userid:1,lang:2,gmversion:32,operator:3,supportemail:4,baseurl:5,clientstyling:6,clientstylingurl:7,mbsource:8,translationurl:33,hasconfirmationmodal:34,dateformat:35,sendnotificationemail:36},h_,[-1,-1])}get endpoint(){return this.$$.ctx[31]}set endpoint(i){this.$$set({endpoint:i}),he()}get session(){return this.$$.ctx[0]}set session(i){this.$$set({session:i}),he()}get userid(){return this.$$.ctx[1]}set userid(i){this.$$set({userid:i}),he()}get lang(){return this.$$.ctx[2]}set lang(i){this.$$set({lang:i}),he()}get gmversion(){return this.$$.ctx[32]}set gmversion(i){this.$$set({gmversion:i}),he()}get operator(){return this.$$.ctx[3]}set operator(i){this.$$set({operator:i}),he()}get supportemail(){return this.$$.ctx[4]}set supportemail(i){this.$$set({supportemail:i}),he()}get baseurl(){return this.$$.ctx[5]}set baseurl(i){this.$$set({baseurl:i}),he()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(i){this.$$set({clientstyling:i}),he()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),he()}get mbsource(){return this.$$.ctx[8]}set mbsource(i){this.$$set({mbsource:i}),he()}get translationurl(){return this.$$.ctx[33]}set translationurl(i){this.$$set({translationurl:i}),he()}get hasconfirmationmodal(){return this.$$.ctx[34]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),he()}get dateformat(){return this.$$.ctx[35]}set dateformat(i){this.$$set({dateformat:i}),he()}get sendnotificationemail(){return this.$$.ctx[36]}set sendnotificationemail(i){this.$$set({sendnotificationemail:i}),he()}}Ts(Ll,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const w_=Object.freeze(Object.defineProperty({__proto__:null,default:Ll},Symbol.toStringTag,{value:"Module"}));exports.$format=na;exports.$locale=it;exports.PlayerAccountSelfExclusion_ce=w_;exports.SvelteComponent=Ps;exports.addMessages=bo;exports.add_render_callback=Kt;exports.append=b;exports.append_styles=xs;exports.attr=k;exports.binding_callbacks=mt;exports.check_outros=gu;exports.component_subscribe=gs;exports.create_bidirectional_transition=vu;exports.create_custom_element=Ts;exports.create_slot=ql;exports.detach=be;exports.element=M;exports.empty=iu;exports.flush=he;exports.getDevice=sa;exports.get_all_dirty_from_scope=Jl;exports.get_slot_changes=Xl;exports.group_outros=_u;exports.identity=ps;exports.init=As;exports.insert=Ae;exports.listen=qt;exports.noop=xe;exports.onMount=ws;exports.run_all=ze;exports.safe_not_equal=fo;exports.setClientStyling=ua;exports.setClientStylingURL=ca;exports.setStreamStyling=ha;exports.set_data=Te;exports.space=Z;exports.svg_element=ke;exports.text=pe;exports.transition_in=Ss;exports.transition_out=bu;exports.update_slot_base=Kl;
|
package/components/{PlayerAccountSelfExclusion-Ccq1vLJn.js → PlayerAccountSelfExclusion-C-gMfNgb.js}
RENAMED
|
@@ -27,7 +27,7 @@ var nt = (t, i, e) => new Promise((r, o) => {
|
|
|
27
27
|
}, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(n, s);
|
|
28
28
|
a((e = e.apply(t, i)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function Se() {
|
|
32
32
|
}
|
|
33
33
|
const Il = (t) => t;
|
|
@@ -20766,7 +20766,7 @@ if (typeof window != "undefined") {
|
|
|
20766
20766
|
}
|
|
20767
20767
|
};
|
|
20768
20768
|
};
|
|
20769
|
-
customElements.define = t(customElements.define), import("./PlayerAccountModal-
|
|
20769
|
+
customElements.define = t(customElements.define), import("./PlayerAccountModal-ClfAOwk1.js").then(({ default: i }) => {
|
|
20770
20770
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
|
|
20771
20771
|
});
|
|
20772
20772
|
}
|
|
@@ -20782,7 +20782,7 @@ if (typeof window != "undefined") {
|
|
|
20782
20782
|
}
|
|
20783
20783
|
};
|
|
20784
20784
|
};
|
|
20785
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
20785
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGeneralConfirmationModal-gcAOCwXn.js").then(
|
|
20786
20786
|
({ default: i }) => {
|
|
20787
20787
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
20788
20788
|
"player-account-general-confirmation-modal",
|
package/components/{PlayerAccountSelfExclusion-Cz7FIeJm.js → PlayerAccountSelfExclusion-DJSl2b5x.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
2
2
|
function Se() {
|
|
3
3
|
}
|
|
4
4
|
const dl = (e) => e;
|
|
@@ -20679,7 +20679,7 @@ if (typeof window < "u") {
|
|
|
20679
20679
|
}
|
|
20680
20680
|
};
|
|
20681
20681
|
};
|
|
20682
|
-
customElements.define = e(customElements.define), import("./PlayerAccountModal-
|
|
20682
|
+
customElements.define = e(customElements.define), import("./PlayerAccountModal-DsHadoZI.js").then(({ default: i }) => {
|
|
20683
20683
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
|
|
20684
20684
|
});
|
|
20685
20685
|
}
|
|
@@ -20695,7 +20695,7 @@ if (typeof window < "u") {
|
|
|
20695
20695
|
}
|
|
20696
20696
|
};
|
|
20697
20697
|
};
|
|
20698
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
20698
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-D8akNs65.js").then(
|
|
20699
20699
|
({ default: i }) => {
|
|
20700
20700
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
20701
20701
|
"player-account-general-confirmation-modal",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusion-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusion-B1KxL7Uc.cjs")).then(e=>e.PlayerAccountSelfExclusion_ce).then(({default:e})=>{!customElements.get("player-account-self-exclusion")&&customElements.define("player-account-self-exclusion",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusion-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusion-C-gMfNgb.js").then((e) => e.P).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-account-self-exclusion") && customElements.define("player-account-self-exclusion", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|