@everymatrix/player-account-product-restriction 1.94.2 → 1.94.4

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.
@@ -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 "./PlayerAccountProductRestriction-CTU8ghNq.js";
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 "./PlayerAccountProductRestriction-BuSlptBE.js";
2
2
  function H(n, e) {
3
3
  K(n, e);
4
4
  }
@@ -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 "./PlayerAccountProductRestriction-DQy5F_tD.js";
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 "./PlayerAccountProductRestriction-bGcl5Pri.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("./PlayerAccountProductRestriction-F0zz1VKM.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 R(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 q=o=>({}),B=o=>({});function H(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,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||H();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(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"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,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),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,q):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},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:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=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"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},T=()=>{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 E=()=>{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,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=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,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),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&&T()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,W]}class L 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},R)}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(L,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountProductRestriction-CJzS_5ta.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 R(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 q=o=>({}),B=o=>({});function H(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,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||H();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(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"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,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),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,q):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},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:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=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"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},T=()=>{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 E=()=>{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,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=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,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),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&&T()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,W]}class L 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},R)}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(L,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=L;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountProductRestriction-F0zz1VKM.cjs");function g(n,{delay:e=0,duration:i=400,easing:s=t.identity}={}){const l=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:s,css:r=>`opacity: ${r*l}`}}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,s,l,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"),s=t.element("div"),a&&a.c(),t.attr(s,"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,s),a&&a.m(s,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&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),l.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),l.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&l&&l.end(),n[11](null)}}}function k(n){let e,i,s=n[0]&&y(n);return{c(){s&&s.c(),e=t.empty()},m(l,r){s&&s.m(l,r),t.insert(l,e,r),i=!0},p(l,[r]){l[0]?s?(s.p(l,r),r&1&&t.transition_in(s,1)):(s=y(l),s.c(),t.transition_in(s,1),s.m(e.parentNode,e)):s&&(t.group_outros(),t.transition_out(s,1,1,()=>{s=null}),t.check_outros())},i(l){i||(t.transition_in(s),i=!0)},o(l){t.transition_out(s),i=!1},d(l){l&&t.detach(e),s&&s.d(l)}}}function C(n,e,i){let{$$slots:s={},$$scope:l}=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,l=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,l,s,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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountProductRestriction-CJzS_5ta.cjs");function g(n,{delay:e=0,duration:i=400,easing:s=t.identity}={}){const l=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:s,css:r=>`opacity: ${r*l}`}}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,s,l,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"),s=t.element("div"),a&&a.c(),t.attr(s,"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,s),a&&a.m(s,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&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),l.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),l.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&l&&l.end(),n[11](null)}}}function k(n){let e,i,s=n[0]&&y(n);return{c(){s&&s.c(),e=t.empty()},m(l,r){s&&s.m(l,r),t.insert(l,e,r),i=!0},p(l,[r]){l[0]?s?(s.p(l,r),r&1&&t.transition_in(s,1)):(s=y(l),s.c(),t.transition_in(s,1),s.m(e.parentNode,e)):s&&(t.group_outros(),t.transition_out(s,1,1,()=>{s=null}),t.check_outros())},i(l){i||(t.transition_in(s),i=!0)},o(l){t.transition_out(s),i=!1},d(l){l&&t.detach(e),s&&s.d(l)}}}function C(n,e,i){let{$$slots:s={},$$scope:l}=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,l=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,l,s,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, 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 "./PlayerAccountProductRestriction-CTU8ghNq.js";
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 "./PlayerAccountProductRestriction-BuSlptBE.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, 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 "./PlayerAccountProductRestriction-DQy5F_tD.js";
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 "./PlayerAccountProductRestriction-bGcl5Pri.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 {
@@ -5694,7 +5694,7 @@ class pp {
5694
5694
  }
5695
5695
  const Ss = li.litHtmlPolyfillSupport;
5696
5696
  var ks;
5697
- Ss?.(fr, Sr), ((ks = li.litHtmlVersions) != null ? ks : li.litHtmlVersions = []).push("3.3.2");
5697
+ Ss?.(fr, Sr), ((ks = li.litHtmlVersions) != null ? ks : li.litHtmlVersions = []).push("3.3.3");
5698
5698
  const hl = (r, e, t) => {
5699
5699
  var i, o;
5700
5700
  const n = (i = t?.renderBefore) != null ? i : e;
@@ -20851,7 +20851,7 @@ if (typeof window < "u") {
20851
20851
  }
20852
20852
  };
20853
20853
  };
20854
- customElements.define = r(customElements.define), import("./PlayerAccountModal-DP-kbMpZ.js").then(({ default: e }) => {
20854
+ customElements.define = r(customElements.define), import("./PlayerAccountModal-CbRP4qWv.js").then(({ default: e }) => {
20855
20855
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", e.element);
20856
20856
  });
20857
20857
  }
@@ -20867,7 +20867,7 @@ if (typeof window < "u") {
20867
20867
  }
20868
20868
  };
20869
20869
  };
