@everymatrix/player-account-controller-nd 1.83.0 → 1.83.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.
Files changed (26) hide show
  1. package/components/{PlayerAccountControllerNd-BE2uWCAB.cjs → PlayerAccountControllerNd-C428q9Ha.cjs} +1 -1
  2. package/components/{PlayerAccountControllerNd-DlxqO4ll.js → PlayerAccountControllerNd-C6bxvUi7.js} +2 -2
  3. package/components/{PlayerAccountControllerNd-B62rxiQW.js → PlayerAccountControllerNd-DJxQBj_p.js} +2 -2
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-dzPwzkI-.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BAPRR8lN.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bi-l3Gfa.js → PlayerAccountGamingLimitsPage2Gm16Nd-CgRAtBiX.js} +1 -1
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CpWFDD4h.js → PlayerAccountGamingLimitsPage2Gm16Nd-DUjLg0OF.js} +1 -1
  7. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BBqomVMi.cjs → PlayerAccountGamingLimitsWrapper2Nd-BMIb52sv.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsWrapper2Nd-C9M_HxD_.js → PlayerAccountGamingLimitsWrapper2Nd-Bdp8sTng.js} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Bm6f9HyE.js → PlayerAccountGamingLimitsWrapper2Nd-CpH84HAI.js} +1 -1
  10. package/components/PlayerAccountReviewFrequency-BGXfBt--.cjs +4 -0
  11. package/components/{PlayerAccountReviewFrequency-BypmBUQO.js → PlayerAccountReviewFrequency-C4XVoe9w.js} +88 -88
  12. package/components/{PlayerAccountReviewFrequency-DZaTRruj.js → PlayerAccountReviewFrequency-CLmGAB5K.js} +34 -34
  13. package/es2015/player-account-controller-nd.cjs +1 -1
  14. package/es2015/player-account-controller-nd.js +1 -1
  15. package/esnext/player-account-controller-nd.js +1 -1
  16. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DBU9gqJg.cjs → player-account-gaming-limits-page-2-gm16-nd-BPrmk6sJ.cjs} +1 -1
  17. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-C08aQRoX.js → player-account-gaming-limits-page-2-gm16-nd-DlPv3Pwa.js} +1 -1
  18. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Bc1aWYdM.js → player-account-gaming-limits-page-2-gm16-nd-Dof4wnyC.js} +1 -1
  19. package/lazy/{player-account-gaming-limits-wrapper-2-nd-XtoD9g0A.cjs → player-account-gaming-limits-wrapper-2-nd-CJz4llhV.cjs} +1 -1
  20. package/lazy/{player-account-gaming-limits-wrapper-2-nd-CQTSt6_S.js → player-account-gaming-limits-wrapper-2-nd-CgAOedJN.js} +1 -1
  21. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BRSqifoO.js → player-account-gaming-limits-wrapper-2-nd-DJ7gRM9L.js} +1 -1
  22. package/lazy/{player-account-review-frequency-6rES6_5_.js → player-account-review-frequency-B6ksqfns.js} +1 -1
  23. package/lazy/{player-account-review-frequency-HOCCgP8n.js → player-account-review-frequency-YGJVUND6.js} +1 -1
  24. package/lazy/{player-account-review-frequency-CUnQJnhM.cjs → player-account-review-frequency-YHQ0dAyT.cjs} +1 -1
  25. package/package.json +1 -1
  26. package/components/PlayerAccountReviewFrequency-C5Fknats.cjs +0 -4
@@ -1,5 +1,5 @@
1
1
  import { a as Qe, $ as Xe, S as xe, i as $e, s as Ce, f as b, b as ei, K as N, d as k, L as y, M as v, N as V, O as D, P as H, a0 as M, h as z, j as _, k as L, m as W, e as h, p as ii, a1 as ti, q as si, u as ai, c as se, t as X, n as G, w as te, l as Pe, v as B, C as be, D as ni, _ as C, H as Ie, g as u, o as he, x as ri, y as oi, z as li, A as mi, B as ui } from "./GeneralLogout-DIvT_pyf.js";
2
- import "../lazy/player-account-gaming-limits-page-2-gm16-nd-Bc1aWYdM.js";
2
+ import "../lazy/player-account-gaming-limits-page-2-gm16-nd-Dof4wnyC.js";
3
3
  import "../lazy/player-account-gaming-limits-history-2-nd-DosbBxPT.js";
