@everymatrix/player-account-controller-nd 1.48.1 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-DI0_2Ld2.js → GeneralLogout-CT6JdzJJ.js} +3 -3
- package/components/{PlayerAccountBettingHistory-p8-C5d_q.js → PlayerAccountBettingHistory-BQS41tJM.js} +1 -1
- package/components/{PlayerAccountBiometrics-36-jzvmv.js → PlayerAccountBiometrics-BrG1qQsh.js} +1 -1
- package/components/{PlayerAccountClosureNd-DpV3ccPJ.js → PlayerAccountClosureNd-DZGf20sc.js} +1 -1
- package/components/PlayerAccountControllerNd-C3AI8QtD.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DAmPLzxq.js → PlayerAccountControllerNd-DfkUpXUA.js} +1216 -1182
- package/components/{PlayerAccountGamingLimits-X6i1dxNz.js → PlayerAccountGamingLimits-DZT2yHAi.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js → PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js → PlayerAccountGamingLimitsGroupEdit-Cf0Vwm5f.js} +4 -4
- package/components/PlayerAccountGamingLimitsHistory2Nd-BNHdTsFe.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BkYPsgPu.js → PlayerAccountGamingLimitsHistory2Nd-NOHMlmb-.js} +200 -198
- package/components/{PlayerAccountGamingLimitsInfoCard-DQkGickX.js → PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CtJzX00K.js → PlayerAccountGamingLimitsPage2Gm16Nd-CDvdIJm8.js} +982 -963
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-Dbm8J6qJ.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPopup-BRVwX_uG.js → PlayerAccountGamingLimitsPopup-P4wj3V9k.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-vrz-t30N.js → PlayerAccountGamingLimitsWrapper2Nd-CbVCR27v.js} +18 -16
- package/components/PlayerAccountGamingLimitsWrapper2Nd-x7iKhdJf.cjs +1 -0
- package/components/{PlayerAccountMenuNd-BdhvWQDA.js → PlayerAccountMenuNd-BgsY7YQL.js} +2 -2
- package/components/{PlayerAccountModal-BK_133rp.js → PlayerAccountModal-Dl52frb-.js} +1 -1
- package/components/{PlayerAccountNotifications-COx0wvVZ.js → PlayerAccountNotifications-sQPz396P.js} +6 -6
- package/components/{PlayerAccountSelfExclusionNd-EX8qwr59.js → PlayerAccountSelfExclusionNd-BtlWGpcC.js} +2604 -2545
- package/components/{PlayerAccountSelfExclusionNd-DACaIWex.cjs → PlayerAccountSelfExclusionNd-Wf-Zcu-v.cjs} +183 -183
- package/components/{PlayerAccountTimeout-DMvUsWoq.js → PlayerAccountTimeout-4Wj662L_.js} +1 -1
- package/components/{PlayerActiveBonuses-CIvyQppa.js → PlayerActiveBonuses-BE0qfJz_.js} +2 -2
- package/components/{PlayerBonusCard-DGoTFlMq.js → PlayerBonusCard-BwUugzC6.js} +2 -2
- package/components/{PlayerBonusHistory-BW2s6Xx3.js → PlayerBonusHistory-CpVXrw4-.js} +4 -4
- package/components/{PlayerBonusHistory-D1gFFWUR.cjs → PlayerBonusHistory-DNRm6rTc.cjs} +1 -1
- package/components/{PlayerChangePassword-BkRFX3fB.js → PlayerChangePassword-Cv6wa7VL.js} +1 -1
- package/components/{PlayerDeposit-T-QxU0tF.js → PlayerDeposit-DvSZCw5N.js} +9 -9
- package/components/{PlayerGamingHistory-CvqvGHm3.js → PlayerGamingHistory-DB4CakRN.js} +4 -4
- package/components/{PlayerGamingHistory-BNH2Pwcs.cjs → PlayerGamingHistory-DXKWBhvu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DR9D_EFU.js → PlayerPendingWithdrawals-pwyPkm03.js} +1 -1
- package/components/PlayerProfileInfo-BqvwYfPx.js +1753 -0
- package/components/PlayerProfileInfo-i7DhTVz2.cjs +1 -0
- package/components/{PlayerRealityCheck-CRHHpeWT.js → PlayerRealityCheck-BVQGrSeS.js} +1 -1
- package/components/{PlayerTransactionHistory-HQMXVkZj.js → PlayerTransactionHistory-BLQrFvTx.js} +1 -1
- package/components/{PlayerWithdrawal-BToCctRz.js → PlayerWithdrawal-gkzbD0rI.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountControllerNd-ePHC3f0I.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-CdbhXN3g.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-SRGhgina.cjs +0 -1
- package/components/PlayerProfileInfo-DBUA-zCn.js +0 -1733
- package/components/PlayerProfileInfo-kVvG7V64.cjs +0 -1
package/components/{PlayerAccountGamingLimits-X6i1dxNz.js → PlayerAccountGamingLimits-DZT2yHAi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Y, $ as J, S as X, i as x, f as h, c as $, s as ii, b as ei, e as _, k as C, o as E, p as D, q as ti, u as ni, v as ai, x as li, j as t, d as A, t as R, g as w, l as g, n as H, w as k, m as si, y as ri } from "./GeneralLogout-
|
|
1
|
+
import { a as Y, $ as J, S as X, i as x, f as h, c as $, s as ii, b as ei, e as _, k as C, o as E, p as D, q as ti, u as ni, v as ai, x as li, j as t, d as A, t as R, g as w, l as g, n as H, w as k, m as si, y as ri } from "./GeneralLogout-CT6JdzJJ.js";
|
|
2
2
|
function O(e, i) {
|
|
3
3
|
Y(e, i);
|
|
4
4
|
}
|
|
@@ -99,7 +99,7 @@ if (typeof window != "undefined") {
|
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
102
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js").then(({ default: i }) => {
|
|
103
103
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
104
104
|
"player-account-gaming-limits-info-card",
|
|
105
105
|
i.element
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as U, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as j, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as D, o as lt, y as mt } from "./GeneralLogout-
|
|
1
|
+
import { a as q, $ as U, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as j, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as D, o as lt, y as mt } from "./GeneralLogout-CT6JdzJJ.js";
|
|
2
2
|
function T(e, t) {
|
|
3
3
|
q(e, t);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as aa, $ as ra, S as na, i as oa, f as Te, c as la, s as ua, b as da, e as k, d as V, w as de, t as z, g, j as Ye, k as W, l as m, m as Me, J as fa, n as Q, o as Ci, p as P, r as Wt, q as ca, u as ma, v as ha, K as ot, L as ai, B as ri, M as pa, N as Yt, x as _a, O as Xe, P as ya, Q as Ai, R as ni, y as ga } from "./GeneralLogout-
|
|
1
|
+
import { a as aa, $ as ra, S as na, i as oa, f as Te, c as la, s as ua, b as da, e as k, d as V, w as de, t as z, g, j as Ye, k as W, l as m, m as Me, J as fa, n as Q, o as Ci, p as P, r as Wt, q as ca, u as ma, v as ha, K as ot, L as ai, B as ri, M as pa, N as Yt, x as _a, O as Xe, P as ya, Q as Ai, R as ni, y as ga } from "./GeneralLogout-CT6JdzJJ.js";
|
|
2
2
|
function wa(e) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|
|
@@ -2589,7 +2589,7 @@ if (typeof window != "undefined") {
|
|
|
2589
2589
|
}
|
|
2590
2590
|
};
|
|
2591
2591
|
};
|
|
2592
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsPopup-
|
|
2592
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsPopup-P4wj3V9k.js").then(({ default: t }) => {
|
|
2593
2593
|
!customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", t.element);
|
|
2594
2594
|
});
|
|
2595
2595
|
}
|
|
@@ -2833,7 +2833,7 @@ if (typeof window != "undefined") {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
};
|
|
2835
2835
|
};
|
|
2836
|
-
customElements.define = e(customElements.define), import("./PlayerAccountModal-
|
|
2836
|
+
customElements.define = e(customElements.define), import("./PlayerAccountModal-Dl52frb-.js").then(({ default: t }) => {
|
|
2837
2837
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
@@ -2849,7 +2849,7 @@ if (typeof window != "undefined") {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
};
|
|
2851
2851
|
};
|
|
2852
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-
|
|
2852
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js").then(
|
|
2853
2853
|
({ default: t }) => {
|
|
2854
2854
|
!customElements.get("player-account-gaming-limits-confirmation-modal") && customElements.define(
|
|
2855
2855
|
"player-account-gaming-limits-confirmation-modal",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Z=Object.defineProperty;var W=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var H=(i,t,s)=>t in i?Z(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,D=(i,t)=>{for(var s in t||(t={}))$.call(t,s)&&H(i,s,t[s]);if(W)for(var s of W(t))ee.call(t,s)&&H(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-bc8vhI_H.cjs");function I(i,t){e.addMessages(i,t)}function te(i){e.$locale.set(i)}const j={en:{expandLimits:"Limit history",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"Limit-Verlauf",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"Povijest ograničenja",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"Limit zgodovina",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"Historia limitu",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"Limiter l'historique",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"Istoric limite",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"Historial de límites",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"Histórico de limite",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"Historial de límites",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function ie(i){e.append_styles(i,"svelte-zvds57",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-zvds57.svelte-zvds57,.svelte-zvds57.svelte-zvds57::before,.svelte-zvds57.svelte-zvds57::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-zvds57.svelte-zvds57{color:var(--emfe-w-color-white, #FFFFFF)}button.svelte-zvds57.svelte-zvds57{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-zvds57.svelte-zvds57{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-zvds57.svelte-zvds57{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-zvds57 svg.svelte-zvds57{width:40px;height:auto;margin-left:-4px}.extended.svelte-zvds57.svelte-zvds57{transform:rotate(180deg)}.HistoryWrapper.svelte-zvds57.svelte-zvds57{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-zvds57 .HistoryDisplayArea.svelte-zvds57{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-zvds57 .HistoryDisplayArea .LimitType.svelte-zvds57{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-zvds57 .HistoryDisplayArea.Mobile.svelte-zvds57{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-zvds57.svelte-zvds57{display:none}.HistoryRow.svelte-zvds57.svelte-zvds57{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-zvds57.svelte-zvds57{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-zvds57.svelte-zvds57{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-zvds57.svelte-zvds57{animation:svelte-zvds57-animateEntry 0.7s ease-in}@keyframes svelte-zvds57-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function O(i,t,s){const o=i.slice();return o[36]=t[s],o[37]=t,o[38]=s,o}function se(i){let t,s,o,n=i[9]("expandLimits")+"",m,d,a,v,h,y,u,L,T,z=e.ensure_array_like(i[7]),c=[];for(let l=0;l<z.length;l+=1)c[l]=M(O(i,z,l));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),m=e.text(n),d=e.space(),a=e.svg_element("svg"),v=e.svg_element("path"),h=e.svg_element("path"),y=e.space(),u=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();e.attr(v,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(v,"class","svelte-zvds57"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-zvds57"),e.attr(a,"class","ExpandArrow "+(i[10]?"":"Mobile")+" svelte-zvds57"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","36"),e.attr(a,"height","36"),e.attr(a,"viewBox","0 0 36 36"),e.set_style(a,"fill","var(--emw--color-primary, #22B04E)"),e.toggle_class(a,"extended",i[8]),e.attr(o,"class","ExpandButton "+(i[10]?"":"Mobile")+" svelte-zvds57"),e.attr(u,"class","HistoryDisplayArea "+(i[10]?"":"Mobile")+" svelte-zvds57"),e.toggle_class(u,"hidden",i[5]),e.attr(s,"class","HistoryWrapper svelte-zvds57"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-zvds57")},m(l,f){e.insert(l,t,f),e.append(t,s),e.append(s,o),e.append(o,m),e.append(o,d),e.append(o,a),e.append(a,v),e.append(a,h),e.append(s,y),e.append(s,u);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(u,null);L||(T=e.listen(o,"click",i[11]),L=!0)},p(l,f){if(f[0]&512&&n!==(n=l[9]("expandLimits")+"")&&e.set_data(m,n),f[0]&256&&e.toggle_class(a,"extended",l[8]),f[0]&650){z=e.ensure_array_like(l[7]);let p;for(p=0;p<z.length;p+=1){const _=O(l,z,p);c[p]?c[p].p(_,f):(c[p]=M(_),c[p].c(),c[p].m(u,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=z.length}f[0]&32&&e.toggle_class(u,"hidden",l[5])},d(l){l&&e.detach(t),e.destroy_each(c,l),L=!1,T()}}}function re(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function oe(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-zvds57")},m(n,m){e.insert(n,t,m),e.append(t,o)},p(n,m){m[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ne(i){let t,s,o,n=i[36].type+"",m,d,a=i[36].amount+"",v,h,y=i[36].currency+"",u,L,T=i[36].period+"",z,c,l=i[36].date+"",f;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),m=e.text(n),d=e.element("span"),v=e.text(a),h=e.space(),u=e.text(y),L=e.space(),z=e.text(T),c=e.element("span"),f=e.text(l),e.attr(o,"class","LimitType svelte-zvds57"),e.attr(d,"class","LimitAmountPeriod svelte-zvds57"),e.attr(s,"class","GeneralLimitInformation svelte-zvds57"),e.attr(c,"class","DateLimitInformation svelte-zvds57"),e.attr(t,"class","HistoryRow svelte-zvds57")},m(p,_){e.insert(p,t,_),e.append(t,s),e.append(s,o),e.append(o,m),e.append(s,d),e.append(d,v),e.append(d,h),e.append(d,u),e.append(d,L),e.append(d,z),e.append(t,c),e.append(c,f)},p(p,_){_[0]&128&&n!==(n=p[36].type+"")&&e.set_data(m,n),_[0]&128&&a!==(a=p[36].amount+"")&&e.set_data(v,a),_[0]&128&&y!==(y=p[36].currency+"")&&e.set_data(u,y),_[0]&128&&T!==(T=p[36].period+"")&&e.set_data(z,T),_[0]&128&&l!==(l=p[36].date+"")&&e.set_data(f,l)},d(p){p&&e.detach(t)}}}function ae(i){let t,s,o,n=i[36].type+"",m,d,a=i[9]("limitRemoved")+"",v,h,y=i[36].date+"",u;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),m=e.text(n),d=e.element("span"),v=e.text(a),h=e.element("span"),u=e.text(y),e.attr(o,"class","LimitType svelte-zvds57"),e.attr(d,"class","LimitAmountPeriod svelte-zvds57"),e.attr(s,"class","GeneralLimitInformation svelte-zvds57"),e.attr(h,"class","DateLimitInformation svelte-zvds57"),e.attr(t,"class","HistoryRow svelte-zvds57")},m(L,T){e.insert(L,t,T),e.append(t,s),e.append(s,o),e.append(o,m),e.append(s,d),e.append(d,v),e.append(t,h),e.append(h,u)},p(L,T){T[0]&128&&n!==(n=L[36].type+"")&&e.set_data(m,n),T[0]&512&&a!==(a=L[9]("limitRemoved")+"")&&e.set_data(v,a),T[0]&128&&y!==(y=L[36].date+"")&&e.set_data(u,y)},d(L){L&&e.detach(t)}}}function M(i){let t,s,o,n=i[38];function m(y,u){return y[36].removed?ae:ne}let d=m(i),a=d(i);const v=()=>i[20](t,n),h=()=>i[20](null,n);return{c(){t=e.element("div"),a.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[38]>+i[1]?"LimitContainer":"")+" svelte-zvds57")},m(y,u){e.insert(y,t,u),a.m(t,null),e.append(t,s),v()},p(y,u){i=y,d===(d=m(i))&&a?a.p(i,u):(a.d(1),a=d(i),a&&(a.c(),a.m(t,s))),u[0]&2&&o!==(o=e.null_to_empty(i[38]>+i[1]?"LimitContainer":"")+" svelte-zvds57")&&e.attr(t,"class",o),n!==i[38]&&(h(),n=i[38],v())},d(y){y&&e.detach(t),a.d(),h()}}}function le(i){let t;function s(m,d){return m[6]?oe:m[4]?re:se}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-zvds57")},m(m,d){e.insert(m,t,d),n.m(t,null),i[21](t)},p(m,d){o===(o=s(m))&&n?n.p(m,d):(n.d(1),n=o(m),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),n.d(),i[21](null)}}}function de(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,m=!e.isMobile(n),{lang:d=""}=t,{userid:a=""}=t,{session:v=""}=t,{endpoint:h=""}=t,{apiversion:y=""}=t,{numberofentries:u="10"}=t,{customcurrencysymbols:L=""}=t,{clientstyling:T=""}=t,{clientstylingurl:z=""}=t,{translationurl:c=""}=t,l,f=new Array,p=parseInt(u,10),_=!1,P=!0,k=[],x=[],A=!0,C=!1,E={EUR:"€",RON:"lei"};const B=()=>{fetch(c).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{I(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(r=>{I(r,j[r])});const N=()=>{let r=y==="gmcore"?`/v2/player/${a}/transactions/limit`:`/v1/player/${a}/limits/monetary/history`,g=new URL(r,h);g.searchParams.append("startDate",`${new Date("2022").toISOString()}`),g.searchParams.append("endDate",`${new Date("2099").toISOString()}`),g.searchParams.append("limit","10000");let b={method:"GET",headers:{"X-SessionID":v}};fetch(g.href,b).then(w=>{if(w.status>=300)throw s(4,P=!1),s(6,_=!0),new Error("There was an error fetching the limits");return w.json()}).then(w=>{w.length&&(k=U(w),s(7,x=k.slice(0,p))),s(4,P=!1)},w=>{console.error("There was an error",w),s(6,_=!0)})},U=r=>{const g=!!j[d];return r.map(w=>{let S={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return S.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.limitAmount),S.currency=g?E[w.limitCurrencyCode]:w.limitCurrencyCode,S.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(w.limitDate)),S.period=o(`${w.limitPeriod.toLowerCase()}`),S.type=y==="gmcore"?o(`historyLimitType${w.limitType.split(" ")[0]}`):o(`historyLimitType${w.limitType.split(" ")[0]}`)+" "+o(`historyProductType${w.limitProductType}`),S.removed=w.limitAmount===-1,S})},G=()=>{s(5,A=!A),s(8,C=!C)};let R=new IntersectionObserver(r=>{r.forEach(g=>{g.isIntersecting&&(p+=parseInt(u,10)||10,x.length<k.length&&s(7,x=k.slice(0,p)))})});const q=()=>{R.observe(f[f.length-1])},K=()=>{if(!L)return;let r={};L.split(",").forEach(g=>{let b=g.split(":");r[b[0].trim()]=b[1].trim()}),E=D(D({},E),r)},V=()=>{let r=document.createElement("style");r.innerHTML=T,l.appendChild(r)},X=()=>{let r=new URL(z),g=document.createElement("style");fetch(r.href).then(b=>b.text()).then(b=>{g.innerHTML=b,l&&(setTimeout(()=>{l.appendChild(g)},1),setTimeout(()=>{},500))})},Q=()=>{te(d)};e.onMount(()=>()=>{R.unobserve(f[f.length-1])});function Y(r,g){e.binding_callbacks[r?"unshift":"push"](()=>{f[g]=r,s(3,f)})}function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{l=r,s(2,l)})}return i.$$set=r=>{"lang"in r&&s(0,d=r.lang),"userid"in r&&s(12,a=r.userid),"session"in r&&s(13,v=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,y=r.apiversion),"numberofentries"in r&&s(1,u=r.numberofentries),"customcurrencysymbols"in r&&s(16,L=r.customcurrencysymbols),"clientstyling"in r&&s(17,T=r.clientstyling),"clientstylingurl"in r&&s(18,z=r.clientstylingurl),"translationurl"in r&&s(19,c=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&L&&K(),i.$$.dirty[0]&61440&&h&&a&&v&&y&&N(),i.$$.dirty[0]&56&&f[0]&&!P&&!A&&q(),i.$$.dirty[0]&1&&d&&Q(),i.$$.dirty[0]&262144&&z&&X(),i.$$.dirty[0]&131076&&T&&l&&V(),i.$$.dirty[0]&524292&&c&&l&&B()},[d,u,l,f,P,A,_,x,C,o,m,G,a,v,h,y,L,T,z,c,Y,J]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,de,le,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},ie,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(F,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=F;
|