20870
- customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-hnQvttQm.js").then(
20870
+ customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-2Px9jd0g.js").then(
20871
20871
  ({ default: e }) => {
20872
20872
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
20873
20873
  "player-account-general-confirmation-modal",
@@ -40,7 +40,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
41
  */const di=globalThis,ks=r=>r,ci=di.trustedTypes,Is=ci?ci.createPolicy("lit-html",{createHTML:r=>r}):void 0,kl="$lit$",ot=`lit$${Math.random().toFixed(9).slice(2)}$`,Il="?"+ot,Sp=`<${Il}>`,mt=document,fr=()=>mt.createComment(""),_r=r=>r===null||typeof r!="object"&&typeof r!="function",pn=Array.isArray,kp=r=>pn(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",eo=`[
42
42
  \f\r]`,er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Ds=/>/g,ct=RegExp(`>|${eo}(?:([^\\s"'>=/]+)(${eo}*=${eo}*(?:[^
43
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Rs=/"/g,Tl=/^(?:script|style|textarea|title)$/i,Ut=Symbol.for("lit-noChange"),me=Symbol.for("lit-nothing"),Ns=new WeakMap,ut=mt.createTreeWalker(mt,129);function Dl(r,e){if(!pn(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Is!==void 0?Is.createHTML(e):e}const Ip=(r,e)=>{const t=r.length-1,i=[];let o,n=e===2?"<svg>":e===3?"<math>":"",s=er;for(let a=0;a<t;a++){const l=r[a];let d,c,u=-1,h=0;for(;h<l.length&&(s.lastIndex=h,c=s.exec(l),c!==null);)h=s.lastIndex,s===er?c[1]==="!--"?s=Ts:c[1]!==void 0?s=Ds:c[2]!==void 0?(Tl.test(c[2])&&(o=RegExp("</"+c[2],"g")),s=ct):c[3]!==void 0&&(s=ct):s===ct?c[0]===">"?(s=o!=null?o:er,u=-1):c[1]===void 0?u=-2:(u=s.lastIndex-c[2].length,d=c[1],s=c[3]===void 0?ct:c[3]==='"'?Rs:Os):s===Rs||s===Os?s=ct:s===Ts||s===Ds?s=er:(s=ct,o=void 0);const p=s===ct&&r[a+1].startsWith("/>")?" ":"";n+=s===er?l+Sp:u>=0?(i.push(d),l.slice(0,u)+kl+l.slice(u)+ot+p):l+ot+(u===-2?a:p)}return[Dl(r,n+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class vr{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,s=0;const a=e.length-1,l=this.parts,[d,c]=Ip(e,t);if(this.el=vr.createElement(d,i),ut.currentNode=this.el.content,t===2||t===3){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=ut.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const u of o.getAttributeNames())if(u.endsWith(kl)){const h=c[s++],p=o.getAttribute(u).split(ot),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:n,name:m[2],strings:p,ctor:m[1]==="."?Dp:m[1]==="?"?Op:m[1]==="@"?Rp:Si}),o.removeAttribute(u)}else u.startsWith(ot)&&(l.push({type:6,index:n}),o.removeAttribute(u));if(Tl.test(o.tagName)){const u=o.textContent.split(ot),h=u.length-1;if(h>0){o.textContent=ci?ci.emptyScript:"";for(let p=0;p<h;p++)o.append(u[p],fr()),ut.nextNode(),l.push({type:2,index:++n});o.append(u[h],fr())}}}else if(o.nodeType===8)if(o.data===Il)l.push({type:2,index:n});else{let u=-1;for(;(u=o.data.indexOf(ot,u+1))!==-1;)l.push({type:7,index:n}),u+=ot.length-1}n++}}static createElement(e,t){const i=mt.createElement("template");return i.innerHTML=e,i}}function Wt(r,e,t=r,i){var o,n,s;if(e===Ut)return e;let a=i!==void 0?(o=t._$Co)==null?void 0:o[i]:t._$Cl;const l=_r(e)?void 0:e._$litDirective$;return(a==null?void 0:a.constructor)!==l&&((n=a==null?void 0:a._$AO)==null||n.call(a,!1),l===void 0?a=void 0:(a=new l(r),a._$AT(r,t,i)),i!==void 0?((s=t._$Co)!=null?s:t._$Co=[])[i]=a:t._$Cl=a),a!==void 0&&(e=Wt(r,a._$AS(r,e.values),a,i)),e}class Tp{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:o}=this._$AD,n=((t=e==null?void 0:e.creationScope)!=null?t:mt).importNode(i,!0);ut.currentNode=n;let s=ut.nextNode(),a=0,l=0,d=o[0];for(;d!==void 0;){if(a===d.index){let c;d.type===2?c=new Ir(s,s.nextSibling,this,e):d.type===1?c=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(c=new Np(s,this,e)),this._$AV.push(c),d=o[++l]}a!==(d==null?void 0:d.index)&&(s=ut.nextNode(),a++)}return ut.currentNode=mt,n}p(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class Ir{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,i,o){var n;this.type=2,this._$AH=me,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Wt(this,e,t),_r(e)?e===me||e==null||e===""?(this._$AH!==me&&this._$AR(),this._$AH=me):e!==this._$AH&&e!==Ut&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):kp(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==me&&_r(this._$AH)?this._$AA.nextSibling.data=e:this.T(mt.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=vr.createElement(Dl(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===n)this._$AH.p(i);else{const s=new Tp(n,this),a=s.u(this.options);s.p(i),this.T(a),this._$AH=s}}_$AC(e){let t=Ns.get(e.strings);return t===void 0&&Ns.set(e.strings,t=new vr(e)),t}k(e){pn(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new Ir(this.O(fr()),this.O(fr()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);e!==this._$AB;){const o=ks(e).nextSibling;ks(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Si{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=me,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=me}_$AI(e,t=this,i,o){const n=this.strings;let s=!1;if(n===void 0)e=Wt(this,e,t,0),s=!_r(e)||e!==this._$AH&&e!==Ut,s&&(this._$AH=e);else{const a=e;let l,d;for(e=n[0],l=0;l<n.length-1;l++)d=Wt(this,a[i+l],t,l),d===Ut&&(d=this._$AH[l]),s||(s=!_r(d)||d!==this._$AH[l]),d===me?e=me:e!==me&&(e+=(d!=null?d:"")+n[l+1]),this._$AH[l]=d}s&&!o&&this.j(e)}j(e){e===me?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class Dp extends Si{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===me?void 0:e}}class Op extends Si{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==me)}}class Rp extends Si{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=Wt(this,e,t,0))!=null?i:me)===Ut)return;const o=this._$AH,n=e===me&&o!==me||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==me&&(o===me||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,e):this._$AH.handleEvent(e)}}class Np{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Wt(this,e)}}const Ms=di.litHtmlPolyfillSupport;var zs;Ms==null||Ms(vr,Ir),((zs=di.litHtmlVersions)!=null?zs:di.litHtmlVersions=[]).push("3.3.2");const Ol=(r,e,t)=>{var i,o;const n=(i=t==null?void 0:t.renderBefore)!=null?i:e;let s=n._$litPart$;if(s===void 0){const a=(o=t==null?void 0:t.renderBefore)!=null?o:null;n._$litPart$=s=new Ir(e.insertBefore(fr(),a),a,void 0,t!=null?t:{})}return s._$AI(r),s};/**
43
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Rs=/"/g,Tl=/^(?:script|style|textarea|title)$/i,Ut=Symbol.for("lit-noChange"),me=Symbol.for("lit-nothing"),Ns=new WeakMap,ut=mt.createTreeWalker(mt,129);function Dl(r,e){if(!pn(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Is!==void 0?Is.createHTML(e):e}const Ip=(r,e)=>{const t=r.length-1,i=[];let o,n=e===2?"<svg>":e===3?"<math>":"",s=er;for(let a=0;a<t;a++){const l=r[a];let d,c,u=-1,h=0;for(;h<l.length&&(s.lastIndex=h,c=s.exec(l),c!==null);)h=s.lastIndex,s===er?c[1]==="!--"?s=Ts:c[1]!==void 0?s=Ds:c[2]!==void 0?(Tl.test(c[2])&&(o=RegExp("</"+c[2],"g")),s=ct):c[3]!==void 0&&(s=ct):s===ct?c[0]===">"?(s=o!=null?o:er,u=-1):c[1]===void 0?u=-2:(u=s.lastIndex-c[2].length,d=c[1],s=c[3]===void 0?ct:c[3]==='"'?Rs:Os):s===Rs||s===Os?s=ct:s===Ts||s===Ds?s=er:(s=ct,o=void 0);const p=s===ct&&r[a+1].startsWith("/>")?" ":"";n+=s===er?l+Sp:u>=0?(i.push(d),l.slice(0,u)+kl+l.slice(u)+ot+p):l+ot+(u===-2?a:p)}return[Dl(r,n+(r[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class vr{constructor({strings:e,_$litType$:t},i){let o;this.parts=[];let n=0,s=0;const a=e.length-1,l=this.parts,[d,c]=Ip(e,t);if(this.el=vr.createElement(d,i),ut.currentNode=this.el.content,t===2||t===3){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=ut.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const u of o.getAttributeNames())if(u.endsWith(kl)){const h=c[s++],p=o.getAttribute(u).split(ot),m=/([.?@])?(.*)/.exec(h);l.push({type:1,index:n,name:m[2],strings:p,ctor:m[1]==="."?Dp:m[1]==="?"?Op:m[1]==="@"?Rp:Si}),o.removeAttribute(u)}else u.startsWith(ot)&&(l.push({type:6,index:n}),o.removeAttribute(u));if(Tl.test(o.tagName)){const u=o.textContent.split(ot),h=u.length-1;if(h>0){o.textContent=ci?ci.emptyScript:"";for(let p=0;p<h;p++)o.append(u[p],fr()),ut.nextNode(),l.push({type:2,index:++n});o.append(u[h],fr())}}}else if(o.nodeType===8)if(o.data===Il)l.push({type:2,index:n});else{let u=-1;for(;(u=o.data.indexOf(ot,u+1))!==-1;)l.push({type:7,index:n}),u+=ot.length-1}n++}}static createElement(e,t){const i=mt.createElement("template");return i.innerHTML=e,i}}function Wt(r,e,t=r,i){var o,n,s;if(e===Ut)return e;let a=i!==void 0?(o=t._$Co)==null?void 0:o[i]:t._$Cl;const l=_r(e)?void 0:e._$litDirective$;return(a==null?void 0:a.constructor)!==l&&((n=a==null?void 0:a._$AO)==null||n.call(a,!1),l===void 0?a=void 0:(a=new l(r),a._$AT(r,t,i)),i!==void 0?((s=t._$Co)!=null?s:t._$Co=[])[i]=a:t._$Cl=a),a!==void 0&&(e=Wt(r,a._$AS(r,e.values),a,i)),e}class Tp{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:o}=this._$AD,n=((t=e==null?void 0:e.creationScope)!=null?t:mt).importNode(i,!0);ut.currentNode=n;let s=ut.nextNode(),a=0,l=0,d=o[0];for(;d!==void 0;){if(a===d.index){let c;d.type===2?c=new Ir(s,s.nextSibling,this,e):d.type===1?c=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(c=new Np(s,this,e)),this._$AV.push(c),d=o[++l]}a!==(d==null?void 0:d.index)&&(s=ut.nextNode(),a++)}return ut.currentNode=mt,n}p(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class Ir{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,i,o){var n;this.type=2,this._$AH=me,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=o,this._$Cv=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Wt(this,e,t),_r(e)?e===me||e==null||e===""?(this._$AH!==me&&this._$AR(),this._$AH=me):e!==this._$AH&&e!==Ut&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):kp(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==me&&_r(this._$AH)?this._$AA.nextSibling.data=e:this.T(mt.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=vr.createElement(Dl(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===n)this._$AH.p(i);else{const s=new Tp(n,this),a=s.u(this.options);s.p(i),this.T(a),this._$AH=s}}_$AC(e){let t=Ns.get(e.strings);return t===void 0&&Ns.set(e.strings,t=new vr(e)),t}k(e){pn(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,o=0;for(const n of e)o===t.length?t.push(i=new Ir(this.O(fr()),this.O(fr()),this,this.options)):i=t[o],i._$AI(n),o++;o<t.length&&(this._$AR(i&&i._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);e!==this._$AB;){const o=ks(e).nextSibling;ks(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class Si{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,i,o,n){this.type=1,this._$AH=me,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=me}_$AI(e,t=this,i,o){const n=this.strings;let s=!1;if(n===void 0)e=Wt(this,e,t,0),s=!_r(e)||e!==this._$AH&&e!==Ut,s&&(this._$AH=e);else{const a=e;let l,d;for(e=n[0],l=0;l<n.length-1;l++)d=Wt(this,a[i+l],t,l),d===Ut&&(d=this._$AH[l]),s||(s=!_r(d)||d!==this._$AH[l]),d===me?e=me:e!==me&&(e+=(d!=null?d:"")+n[l+1]),this._$AH[l]=d}s&&!o&&this.j(e)}j(e){e===me?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class Dp extends Si{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===me?void 0:e}}class Op extends Si{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==me)}}class Rp extends Si{constructor(e,t,i,o,n){super(e,t,i,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=Wt(this,e,t,0))!=null?i:me)===Ut)return;const o=this._$AH,n=e===me&&o!==me||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,s=e!==me&&(o===me||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,e):this._$AH.handleEvent(e)}}class Np{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Wt(this,e)}}const Ms=di.litHtmlPolyfillSupport;var zs;Ms==null||Ms(vr,Ir),((zs=di.litHtmlVersions)!=null?zs:di.litHtmlVersions=[]).push("3.3.3");const Ol=(r,e,t)=>{var i,o;const n=(i=t==null?void 0:t.renderBefore)!=null?i:e;let s=n._$litPart$;if(s===void 0){const a=(o=t==null?void 0:t.renderBefore)!=null?o:null;n._$litPart$=s=new Ir(e.insertBefore(fr(),a),a,void 0,t!=null?t:{})}return s._$AI(r),s};/**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
@@ -6676,7 +6676,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6676
6676
  </div>
6677
6677
 
6678
6678
  <div on-click="_scrollForward" part="forward-button" aria-hidden="true"></div>
6679
- `}static get is(){return"vaadin-tabs"}}B(Lg);if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-iT2wLWUS.cjs")).then(({default:e})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",e.element)})}if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-q7neX3f8.cjs")).then(({default:e})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",e.element)})}function Bg(r){Na(r,"svelte-1t8brnd",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerProductRestrictionTitleNone{display:none}.ProductRestrictionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));container-type:inline-size}.ProductRestrictionContainer .ProductRestrictionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));padding:50px;border-radius:var(--emw--border-radius-medium, 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}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton{display:inline-flex;align-items:center;color:var(--emw--color-gray-300, #58586b);border:none;background-color:transparent;column-gap:10px;margin-bottom:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton .PlayerProductRestrictionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .PlayerProductRestrictionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px;min-height:180px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper{width:50%;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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel p{margin:0;font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon.active{transform:rotateZ(0deg)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown{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)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown 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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown.active{max-height:300px;opacity:1}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper 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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification{color:var(--emw--color-gray-300, #58586b);line-height:24px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;color:var(--emw--color-gray-300, #58586b);font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel .label{font-size:var(--emw--size-standard, 16px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel p{margin:0}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent{display:inherit;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox [type=checkbox]{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:100px;cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .label{color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons{margin-top:40px;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave{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:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #ffffff);cursor:pointer;border:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:hover{filter:brightness(0.9)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:disabled{opacity:0.5;cursor:default}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionError{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .MenuReturnButton{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .PlayerProductRestrictionTitle{display:block;width:30%;height:20px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription{display:flex;flex-direction:column;gap:10px;width:75%}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription ui-skeleton:last-child{margin-top:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionConfigWrapper{border:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionNotification{margin-bottom:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription .ProductRestrictionDescriptionText{color:var(--emw--color-gray-300, #58586b)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{width:10px;height:10px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDateWrapper{width:100%}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionNotification{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons{width:100%;grid-template-columns:1fr 1fr}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons .ProductRestrictionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .MenuReturnButton{display:block;width:200px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .PlayerProductRestrictionTitle{display:none}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ya(r,e,t){const i=r.slice();return i[75]=e[t],i[77]=t,i}function xa(r,e,t){const i=r.slice();return i[78]=e[t],i}function Hg(r,e,t){const i=r.slice();return i[70]=e[t],i}function $g(r,e,t){const i=r.slice();return i[70]=e[t],i}function Fg(r){let e,t,i,o,n=r[24]("titleProductRestriction")+"",s,a,l,d,c=r[24]("productRestrictionText",{values:{baseurl:r[1],lang:r[0]}})+"",u,h,p=r[24]("productRestrictionEmailText")+"",m,_,y,O,R=r[24](`${r[15]}`)+"",z,H,M,D,te,de,ke,oe,V,_e,He,A,w,g,C,b=r[24]("save")+"",I,T,F,J,Q,re,ue,Ce,ve=r[26]&&jg(r),Ee=It(r[9]),ie=[];for(let E=0;E<Ee.length;E+=1)ie[E]=wa(xa(r,Ee,E));let K=r[19]&&Ca(r);function Oe(E,X){return E[18]?qg:E[14]?Ug:Wg}let Ie=Oe(r),ge=Ie(r),qe=It(r[10]),pe=[];for(let E=0;E<qe.length;E+=1)pe[E]=Pa(ya(r,qe,E));let be=r[23]&&Aa(r),Fe=r[27]&&Yg(r);return{c(){e=k("div"),t=k("div"),ve&&ve.c(),i=ee(),o=k("h2"),s=fe(n),a=ee(),l=k("div"),d=k("p"),u=ee(),h=k("p"),m=ee(),_=k("div"),y=k("div"),O=k("p"),z=fe(R),H=ee(),M=je("svg"),D=je("g"),te=je("path"),de=ee(),ke=k("div");for(let E=0;E<ie.length;E+=1)ie[E].c();oe=ee(),K&&K.c(),V=ee(),_e=k("div"),ge.c(),He=ee(),A=k("div");for(let E=0;E<pe.length;E+=1)pe[E].c();w=ee(),g=k("div"),C=k("button"),I=fe(b),J=ee(),be&&be.c(),Q=ee(),Fe&&Fe.c(),re=za(),S(o,"class","PlayerProductRestrictionTitle "+(r[26]?"PlayerProductRestrictionTitleNone":"")),S(d,"class","ProductRestrictionDescriptionText"),S(h,"class","ProductRestrictionDescriptionText"),S(l,"class","ProductRestrictionDescription "+(r[26]?"ProductRestrictionDescriptionMobile":"")),S(te,"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"),S(te,"stroke-linecap","round"),S(M,"xmlns","http://www.w3.org/2000/svg"),S(M,"xmlns:xlink","http://www.w3.org/1999/xlink"),S(M,"version","1.1"),S(M,"viewBox","0 0 100 100"),S(M,"xml:space","preserve"),S(M,"class","ProductRestrictionConfigIcon"),xt(M,"active",r[21]),S(y,"class","ProductRestrictionConfigLabel"),S(ke,"class","ProductRestrictionDropDown"),xt(ke,"active",r[21]),S(_,"class","ProductRestrictionConfigWrapper"),xt(_,"active",r[21]),S(_e,"class","ProductRestrictionNotification"),S(A,"class","ProductResitrctionTypes"),S(C,"class",T="ProductRestrictionSave "+(r[20]?"active":"")),C.disabled=F=!r[20],S(g,"class","ProductRestrictionActionButtons"),S(t,"class","ProductRestrictionWrapper "+(r[26]?"ProductRestrictionWrapperMobile":"")),S(e,"class","ProductRestrictionContainer")},m(E,X){ae(E,e,X),v(e,t),ve&&ve.m(t,null),v(t,i),v(t,o),v(o,s),v(t,a),v(t,l),v(l,d),d.innerHTML=c,v(l,u),v(l,h),h.innerHTML=p,v(t,m),v(t,_),v(_,y),v(y,O),v(O,z),v(y,H),v(y,M),v(M,D),v(D,te),v(_,de),v(_,ke);for(let $=0;$<ie.length;$+=1)ie[$]&&ie[$].m(ke,null);v(t,oe),K&&K.m(t,null),v(t,V),v(t,_e),ge.m(_e,null),v(t,He),v(t,A);for(let $=0;$<pe.length;$+=1)pe[$]&&pe[$].m(A,null);v(t,w),v(t,g),v(g,C),v(C,I),v(t,J),be&&be.m(t,null),ae(E,Q,X),Fe&&Fe.m(E,X),ae(E,re,X),ue||(Ce=[Bt(y,"click",r[44]),Bt(C,"click",r[48])],ue=!0)},p(E,X){if(E[26]&&ve.p(E,X),X[0]&16777216&&n!==(n=E[24]("titleProductRestriction")+"")&&De(s,n),X[0]&16777219&&c!==(c=E[24]("productRestrictionText",{values:{baseurl:E[1],lang:E[0]}})+"")&&(d.innerHTML=c),X[0]&16777216&&p!==(p=E[24]("productRestrictionEmailText")+"")&&(h.innerHTML=p),X[0]&16809984&&R!==(R=E[24](`${E[15]}`)+"")&&De(z,R),X[0]&2097152&&xt(M,"active",E[21]),X[0]&512|X[1]&1){Ee=It(E[9]);let $;for($=0;$<Ee.length;$+=1){const rt=xa(E,Ee,$);ie[$]?ie[$].p(rt,X):(ie[$]=wa(rt),ie[$].c(),ie[$].m(ke,null))}for(;$<ie.length;$+=1)ie[$].d(1);ie.length=Ee.length}if(X[0]&2097152&&xt(ke,"active",E[21]),X[0]&2097152&&xt(_,"active",E[21]),E[19]?K?K.p(E,X):(K=Ca(E),K.c(),K.m(t,V)):K&&(K.d(1),K=null),Ie===(Ie=Oe(E))&&ge?ge.p(E,X):(ge.d(1),ge=Ie(E),ge&&(ge.c(),ge.m(_e,null))),X[0]&822084608|X[1]&8){qe=It(E[10]);let $;for($=0;$<qe.length;$+=1){const rt=ya(E,qe,$);pe[$]?pe[$].p(rt,X):(pe[$]=Pa(rt),pe[$].c(),pe[$].m(A,null))}for(;$<pe.length;$+=1)pe[$].d(1);pe.length=qe.length}X[0]&16777216&&b!==(b=E[24]("save")+"")&&De(I,b),X[0]&1048576&&T!==(T="ProductRestrictionSave "+(E[20]?"active":""))&&S(C,"class",T),X[0]&1048576&&F!==(F=!E[20])&&(C.disabled=F),E[23]?be?be.p(E,X):(be=Aa(E),be.c(),be.m(t,null)):be&&(be.d(1),be=null),E[27]&&Fe.p(E,X)},d(E){E&&(ne(e),ne(Q),ne(re)),ve&&ve.d(),ti(ie,E),K&&K.d(),ge.d(),ti(pe,E),be&&be.d(),Fe&&Fe.d(E),ue=!1,et(Ce)}}}function Vg(r){let e,t,i,o,n,s,a,l,d,c,u,h,p,m;function _(D,te){return D[26]?Kg:Gg}let O=_(r)(r),R=It({length:3}),z=[];for(let D=0;D<R.length;D+=1)z[D]=Xg($g(r,R,D));let H=It({length:3}),M=[];for(let D=0;D<H.length;D+=1)M[D]=Jg(Hg(r,H,D));return{c(){e=k("div"),t=k("div"),O.c(),i=ee(),o=k("div");for(let D=0;D<z.length;D+=1)z[D].c();n=ee(),s=k("ui-skeleton"),a=ee(),l=k("div"),l.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>',d=ee(),c=k("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton>',u=ee(),h=k("div");for(let D=0;D<M.length;D+=1)M[D].c();p=ee(),m=k("div"),m.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>',Y(s,"structure","text"),Y(s,"width","auto"),Y(s,"height","10px"),S(o,"class","ProductRestrictionDescription"),S(l,"class","ProductRestrictionConfigWrapper"),S(c,"class","ProductRestrictionNotification"),S(h,"class","ProductResitrctionTypes"),S(m,"class","ProductRestrictionActionButtons"),S(t,"class","ProductRestrictionWrapper Skeleton "+(r[26]?"ProductRestrictionWrapperMobile":"")),S(e,"class","ProductRestrictionContainer")},m(D,te){ae(D,e,te),v(e,t),O.m(t,null),v(t,i),v(t,o);for(let de=0;de<z.length;de+=1)z[de]&&z[de].m(o,null);v(o,n),v(o,s),v(t,a),v(t,l),v(t,d),v(t,c),v(t,u),v(t,h);for(let de=0;de<M.length;de+=1)M[de]&&M[de].m(h,null);v(t,p),v(t,m)},p:we,d(D){D&&ne(e),O.d(),ti(z,D),ti(M,D)}}}function jg(r){let e,t,i,o,n,s,a,l,d,c,u=r[24]("titleProductRestriction")+"",h,p,m;return{c(){e=k("button"),t=je("svg"),i=je("defs"),o=je("style"),n=fe(`.svgClass {
6679
+ `}static get is(){return"vaadin-tabs"}}B(Lg);if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-BBWEDNSU.cjs")).then(({default:e})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",e.element)})}if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-CQT_xWWw.cjs")).then(({default:e})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",e.element)})}function Bg(r){Na(r,"svelte-1t8brnd",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerProductRestrictionTitleNone{display:none}.ProductRestrictionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));container-type:inline-size}.ProductRestrictionContainer .ProductRestrictionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));padding:50px;border-radius:var(--emw--border-radius-medium, 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}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton{display:inline-flex;align-items:center;color:var(--emw--color-gray-300, #58586b);border:none;background-color:transparent;column-gap:10px;margin-bottom:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton .PlayerProductRestrictionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .PlayerProductRestrictionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px;min-height:180px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper{width:50%;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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel p{margin:0;font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon.active{transform:rotateZ(0deg)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown{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)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown 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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown.active{max-height:300px;opacity:1}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper 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}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification{color:var(--emw--color-gray-300, #58586b);line-height:24px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;color:var(--emw--color-gray-300, #58586b);font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel .label{font-size:var(--emw--size-standard, 16px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel p{margin:0}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent{display:inherit;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox [type=checkbox]{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:100px;cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .label{color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons{margin-top:40px;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave{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:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #ffffff);cursor:pointer;border:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:hover{filter:brightness(0.9)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:disabled{opacity:0.5;cursor:default}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionError{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .MenuReturnButton{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .PlayerProductRestrictionTitle{display:block;width:30%;height:20px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription{display:flex;flex-direction:column;gap:10px;width:75%}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription ui-skeleton:last-child{margin-top:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionConfigWrapper{border:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionNotification{margin-bottom:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription .ProductRestrictionDescriptionText{color:var(--emw--color-gray-300, #58586b)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{width:10px;height:10px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDateWrapper{width:100%}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionNotification{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons{width:100%;grid-template-columns:1fr 1fr}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons .ProductRestrictionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .MenuReturnButton{display:block;width:200px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .PlayerProductRestrictionTitle{display:none}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ya(r,e,t){const i=r.slice();return i[75]=e[t],i[77]=t,i}function xa(r,e,t){const i=r.slice();return i[78]=e[t],i}function Hg(r,e,t){const i=r.slice();return i[70]=e[t],i}function $g(r,e,t){const i=r.slice();return i[70]=e[t],i}function Fg(r){let e,t,i,o,n=r[24]("titleProductRestriction")+"",s,a,l,d,c=r[24]("productRestrictionText",{values:{baseurl:r[1],lang:r[0]}})+"",u,h,p=r[24]("productRestrictionEmailText")+"",m,_,y,O,R=r[24](`${r[15]}`)+"",z,H,M,D,te,de,ke,oe,V,_e,He,A,w,g,C,b=r[24]("save")+"",I,T,F,J,Q,re,ue,Ce,ve=r[26]&&jg(r),Ee=It(r[9]),ie=[];for(let E=0;E<Ee.length;E+=1)ie[E]=wa(xa(r,Ee,E));let K=r[19]&&Ca(r);function Oe(E,X){return E[18]?qg:E[14]?Ug:Wg}let Ie=Oe(r),ge=Ie(r),qe=It(r[10]),pe=[];for(let E=0;E<qe.length;E+=1)pe[E]=Pa(ya(r,qe,E));let be=r[23]&&Aa(r),Fe=r[27]&&Yg(r);return{c(){e=k("div"),t=k("div"),ve&&ve.c(),i=ee(),o=k("h2"),s=fe(n),a=ee(),l=k("div"),d=k("p"),u=ee(),h=k("p"),m=ee(),_=k("div"),y=k("div"),O=k("p"),z=fe(R),H=ee(),M=je("svg"),D=je("g"),te=je("path"),de=ee(),ke=k("div");for(let E=0;E<ie.length;E+=1)ie[E].c();oe=ee(),K&&K.c(),V=ee(),_e=k("div"),ge.c(),He=ee(),A=k("div");for(let E=0;E<pe.length;E+=1)pe[E].c();w=ee(),g=k("div"),C=k("button"),I=fe(b),J=ee(),be&&be.c(),Q=ee(),Fe&&Fe.c(),re=za(),S(o,"class","PlayerProductRestrictionTitle "+(r[26]?"PlayerProductRestrictionTitleNone":"")),S(d,"class","ProductRestrictionDescriptionText"),S(h,"class","ProductRestrictionDescriptionText"),S(l,"class","ProductRestrictionDescription "+(r[26]?"ProductRestrictionDescriptionMobile":"")),S(te,"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"),S(te,"stroke-linecap","round"),S(M,"xmlns","http://www.w3.org/2000/svg"),S(M,"xmlns:xlink","http://www.w3.org/1999/xlink"),S(M,"version","1.1"),S(M,"viewBox","0 0 100 100"),S(M,"xml:space","preserve"),S(M,"class","ProductRestrictionConfigIcon"),xt(M,"active",r[21]),S(y,"class","ProductRestrictionConfigLabel"),S(ke,"class","ProductRestrictionDropDown"),xt(ke,"active",r[21]),S(_,"class","ProductRestrictionConfigWrapper"),xt(_,"active",r[21]),S(_e,"class","ProductRestrictionNotification"),S(A,"class","ProductResitrctionTypes"),S(C,"class",T="ProductRestrictionSave "+(r[20]?"active":"")),C.disabled=F=!r[20],S(g,"class","ProductRestrictionActionButtons"),S(t,"class","ProductRestrictionWrapper "+(r[26]?"ProductRestrictionWrapperMobile":"")),S(e,"class","ProductRestrictionContainer")},m(E,X){ae(E,e,X),v(e,t),ve&&ve.m(t,null),v(t,i),v(t,o),v(o,s),v(t,a),v(t,l),v(l,d),d.innerHTML=c,v(l,u),v(l,h),h.innerHTML=p,v(t,m),v(t,_),v(_,y),v(y,O),v(O,z),v(y,H),v(y,M),v(M,D),v(D,te),v(_,de),v(_,ke);for(let $=0;$<ie.length;$+=1)ie[$]&&ie[$].m(ke,null);v(t,oe),K&&K.m(t,null),v(t,V),v(t,_e),ge.m(_e,null),v(t,He),v(t,A);for(let $=0;$<pe.length;$+=1)pe[$]&&pe[$].m(A,null);v(t,w),v(t,g),v(g,C),v(C,I),v(t,J),be&&be.m(t,null),ae(E,Q,X),Fe&&Fe.m(E,X),ae(E,re,X),ue||(Ce=[Bt(y,"click",r[44]),Bt(C,"click",r[48])],ue=!0)},p(E,X){if(E[26]&&ve.p(E,X),X[0]&16777216&&n!==(n=E[24]("titleProductRestriction")+"")&&De(s,n),X[0]&16777219&&c!==(c=E[24]("productRestrictionText",{values:{baseurl:E[1],lang:E[0]}})+"")&&(d.innerHTML=c),X[0]&16777216&&p!==(p=E[24]("productRestrictionEmailText")+"")&&(h.innerHTML=p),X[0]&16809984&&R!==(R=E[24](`${E[15]}`)+"")&&De(z,R),X[0]&2097152&&xt(M,"active",E[21]),X[0]&512|X[1]&1){Ee=It(E[9]);let $;for($=0;$<Ee.length;$+=1){const rt=xa(E,Ee,$);ie[$]?ie[$].p(rt,X):(ie[$]=wa(rt),ie[$].c(),ie[$].m(ke,null))}for(;$<ie.length;$+=1)ie[$].d(1);ie.length=Ee.length}if(X[0]&2097152&&xt(ke,"active",E[21]),X[0]&2097152&&xt(_,"active",E[21]),E[19]?K?K.p(E,X):(K=Ca(E),K.c(),K.m(t,V)):K&&(K.d(1),K=null),Ie===(Ie=Oe(E))&&ge?ge.p(E,X):(ge.d(1),ge=Ie(E),ge&&(ge.c(),ge.m(_e,null))),X[0]&822084608|X[1]&8){qe=It(E[10]);let $;for($=0;$<qe.length;$+=1){const rt=ya(E,qe,$);pe[$]?pe[$].p(rt,X):(pe[$]=Pa(rt),pe[$].c(),pe[$].m(A,null))}for(;$<pe.length;$+=1)pe[$].d(1);pe.length=qe.length}X[0]&16777216&&b!==(b=E[24]("save")+"")&&De(I,b),X[0]&1048576&&T!==(T="ProductRestrictionSave "+(E[20]?"active":""))&&S(C,"class",T),X[0]&1048576&&F!==(F=!E[20])&&(C.disabled=F),E[23]?be?be.p(E,X):(be=Aa(E),be.c(),be.m(t,null)):be&&(be.d(1),be=null),E[27]&&Fe.p(E,X)},d(E){E&&(ne(e),ne(Q),ne(re)),ve&&ve.d(),ti(ie,E),K&&K.d(),ge.d(),ti(pe,E),be&&be.d(),Fe&&Fe.d(E),ue=!1,et(Ce)}}}function Vg(r){let e,t,i,o,n,s,a,l,d,c,u,h,p,m;function _(D,te){return D[26]?Kg:Gg}let O=_(r)(r),R=It({length:3}),z=[];for(let D=0;D<R.length;D+=1)z[D]=Xg($g(r,R,D));let H=It({length:3}),M=[];for(let D=0;D<H.length;D+=1)M[D]=Jg(Hg(r,H,D));return{c(){e=k("div"),t=k("div"),O.c(),i=ee(),o=k("div");for(let D=0;D<z.length;D+=1)z[D].c();n=ee(),s=k("ui-skeleton"),a=ee(),l=k("div"),l.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>',d=ee(),c=k("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton>',u=ee(),h=k("div");for(let D=0;D<M.length;D+=1)M[D].c();p=ee(),m=k("div"),m.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>',Y(s,"structure","text"),Y(s,"width","auto"),Y(s,"height","10px"),S(o,"class","ProductRestrictionDescription"),S(l,"class","ProductRestrictionConfigWrapper"),S(c,"class","ProductRestrictionNotification"),S(h,"class","ProductResitrctionTypes"),S(m,"class","ProductRestrictionActionButtons"),S(t,"class","ProductRestrictionWrapper Skeleton "+(r[26]?"ProductRestrictionWrapperMobile":"")),S(e,"class","ProductRestrictionContainer")},m(D,te){ae(D,e,te),v(e,t),O.m(t,null),v(t,i),v(t,o);for(let de=0;de<z.length;de+=1)z[de]&&z[de].m(o,null);v(o,n),v(o,s),v(t,a),v(t,l),v(t,d),v(t,c),v(t,u),v(t,h);for(let de=0;de<M.length;de+=1)M[de]&&M[de].m(h,null);v(t,p),v(t,m)},p:we,d(D){D&&ne(e),O.d(),ti(z,D),ti(M,D)}}}function jg(r){let e,t,i,o,n,s,a,l,d,c,u=r[24]("titleProductRestriction")+"",h,p,m;return{c(){e=k("button"),t=je("svg"),i=je("defs"),o=je("style"),n=fe(`.svgClass {
6680
6680
  fill: var(--emw--color-primary, #22b04e);
6681
6681
  }
6682
6682
  `),s=je("g"),a=je("g"),l=je("path"),d=ee(),c=k("h2"),h=fe(u),S(l,"class","svgClass"),S(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),S(l,"transform","translate(15 15) rotate(180)"),S(a,"transform","translate(20 158)"),S(s,"transform","translate(-20 -158)"),S(t,"xmlns","http://www.w3.org/2000/svg"),S(t,"width","15"),S(t,"height","15"),S(t,"viewBox","0 0 15 15"),S(c,"class","PlayerProductRestrictionTitleMobile"),S(e,"class","MenuReturnButton")},m(_,y){ae(_,e,y),v(e,t),v(t,i),v(i,o),v(o,n),v(t,s),v(s,a),v(a,l),v(e,d),v(e,c),v(c,h),p||(m=Bt(e,"click",r[43]),p=!0)},p(_,y){y[0]&16777216&&u!==(u=_[24]("titleProductRestriction")+"")&&De(h,u)},d(_){_&&ne(e),p=!1,m()}}}function wa(r){let e,t=r[78].text+"",i,o,n;function s(){return r[45](r[78])}return{c(){e=k("div"),i=fe(t)},m(a,l){ae(a,e,l),v(e,i),o||(n=Bt(e,"click",s),o=!0)},p(a,l){r=a,l[0]&512&&t!==(t=r[78].text+"")&&De(i,t)},d(a){a&&ne(e),o=!1,n()}}}function Ca(r){let e,t,i=r[24]("duration")+"",o,n,s,a=r[24]("dateInstructions")+"",l,d,c,u,h,p,m;return{c(){e=k("div"),t=k("label"),o=fe(i),n=ee(),s=k("span"),l=fe(a),d=ee(),c=k("strong"),u=fe(r[25]),h=k("strong"),p=ee(),m=k("vaadin-date-picker"),S(t,"for","ProductRestrictionDate"),S(s,"class","ProductRestrictionDateInstructions"),Y(m,"min",r[11]),Y(m,"max",r[12]),Y(m,"value",r[11]),S(e,"class","ProductRestrictionDateWrapper")},m(_,y){ae(_,e,y),v(e,t),v(t,o),v(e,n),v(e,s),v(s,l),v(s,d),v(s,c),v(c,u),v(c,h),v(e,p),v(e,m),r[46](m)},p(_,y){y[0]&16777216&&i!==(i=_[24]("duration")+"")&&De(o,i),y[0]&16777216&&a!==(a=_[24]("dateInstructions")+"")&&De(l,a),y[0]&2048&&Y(m,"min",_[11]),y[0]&4096&&Y(m,"max",_[12]),y[0]&2048&&Y(m,"value",_[11])},d(_){_&&ne(e),r[46](null)}}}function Ug(r){let e,t,i=r[24]("temporaryProductRestriction",{values:{date:r[13]}})+"",o;return{c(){e=k("p"),t=k("strong"),o=fe(i),S(e,"class","ProductRestrictionDescriptionText")},m(n,s){ae(n,e,s),v(e,t),v(t,o)},p(n,s){s[0]&16785408&&i!==(i=n[24]("temporaryProductRestriction",{values:{date:n[13]}})+"")&&De(o,i)},d(n){n&&ne(e)}}}function Wg(r){let e,t,i=r[24]("noPeriodSelected")+"",o;return{c(){e=k("p"),t=k("strong"),o=fe(i),S(e,"class","ProductRestrictionDescriptionText")},m(n,s){ae(n,e,s),v(e,t),v(t,o)},p(n,s){s[0]&16777216&&i!==(i=n[24]("noPeriodSelected")+"")&&De(o,i)},d(n){n&&ne(e)}}}function qg(r){let e,t,i=r[24]("permanentProductRestriction")+"",o;return{c(){e=k("p"),t=k("strong"),o=fe(i),S(e,"class","ProductRestrictionDescriptionText")},m(n,s){ae(n,e,s),v(e,t),v(t,o)},p(n,s){s[0]&16777216&&i!==(i=n[24]("permanentProductRestriction")+"")&&De(o,i)},d(n){n&&ne(e)}}}function Ea(r){let e,t=r[24]("deniedProductText",{values:{date:r[34](r[75])}})+"",i;return{c(){e=k("p"),i=fe(t)},m(o,n){ae(o,e,n),v(e,i)},p(o,n){n[0]&16778240&&t!==(t=o[24]("deniedProductText",{values:{date:o[34](o[75])}})+"")&&De(i,t)},d(o){o&&ne(e)}}}function Pa(r){let e,t,i,o,n,s=r[28](r[75])+"",a,l,d,c,u,h,p=r[75].restricted&&Ea(r);function m(){return r[47](r[77])}return{c(){e=k("button"),t=k("div"),t.innerHTML='<input type="checkbox"/> <span class="circle"></span>',i=ee(),o=k("div"),n=k("p"),a=fe(s),l=ee(),p&&p.c(),d=ee(),S(t,"class","toggleCheckbox"),S(n,"class","label"),S(o,"class","ProductRestrictionLabel"),S(e,"class",c="toggleContent "+(r[75].checked||r[75].restricted?"checked":""))},m(_,y){ae(_,e,y),v(e,t),v(e,i),v(e,o),v(o,n),v(n,a),v(o,l),p&&p.m(o,null),v(e,d),u||(h=Bt(e,"click",m),u=!0)},p(_,y){r=_,y[0]&1024&&s!==(s=r[28](r[75])+"")&&De(a,s),r[75].restricted?p?p.p(r,y):(p=Ea(r),p.c(),p.m(o,null)):p&&(p.d(1),p=null),y[0]&1024&&c!==(c="toggleContent "+(r[75].checked||r[75].restricted?"checked":""))&&S(e,"class",c)},d(_){_&&ne(e),p&&p.d(),u=!1,h()}}}function Aa(r){let e,t,i;return{c(){e=k("div"),t=k("p"),i=fe(r[17]),S(e,"class","ProductRestrictionError")},m(o,n){ae(o,e,n),v(e,t),v(t,i)},p(o,n){n[0]&131072&&De(i,o[17])},d(o){o&&ne(e)}}}function Yg(r){let e,t,i,o;return{c(){e=k("player-account-modal"),t=k("player-account-general-confirmation-modal"),Y(t,"modaltitle",i=r[24]("confirmationModalTitle")),Y(t,"modaltext",r[16]),Y(t,"hascancelbutton",o=r[2]==="true"),Y(t,"modalconfirmevent","setProductRestriction"),Y(t,"mbsource",r[5]),Y(t,"lang",r[0]),Y(e,"clientstyling",r[3]),Y(e,"clientstylingurl",r[4]),Y(e,"mbsource",r[5]),Y(e,"showmodaleventname","ShowProductRestrictionConfirmationModal")},m(n,s){ae(n,e,s),v(e,t),r[49](t)},p(n,s){s[0]&16777216&&i!==(i=n[24]("confirmationModalTitle"))&&Y(t,"modaltitle",i),s[0]&65536&&Y(t,"modaltext",n[16]),s[0]&4&&o!==(o=n[2]==="true")&&Y(t,"hascancelbutton",o),s[0]&32&&Y(t,"mbsource",n[5]),s[0]&1&&Y(t,"lang",n[0]),s[0]&8&&Y(e,"clientstyling",n[3]),s[0]&16&&Y(e,"clientstylingurl",n[4]),s[0]&32&&Y(e,"mbsource",n[5])},d(n){n&&ne(e),r[49](null)}}}function Gg(r){let e;return{c(){e=k("h2"),e.innerHTML='<ui-skeleton structure="title" width="auto" height="20px"></ui-skeleton>',S(e,"class","PlayerProductRestrictionTitle")},m(t,i){ae(t,e,i)},d(t){t&&ne(e)}}}function Kg(r){let e;return{c(){e=k("div"),e.innerHTML='<ui-skeleton structure="title" width="auto" height="20px"></ui-skeleton>',S(e,"class","MenuReturnButton")},m(t,i){ae(t,e,i)},d(t){t&&ne(e)}}}function Xg(r){let e,t,i;return{c(){e=k("ui-skeleton"),t=ee(),i=k("ui-skeleton"),Y(e,"structure","text"),Y(e,"width","auto"),Y(e,"height","10px"),Y(i,"structure","title"),Y(i,"width","auto"),Y(i,"height","10px")},m(o,n){ae(o,e,n),ae(o,t,n),ae(o,i,n)},p:we,d(o){o&&(ne(e),ne(t),ne(i))}}}function Jg(r){let e;return{c(){e=k("div"),e.innerHTML='<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ',S(e,"class","toggleContent")},m(t,i){ae(t,e,i)},p:we,d(t){t&&ne(e)}}}function Zg(r){let e;function t(n,s){return n[22]?Vg:Fg}let i=t(r),o=i(r);return{c(){e=k("div"),o.c()},m(n,s){ae(n,e,s),o.m(e,null),r[50](e)},p(n,s){i===(i=t(n))&&o?o.p(n,s):(o.d(1),o=i(n),o&&(o.c(),o.m(e,null)))},i:we,o:we,d(n){n&&ne(e),o.d(),r[50](null)}}}function Qg(r,e,t){let i;Ta(r,bl,f=>t(24,i=f));let{endpoint:o=""}=e,{session:n=""}=e,{playerid:s=""}=e,{lang:a="en"}=e,{baseurl:l=""}=e,{mergeproducts:d="Casino+Virtuals"}=e,{hideproducts:c=""}=e,{hasconfirmationmodal:u="false"}=e,{hascancelbutton:h=""}=e,{dateformat:p="DD/MM/YYYY"}=e,{clientstyling:m=""}=e,{clientstylingurl:_=""}=e,{mbsource:y}=e,{translationurl:O=""}=e,R,z,H,M=[],D={},te=[],de=p.toUpperCase(),ke=window.navigator.userAgent,oe,V,_e="",He="",A="selectAPeriod",w="",g="",C="",b=yl(ke)!=="PC",I=!1,T=!1,F=!1,J=!1,Q=u==="true",re=!0,ue=!1,Ce;const ve=()=>{fetch(O).then(L=>L.json()).then(L=>{Object.keys(L).forEach(N=>{bs(N,L[N])})}).catch(L=>{console.log(L)})};Object.keys(ys).forEach(f=>{bs(f,ys[f])});const Ee=f=>Ui(this,null,function*(){var L;if(f.status>=300)return t(23,ue=!0),g=(L=(yield f.json()).thirdPartyResponse)==null?void 0:L.errorCode,t(17,C=i(g||"generalError")),window.postMessage({type:"WidgetNotification",data:{type:"error",message:C}},window.location.href),Promise.reject(C);if(t(23,ue=!1),f.headers.get("content-type")){let N=yield f.json();return Promise.resolve(N)}return Promise.resolve()}),ie=()=>{t(20,F=He&&te.some(f=>f.checked)),Q&&F&&rt()},K=f=>{if(!d)return f;const L=d.split(","),N=[],he=new Set;for(const Ye of f){if(he.has(Ye))continue;const it=L.find(Re=>Re.includes(Ye));it?(it.split("+").forEach(Re=>he.add(Re)),N.push(it)):N.push(Ye)}return N},Oe=f=>{const L=Object.keys(f).filter(he=>!c.includes(he));let N=K(L);t(10,te=N.map(he=>({type:he,checked:!1,restricted:!1})))},Ie=f=>{var L;return(L=f.type)==null?void 0:L.split("+").map(N=>i(N)).join(" + ")},ge=f=>{t(9,M=f.map(L=>({key:(L.number||"")+L.unit,text:i((L.number||"")+L.unit)})))},qe=f=>{te[f].restricted||(t(10,te[f].checked=!te[f].checked,te),ie())},pe=()=>{t(21,J=!J)},be=f=>{switch(t(14,He=f.text),t(15,A=f.key),t(21,J=!1),t(18,I=!1),t(19,T=!1),A){case"Until":t(19,T=!0),t(11,oe=Et().add(6,"M").format("YYYY-MM-DD")),t(12,V=Et().add(5,"y").format("YYYY-MM-DD")),t(13,_e=oe);break;case"Permanent":t(18,I=!I);break;default:const L=A.match(/\d+/g)[0],N=A.match(/[a-zA-Z]+/g)[0],he=N.includes("Day")?"days":N.includes("Month")?"months":N.includes("Year")?"years":null;if(!N)return;t(13,_e=Fe(Et().add(Number(L),he)));break}ie()},Fe=f=>Et(f).format(de),E=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},X=f=>{t(13,_e=f.target.value)},$=()=>{H.addEventListener("change",X,!1);const f=N=>Et(new Date(N.year,N.month,N.day)).format(de),L=N=>{const he=Et(N,de);return{year:he.year(),month:he.month(),day:he.date()}};t(7,H.i18n=ji(Vi({},H.i18n),{formatDate:f,parseDate:L}),H)},rt=()=>{if(!Q||!He||!_e){t(16,w="");return}let f="";te.forEach(L=>{!L.checked||L.restricted||(f=f?`${f}, ${Ie(L)}`:`${Ie(L)}`)}),t(16,w=i("confirmationModalTextPeriodProductRestriction",{values:{period:i(He),product:f,date:_e}}))},Yn=f=>{f.preventDefault(),Q?window.postMessage({type:"ShowProductRestrictionConfirmationModal"},window.location.href):$i()},Gn=()=>{const f=new URL("/api/v1/gm/legislation/responsible-gambling/product-restrictions/metadata/",o);fetch(f,{method:"GET",headers:{"X-SessionId":n,"Content-Type":"application/json",Accept:"application/json"}}).then(N=>Ee(N)).then(N=>{Oe(N.products),ge(N.periods),pc()}).catch(N=>{console.error(N)}).finally(()=>{t(22,re=!1)})},pc=()=>{const f=new URL(`/api/v1/gm/legislation/responsible-gambling/user/${s}/deny-products/`,o);fetch(f,{method:"GET",headers:{"X-SessionId":n,"Content-Type":"application/json",Accept:"application/json"}}).then(N=>Ee(N)).then(N=>{N.denyProductsRoles.forEach(he=>{let Ye=te.findIndex(it=>{var Re;return d?(Re=it.type)==null?void 0:Re.split("+").some(Pc=>Pc===he.productType):he.productType===it.type});Ye!=-1&&t(10,te[Ye].restricted=!0,te),D[he.productType]=Fe(he.expirationDate)})}).catch(N=>{console.error(N)}).finally(()=>{t(22,re=!1)})},mc=f=>{if(!d)return D[f.type];if(f.type.includes("+")){const L=f.type.split("+");return D[L[0]]}else return D[f.type]},fc=f=>{const L=f.filter(N=>N.checked);return d?L.reduce((N,he)=>[...N,...he.type.split("+")],[]):L.map(N=>N.type)},$i=()=>{t(22,re=!0);const f=new URL(`/api/v1/gm/legislation/responsible-gambling/user/${s}/deny-products/`,o);let L=A.match(/\d+/g)[0],N=A.match(/[a-zA-Z]+/g)[0],Ye=fc(te).map(Re=>({productType:Re,expirationPeriod:{unit:N,number:L}})),it={method:"POST",headers:{"X-SessionId":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({denyProductsRoles:Ye})};fetch(f.href,it).then(Re=>Ee(Re)).then(Re=>{Gn(),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("productRestrictionSuccess")}},window.location.href),t(20,F=!1)}).catch(Re=>{console.error(i("errorProductRestrictionCall"),Re)}).finally(()=>{t(22,re=!1)})};La(()=>()=>{H&&H.removeEventListener("change",X),Ce.removeEventListener("setProductRestriction",$i)});const _c=()=>{cp(a)},vc=()=>E(),gc=()=>pe(),bc=f=>be(f);function yc(f){Dt[f?"unshift":"push"](()=>{H=f,t(7,H)})}const xc=f=>qe(f),wc=f=>Yn(f);function Cc(f){Dt[f?"unshift":"push"](()=>{Ce=f,t(8,Ce)})}function Ec(f){Dt[f?"unshift":"push"](()=>{R=f,t(6,R)})}return r.$$set=f=>{"endpoint"in f&&t(35,o=f.endpoint),"session"in f&&t(36,n=f.session),"playerid"in f&&t(37,s=f.playerid),"lang"in f&&t(0,a=f.lang),"baseurl"in f&&t(1,l=f.baseurl),"mergeproducts"in f&&t(38,d=f.mergeproducts),"hideproducts"in f&&t(39,c=f.hideproducts),"hasconfirmationmodal"in f&&t(40,u=f.hasconfirmationmodal),"hascancelbutton"in f&&t(2,h=f.hascancelbutton),"dateformat"in f&&t(41,p=f.dateformat),"clientstyling"in f&&t(3,m=f.clientstyling),"clientstylingurl"in f&&t(4,_=f.clientstylingurl),"mbsource"in f&&t(5,y=f.mbsource),"translationurl"in f&&t(42,O=f.translationurl)},r.$$.update=()=>{r.$$.dirty[0]&1&&a&&_c(),r.$$.dirty[1]&112&&o&&n&&s&&Gn(),r.$$.dirty[0]&128&&H&&$(),r.$$.dirty[0]&72&&m&&R&&wl(R,m),r.$$.dirty[0]&80&&_&&R&&Cl(R,_),r.$$.dirty[0]&96&&y&&R&&El(R,`${y}.Style`,z),r.$$.dirty[1]&2048&&O&&ve(),r.$$.dirty[0]&256&&Ce&&Ce.addEventListener("setProductRestriction",$i)},Q&&rt(),[a,l,h,m,_,y,R,H,Ce,M,te,oe,V,_e,He,A,w,C,I,T,F,J,re,ue,i,de,b,Q,Ie,qe,pe,be,E,Yn,mc,o,n,s,d,c,u,p,O,vc,gc,bc,yc,xc,wc,Cc,Ec]}class hc extends Va{constructor(e){super(),Ha(this,e,Qg,Zg,on,{endpoint:35,session:36,playerid:37,lang:0,baseurl:1,mergeproducts:38,hideproducts:39,hasconfirmationmodal:40,hascancelbutton:2,dateformat:41,clientstyling:3,clientstylingurl:4,mbsource:5,translationurl:42},Bg,[-1,-1,-1])}get endpoint(){return this.$$.ctx[35]}set endpoint(e){this.$$set({endpoint:e}),ye()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),ye()}get playerid(){return this.$$.ctx[37]}set playerid(e){this.$$set({playerid:e}),ye()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),ye()}get baseurl(){return this.$$.ctx[1]}set baseurl(e){this.$$set({baseurl:e}),ye()}get mergeproducts(){return this.$$.ctx[38]}set mergeproducts(e){this.$$set({mergeproducts:e}),ye()}get hideproducts(){return this.$$.ctx[39]}set hideproducts(e){this.$$set({hideproducts:e}),ye()}get hasconfirmationmodal(){return this.$$.ctx[40]}set hasconfirmationmodal(e){this.$$set({hasconfirmationmodal:e}),ye()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(e){this.$$set({hascancelbutton:e}),ye()}get dateformat(){return this.$$.ctx[41]}set dateformat(e){this.$$set({dateformat:e}),ye()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),ye()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ye()}get mbsource(){return this.$$.ctx[5]}set mbsource(e){this.$$set({mbsource:e}),ye()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),ye()}}Fa(hc,{endpoint:{},session:{},playerid:{},lang:{},baseurl:{},mergeproducts:{},hideproducts:{},hasconfirmationmodal:{},hascancelbutton:{},dateformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);const eb=Object.freeze(Object.defineProperty({__proto__:null,default:hc},Symbol.toStringTag,{value:"Module"}));exports.$format=bl;exports.$locale=_t;exports.PlayerAccountProductRestriction_ce=eb;exports.SvelteComponent=Va;exports.addMessages=ln;exports.add_render_callback=hr;exports.append=v;exports.append_styles=Na;exports.attr=S;exports.binding_callbacks=Dt;exports.check_outros=eu;exports.component_subscribe=Ta;exports.create_bidirectional_transition=iu;exports.create_custom_element=Fa;exports.create_slot=Rc;exports.detach=ne;exports.element=k;exports.empty=za;exports.flush=ye;exports.getDevice=yl;exports.get_all_dirty_from_scope=zc;exports.get_slot_changes=Nc;exports.group_outros=Qc;exports.identity=Sa;exports.init=Ha;exports.insert=ae;exports.listen=Bt;exports.noop=we;exports.onMount=La;exports.run_all=et;exports.safe_not_equal=on;exports.setClientStyling=wl;exports.setClientStylingURL=Cl;exports.setStreamStyling=El;exports.set_data=De;exports.space=ee;exports.svg_element=je;exports.text=fe;exports.transition_in=Ba;exports.transition_out=tu;exports.update_slot_base=Mc;
@@ -5731,7 +5731,7 @@ class Ap {
5731
5731
  }
5732
5732
  const Rs = di.litHtmlPolyfillSupport;
5733
5733
  var Ns;
5734
- Rs == null || Rs(_r, kr), ((Ns = di.litHtmlVersions) != null ? Ns : di.litHtmlVersions = []).push("3.3.2");
5734
+ Rs == null || Rs(_r, kr), ((Ns = di.litHtmlVersions) != null ? Ns : di.litHtmlVersions = []).push("3.3.3");
5735
5735
  const gl = (r, e, t) => {
5736
5736
  var i, o;
5737
5737
  const n = (i = t == null ? void 0 : t.renderBefore) != null ? i : e;
@@ -20888,7 +20888,7 @@ if (typeof window != "undefined") {
20888
20888
  }
20889
20889
  };
20890
20890
  };
20891
- customElements.define = r(customElements.define), import("./PlayerAccountModal-D47R8SdC.js").then(({ default: e }) => {
20891
+ customElements.define = r(customElements.define), import("./PlayerAccountModal-ER7Yxg3w.js").then(({ default: e }) => {
20892
20892
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", e.element);
20893
20893
  });
20894
20894
  }
@@ -20904,7 +20904,7 @@ if (typeof window != "undefined") {
20904
20904
  }
20905
20905
  };
20906
20906
  };
20907
- customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DiC9z059.js").then(
20907
+ customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BXbMEIyB.js").then(
20908
20908
  ({ default: e }) => {
20909
20909
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
20910
20910
  "player-account-general-confirmation-modal",
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}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/PlayerAccountProductRestriction-F0zz1VKM.cjs")).then(e=>e.PlayerAccountProductRestriction_ce).then(({default:e})=>{!customElements.get("player-account-product-restriction")&&customElements.define("player-account-product-restriction",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}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/PlayerAccountProductRestriction-CJzS_5ta.cjs")).then(e=>e.PlayerAccountProductRestriction_ce).then(({default:e})=>{!customElements.get("player-account-product-restriction")&&customElements.define("player-account-product-restriction",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountProductRestriction-DQy5F_tD.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountProductRestriction-bGcl5Pri.js").then((e) => e.P).then(({ default: e }) => {
14
14
  !customElements.get("player-account-product-restriction") && customElements.define("player-account-product-restriction", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountProductRestriction-CTU8ghNq.js";
1
+ import { P as r } from "../components/PlayerAccountProductRestriction-BuSlptBE.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-product-restriction",
3
- "version": "1.94.2",
3
+ "version": "1.94.4",
4
4
  "type": "module",
5
5
  "main": "esnext/player-account-product-restriction.js",
6
6
  "module": "esnext/player-account-product-restriction.js",