4
4
  function ve(i, e) {
5
5
  Qe(i, e);
@@ -1,5 +1,5 @@
1
1
  import { a as Qe, $ as Xe, S as xe, i as $e, s as Ce, f as b, b as ei, K as N, d as k, L as y, M as v, N as V, O as D, P as H, a0 as M, h as z, j as _, k as L, m as W, e as h, p as ii, q as ti, a1 as si, u as ai, v as ni, c as se, t as X, n as G, x as te, l as Pe, w as B, C as be, D as ri, _ as C, H as Ie, g as u, o as he, y as oi, z as li, A as mi, B as ui } from "./GeneralLogout-BICosmW5.js";
2
- import "../lazy/player-account-gaming-limits-page-2-gm16-nd-C08aQRoX.js";
2
+ import "../lazy/player-account-gaming-limits-page-2-gm16-nd-DlPv3Pwa.js";
3
3
  import "../lazy/player-account-gaming-limits-history-2-nd-BYpu3Xf6.js";
4
4
  function ve(i, e) {
5
5
  Qe(i, e);
@@ -0,0 +1,4 @@
1
+ "use strict";var P=(a,t,n)=>new Promise((r,o)=>{var l=u=>{try{g(n.next(u))}catch(v){o(v)}},c=u=>{try{g(n.throw(u))}catch(v){o(v)}},g=u=>u.done?r(u.value):Promise.resolve(u.value).then(l,c);g((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DBlkiIEp.cjs");require("../stencil/ui-skeleton-Bp-l1XOX.cjs");function C(a,t){e.addMessages(a,t)}function z(a){e.$locale.set(a)}const B={en:{titleAccountReview:"Account Review Frequency",accountReviewText:"To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",setFrequency:"Set frequency",successMessage:"Your preference was saved",errorMessage:"Failed to set account review frequency",months:"months",daily:"Daily",weekly:"Weekly",monthly:"Monthly"},"zh-hk":{titleAccountReview:"帳戶檢視提示頻率",accountReviewText:"為了推廣負責任博彩,我們會定期提示客戶檢視其帳戶活動,包括投注紀錄、付款紀錄及遊戲紀錄。這些檢視有助確保你的活動與當前偏好及情況保持一致。你可在此頁面調整接收這些提示的頻率,讓你更好掌控體驗。",setFrequency:"設置頻率",successMessage:"你的偏好已儲存。",errorMessage:"Failed to set account review frequency",months:"個月",daily:"每日",weekly:"每週",monthly:"每月"},fr:{titleAccountReview:"Fréquence des rappels d’examen du compte",accountReviewText:"Afin de promouvoir le jeu responsable, nous invitons périodiquement les clients à examiner l’activité de leur compte, y compris l’historique des paris, des paiements et du jeu. Ces examens permettent de s’assurer que votre activité reste en adéquation avec vos préférences et votre situation actuelles. Depuis cette page, vous pouvez ajuster la fréquence de ces rappels afin de mieux contrôler votre expérience.",setFrequency:"Régler la fréquence",successMessage:"Votre préférence a été enregistrée.",errorMessage:"Failed to set account review frequency",months:"mois",daily:"Quotidien",weekly:"Hebdomadaire",monthly:"Mensuel"},ro:{titleAccountReview:"Frecvența notificărilor pentru revizuirea contului",accountReviewText:"Pentru a promova jocul responsabil, solicităm periodic clienților să își revizuiască activitatea din cont, inclusiv istoricul de pariere, istoricul plăților și istoricul de joc. Aceste revizuiri ajută la menținerea activității în linie cu preferințele și circumstanțele actuale. Din această pagină poți ajusta cât de des primești aceste notificări, pentru mai mult control asupra experienței tale.",setFrequency:"Setează frecvența",successMessage:"Preferința a fost salvată.",errorMessage:"Failed to set account review frequency",months:"luni",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar"},es:{titleAccountReview:"Frecuencia del recordatorio de revisión de cuenta",accountReviewText:"Para promover el juego responsable, periódicamente invitamos a los clientes a revisar la actividad de su cuenta, incluido el Historial de Apuestas, el Historial de Pagos y el Historial de Juego. Estas revisiones ayudan a asegurar que tu actividad siga alineada con tus preferencias y circunstancias actuales. Desde esta página puedes ajustar la frecuencia con la que recibes estos recordatorios, dándote mayor control sobre tu experiencia.",setFrequency:"Establecer frecuencia",successMessage:"Tu preferencia se guardó.",errorMessage:"Failed to set account review frequency",months:"meses",daily:"Diario",weekly:"Semanal",monthly:"Mensual"},pt:{titleAccountReview:"Frequência do lembrete de revisão da conta",accountReviewText:"Para promover o jogo responsável, pedimos periodicamente aos clientes que revejam a atividade da sua conta, incluindo o Histórico de Apostas, o Histórico de Pagamentos e o Histórico de Jogo. Estas revisões ajudam a garantir que a sua atividade se mantém alinhada com as suas preferências e circunstâncias atuais. Nesta página pode ajustar a frequência com que recebe estes lembretes, dando-lhe mais controlo sobre a sua experiência.",setFrequency:"Definir frequência",successMessage:"A sua preferência foi guardada.",errorMessage:"Failed to set account review frequency",months:"meses",daily:"Diário",weekly:"Semanal",monthly:"Mensal"},hr:{titleAccountReview:"Učestalost podsjetnika za pregled računa",accountReviewText:"Kako bismo potaknuli odgovorno igranje, povremeno upućujemo korisnicima podsjetnik da pregledaju aktivnost na računu, uključujući Povijest klađenja, Povijest plaćanja i Povijest igranja. Ovi pregledi pomažu osigurati da vaše aktivnosti ostanu usklađene s vašim trenutačnim preferencijama i okolnostima. Na ovoj stranici možete prilagoditi koliko često primate ove podsjetnike, čime imate veću kontrolu nad svojim iskustvom.",setFrequency:"Postavi učestalost",successMessage:"Vaša je postavka spremljena.",errorMessage:"Failed to set account review frequency",months:"mjeseci",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno"},"pt-br":{titleAccountReview:"Frequência do lembrete de revisão de conta",accountReviewText:"Para promover o jogo responsável, periodicamente lembramos os clientes de revisar a atividade da conta, incluindo Histórico de Apostas, Histórico de Pagamentos e Histórico de Jogo. Essas revisões ajudam a garantir que sua atividade permaneça alinhada às suas preferências e circunstâncias atuais. Nesta página você pode ajustar a frequência com que recebe esses lembretes, dando mais controle à sua experiência.",setFrequency:"Definir frequência",successMessage:"Sua preferência foi salva.",errorMessage:"Failed to set account review frequency",months:"meses",daily:"Diário",weekly:"Semanal",monthly:"Mensal"},"es-mx":{titleAccountReview:"Frecuencia del recordatorio de revisión de cuenta",accountReviewText:"Para promover el juego responsable, periódicamente invitamos a los clientes a revisar la actividad de su cuenta, incluido el Historial de Apuestas, el Historial de Pagos y el Historial de Juego. Estas revisiones ayudan a garantizar que tu actividad siga alineada con tus preferencias y circunstancias actuales. Desde esta página puedes ajustar la frecuencia con la que recibes estos recordatorios para tener mayor control de tu experiencia.",setFrequency:"Fijar frecuencia",successMessage:"Tu preferencia se guardó.",errorMessage:"Failed to set account review frequency",months:"meses",daily:"Diario",weekly:"Semanal",monthly:"Mensual"},"en-us":{titleAccountReview:"Account Review Frequency",accountReviewText:"To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",setFrequency:"Set frequency",successMessage:"Your preference was saved.",errorMessage:"Failed to set account review frequency",months:"months",daily:"Daily",weekly:"Weekly",monthly:"Monthly"}};function I(a){e.append_styles(a,"svelte-1u91vzw",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function H(a,t,n){const r=a.slice();return r[28]=t[n].value,r[29]=t[n].text,r}function L(a,t,n){const r=a.slice();return r[25]=t[n],r}function E(a){let t,n,r,o=a[5]("titleAccountReview")+"",l,c,g,u,v=a[5]("accountReviewText")+"",f,_,p,b,d,s,h=a[5]("setFrequency")+"",k,j,q,T,F,R=a[6]&&U(a),A=e.ensure_array_like(a[4]),w=[];for(let m=0;m<A.length;m+=1)w[m]=D(H(a,A,m));return{c(){t=e.element("div"),R&&R.c(),n=e.space(),r=e.element("h2"),l=e.text(o),c=e.space(),g=e.element("div"),u=e.element("p"),f=e.text(v),_=e.space(),p=e.element("form");for(let m=0;m<w.length;m+=1)w[m].c();b=e.space(),d=e.element("div"),s=e.element("button"),k=e.text(h),e.attr(r,"class","AccountReviewTitle "+(a[6]?"AccountReviewTitleNone":"")),e.attr(g,"class","AccountReviewDescription "+(a[6]?"AccountReviewDescriptionMobile":"")),e.attr(s,"class",j="PlayerRealityCheckButton "+(!a[2]||a[3]===a[2]?"ButtonInactive":"")),s.disabled=q=!a[2]||a[3]===a[2],e.attr(d,"class","BottomButtonsArea "+(a[6]?"BottomButtonsAreaMobile":"")),e.attr(p,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(m,x){e.insert(m,t,x),R&&R.m(t,null),e.append(t,n),e.append(t,r),e.append(r,l),e.append(t,c),e.append(t,g),e.append(g,u),e.append(u,f),e.append(t,_),e.append(t,p);for(let i=0;i<w.length;i+=1)w[i]&&w[i].m(p,null);e.append(p,b),e.append(p,d),e.append(d,s),e.append(s,k),T||(F=e.listen(s,"click",a[7]),T=!0)},p(m,x){if(m[6]&&R.p(m,x),x[0]&32&&o!==(o=m[5]("titleAccountReview")+"")&&e.set_data(l,o),x[0]&32&&v!==(v=m[5]("accountReviewText")+"")&&e.set_data(f,v),x[0]&20){A=e.ensure_array_like(m[4]);let i;for(i=0;i<A.length;i+=1){const y=H(m,A,i);w[i]?w[i].p(y,x):(w[i]=D(y),w[i].c(),w[i].m(p,b))}for(;i<w.length;i+=1)w[i].d(1);w.length=A.length}x[0]&32&&h!==(h=m[5]("setFrequency")+"")&&e.set_data(k,h),x[0]&12&&j!==(j="PlayerRealityCheckButton "+(!m[2]||m[3]===m[2]?"ButtonInactive":""))&&e.attr(s,"class",j),x[0]&12&&q!==(q=!m[2]||m[3]===m[2])&&(s.disabled=q)},d(m){m&&e.detach(t),R&&R.d(),e.destroy_each(w,m),T=!1,F()}}}function W(a){let t,n,r,o,l,c,g,u,v;function f(s,h){return s[6]?G:J}let p=f(a)(a),b=e.ensure_array_like({length:6}),d=[];for(let s=0;s<b.length;s+=1)d[s]=V(L(a,b,s));return{c(){t=e.element("div"),p.c(),n=e.space(),r=e.element("div"),o=e.element("ui-skeleton"),l=e.space(),c=e.element("div");for(let s=0;s<d.length;s+=1)d[s].c();g=e.space(),u=e.element("div"),v=e.element("ui-skeleton"),e.set_custom_element_data(o,"structure","text"),e.set_custom_element_data(o,"height","15px"),e.set_custom_element_data(o,"width","100%"),e.set_custom_element_data(o,"margin-bottom","7px"),e.set_custom_element_data(o,"rows",a[6]?"5":"3"),e.attr(r,"class","SkeletonTextContainer"),e.set_custom_element_data(v,"structure","rectangle"),e.set_custom_element_data(v,"height","50px"),e.set_custom_element_data(v,"margin-bottom","0"),e.set_custom_element_data(v,"borderRadius","5px"),e.set_custom_element_data(v,"width",a[6]?"100%":"350px"),e.attr(u,"class","Button"),e.attr(c,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(s,h){e.insert(s,t,h),p.m(t,null),e.append(t,n),e.append(t,r),e.append(r,o),e.append(t,l),e.append(t,c);for(let k=0;k<d.length;k+=1)d[k]&&d[k].m(c,null);e.append(c,g),e.append(c,u),e.append(u,v)},p(s,h){p.p(s,h)},d(s){s&&e.detach(t),p.d(),e.destroy_each(d,s)}}}function U(a){let t,n,r,o,l,c,g,u,v,f,_=a[5]("titleAccountReview")+"",p,b,d;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),o=e.svg_element("style"),l=e.text(`.aaa {
2
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
3
+ }
4
+ `),c=e.svg_element("g"),g=e.svg_element("g"),u=e.svg_element("path"),v=e.space(),f=e.element("h2"),p=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(g,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","AccountReviewTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(s,h){e.insert(s,t,h),e.append(t,n),e.append(n,r),e.append(r,o),e.append(o,l),e.append(n,c),e.append(c,g),e.append(g,u),e.append(t,v),e.append(t,f),e.append(f,p),b||(d=[e.listen(t,"click",a[8]),e.listen(t,"keydown",null)],b=!0)},p(s,h){h[0]&32&&_!==(_=s[5]("titleAccountReview")+"")&&e.set_data(p,_)},d(s){s&&e.detach(t),b=!1,e.run_all(d)}}}function D(a){let t,n,r,o,l=!1,c,g,u=a[29]+"",v,f,_,p,b;return _=e.init_binding_group(a[18][0]),{c(){t=e.element("div"),n=e.element("input"),c=e.space(),g=e.element("label"),v=e.text(u),e.attr(n,"type","radio"),e.attr(n,"id",r="interval-"+a[28]),n.__value=o=a[28],e.set_input_value(n,n.__value),e.attr(g,"for",f="interval-"+a[28]),_.p(n)},m(d,s){e.insert(d,t,s),e.append(t,n),n.checked=n.__value===a[2],e.append(t,c),e.append(t,g),e.append(g,v),p||(b=e.listen(n,"change",a[17]),p=!0)},p(d,s){s[0]&16&&r!==(r="interval-"+d[28])&&e.attr(n,"id",r),s[0]&16&&o!==(o=d[28])&&(n.__value=o,e.set_input_value(n,n.__value),l=!0),(l||s[0]&20)&&(n.checked=n.__value===d[2]),s[0]&16&&u!==(u=d[29]+"")&&e.set_data(v,u),s[0]&16&&f!==(f="interval-"+d[28])&&e.attr(g,"for",f)},d(d){d&&e.detach(t),_.r(),p=!1,b()}}}function J(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="280px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(n,r){e.insert(n,t,r)},p:e.noop,d(n){n&&e.detach(t)}}}function G(a){let t,n,r,o;return{c(){t=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),o=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","20px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","180px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"margin-top","5px"),e.set_custom_element_data(o,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(a[6]?"Mobile":""))},m(l,c){e.insert(l,t,c),e.append(t,n),e.append(t,r),e.append(t,o)},p:e.noop,d(l){l&&e.detach(t)}}}function V(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(n,r){e.insert(n,t,r)},p:e.noop,d(n){n&&e.detach(t)}}}function Y(a){let t;function n(l,c){return l[1]?W:E}let r=n(a),o=r(a);return{c(){t=e.element("div"),o.c(),e.attr(t,"class","PlayerAccountReviewWrapper "+(a[6]?"PlayerAccountReviewWrapperMobile":""))},m(l,c){e.insert(l,t,c),o.m(t,null),a[19](t)},p(l,c){r===(r=n(l))&&o?o.p(l,c):(o.d(1),o=r(l),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),o.d(),a[19](null)}}}const O=2;function X(a,t,n){let r;e.component_subscribe(a,e.$format,i=>n(5,r=i));let{endpoint:o=""}=t,{playerid:l=""}=t,{session:c=""}=t,{lang:g="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:v=""}=t,{mbsource:f}=t,{translationurl:_=""}=t,p,b=e.getDevice(window.navigator.userAgent)!=="PC",d=!0,s="",h="",k=[];const j=()=>P(this,null,function*(){try{const i=new URL(`${o}/api/pam/v1/player-notifications`);i.searchParams.set("type",String(O)),i.searchParams.append("createNotificationIfNotFound","true");const y=new Headers;y.append("X-SessionID",c),y.append("accept","application/json");const S=yield(yield fetch(i.href,{method:"GET",headers:y})).json();S!=null&&S.interval&&(n(3,h=String(S==null?void 0:S.interval)),n(2,s=h)),k.length||n(4,k=[{value:"1",text:r("daily")},{value:"2",text:r("weekly")},{value:"3",text:r("monthly")},{value:"4",text:`6 ${r("months")}`}]),n(1,d=!1)}catch(i){console.error(i),n(1,d=!1)}}),q=()=>P(this,null,function*(){try{const i=new URL(`${o}/api/pam/v1/player-notifications`),y=new Headers;y.append("X-SessionID",c),y.append("Content-Type","application/json"),y.append("Accept","application/json"),i.searchParams.append("createNotificationIfNotFound","true");const M={type:O,interval:Number(s),acknowledge:!0,ackNotificationTimestamp:new Date().toISOString()};return(yield fetch(i.href,{method:"PATCH",headers:y,body:JSON.stringify(M)})).ok}catch(i){return console.error(i),!1}}),T=i=>{i.preventDefault(),s&&q().then(y=>{const M=y?{type:"success",message:r("successMessage")}:{type:"error",message:r("errorMessage")};window.postMessage({type:"WidgetNotification",data:M},window.location.href),y&&n(3,h=s)})},F=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},R=()=>z(g),A=()=>{const i=_;i&&fetch(i).then(y=>y.json()).then(y=>{Object.keys(y).forEach(M=>{C(M,y[M])})}).catch(y=>console.log(y))};Object.keys(B).forEach(i=>C(i,B[i])),e.onMount(()=>()=>{});const w=[[]];function m(){s=this.__value,n(2,s)}function x(i){e.binding_callbacks[i?"unshift":"push"](()=>{p=i,n(0,p)})}return a.$$set=i=>{"endpoint"in i&&n(9,o=i.endpoint),"playerid"in i&&n(10,l=i.playerid),"session"in i&&n(11,c=i.session),"lang"in i&&n(12,g=i.lang),"clientstyling"in i&&n(13,u=i.clientstyling),"clientstylingurl"in i&&n(14,v=i.clientstylingurl),"mbsource"in i&&n(15,f=i.mbsource),"translationurl"in i&&n(16,_=i.translationurl)},a.$$.update=()=>{a.$$.dirty[0]&4096&&g&&R(),a.$$.dirty[0]&3584&&o&&l&&c&&j(),a.$$.dirty[0]&8193&&u&&p&&e.setClientStyling(p,u),a.$$.dirty[0]&16385&&v&&p&&e.setClientStylingURL(p,v),a.$$.dirty[0]&32769&&f&&p&&e.setStreamStyling(p,`${f}.Style`),a.$$.dirty[0]&65536&&_&&A()},[p,d,s,h,k,r,b,T,F,o,l,c,g,u,v,f,_,m,w,x]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,X,Y,e.safe_not_equal,{endpoint:9,playerid:10,session:11,lang:12,clientstyling:13,clientstylingurl:14,mbsource:15,translationurl:16},I,[-1,-1])}get endpoint(){return this.$$.ctx[9]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[11]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(N,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=N;
@@ -1,20 +1,20 @@
1
- var U = (i, e, t) => new Promise((o, a) => {
1
+ var U = (i, e, t) => new Promise((o, n) => {
2
2
  var l = (u) => {
3
3
  try {
4
4
  g(t.next(u));
5
5
  } catch (y) {
6
- a(y);
6
+ n(y);
7
7
  }
8
8
  }, c = (u) => {
9
9
  try {
10
10
  g(t.throw(u));
11
11
  } catch (y) {
12
- a(y);
12
+ n(y);
13
13
  }
14
14
  }, g = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(l, c);
15
15
  g((t = t.apply(i, e)).next());
16
16
  });
17
- import { a as $, $ as ee, S as te, i as ie, s as ne, f as T, b as ae, n as E, d as C, h as P, k as f, e as p, p as oe, q as re, u as se, w as le, C as J, D as Q, j as s, m as S, g as b, c as N, l as W, t as z, r as ce, v as O, a7 as ue, V, x as pe, y as de, z as me, A as ve, B as ye } from "./GeneralLogout-DIvT_pyf.js";
17
+ import { a as $, $ as ee, S as te, i as ie, s as ae, f as T, b as ne, n as E, d as F, h as P, k as f, e as p, p as oe, q as re, u as se, w as le, C as J, D as Q, j as s, m as S, g as b, c as I, l as W, t as N, r as ce, v as O, a7 as ue, V, x as pe, y as de, z as me, A as ve, B as ye } from "./GeneralLogout-DIvT_pyf.js";
18
18
  import "../stencil/ui-skeleton-Ur_BR5_B.js";
19
19
  function G(i, e) {
20
20
  $(i, e);
@@ -24,7 +24,7 @@ function ge(i) {
24
24
  }
25
25
  const Y = {
26
26
  en: {
27
- titleAccountReview: "Account Review prompt frequency",
27
+ titleAccountReview: "Account Review Frequency",
28
28
  accountReviewText: "To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",
29
29
  setFrequency: "Set frequency",
30
30
  successMessage: "Your preference was saved",
@@ -123,7 +123,7 @@ const Y = {
123
123
  monthly: "Mensual"
124
124
  },
125
125
  "en-us": {
126
- titleAccountReview: "Account Review prompt frequency",
126
+ titleAccountReview: "Account Review Frequency",
127
127
  accountReviewText: "To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",
128
128
  setFrequency: "Set frequency",
129
129
  successMessage: "Your preference was saved.",
@@ -135,7 +135,7 @@ const Y = {
135
135
  }
136
136
  };
137
137
  function fe(i) {
138
- ae(i, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
138
+ ne(i, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
139
139
  }
140
140
  function X(i, e, t) {
141
141
  const o = i.slice();
@@ -146,7 +146,7 @@ function he(i, e, t) {
146
146
  return o[25] = e[t], o;
147
147
  }
148
148
  function we(i) {
149
- let e, t, o, a = (
149
+ let e, t, o, n = (
150
150
  /*$_*/
151
151
  i[5]("titleAccountReview") + ""
152
152
  ), l, c, g, u, y = (
@@ -155,7 +155,7 @@ function we(i) {
155
155
  ), w, _, d, R, m, r, k = (
156
156
  /*$_*/
157
157
  i[5]("setFrequency") + ""
158
- ), A, H, D, I, L, j = (
158
+ ), A, H, D, z, L, j = (
159
159
  /*isMobile*/
160
160
  i[6] && ke(i)
161
161
  ), q = J(
@@ -166,10 +166,10 @@ function we(i) {
166
166
  x[v] = Z(X(i, q, v));
167
167
  return {
168
168
  c() {
169
- e = f("div"), j && j.c(), t = S(), o = f("h2"), l = z(a), c = S(), g = f("div"), u = f("p"), w = z(y), _ = S(), d = f("form");
169
+ e = f("div"), j && j.c(), t = S(), o = f("h2"), l = N(n), c = S(), g = f("div"), u = f("p"), w = N(y), _ = S(), d = f("form");
170
170
  for (let v = 0; v < x.length; v += 1)
171
171
  x[v].c();
172
- R = S(), m = f("div"), r = f("button"), A = z(k), p(o, "class", "AccountReviewTitle " + /*isMobile*/
172
+ R = S(), m = f("div"), r = f("button"), A = N(k), p(o, "class", "AccountReviewTitle " + /*isMobile*/
173
173
  (i[6] ? "AccountReviewTitleNone" : "")), p(g, "class", "AccountReviewDescription " + /*isMobile*/
174
174
  (i[6] ? "AccountReviewDescriptionMobile" : "")), p(r, "class", H = "PlayerRealityCheckButton " + (!/*selectedInterval*/
175
175
  i[2] || /*currentInterval*/
@@ -182,41 +182,41 @@ function we(i) {
182
182
  },
183
183
  m(v, M) {
184
184
  P(v, e, M), j && j.m(e, null), s(e, t), s(e, o), s(o, l), s(e, c), s(e, g), s(g, u), s(u, w), s(e, _), s(e, d);
185
- for (let n = 0; n < x.length; n += 1)
186
- x[n] && x[n].m(d, null);
187
- s(d, R), s(d, m), s(m, r), s(r, A), I || (L = W(
185
+ for (let a = 0; a < x.length; a += 1)
186
+ x[a] && x[a].m(d, null);
187
+ s(d, R), s(d, m), s(m, r), s(r, A), z || (L = W(
188
188
  r,
189
189
  "click",
190
190
  /*submit*/
191
191
  i[7]
192
- ), I = !0);
192
+ ), z = !0);
193
193
  },
194
194
  p(v, M) {
195
195
  if (
196
196
  /*isMobile*/
197
197
  v[6] && j.p(v, M), M[0] & /*$_*/
198
- 32 && a !== (a = /*$_*/
199
- v[5]("titleAccountReview") + "") && N(l, a), M[0] & /*$_*/
198
+ 32 && n !== (n = /*$_*/
199
+ v[5]("titleAccountReview") + "") && I(l, n), M[0] & /*$_*/
200
200
  32 && y !== (y = /*$_*/
201
- v[5]("accountReviewText") + "") && N(w, y), M[0] & /*options, selectedInterval*/
201
+ v[5]("accountReviewText") + "") && I(w, y), M[0] & /*options, selectedInterval*/
202
202
  20
203
203
  ) {
204
204
  q = J(
205
205
  /*options*/
206
206
  v[4]
207
207
  );
208
- let n;
209
- for (n = 0; n < q.length; n += 1) {
210
- const h = X(v, q, n);
211
- x[n] ? x[n].p(h, M) : (x[n] = Z(h), x[n].c(), x[n].m(d, R));
208
+ let a;
209
+ for (a = 0; a < q.length; a += 1) {
210
+ const h = X(v, q, a);
211
+ x[a] ? x[a].p(h, M) : (x[a] = Z(h), x[a].c(), x[a].m(d, R));
212
212
  }
213
- for (; n < x.length; n += 1)
214
- x[n].d(1);
213
+ for (; a < x.length; a += 1)
214
+ x[a].d(1);
215
215
  x.length = q.length;
216
216
  }
217
217
  M[0] & /*$_*/
218
218
  32 && k !== (k = /*$_*/
219
- v[5]("setFrequency") + "") && N(A, k), M[0] & /*selectedInterval, currentInterval*/
219
+ v[5]("setFrequency") + "") && I(A, k), M[0] & /*selectedInterval, currentInterval*/
220
220
  12 && H !== (H = "PlayerRealityCheckButton " + (!/*selectedInterval*/
221
221
  v[2] || /*currentInterval*/
222
222
  v[3] === /*selectedInterval*/
@@ -227,12 +227,12 @@ function we(i) {
227
227
  v[2]) && (r.disabled = D);
228
228
  },
229
229
  d(v) {
230
- v && C(e), j && j.d(), Q(x, v), I = !1, L();
230
+ v && F(e), j && j.d(), Q(x, v), z = !1, L();
231
231
  }
232
232
  };
233
233
  }
234
234
  function be(i) {
235
- let e, t, o, a, l, c, g, u, y;
235
+ let e, t, o, n, l, c, g, u, y;
236
236
  function w(r, k) {
237
237
  return (
238
238
  /*isMobile*/
@@ -244,11 +244,11 @@ function be(i) {
244
244
  m[r] = Re(he(i, R, r));
245
245
  return {
246
246
  c() {
247
- e = f("div"), d.c(), t = S(), o = f("div"), a = f("ui-skeleton"), l = S(), c = f("div");
247
+ e = f("div"), d.c(), t = S(), o = f("div"), n = f("ui-skeleton"), l = S(), c = f("div");
248
248
  for (let r = 0; r < m.length; r += 1)
249
249
  m[r].c();
250
- g = S(), u = f("div"), y = f("ui-skeleton"), b(a, "structure", "text"), b(a, "height", "15px"), b(a, "width", "100%"), b(a, "margin-bottom", "7px"), b(
251
- a,
250
+ g = S(), u = f("div"), y = f("ui-skeleton"), b(n, "structure", "text"), b(n, "height", "15px"), b(n, "width", "100%"), b(n, "margin-bottom", "7px"), b(
251
+ n,
252
252
  "rows",
253
253
  /*isMobile*/
254
254
  i[6] ? "5" : "3"
@@ -260,7 +260,7 @@ function be(i) {
260
260
  ), p(u, "class", "Button"), p(c, "class", "SkeletonOptionContainer"), p(e, "class", "SkeletonContainer");
261
261
  },
262
262
  m(r, k) {
263
- P(r, e, k), d.m(e, null), s(e, t), s(e, o), s(o, a), s(e, l), s(e, c);
263
+ P(r, e, k), d.m(e, null), s(e, t), s(e, o), s(o, n), s(e, l), s(e, c);
264
264
  for (let A = 0; A < m.length; A += 1)
265
265
  m[A] && m[A].m(c, null);
266
266
  s(c, g), s(c, u), s(u, y);
@@ -269,24 +269,24 @@ function be(i) {
269
269
  d.p(r, k);
270
270
  },
271
271
  d(r) {
272
- r && C(e), d.d(), Q(m, r);
272
+ r && F(e), d.d(), Q(m, r);
273
273
  }
274
274
  };
275
275
  }
276
276
  function ke(i) {
277
- let e, t, o, a, l, c, g, u, y, w, _ = (
277
+ let e, t, o, n, l, c, g, u, y, w, _ = (
278
278
  /*$_*/
279
279
  i[5]("titleAccountReview") + ""
280
280
  ), d, R, m;
281
281
  return {
282
282
  c() {
283
- e = f("div"), t = O("svg"), o = O("defs"), a = O("style"), l = z(`.aaa {
283
+ e = f("div"), t = O("svg"), o = O("defs"), n = O("style"), l = N(`.aaa {
284
284
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
285
285
  }
286
- `), c = O("g"), g = O("g"), u = O("path"), y = S(), w = f("h2"), d = z(_), p(u, "class", "aaa"), p(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(u, "transform", "translate(15 15) rotate(180)"), p(g, "transform", "translate(20 158)"), p(c, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(w, "class", "AccountReviewTitleMobile"), p(e, "class", "MenuReturnButton");
286
+ `), c = O("g"), g = O("g"), u = O("path"), y = S(), w = f("h2"), d = N(_), p(u, "class", "aaa"), p(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(u, "transform", "translate(15 15) rotate(180)"), p(g, "transform", "translate(20 158)"), p(c, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(w, "class", "AccountReviewTitleMobile"), p(e, "class", "MenuReturnButton");
287
287
  },
288
288
  m(r, k) {
289
- P(r, e, k), s(e, t), s(t, o), s(o, a), s(a, l), s(t, c), s(c, g), s(g, u), s(e, y), s(e, w), s(w, d), R || (m = [
289
+ P(r, e, k), s(e, t), s(t, o), s(o, n), s(n, l), s(t, c), s(c, g), s(g, u), s(e, y), s(e, w), s(w, d), R || (m = [
290
290
  W(
291
291
  e,
292
292
  "click",
@@ -299,15 +299,15 @@ function ke(i) {
299
299
  p(r, k) {
300
300
  k[0] & /*$_*/
301
301
  32 && _ !== (_ = /*$_*/
302
- r[5]("titleAccountReview") + "") && N(d, _);
302
+ r[5]("titleAccountReview") + "") && I(d, _);
303
303
  },
304
304
  d(r) {
305
- r && C(e), R = !1, ce(m);
305
+ r && F(e), R = !1, ce(m);
306
306
  }
307
307
  };
308
308
  }
309
309
  function Z(i) {
310
- let e, t, o, a, l = !1, c, g, u = (
310
+ let e, t, o, n, l = !1, c, g, u = (
311
311
  /*text*/
312
312
  i[29] + ""
313
313
  ), y, w, _, d, R;
@@ -316,8 +316,8 @@ function Z(i) {
316
316
  i[18][0]
317
317
  ), {
318
318
  c() {
319
- e = f("div"), t = f("input"), c = S(), g = f("label"), y = z(u), p(t, "type", "radio"), p(t, "id", o = "interval-" + /*value*/
320
- i[28]), t.__value = a = /*value*/
319
+ e = f("div"), t = f("input"), c = S(), g = f("label"), y = N(u), p(t, "type", "radio"), p(t, "id", o = "interval-" + /*value*/
320
+ i[28]), t.__value = n = /*value*/
321
321
  i[28], V(t, t.__value), p(g, "for", w = "interval-" + /*value*/
322
322
  i[28]), _.p(t);
323
323
  },
@@ -334,17 +334,17 @@ function Z(i) {
334
334
  r[0] & /*options*/
335
335
  16 && o !== (o = "interval-" + /*value*/
336
336
  m[28]) && p(t, "id", o), r[0] & /*options*/
337
- 16 && a !== (a = /*value*/
338
- m[28]) && (t.__value = a, V(t, t.__value), l = !0), (l || r[0] & /*selectedInterval, options*/
337
+ 16 && n !== (n = /*value*/
338
+ m[28]) && (t.__value = n, V(t, t.__value), l = !0), (l || r[0] & /*selectedInterval, options*/
339
339
  20) && (t.checked = t.__value === /*selectedInterval*/
340
340
  m[2]), r[0] & /*options*/
341
341
  16 && u !== (u = /*text*/
342
- m[29] + "") && N(y, u), r[0] & /*options*/
342
+ m[29] + "") && I(y, u), r[0] & /*options*/
343
343
  16 && w !== (w = "interval-" + /*value*/
344
344
  m[28]) && p(g, "for", w);
345
345
  },
346
346
  d(m) {
347
- m && C(e), _.r(), d = !1, R();
347
+ m && F(e), _.r(), d = !1, R();
348
348
  }
349
349
  };
350
350
  }
@@ -359,23 +359,23 @@ function _e(i) {
359
359
  },
360
360
  p: E,
361
361
  d(t) {
362
- t && C(e);
362
+ t && F(e);
363
363
  }
364
364
  };
365
365
  }
366
366
  function xe(i) {
367
- let e, t, o, a;
367
+ let e, t, o, n;
368
368
  return {
369
369
  c() {
370
- e = f("div"), t = f("ui-skeleton"), o = S(), a = f("ui-skeleton"), b(t, "structure", "title"), b(t, "width", "20px"), b(t, "height", "20px"), b(t, "margin-top", "5px"), b(t, "margin-bottom", "15px"), b(a, "structure", "title"), b(a, "width", "180px"), b(a, "height", "20px"), b(a, "margin-top", "5px"), b(a, "margin-bottom", "15px"), p(e, "class", "SkeletonMenuButton " + /*isMobile*/
370
+ e = f("div"), t = f("ui-skeleton"), o = S(), n = f("ui-skeleton"), b(t, "structure", "title"), b(t, "width", "20px"), b(t, "height", "20px"), b(t, "margin-top", "5px"), b(t, "margin-bottom", "15px"), b(n, "structure", "title"), b(n, "width", "180px"), b(n, "height", "20px"), b(n, "margin-top", "5px"), b(n, "margin-bottom", "15px"), p(e, "class", "SkeletonMenuButton " + /*isMobile*/
371
371
  (i[6] ? "Mobile" : ""));
372
372
  },
373
373
  m(l, c) {
374
- P(l, e, c), s(e, t), s(e, o), s(e, a);
374
+ P(l, e, c), s(e, t), s(e, o), s(e, n);
375
375
  },
376
376
  p: E,
377
377
  d(l) {
378
- l && C(e);
378
+ l && F(e);
379
379
  }
380
380
  };
381
381
  }
@@ -390,7 +390,7 @@ function Re(i) {
390
390
  },
391
391
  p: E,
392
392
  d(t) {
393
- t && C(e);
393
+ t && F(e);
394
394
  }
395
395
  };
396
396
  }
@@ -402,67 +402,67 @@ function Ae(i) {
402
402
  l[1] ? be : we
403
403
  );
404
404
  }
405
- let o = t(i), a = o(i);
405
+ let o = t(i), n = o(i);
406
406
  return {
407
407
  c() {
408
- e = f("div"), a.c(), p(e, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
408
+ e = f("div"), n.c(), p(e, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
409
409
  (i[6] ? "PlayerAccountReviewWrapperMobile" : ""));
410
410
  },
411
411
  m(l, c) {
412
- P(l, e, c), a.m(e, null), i[19](e);
412
+ P(l, e, c), n.m(e, null), i[19](e);
413
413
  },
414
414
  p(l, c) {
415
- o === (o = t(l)) && a ? a.p(l, c) : (a.d(1), a = o(l), a && (a.c(), a.m(e, null)));
415
+ o === (o = t(l)) && n ? n.p(l, c) : (n.d(1), n = o(l), n && (n.c(), n.m(e, null)));
416
416
  },
417
417
  i: E,
418
418
  o: E,
419
419
  d(l) {
420
- l && C(e), a.d(), i[19](null);
420
+ l && F(e), n.d(), i[19](null);
421
421
  }
422
422
  };
423
423
  }
424
424
  const K = 2;
425
425
  function Me(i, e, t) {
426
426
  let o;
427
- oe(i, ye, (n) => t(5, o = n));
428
- let { endpoint: a = "" } = e, { playerid: l = "" } = e, { session: c = "" } = e, { lang: g = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: _ = "" } = e, d, R = re(window.navigator.userAgent) !== "PC", m = !0, r = "", k = "", A = [];
427
+ oe(i, ye, (a) => t(5, o = a));
428
+ let { endpoint: n = "" } = e, { playerid: l = "" } = e, { session: c = "" } = e, { lang: g = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: _ = "" } = e, d, R = re(window.navigator.userAgent) !== "PC", m = !0, r = "", k = "", A = [];
429
429
  const H = () => U(this, null, function* () {
430
430
  try {
431
- const n = new URL(`${a}/api/pam/v1/player-notifications`);
432
- n.searchParams.set("type", String(K));
431
+ const a = new URL(`${n}/api/pam/v1/player-notifications`);
432
+ a.searchParams.set("type", String(K)), a.searchParams.append("createNotificationIfNotFound", "true");
433
433
  const h = new Headers();
434
434
  h.append("X-SessionID", c), h.append("accept", "application/json");
435
- const B = yield (yield fetch(n.href, { method: "GET", headers: h })).json();
435
+ const B = yield (yield fetch(a.href, { method: "GET", headers: h })).json();
436
436
  B != null && B.interval && (t(3, k = String(B == null ? void 0 : B.interval)), t(2, r = k)), A.length || t(4, A = [
437
437
  { value: "1", text: o("daily") },
438
438
  { value: "2", text: o("weekly") },
439
439
  { value: "3", text: o("monthly") },
440
440
  { value: "4", text: `6 ${o("months")}` }
441
441
  ]), t(1, m = !1);
442
- } catch (n) {
443
- console.error(n), t(1, m = !1);
442
+ } catch (a) {
443
+ console.error(a), t(1, m = !1);
444
444
  }
445
445
  }), D = () => U(this, null, function* () {
446
446
  try {
447
- const n = new URL(`${a}/api/pam/v1/player-notifications`), h = new Headers();
448
- h.append("X-SessionID", c), h.append("Content-Type", "application/json"), h.append("Accept", "application/json");
449
- const F = {
447
+ const a = new URL(`${n}/api/pam/v1/player-notifications`), h = new Headers();
448
+ h.append("X-SessionID", c), h.append("Content-Type", "application/json"), h.append("Accept", "application/json"), a.searchParams.append("createNotificationIfNotFound", "true");
449
+ const C = {
450
450
  type: K,
451
451
  interval: Number(r),
452
452
  acknowledge: !0,
453
453
  ackNotificationTimestamp: (/* @__PURE__ */ new Date()).toISOString()
454
454
  };
455
- return (yield fetch(n.href, {
455
+ return (yield fetch(a.href, {
456
456
  method: "PATCH",
457
457
  headers: h,
458
- body: JSON.stringify(F)
458
+ body: JSON.stringify(C)
459
459
  })).ok;
460
- } catch (n) {
461
- return console.error(n), !1;
460
+ } catch (a) {
461
+ return console.error(a), !1;
462
462
  }
463
- }), I = (n) => {
464
- n.preventDefault(), r && D().then((h) => {
465
- const F = h ? {
463
+ }), z = (a) => {
464
+ a.preventDefault(), r && D().then((h) => {
465
+ const C = h ? {
466
466
  type: "success",
467
467
  message: o("successMessage")
468
468
  } : {
@@ -472,7 +472,7 @@ function Me(i, e, t) {
472
472
  window.postMessage(
473
473
  {
474
474
  type: "WidgetNotification",
475
- data: F
475
+ data: C
476
476
  },
477
477
  window.location.href
478
478
  ), h && t(3, k = r);
@@ -486,30 +486,30 @@ function Me(i, e, t) {
486
486
  window.location.href
487
487
  );
488
488
  }, j = () => ge(g), q = () => {
489
- const n = _;
490
- n && fetch(n).then((h) => h.json()).then((h) => {
491
- Object.keys(h).forEach((F) => {
492
- G(F, h[F]);
489
+ const a = _;
490
+ a && fetch(a).then((h) => h.json()).then((h) => {
491
+ Object.keys(h).forEach((C) => {
492
+ G(C, h[C]);
493
493
  });
494
494
  }).catch((h) => console.log(h));
495
495
  };
496
- Object.keys(Y).forEach((n) => G(n, Y[n])), se(() => () => {
496
+ Object.keys(Y).forEach((a) => G(a, Y[a])), se(() => () => {
497
497
  });
498
498
  const x = [[]];
499
499
  function v() {
500
500
  r = this.__value, t(2, r);
501
501
  }
502
- function M(n) {
503
- le[n ? "unshift" : "push"](() => {
504
- d = n, t(0, d);
502
+ function M(a) {
503
+ le[a ? "unshift" : "push"](() => {
504
+ d = a, t(0, d);
505
505
  });
506
506
  }
507
- return i.$$set = (n) => {
508
- "endpoint" in n && t(9, a = n.endpoint), "playerid" in n && t(10, l = n.playerid), "session" in n && t(11, c = n.session), "lang" in n && t(12, g = n.lang), "clientstyling" in n && t(13, u = n.clientstyling), "clientstylingurl" in n && t(14, y = n.clientstylingurl), "mbsource" in n && t(15, w = n.mbsource), "translationurl" in n && t(16, _ = n.translationurl);
507
+ return i.$$set = (a) => {
508
+ "endpoint" in a && t(9, n = a.endpoint), "playerid" in a && t(10, l = a.playerid), "session" in a && t(11, c = a.session), "lang" in a && t(12, g = a.lang), "clientstyling" in a && t(13, u = a.clientstyling), "clientstylingurl" in a && t(14, y = a.clientstylingurl), "mbsource" in a && t(15, w = a.mbsource), "translationurl" in a && t(16, _ = a.translationurl);
509
509
  }, i.$$.update = () => {
510
510
  i.$$.dirty[0] & /*lang*/
511
511
  4096 && g && j(), i.$$.dirty[0] & /*endpoint, playerid, session*/
512
- 3584 && a && l && c && H(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
512
+ 3584 && n && l && c && H(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
513
513
  8193 && u && d && pe(d, u), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
514
514
  16385 && y && d && de(d, y), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
515
515
  32769 && w && d && me(d, `${w}.Style`), i.$$.dirty[0] & /*translationurl*/
@@ -522,9 +522,9 @@ function Me(i, e, t) {
522
522
  A,
523
523
  o,
524
524
  R,
525
- I,
525
+ z,
526
526
  L,
527
- a,
527
+ n,
528
528
  l,
529
529
  c,
530
530
  g,
@@ -544,7 +544,7 @@ class Se extends te {
544
544
  e,
545
545
  Me,
546
546
  Ae,
547
- ne,
547
+ ae,
548
548
  {
549
549
  endpoint: 9,
550
550
  playerid: 10,