@everymatrix/player-account-gaming-limits 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimits-DMcQZp6c.js → PlayerAccountGamingLimits-BhZh042a.js} +440 -444
- package/components/{PlayerAccountGamingLimits-BjObxIoN.cjs → PlayerAccountGamingLimits-viRNSgkd.cjs} +5 -5
- package/components/PlayerAccountGamingLimitsConfirmationModal-Bb1_bXSm.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-DoJuz29x.js +306 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dtr3qAMk.js → PlayerAccountGamingLimitsGroupEdit-9nPccBBm.js} +966 -966
- package/components/PlayerAccountGamingLimitsGroupEdit-BlFJYk5p.cjs +10 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Bgg-oksy.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CZOB56fP.js → PlayerAccountGamingLimitsInfoCard-C6mt1_vl.js} +345 -345
- package/components/PlayerAccountGamingLimitsPopup-BnvMrqy8.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-BU3iWn3F.js → PlayerAccountGamingLimitsPopup-Dd_w3Jrl.js} +56 -54
- package/components/{PlayerAccountModal-DhSN5Kru.js → PlayerAccountModal-C0S3GOGp.js} +45 -45
- package/components/PlayerAccountModal-CJumHBfB.cjs +1 -0
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountGamingLimitsConfirmationModal-B0vQltjv.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-CR9REp5N.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DWQnQBvT.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard-CpZp16ta.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CQsEkyR6.cjs +0 -1
- package/components/PlayerAccountModal-BI12j_YY.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-viRNSgkd.cjs");function I(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const T={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."}};function j(i){e.append_styles(i,"svelte-hyxi0a",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));fill:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emfe-w-color-black, #000000)}')}function _(i){let t,a,o,r,l,m,y=i[4]("name")+"",h,v,c,w,p,s,x,P;function k(u,g){return u[0]?L:F}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),r=e.element("div"),r.textContent="i",l=e.space(),m=e.element("div"),h=e.text(y),v=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',w=e.space(),p=e.element("div"),d.c(),e.attr(r,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(p,"class","InfoCardPopupContentArea"),e.attr(a,"class",s="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,g){e.insert(u,t,g),e.append(t,a),e.append(a,o),e.append(o,r),e.append(o,l),e.append(o,m),e.append(m,h),e.append(o,v),e.append(o,c),e.append(a,w),e.append(a,p),d.m(p,null),i[12](t),x||(P=e.listen(c,"click",e.prevent_default(i[6])),x=!0)},p(u,g){g&16&&y!==(y=u[4]("name")+"")&&e.set_data(h,y),C===(C=k(u))&&d?d.p(u,g):(d.d(1),d=C(u),d&&(d.c(),d.m(p,null))),g&1&&s!==(s="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",s)},d(u){u&&e.detach(t),d.d(),i[12](null),x=!1,P()}}}function F(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(r,l){e.insert(r,t,l),e.append(t,o)},p(r,l){l&16&&a!==(a=r[4]("defaultText")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function L(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(r,l){e.insert(r,t,l),e.append(t,o)},p(r,l){l&19&&a!==(a=r[4]("amountChanged",{values:{amount:r[0],currency:r[1]}})+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function W(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,r){a&&a.m(o,r),e.insert(o,t,r)},p(o,[r]){o[3]?a?a.p(o,r):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function S(i,t,a){let o;e.component_subscribe(i,e.$format,n=>a(4,o=n));let{showpopup:r=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{playercurrency:y="USD"}=t,{clientstyling:h=""}=t,{clientstylingurl:v=""}=t,{translationurl:c=""}=t;const w=()=>{fetch(c).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{I(b,f[b])})}).catch(f=>{console.log(f)})};Object.keys(T).forEach(n=>{I(n,T[n])});let p=!1,s,x=window.navigator.userAgent,P=e.getDevice(x)!=="PC";const k=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},C=n=>{n.data&&n.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},d=()=>{z(m),l<0&&a(0,l="0"),a(3,p=r)},u=()=>{let n=document.createElement("style");n.innerHTML=h,s.appendChild(n)},g=()=>{let n=new URL(v),f=document.createElement("style");fetch(n.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{s.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));function M(n){e.binding_callbacks[n?"unshift":"push"](()=>{s=n,a(2,s)})}return i.$$set=n=>{"showpopup"in n&&a(7,r=n.showpopup),"iteminfoamount"in n&&a(0,l=n.iteminfoamount),"lang"in n&&a(8,m=n.lang),"playercurrency"in n&&a(1,y=n.playercurrency),"clientstyling"in n&&a(9,h=n.clientstyling),"clientstylingurl"in n&&a(10,v=n.clientstylingurl),"translationurl"in n&&a(11,c=n.translationurl)},i.$$.update=()=>{i.$$.dirty&384&&r&&m&&d(),i.$$.dirty&1028&&v&&s&&g(),i.$$.dirty&516&&h&&s&&u(),i.$$.dirty&2048&&c&&w()},[l,y,s,p,o,P,k,r,m,h,v,c,M]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,W,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,playercurrency:1,clientstyling:9,clientstylingurl:10,translationurl:11},j)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},playercurrency:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=q;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as G, $ as A, S as H, i as O, f as x, c as V, s as D, b as N, H as U, j as q, B as L, r as M, w as Y, x as R, y as Q, e as g, g as z, t as j, h as p, k as d, l as K, E as J, o as F, z as X, C as Z } from "./PlayerAccountGamingLimits-BhZh042a.js";
|
|
2
2
|
function W(a, e) {
|
|
3
|
-
|
|
3
|
+
G(a, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function $(a) {
|
|
6
|
+
A.set(a);
|
|
7
7
|
}
|
|
8
8
|
const E = {
|
|
9
9
|
en: {
|
|
@@ -62,72 +62,74 @@ const E = {
|
|
|
62
62
|
defaultText: "Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
N(a, "svelte-
|
|
65
|
+
function ee(a) {
|
|
66
|
+
N(a, "svelte-hyxi0a", '.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));fill:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emfe-w-color-black, #000000)}');
|
|
67
67
|
}
|
|
68
68
|
function S(a) {
|
|
69
69
|
let e, t, o, n, r, f, C = (
|
|
70
70
|
/*$_*/
|
|
71
71
|
a[4]("name") + ""
|
|
72
|
-
),
|
|
73
|
-
function _(l,
|
|
72
|
+
), y, b, c, I, m, s, P, T;
|
|
73
|
+
function _(l, v) {
|
|
74
74
|
return (
|
|
75
75
|
/*iteminfoamount*/
|
|
76
|
-
l[0] ?
|
|
76
|
+
l[0] ? ae : te
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
let w = _(a),
|
|
79
|
+
let w = _(a), u = w(a);
|
|
80
80
|
return {
|
|
81
81
|
c() {
|
|
82
|
-
e =
|
|
82
|
+
e = g("section"), t = g("div"), o = g("div"), n = g("div"), n.textContent = "i", r = z(), f = g("div"), y = j(C), b = z(), c = g("div"), c.innerHTML = '<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>', I = z(), m = g("div"), u.c(), p(n, "class", "InfoCardPopupIcon"), p(f, "class", "InfoCardPopupTitle"), p(c, "class", "InfoCardPopupCloseButton"), p(o, "class", "InfoCardPopupHeader"), p(m, "class", "InfoCardPopupContentArea"), p(t, "class", s = "InfoCardPopupWrapper " + /*isMobile*/
|
|
83
83
|
(a[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
84
|
-
(a[0] ? "InfoCardPopupLimitChanged" : "")
|
|
84
|
+
(a[0] ? "InfoCardPopupLimitChanged" : "")), p(
|
|
85
|
+
e,
|
|
86
|
+
"class",
|
|
85
87
|
/*isMobile*/
|
|
86
88
|
a[5] ? "InfoCardPopupMobileModal" : ""
|
|
87
|
-
)
|
|
89
|
+
);
|
|
88
90
|
},
|
|
89
|
-
m(l,
|
|
90
|
-
q(l, e,
|
|
91
|
+
m(l, v) {
|
|
92
|
+
q(l, e, v), d(e, t), d(t, o), d(o, n), d(o, r), d(o, f), d(f, y), d(o, b), d(o, c), d(t, I), d(t, m), u.m(m, null), a[12](e), P || (T = K(c, "click", J(
|
|
91
93
|
/*closeInfoPopup*/
|
|
92
94
|
a[6]
|
|
93
95
|
)), P = !0);
|
|
94
96
|
},
|
|
95
|
-
p(l,
|
|
96
|
-
|
|
97
|
+
p(l, v) {
|
|
98
|
+
v & /*$_*/
|
|
97
99
|
16 && C !== (C = /*$_*/
|
|
98
|
-
l[4]("name") + "") &&
|
|
100
|
+
l[4]("name") + "") && F(y, C), w === (w = _(l)) && u ? u.p(l, v) : (u.d(1), u = w(l), u && (u.c(), u.m(m, null))), v & /*iteminfoamount*/
|
|
99
101
|
1 && s !== (s = "InfoCardPopupWrapper " + /*isMobile*/
|
|
100
102
|
(l[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
101
|
-
(l[0] ? "InfoCardPopupLimitChanged" : "")
|
|
103
|
+
(l[0] ? "InfoCardPopupLimitChanged" : "")) && p(t, "class", s);
|
|
102
104
|
},
|
|
103
105
|
d(l) {
|
|
104
|
-
l &&
|
|
106
|
+
l && M(e), u.d(), a[12](null), P = !1, T();
|
|
105
107
|
}
|
|
106
108
|
};
|
|
107
109
|
}
|
|
108
|
-
function
|
|
110
|
+
function te(a) {
|
|
109
111
|
let e, t = (
|
|
110
112
|
/*$_*/
|
|
111
113
|
a[4]("defaultText") + ""
|
|
112
114
|
), o;
|
|
113
115
|
return {
|
|
114
116
|
c() {
|
|
115
|
-
e =
|
|
117
|
+
e = g("p"), o = j(t), p(e, "class", "InfoCardPopupContent");
|
|
116
118
|
},
|
|
117
119
|
m(n, r) {
|
|
118
|
-
q(n, e, r),
|
|
120
|
+
q(n, e, r), d(e, o);
|
|
119
121
|
},
|
|
120
122
|
p(n, r) {
|
|
121
123
|
r & /*$_*/
|
|
122
124
|
16 && t !== (t = /*$_*/
|
|
123
|
-
n[4]("defaultText") + "") &&
|
|
125
|
+
n[4]("defaultText") + "") && F(o, t);
|
|
124
126
|
},
|
|
125
127
|
d(n) {
|
|
126
|
-
n &&
|
|
128
|
+
n && M(e);
|
|
127
129
|
}
|
|
128
130
|
};
|
|
129
131
|
}
|
|
130
|
-
function
|
|
132
|
+
function ae(a) {
|
|
131
133
|
let e, t = (
|
|
132
134
|
/*$_*/
|
|
133
135
|
a[4]("amountChanged", {
|
|
@@ -145,10 +147,10 @@ function ie(a) {
|
|
|
145
147
|
), o;
|
|
146
148
|
return {
|
|
147
149
|
c() {
|
|
148
|
-
e =
|
|
150
|
+
e = g("p"), o = j(t), p(e, "class", "InfoCardPopupContent");
|
|
149
151
|
},
|
|
150
152
|
m(n, r) {
|
|
151
|
-
q(n, e, r),
|
|
153
|
+
q(n, e, r), d(e, o);
|
|
152
154
|
},
|
|
153
155
|
p(n, r) {
|
|
154
156
|
r & /*$_, iteminfoamount, playercurrency*/
|
|
@@ -164,14 +166,14 @@ function ie(a) {
|
|
|
164
166
|
n[1]
|
|
165
167
|
)
|
|
166
168
|
}
|
|
167
|
-
}) + "") &&
|
|
169
|
+
}) + "") && F(o, t);
|
|
168
170
|
},
|
|
169
171
|
d(n) {
|
|
170
|
-
n &&
|
|
172
|
+
n && M(e);
|
|
171
173
|
}
|
|
172
174
|
};
|
|
173
175
|
}
|
|
174
|
-
function
|
|
176
|
+
function ie(a) {
|
|
175
177
|
let e, t = (
|
|
176
178
|
/*showPopup*/
|
|
177
179
|
a[3] && S(a)
|
|
@@ -187,17 +189,17 @@ function oe(a) {
|
|
|
187
189
|
/*showPopup*/
|
|
188
190
|
o[3] ? t ? t.p(o, n) : (t = S(o), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
189
191
|
},
|
|
190
|
-
i:
|
|
191
|
-
o:
|
|
192
|
+
i: L,
|
|
193
|
+
o: L,
|
|
192
194
|
d(o) {
|
|
193
|
-
o &&
|
|
195
|
+
o && M(e), t && t.d(o);
|
|
194
196
|
}
|
|
195
197
|
};
|
|
196
198
|
}
|
|
197
|
-
function
|
|
199
|
+
function oe(a, e, t) {
|
|
198
200
|
let o;
|
|
199
|
-
Y(a,
|
|
200
|
-
let { showpopup: n = "" } = e, { iteminfoamount: r = "" } = e, { lang: f = "en" } = e, { playercurrency: C = "USD" } = e, { clientstyling:
|
|
201
|
+
Y(a, Z, (i) => t(4, o = i));
|
|
202
|
+
let { showpopup: n = "" } = e, { iteminfoamount: r = "" } = e, { lang: f = "en" } = e, { playercurrency: C = "USD" } = e, { clientstyling: y = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: c = "" } = e;
|
|
201
203
|
const I = () => {
|
|
202
204
|
fetch(c).then((h) => h.json()).then((h) => {
|
|
203
205
|
Object.keys(h).forEach((k) => {
|
|
@@ -220,12 +222,12 @@ function ne(a, e, t) {
|
|
|
220
222
|
);
|
|
221
223
|
}, w = (i) => {
|
|
222
224
|
i.data && i.data.type == "ClosePlayerAccountGamingLimitsPopup" && t(3, m = !1);
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
+
}, u = () => {
|
|
226
|
+
$(f), r < 0 && t(0, r = "0"), t(3, m = n);
|
|
225
227
|
}, l = () => {
|
|
226
228
|
let i = document.createElement("style");
|
|
227
|
-
i.innerHTML =
|
|
228
|
-
},
|
|
229
|
+
i.innerHTML = y, s.appendChild(i);
|
|
230
|
+
}, v = () => {
|
|
229
231
|
let i = new URL(b), h = document.createElement("style");
|
|
230
232
|
fetch(i.href).then((k) => k.text()).then((k) => {
|
|
231
233
|
h.innerHTML = k, setTimeout(
|
|
@@ -239,18 +241,18 @@ function ne(a, e, t) {
|
|
|
239
241
|
Q(() => (window.addEventListener("message", w, !1), () => {
|
|
240
242
|
window.removeEventListener("message", w);
|
|
241
243
|
}));
|
|
242
|
-
function
|
|
243
|
-
|
|
244
|
+
function B(i) {
|
|
245
|
+
X[i ? "unshift" : "push"](() => {
|
|
244
246
|
s = i, t(2, s);
|
|
245
247
|
});
|
|
246
248
|
}
|
|
247
249
|
return a.$$set = (i) => {
|
|
248
|
-
"showpopup" in i && t(7, n = i.showpopup), "iteminfoamount" in i && t(0, r = i.iteminfoamount), "lang" in i && t(8, f = i.lang), "playercurrency" in i && t(1, C = i.playercurrency), "clientstyling" in i && t(9,
|
|
250
|
+
"showpopup" in i && t(7, n = i.showpopup), "iteminfoamount" in i && t(0, r = i.iteminfoamount), "lang" in i && t(8, f = i.lang), "playercurrency" in i && t(1, C = i.playercurrency), "clientstyling" in i && t(9, y = i.clientstyling), "clientstylingurl" in i && t(10, b = i.clientstylingurl), "translationurl" in i && t(11, c = i.translationurl);
|
|
249
251
|
}, a.$$.update = () => {
|
|
250
252
|
a.$$.dirty & /*showpopup, lang*/
|
|
251
|
-
384 && n && f &&
|
|
252
|
-
1028 && b && s &&
|
|
253
|
-
516 &&
|
|
253
|
+
384 && n && f && u(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
254
|
+
1028 && b && s && v(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
255
|
+
516 && y && s && l(), a.$$.dirty & /*translationurl*/
|
|
254
256
|
2048 && c && I();
|
|
255
257
|
}, [
|
|
256
258
|
r,
|
|
@@ -262,19 +264,19 @@ function ne(a, e, t) {
|
|
|
262
264
|
_,
|
|
263
265
|
n,
|
|
264
266
|
f,
|
|
265
|
-
|
|
267
|
+
y,
|
|
266
268
|
b,
|
|
267
269
|
c,
|
|
268
|
-
|
|
270
|
+
B
|
|
269
271
|
];
|
|
270
272
|
}
|
|
271
|
-
class
|
|
273
|
+
class ne extends H {
|
|
272
274
|
constructor(e) {
|
|
273
275
|
super(), O(
|
|
274
276
|
this,
|
|
275
277
|
e,
|
|
276
|
-
ne,
|
|
277
278
|
oe,
|
|
279
|
+
ie,
|
|
278
280
|
D,
|
|
279
281
|
{
|
|
280
282
|
showpopup: 7,
|
|
@@ -285,7 +287,7 @@ class re extends H {
|
|
|
285
287
|
clientstylingurl: 10,
|
|
286
288
|
translationurl: 11
|
|
287
289
|
},
|
|
288
|
-
|
|
290
|
+
ee
|
|
289
291
|
);
|
|
290
292
|
}
|
|
291
293
|
get showpopup() {
|
|
@@ -331,7 +333,7 @@ class re extends H {
|
|
|
331
333
|
this.$$set({ translationurl: e }), x();
|
|
332
334
|
}
|
|
333
335
|
}
|
|
334
|
-
V(
|
|
336
|
+
V(ne, { showpopup: {}, iteminfoamount: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
335
337
|
export {
|
|
336
|
-
|
|
338
|
+
ne as default
|
|
337
339
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { O as R, S as T, i as j, f, c as q, s as P, b as U, H as W, j as k, p as c, q as m, P as A, r as E, y as B, d as F, e as h, h as y, k as p, u as N, m as O, n as Q, L as G, Q as M, R as I, z as C } from "./PlayerAccountGamingLimits-BhZh042a.js";
|
|
2
|
+
function L(e, { delay: t = 0, duration: i = 400, easing: n = R } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -9,14 +9,14 @@ function M(e, { delay: t = 0, duration: i = 400, easing: n = H } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function J(e) {
|
|
12
|
-
|
|
12
|
+
U(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function S(e) {
|
|
15
15
|
let t, i, n, s, o;
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[7].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = F(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -25,14 +25,14 @@ function q(e) {
|
|
|
25
25
|
);
|
|
26
26
|
return {
|
|
27
27
|
c() {
|
|
28
|
-
t = h("div"), i = h("div"), n = h("div"), r && r.c(),
|
|
28
|
+
t = h("div"), i = h("div"), n = h("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
|
|
29
29
|
},
|
|
30
30
|
m(a, u) {
|
|
31
|
-
|
|
31
|
+
k(a, t, u), p(t, i), p(i, n), r && r.m(n, null), e[8](i), e[9](t), o = !0;
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
64) &&
|
|
35
|
+
64) && N(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
@@ -44,7 +44,7 @@ function q(e) {
|
|
|
44
44
|
e[6],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : O(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[6]
|
|
50
50
|
),
|
|
@@ -52,82 +52,82 @@ function q(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (
|
|
56
|
-
o && (s || (s =
|
|
55
|
+
o || (c(r, a), a && G(() => {
|
|
56
|
+
o && (s || (s = M(i, L, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
59
59
|
) }, !0)), s.run(1));
|
|
60
60
|
}), o = !0);
|
|
61
61
|
},
|
|
62
62
|
o(a) {
|
|
63
|
-
m(r, a), a && (s || (s =
|
|
63
|
+
m(r, a), a && (s || (s = M(i, L, { transitionDuration: (
|
|
64
64
|
/*duration*/
|
|
65
65
|
e[1]
|
|
66
66
|
) }, !1)), s.run(0)), o = !1;
|
|
67
67
|
},
|
|
68
68
|
d(a) {
|
|
69
|
-
a &&
|
|
69
|
+
a && E(t), r && r.d(a), e[8](null), a && s && s.end(), e[9](null);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function K(e) {
|
|
74
74
|
let t, i, n = (
|
|
75
75
|
/*show*/
|
|
76
|
-
e[0] &&
|
|
76
|
+
e[0] && S(e)
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
n && n.c(), t =
|
|
80
|
+
n && n.c(), t = W();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
|
-
n && n.m(s, o),
|
|
83
|
+
n && n.m(s, o), k(s, t, o), i = !0;
|
|
84
84
|
},
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? n ? (n.p(s, o), o & /*show*/
|
|
88
|
-
1 &&
|
|
88
|
+
1 && c(n, 1)) : (n = S(s), n.c(), c(n, 1), n.m(t.parentNode, t)) : n && (I(), m(n, 1, 1, () => {
|
|
89
89
|
n = null;
|
|
90
|
-
}),
|
|
90
|
+
}), A());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
|
-
i || (
|
|
93
|
+
i || (c(n), i = !0);
|
|
94
94
|
},
|
|
95
95
|
o(s) {
|
|
96
96
|
m(n), i = !1;
|
|
97
97
|
},
|
|
98
98
|
d(s) {
|
|
99
|
-
s &&
|
|
99
|
+
s && E(t), n && n.d(s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function V(e, t, i) {
|
|
104
104
|
let { $$slots: n = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, u, _;
|
|
105
105
|
const w = (l) => {
|
|
106
106
|
l.data.type == "ModalClosed" && i(0, o = !1), l.data.type === "ShowLimitsConfirmationModal" && (i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href));
|
|
107
|
-
},
|
|
107
|
+
}, v = () => {
|
|
108
108
|
let l = document.createElement("style");
|
|
109
109
|
l.innerHTML = r, u.appendChild(l);
|
|
110
|
-
},
|
|
111
|
-
let l = new URL(a),
|
|
110
|
+
}, H = () => {
|
|
111
|
+
let l = new URL(a), b = document.createElement("style");
|
|
112
112
|
fetch(l.href).then((g) => g.text()).then((g) => {
|
|
113
|
-
|
|
113
|
+
b.innerHTML = g, setTimeout(
|
|
114
114
|
() => {
|
|
115
|
-
u.appendChild(
|
|
115
|
+
u.appendChild(b);
|
|
116
116
|
},
|
|
117
117
|
1
|
|
118
118
|
);
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
B(() => (window.addEventListener("message", w, !1), () => {
|
|
122
122
|
window.removeEventListener("message", w);
|
|
123
123
|
}));
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function z(l) {
|
|
125
|
+
C[l ? "unshift" : "push"](() => {
|
|
126
126
|
_ = l, i(3, _);
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
|
|
129
|
+
function D(l) {
|
|
130
|
+
C[l ? "unshift" : "push"](() => {
|
|
131
131
|
u = l, i(2, u);
|
|
132
132
|
});
|
|
133
133
|
}
|
|
@@ -135,8 +135,8 @@ function O(e, t, i) {
|
|
|
135
135
|
"show" in l && i(0, o = l.show), "duration" in l && i(1, d = l.duration), "clientstyling" in l && i(4, r = l.clientstyling), "clientstylingurl" in l && i(5, a = l.clientstylingurl), "$$scope" in l && i(6, s = l.$$scope);
|
|
136
136
|
}, e.$$.update = () => {
|
|
137
137
|
e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
138
|
-
36 && a && u &&
|
|
139
|
-
20 && r && u &&
|
|
138
|
+
36 && a && u && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
139
|
+
20 && r && u && v();
|
|
140
140
|
}, [
|
|
141
141
|
o,
|
|
142
142
|
d,
|
|
@@ -146,18 +146,18 @@ function O(e, t, i) {
|
|
|
146
146
|
a,
|
|
147
147
|
s,
|
|
148
148
|
n,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
z,
|
|
150
|
+
D
|
|
151
151
|
];
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class X extends T {
|
|
154
154
|
constructor(t) {
|
|
155
|
-
super(),
|
|
155
|
+
super(), j(
|
|
156
156
|
this,
|
|
157
157
|
t,
|
|
158
|
-
|
|
158
|
+
V,
|
|
159
159
|
K,
|
|
160
|
-
|
|
160
|
+
P,
|
|
161
161
|
{
|
|
162
162
|
show: 0,
|
|
163
163
|
duration: 1,
|
|
@@ -171,28 +171,28 @@ class V extends T {
|
|
|
171
171
|
return this.$$.ctx[0];
|
|
172
172
|
}
|
|
173
173
|
set show(t) {
|
|
174
|
-
this.$$set({ show: t }),
|
|
174
|
+
this.$$set({ show: t }), f();
|
|
175
175
|
}
|
|
176
176
|
get duration() {
|
|
177
177
|
return this.$$.ctx[1];
|
|
178
178
|
}
|
|
179
179
|
set duration(t) {
|
|
180
|
-
this.$$set({ duration: t }),
|
|
180
|
+
this.$$set({ duration: t }), f();
|
|
181
181
|
}
|
|
182
182
|
get clientstyling() {
|
|
183
183
|
return this.$$.ctx[4];
|
|
184
184
|
}
|
|
185
185
|
set clientstyling(t) {
|
|
186
|
-
this.$$set({ clientstyling: t }),
|
|
186
|
+
this.$$set({ clientstyling: t }), f();
|
|
187
187
|
}
|
|
188
188
|
get clientstylingurl() {
|
|
189
189
|
return this.$$.ctx[5];
|
|
190
190
|
}
|
|
191
191
|
set clientstylingurl(t) {
|
|
192
|
-
this.$$set({ clientstylingurl: t }),
|
|
192
|
+
this.$$set({ clientstylingurl: t }), f();
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
q(X, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {} }, ["default"], [], !0);
|
|
196
196
|
export {
|
|
197
|
-
|
|
197
|
+
X as default
|
|
198
198
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimits-viRNSgkd.cjs");function m(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function S(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,l,i,s,r;const d=n[7].default,a=t.create_slot(d,n,n[6],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),a&&a.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,l),t.append(l,i),a&&a.m(i,null),n[8](l),n[9](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&64)&&t.update_slot_base(a,d,n,n[6],r?t.get_slot_changes(d,n[6],c,null):t.get_all_dirty_from_scope(n[6]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,m,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(l,m,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[8](null),u&&s&&s.end(),n[9](null)}}}function L(n){let e,l,i=n[0]&&y(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=y(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function k(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:d=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,c,f;const g=o=>{o.data.type=="ModalClosed"&&l(0,r=!1),o.data.type==="ShowLimitsConfirmationModal"&&(l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))},w=()=>{let o=document.createElement("style");o.innerHTML=a,c.appendChild(o)},p=()=>{let o=new URL(u),h=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{h.innerHTML=_,setTimeout(()=>{c.appendChild(h)},1)})};t.onMount(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function M(o){t.binding_callbacks[o?"unshift":"push"](()=>{f=o,l(3,f)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,d=o.duration),"clientstyling"in o&&l(4,a=o.clientstyling),"clientstylingurl"in o&&l(5,u=o.clientstylingurl),"$$scope"in o&&l(6,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&u&&c&&p(),n.$$.dirty&20&&a&&c&&w()},[r,d,c,f,a,u,s,i,M,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,L,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5},S)}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()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{}},["default"],[],!0);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}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/PlayerAccountGamingLimits-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}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/PlayerAccountGamingLimits-viRNSgkd.cjs")).then(e=>e.PlayerAccountGamingLimits_ce).then(({default:e})=>{!customElements.get("player-account-gaming-limits")&&customElements.define("player-account-gaming-limits",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimits-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimits-BhZh042a.js").then((e) => e.T).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-gaming-limits",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/player-account-gaming-limits.cjs",
|
|
6
6
|
"module": "es2015/player-account-gaming-limits.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/player-account-gaming-limits.cjs": "./es2015/player-account-gaming-limits.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
"files": [
|
|
15
15
|
"es2015/",
|
|
16
16
|
"components"
|
|
17
17
|
],
|