PageSourceSearch

https://cdn.leovegas.nl/frontend/senna/_next/static/chunks/98836.487c4294953335fd.js

js leovegas.nl collected 2026-10-07 17:57:55 UTC 53,405 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98836],{37:(e,i,t)=>{t.d(i,{A:()=>c});var a=t(80263),n=t(53239),l=t(75926),o=t(10415),s=t(37599),r=t(26020);let d=new RegExp(l.patterns.email),u=e=>d.test(e),c=()=>{var e;let i=(0,n.useContext)(s.A),t=null!=(e=null==i?void 0:i.email)?e:"",[l,d]=(0,n.useState)(!u(t));return(0,n.useEffect)(()=>{d(!u(t))},[t]),(0,a.jsx)(o.A,{name:"Email",children:i&&l&&(0,a.jsx)(r.A,{onComplete:()=>{d(!1)}})})}},387:(e,i,t)=>{t.d(i,{A:()=>eg});var a=t(80263),n=t(34198),l=t(53239),o=t(32407),s=t(94735),r=t(12675),d=t(53211),u=t(64907),c=t(7659),m=t(46563),g=t(26555),h=t(65969),A=t(14767),p=t(61503),f=t(73903),b=t(28057);let y=(0,p.YK)({title:{id:"KSATransitionedToAdultInteractionDialog.title",defaultMessage:"We've made some changes to your limits"},description:{id:"KSATransitionedToAdultInteractionDialog.description",defaultMessage:"Because you recently turned 24 years old, your mandatory monthly net deposit limit has been increased from €300 per month to €700 per month.{br}{br}If you want a lower limit, you can always change your personal deposit limits to something that fits your finances better."},buttonCloseLabel:{id:"KSATransitionedToAdultInteractionDialog.buttonCloseLabel",defaultMessage:"I understand"}}),x=e=>{let{interactionId:i,onDismiss:t}=e,{handleTrackInteraction:n}=(0,f.A)(),o=(0,p.tz)();return(0,l.useEffect)(()=>{i&&n({interactionId:i,action:b.Ig6.VIEW,acknowledge:!1})},[]),(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsx)(u.A,{"data-testid":"KSATransitionedToAdultInteractionDialogTitle",children:o.formatMessage(y.title)}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"body2",children:o.formatMessage(y.description,{br:(0,a.jsx)("br",{})})}),(0,a.jsx)(g.A,{children:(0,a.jsx)(h.A,{color:"primary",variant:"contained",onClick:t,"data-testid":"KSATransitionedToAdultInteractionDialog-keepLimit",children:o.formatMessage(y.buttonCloseLabel)},"keepLimit")})]})]})};var I=t(60907),L=t(87212),S=t(48060),k=t(44645);let D=(0,p.YK)({title:{id:"SGADepositLimitInteractionDialog.title",defaultMessage:"Deposit limit"},description:{id:"SGADepositLimitInteractionDialog.description",defaultMessage:"<paragraph>De tillf\xe4lliga spelrestriktionerna upph\xf6r midnatt mellan 14 och 15 november, vilket bl.a inneb\xe4r att man kan spela Casino oavsett niv\xe5 p\xe5 ins\xe4ttningsgr\xe4ns.</paragraph><paragraph>Du kan nu justera dina egna ins\xe4ttningsgr\xe4nser utefter dina egna f\xf6ruts\xe4ttningar.</paragraph>"},cooldownNote:{id:"SGADepositLimitInteractionDialog.cooldownNote",defaultMessage:"En h\xf6jning av ins\xe4ttningsgr\xe4nser tr\xe4der i kraft efter minst 72 timmar och n\xe4r tidsperioden f\xf6r den nuvarande gr\xe4nsen l\xf6pt ut medan en s\xe4nkning sker omedelbart."},buttonSubmitLabel:{id:"SGADepositLimitInteractionDialog.buttonSubmitLabel",defaultMessage:"Bekr\xe4fta nya gr\xe4nser"}}),C=e=>{var i,t,n,o,s,r;let{onAcknowledge:d}=e,g=(0,p.tz)(),{deposit:h}=(0,l.useContext)(L.A);return(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsx)(u.A,{children:g.formatMessage(D.title)}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"caption",children:g.formatMessage(D.description,{paragraph:(0,p.VQ)({variant:"caption"}),bold:(0,p.R_)(),italic:(0,p.OH)()})}),(0,a.jsx)(m.A,{variant:"caption",children:g.formatMessage(D.cooldownNote)}),(0,a.jsx)(I.A,{py:2,children:(0,a.jsx)(S.A,{initialValues:{day:null!=(o=null==(i=h.DAY)?void 0:i.limitValue)?o:k.Ik,week:null!=(s=null==(t=h.WEEK)?void 0:t.limitValue)?s:k.Ik,month:null!=(r=null==(n=h.MONTH)?void 0:n.limitValue)?r:k.Ik},FormSubmitButtonProps:{children:g.formatMessage(D.buttonSubmitLabel)},onComplete:d,onKeepLimits:d})})]})]})};var M=t(63022),v=t(26208);let T=(0,p.YK)({title:{id:"SGADepositLimitPercentageInteractionDialog.title",defaultMessage:"Play responsibly"},description:{id:"SGADepositLimitPercentageInteractionDialog.description",defaultMessage:"You've deposited {amount} this month and you have a high deposit limit.{br}{br}Are you still comfortable with your gambling and your deposit limits?"},buttonSubmitLabel:{id:"SGADepositLimitPercentageInteractionDialog.buttonSubmitLabel",defaultMessage:"Change my limits"}
1,buttonCloseLabel:{id:"SGADepositLimitPercentageInteractionDialog.buttonCloseLabel",defaultMessage:"Keep my limits"}}),R=e=>{var i,t;let{onAccept:n,onDismiss:o}=e,s=(0,p.tz)(),{deposit:r}=(0,l.useContext)(L.A),d=(0,v.A)();return(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsx)(u.A,{"data-testid":"SGADepositLimitPercentageInteractionDialogTitle",children:s.formatMessage(T.title)}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"body2",children:s.formatMessage(T.description,{br:(0,a.jsx)("br",{}),amount:d(null!=(t=null==(i=r.MONTH)?void 0:i.counter)?t:0)})}),(0,a.jsxs)(M.V,{children:[(0,a.jsx)(h.A,{color:"primary",variant:"text",onClick:n,children:s.formatMessage(T.buttonSubmitLabel)},"changeLimits"),(0,a.jsx)(h.A,{onClick:o,variant:"contained",children:s.formatMessage(T.buttonCloseLabel)},"keepLimits")]})]})]})},_=(0,p.YK)({title:{id:"SGADepositLimitThresholdInteractionDialog.title",defaultMessage:"You have a high Limit"},description:{id:"SGADepositLimitThresholdInteractionDialog.description",defaultMessage:"The deposit limit you've chosen is high. We want you to play in a safe way and stay in control of your gambling.{br}{br}Are you comfortable with the new limit?"},buttonSubmitLabel:{id:"SGADepositLimitThresholdInteractionDialog.buttonSubmitLabel",defaultMessage:"Change my limit"},buttonCloseLabel:{id:"SGADepositLimitThresholdInteractionDialog.buttonCloseLabel",defaultMessage:"Keep my limit "}}),E=e=>{let{onAccept:i,onDismiss:t}=e,n=(0,p.tz)();return(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsx)(u.A,{"data-testid":"SGADepositLimitThresholdInteractionDialogTitle",children:n.formatMessage(_.title)}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"body2",children:n.formatMessage(_.description,{br:(0,a.jsx)("br",{})})}),(0,a.jsxs)(M.V,{children:[(0,a.jsx)(h.A,{color:"primary",variant:"text",onClick:i,"data-testid":"SGADepositLimitThresholdInteraction-changeLimit",children:n.formatMessage(_.buttonSubmitLabel)},"changeLimit"),(0,a.jsx)(h.A,{variant:"contained",onClick:t,"data-testid":"SGADepositLimitThresholdInteraction-keepLimit",children:n.formatMessage(_.buttonCloseLabel)},"keepLimit")]})]})]})};var j=t(40154),w=t(37599);let G=(0,p.YK)({title:{id:"SGALifetimeDepositInteractionDialog.title",defaultMessage:"Hi {firstname}"},description:{id:"SGALifetimeDepositInteractionDialog.description",defaultMessage:"You have deposited {amount} since you opened your account with us.{br}{br} We're hoping that you are happy with us, but we want to ensure that you are comfortable with your gambling and your deposit limits."},buttonSubmitLabel:{id:"SGALifetimeDepositInteractionDialog.buttonSubmitLabel",defaultMessage:"Change my limits"},buttonCloseLabel:{id:"SGALifetimeDepositInteractionDialog.buttonCloseLabel",defaultMessage:"Keep my limits"}}),P=e=>{var i;let{onAccept:t,onDismiss:n}=e,o=(0,p.tz)(),{depositAmount:s}=(0,l.useContext)(j.A),{firstname:r=""}=null!=(i=(0,l.useContext)(w.A))?i:{},d=(0,v.A)();return(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsx)(u.A,{"data-testid":"SGALifetimeDepositInteractionDialogTitle",children:o.formatMessage(G.title,{firstname:r})}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"caption",children:o.formatMessage(G.description,{br:(0,a.jsx)("br",{}),amount:d(s)})}),(0,a.jsxs)(M.V,{children:[(0,a.jsx)(h.A,{color:"primary",variant:"text",onClick:t,"data-testid":"SGALifetimeDepositInteraction-changeLimits",children:o.formatMessage(G.buttonSubmitLabel)},"changeLimits"),(0,a.jsx)(h.A,{onClick:n,variant:"contained","data-testid":"SGALifetimeDepositInteraction-keepLimits",children:o.formatMessage(G.buttonCloseLabel)},"keepLimits")]})]})]})};var K=t(3557);let O=(0,p.YK)({title:{id:"UKGCNetLimitUpdateDialog.title",defaultMessage:"Updates to Our Limits"},description:{id:"UKGCNetLimitUpdateDialog.description",defaultMessage:"Our deposit limits have been changed to net deposit limits. Deposits reduce your remaining net deposit amount, and withdrawals increase it. Your remaining amount resets at the start of each month/week/day.{br}{br}<bold>This is how net deposit limits work:</bold>{br}1. Let’s say that your limit is \xa3500.{br}2. You deposit \xa3200. Your remaining net deposit amount is now \xa3300.{br}3. You win \xa3350 and withdraw that amount. Your remaining net deposit amount is now \xa3650 - the \xa3300 you had left plus the \xa3350 you won."},buttonSubmitLabel:{id:"UKGCNetLimitUpdateDialog.buttonSubmitLabel",defaultMessage:"Review Limits"}
1,buttonCloseLabel:{id:"UKGCNetLimitUpdateDialog.buttonCloseLabel",defaultMessage:"OK"}}),N={bold:(0,p.R_)(),br:(0,a.jsx)("br",{})},F=e=>{let{interactionId:i,onReviewLimits:t,onDismiss:n}=e,o=(0,p.tz)(),{handleTrackInteraction:s}=(0,f.A)();return(0,l.useEffect)(()=>{s({interactionId:i,action:b.Ig6.VIEW,acknowledge:!1})},[]),(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsxs)(I.A,{textAlign:"center",children:[(0,a.jsx)(K.A,{sx:{fontSize:"5.25rem",marginTop:3},color:"primary"}),(0,a.jsx)(u.A,{children:o.formatMessage(O.title)})]}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"body2",children:o.formatMessage(O.description,N)}),(0,a.jsx)(g.A,{children:(0,a.jsxs)(I.A,{display:"flex",flexDirection:"column",width:"100%",gap:2,mt:1,children:[(0,a.jsx)(h.A,{onClick:t,size:"large",variant:"contained",children:o.formatMessage(O.buttonSubmitLabel)},"reviewLimits"),(0,a.jsx)(h.A,{onClick:n,size:"large",children:o.formatMessage(O.buttonCloseLabel)},"acceptLimits")]})})]})]})},H=(0,p.YK)({title:{id:"UKGCYoungAdultLimitDialog.title",defaultMessage:"We've made some changes to your limits"},description:{id:"UKGCYoungAdultLimitDialog.description",defaultMessage:"Because you have turned 25, we increased your monthly mandatory limit to {depositLimit}.{br}{br}If you want a lower limit, you can always change your financial limits to something that fits your finances better."},buttonSubmitLabel:{id:"UKGCYoungAdultLimitDialog.buttonSubmitLabel",defaultMessage:"Review Limits"},buttonCloseLabel:{id:"UKGCYoungAdultLimitDialog.buttonCloseLabel",defaultMessage:"OK"}}),U={bold:(0,p.R_)(),br:(0,a.jsx)("br",{})},Y=e=>{var i;let{interactionId:t,onReviewLimits:n,onDismiss:o}=e,s=(0,p.tz)(),{handleTrackInteraction:r}=(0,f.A)(),d=(0,v.A)(),{all:{affordabilityForced:y}}=(0,l.useContext)(L.A),x=null==(i=y.MONTH)?void 0:i.filter(e=>"AFFORDABILITY"===e.reason).sort(e=>{var i;return null!=(i=e.limitValue)?i:0})[0];return(0,l.useEffect)(()=>{r({interactionId:t,action:b.Ig6.VIEW,acknowledge:!1})},[]),(0,a.jsxs)(A.A,{fullWidth:!0,maxWidth:"sm",children:[(0,a.jsxs)(I.A,{textAlign:"center",children:[(0,a.jsx)(K.A,{sx:{fontSize:"5.25rem",marginTop:3},color:"primary"}),(0,a.jsx)(u.A,{"data-testid":"UKGCNetLimitUpdateDialogTitle",children:s.formatMessage(H.title)})]}),(0,a.jsxs)(c.A,{children:[(0,a.jsx)(m.A,{variant:"body2",children:s.formatMessage(H.description,{...U,depositLimit:d((null==x?void 0:x.limitValue)||0)})}),(0,a.jsx)(g.A,{children:(0,a.jsxs)(I.A,{display:"flex",flexDirection:"column",width:"100%",gap:2,mt:1,children:[(0,a.jsx)(h.A,{onClick:n,size:"large",variant:"contained",children:s.formatMessage(H.buttonSubmitLabel)},"reviewLimits"),(0,a.jsx)(h.A,{onClick:o,size:"large",children:s.formatMessage(H.buttonCloseLabel)},"acceptLimits")]})})]})]})};var V=t(10415),W=t(31799),B=t(24283),z=t(27840),Q=t(81930),q=t(92757),J=t(45478),Z=t(3523);let X=(0,p.YK)({defaultTitle:{id:"Interactions.HighRiskCustomEmailModal.index.defaultTitle",defaultMessage:"Hello {firstName},"},description:{id:"Interactions.HighRiskCustomEmailModal.index.description",defaultMessage:"We sent you an email to your {email} regarding important information about your account. Check your inbox ( and spam folder), and kindly respond back to us as soon as possible. If we don't receive your response, we might have to temporarily suspend your account."},ignoreDescription:{id:"Interactions.HighRiskCustomEmailModal.index.ignoreDescription",defaultMessage:"Please ignore this message if you have already responded and we will get back to you soon. Please visit our <link>Help Center</link> if you need help."},footerMessage:{id:"Interactions.HighRiskCustomEmailModal.index.footerMessage",defaultMessage:"Didn't receive an email? <link>Contact us</link>"},buttonUnderstand:{id:"Interactions.HighRiskCustomEmailModal.index.buttonUnderstand",defaultMessage:"I understand"}}),$=e=>{let{onConfirm:i,onDismiss:t}=e,n=(0,p.tz)(),o=(0,l.useContext)(w.A),{cmsPageUrls:s}=(0,l.useContext)(Z.Ay);return(0,a.jsxs)(q.A,{open:!0,fullWidth:!0,maxWidth:"sm",PaperProps:{sx:{py:{xs:4,md:6},px:{xs:2,md:12},textAlign:"center"}},children:[(0,a.jsx)(J.A,{sx:{fontSize:"5.25rem",marginTop:3,color:"primary.main",alignSelf:"center"}}),(0,a.jsx)(u.A,{sx:{fontSize:{xs:"1.5rem",sm:"1.5rem",md:"1.5rem"}},children:n.formatMessage(X.defaultTitle,{firstName:(null==o?void 0:o.firstname)||""})}),(0,a.jsx)(c.A,{children:(0,a.jsxs)(I.A,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,a.jsx)(m.A,{children:n.formatMessage(X.description,{email:(null==o?void 0:o.email)||""})}),(0,a.jsx)(m.A,{children:n.formatMessage(X.ignoreDescription,{link:(0,p.T1)({NextLinkProps:{href:s.helpdesk},LinkProps:{underline:"always",color:"primary",onClick:t,target:"_blank"}})})})]})}),(0,a.jsx)(M.V,{children:(0,a.jsx)(h.A,{fullWidth:!0,variant:"contained",onClick:i,color:"primary",children:n.formatMessage(X.buttonUnderstand)})}),(0,a.jsx)(m.A,{variant:"body2",sx:{textAlign:"center",mt:2},children:n.formatMessage(X.footerMessage,{link:(0,p.T1)({NextLinkProps:{href:s.support},LinkProps:{underline:"always",color:"primary",onClick:t}})})})]})};var ee=t(94892);let ei=(0,p.YK)({highRiskButton:{id:"Interactions.HighRiskInteractionModal.HighRiskInteractionModal.highRiskButton",defaultMessage:"View limits"},highRiskComfortableButton:{id:"Interactions.HighRiskInteractionModal.HighRiskInteractionModal.highRiskComfortableButton",defaultMessage:"I feel comfortable with my gambling habits"},highRiskTitle:{id:"Interactions.HighRiskInteractionModal.HighRiskInteractionModal.highRiskTitle",defaultMessage:"Risk of increased gambling habit"},highRisk:{id:"Interactions.HighRiskInteractionModal.HighRiskInteractionModal.highRisk",defaultMessage:"We have noticed an <bold>increase in your gambling habits</bold>. As a protective measure, we have applied some <bold>restrictions</bold> to your account. For the time being, you will not receive promotions or incentives from our team. You will not be able to make deposits through credit cards and any other payment method you use will need to be verified, this may take up to 72 hours. At LeoVegas we have <bold>tools</bold>, flexible and easy to use, to help our customers maintain healthy gambling habits."}}),et=e=>{let{onViewLimits:i,onDismiss:t}=e,n=(0,p.tz)();return(0,a.jsxs)(q.A,{open:!0,fullWidth:!0,maxWidth:"sm",PaperProps:{sx:{py:{xs:4,md:6},px:{xs:2,md:12},textAlign:"center"}},children:[(0,a.jsx)(ee.A,{sx:{fontSize:"5.25rem",marginTop:3,color:"warning.main",alignSelf:"center"}}),(0,a.jsx)(u.A,{sx:{fontSize:"1.5rem",fontWeight:"bold",mb:2},children:n.formatMessage(ei.highRiskTitle)}),(0,a.jsx)(c.A,{children:(0,a.jsx)(I.A,{sx:{display:"flex",flexDirection:"column",gap:2,mb:2},children:(0,a.jsx)(m.A,{children:n.formatMessage(ei.highRisk,{bold:(0,p.R_)()})})})}),(0,a.jsxs)(I.A,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,a.jsx)(h.A,{fullWidth:!0,variant:"contained",onClick:i,color:"primary",children:n.formatMessage(ei.highRiskButton)}),(0,a.jsx)(h.A,{fullWidth:!0,variant:"text",onClick:t,color:"primary",children:n.formatMessage(ei.highRiskComfortableButton)})]})]})};var ea=t(60343),en=t(6066),el=t(11736),eo=t(63352),es=t(82724),er=t(58381);let ed=(0,p.YK)({rgAwarenessDialogTitle:{id:"InteractionApplicationCheck.rgAwarenessDialogTitle",defaultMessage:"Was it easy to find our Responsible Gaming tools?"},yesLabel:{id:"InteractionApplicationCheck.yesLabel",defaultMessage:"Yes"},noLabel:{id:"InteractionApplicationCheck.noLabel",defaultMessage:"No"}}
1),eu={showRdcLimitConfirmationDialog:!1,showResponsibleGamingAwarenessDialog:!1,showSGADepositLimitThresholdDialog:!1,showSGADepositLimitPercentageDialog:!1,showSGALifetimeDepositDialog:!1,showKSATransitionedToAdultDialog:!1,showUKGCRdcLimitTransitionNotification:!1,showUKGCYoungAdultLimitRemoved:!1,showHighRiskCustomEmailDialog:!1,showHighRiskInteractionDialog:!1,showSGABrandsmergeRemoveLimitsDialog:!1},ec=(e,i)=>{switch(i.type){case"RDC_LIMIT_CONFIRMATION_DIALOG":return{...e,showRdcLimitConfirmationDialog:!0};case"RESPONSIBLE_GAMING_AWARENESS_DIALOG":return{...e,showResponsibleGamingAwarenessDialog:!0};case"SGA_DEPOSIT_LIMIT_THRESHOLD_DIALOG":return{...e,showSGADepositLimitThresholdDialog:!0};case"SGA_DEPOSIT_LIMIT_PERCENTAGE_DIALOG":case"SGA_HIGH_DEPOSIT_AMOUNT_DIALOG":return{...e,showSGADepositLimitPercentageDialog:!0};case"SGA_LIFETIME_DEPOSIT_DIALOG":return{...e,showSGALifetimeDepositDialog:!0};case"KSA_TRANSITIONED_TO_ADULT_DIALOG":return{...e,showKSATransitionedToAdultDialog:!0};case"UKGC_RDC_LIMIT_TRANSITION_NOTIFICATION":return{...e,showUKGCRdcLimitTransitionNotification:!0};case"UKGC_YOUNG_ADULT_LIMIT_REMOVED":return{...e,showUKGCYoungAdultLimitRemoved:!0};case"RG_REMINDER_OF_EMAIL_DIALOG":return{...e,showHighRiskCustomEmailDialog:!0};case"RG_RISK_LEVEL":return{...e,showHighRiskInteractionDialog:!0};case"SGA_BRANDSMERGE_REMOVE_LIMITS_DIALOG":return{...e,showSGABrandsmergeRemoveLimitsDialog:!0};case"RESET_DIALOGS":return eu;default:return e}},em=["KYC_PENDING"],eg=e=>{var i;let{children:t}=e,u=(0,p.tz)(),c=(0,n.useRouter)(),{handleTrackInteraction:m}=(0,f.A)(),g=(0,es.A)("Common.BrandsmergeRemoveLimitsInteractionDialog"),h=null!=(i=(0,l.useContext)(d.A))?i:[],A=(0,l.useContext)(ea.A),y=(0,l.useContext)(W.A),I=(0,l.useContext)(Q.A),L=(0,en.A)(em),[S,k]=(0,l.useState)(""),[D,M]=(0,el.Ay)("high_risk_email_dismissed_session",!1),[v,T]=(0,l.useReducer)(ec,eu),_=h.reduce((e,i)=>(e[i.type]=i,e),{}),j=(0,eo.A)("DEPOSIT"),w=(0,er._)(j,"PENDING_HIGH_RISK_INTERACTION_BLOCK");(0,l.useEffect)(()=>{let e=((e,i)=>({rdcLimitConfirmationInteraction:i===s.u8.SGA?e[b._Q4.RDC_LIMIT_CONFIRMATION]:void 0,caonRgAwarenessInteraction:e[b._Q4.CAON_RG_AWARENESS],sgaDepositLimitThresholdInteraction:e[b._Q4.SGA_DEPOSIT_LIMIT_THRESHOLD],sgaDepositLimitAndPercentageInteraction:e[b._Q4.SGA_DEPOSIT_LIMIT_AND_PERCENTAGE_THRESHOLD],sgaLifetimeDepositInteraction:e[b._Q4.SGA_LIFETIME_DEPOSIT_THRESHOLD],sgaHighDepositAmountInteraction:e[b._Q4.SGA_HIGH_DEPOSIT_AMOUNT],sgaBrandsmergeRemoveLimitsInteraction:e[b._Q4.SGA_BRANDSMERGE_REMOVE_LIMITS],ksaTransitionedToAdultInteraction:e[b._Q4.KSA_TRANSITIONED_TO_ADULT],ukgcRdcLimitTransitionNotification:e[b._Q4.UKGC_RDC_LIMIT_TRANSITION_NOTIFICATION],ukgcYoungAdultLimitInteraction:e[b._Q4.UKGC_YOUNG_ADULT_LIMIT_REMOVED],emailReminderInteraction:i===s.u8.DGOJ?e[b._Q4.RG_REMINDER_OF_EMAIL]:void 0,highRiskInteraction:i===s.u8.DGOJ?e[b._Q4.RG_RISK_LEVEL]:void 0}))(_,A),i=[];for(let{condition:t,action:a,callback:n}of[{condition:e.emailReminderInteraction&&!D?e.emailReminderInteraction:void 0,action:"RG_REMINDER_OF_EMAIL_DIALOG"},{condition:e.caonRgAwarenessInteraction,action:"RESPONSIBLE_GAMING_AWARENESS_DIALOG",callback:e=>(I.subscribe(e),()=>I.unsubscribe(e))},{condition:e.rdcLimitConfirmationInteraction,action:"RDC_LIMIT_CONFIRMATION_DIALOG"},{condition:e.sgaDepositLimitThresholdInteraction,action:"SGA_DEPOSIT_LIMIT_THRESHOLD_DIALOG"},{condition:e.sgaDepositLimitAndPercentageInteraction,action:"SGA_DEPOSIT_LIMIT_PERCENTAGE_DIALOG"},{condition:e.sgaLifetimeDepositInteraction,action:"SGA_LIFETIME_DEPOSIT_DIALOG"},{condition:e.sgaHighDepositAmountInteraction,action:"SGA_HIGH_DEPOSIT_AMOUNT_DIALOG"},{condition:e.ksaTransitionedToAdultInteraction,action:"KSA_TRANSITIONED_TO_ADULT_DIALOG"},{condition:e.ukgcRdcLimitTransitionNotification,action:"UKGC_RDC_LIMIT_TRANSITION_NOTIFICATION"},{condition:e.ukgcYoungAdultLimitInteraction,action:"UKGC_YOUNG_ADULT_LIMIT_REMOVED"},{condition:e.highRiskInteraction,action:"RG_RISK_LEVEL"},{condition:e.sgaBrandsmergeRemoveLimitsInteraction,action:"SGA_BRANDSMERGE_REMOVE_LIMITS_DIALOG"}])if(t){if(e.caonRgAwarenessInteraction&&n){let e=n(e=>{"responsibleGamingPageDidUnmount"===e.type&&T({type:"RESPONSIBLE_GAMING_AWARENESS_DIALOG"})});i.push(e)}else T({type:a});k(t.id);break}return()=>
1{i.forEach(e=>{e()})}},[h]),(0,l.useEffect)(()=>{y||(T({type:"RESET_DIALOGS"}),M(!1))},[y,M]);let G=async e=>{let{action:i,acknowledge:t=!0,meta:a}=e;S&&(T({type:"RESET_DIALOGS"}),await m({interactionId:S,action:i,acknowledge:t,meta:a}))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(V.A,{name:"InteractionSGADepositLimit",children:v.showRdcLimitConfirmationDialog&&(0,a.jsx)(C,{onAcknowledge:()=>G({action:b.Ig6.ACKNOWLEDGE})})}),(0,a.jsx)(V.A,{name:"InteractionResponsibleGamingAwareness",children:v.showResponsibleGamingAwarenessDialog&&(0,a.jsx)(z.A,{open:!0,title:u.formatMessage(ed.rgAwarenessDialogTitle),onConfirm:()=>G({action:b.Ig6.CONFIRM}),onCancel:()=>G({action:b.Ig6.DENY}),renderConfirmButton:e=>{let{onConfirm:i}=e;return(0,a.jsx)(o.A,{"aria-label":u.formatMessage(ed.yesLabel),sx:e=>({bgcolor:e.palette.success.main,color:e.palette.success.contrastText,"&:hover":{bgcolor:e.palette.success.dark}}),onClick:i,children:(0,a.jsx)(B.A,{src:(0,r.A)("/static/icons/thumbs_up.svg"),alt:"Thumbs up",width:20,height:20})})},renderCancelButton:e=>{let{onCancel:i}=e;return(0,a.jsx)(o.A,{"aria-label":u.formatMessage(ed.noLabel),sx:e=>({bgcolor:e.palette.error.main,color:e.palette.error.contrastText,"&:hover":{bgcolor:e.palette.error.dark}}),onClick:i,children:(0,a.jsx)(B.A,{src:(0,r.A)("/static/icons/thumbs_down.svg"),alt:"Thumbs down",width:20,height:20})})}})}),(0,a.jsx)(V.A,{name:"InteractionSGALifetimeDeposit",children:v.showSGALifetimeDepositDialog&&(0,a.jsx)(P,{onAccept:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>G({action:b.Ig6.DISMISS})})}),(0,a.jsx)(V.A,{name:"InteractionSGADepositLimitThreshold",children:v.showSGADepositLimitThresholdDialog&&(0,a.jsx)(E,{onAccept:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>G({action:b.Ig6.DISMISS})})}),(0,a.jsx)(V.A,{name:"InteractionSGADepositLimitPercentage",children:v.showSGADepositLimitPercentageDialog&&(0,a.jsx)(R,{onAccept:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>G({action:b.Ig6.DISMISS})})}),(0,a.jsx)(V.A,{name:"InteractionKsaTransitionedToAdult",children:v.showKSATransitionedToAdultDialog&&(0,a.jsx)(x,{interactionId:S,onDismiss:()=>G({action:b.Ig6.ACKNOWLEDGE})})}),(0,a.jsx)(V.A,{name:"InteractionUKGCRdcLimitTransitionNotification",children:v.showUKGCRdcLimitTransitionNotification&&!L&&(0,a.jsx)(F,{interactionId:S,onReviewLimits:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>G({action:b.Ig6.DISMISS})})}),(0,a.jsx)(V.A,{name:"InteractionUKGCRdcLimitTransitionNotification",children:v.showUKGCYoungAdultLimitRemoved&&!L&&(0,a.jsx)(Y,{interactionId:S,onReviewLimits:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>G({action:b.Ig6.DISMISS})})}),(0,a.jsx)(V.A,{name:"InteractionHighRiskCustomEmail",children:v.showHighRiskCustomEmailDialog&&(0,a.jsx)($,{onConfirm:()=>G({action:b.Ig6.ACKNOWLEDGE}),onDismiss:()=>{M(!0),G({action:b.Ig6.DISMISS,acknowledge:!1})}})}),(0,a.jsx)(V.A,{name:"InteractionSGABrandsmergeRemoveLimits",children:v.showSGABrandsmergeRemoveLimitsDialog&&(0,a.jsx)(g,{onAccept:()=>{G({action:b.Ig6.ACKNOWLEDGE})},onAcceptAndChange:async()=>{await G({action:b.Ig6.RG_TOOLS}),c.push(s.Vu.RG)}})}),(0,a.jsx)(V.A,{name:"InteractionHighRiskInteraction",children:v.showHighRiskInteractionDialog&&w&&(0,a.jsx)(et,{onViewLimits:async()=>{await G({action:b.Ig6.ACKNOWLEDGE}),c.push(s.Vu.RG)},onDismiss:()=>{G({action:b.Ig6.DISMISS})}})}),t]})}},3557:(e,i,t)=>{t.d(i,{A:()=>n});var a=t(80263);let n=(0,t(58905).A)((0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"m3.32 6.14 8.459-4.09a.51.51 0 0 1 .442 0l8.49 4.105a.51.51 0 0 1 .288.457L21 13.026C21 17.962 16.95 22 12 22s-9-4.038-9-8.974V6.612a.51.51 0 0 1 .32-.473Zm.699.789 7.98-3.859 7.982 3.859v6.096c0 4.377-3.592 7.959-7.981 7.959-4.39 0-7.981-3.582-7.981-7.959z",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M12.6 12v3.8c0 .387-.213.7-.6.7s-.6-.313-.6-.7V12c0-.387.213-.7.6-.7s.6.313.6.7m-.101-2.301A.68.68 0 0 1 12 9.9a.68.68 0 0 1-.499-.201.68.68 0 0 1-.201-.499q0-.298.201-.499A.68.68 0 0 1 12 8.5q.297 0 .499.201c.202.201.201.3.201.499a.68.68 0 0 1-.201.499"})]}),"InfoShield")},9824:(e,i,t)=>{t.d(i,{A:()=>s});var a=t(53239),n=t(15289),l=t(66926),o=t(31799);let s=function(){let e=(0,a.useContext)(o.A),i=(0,a.useRef)(e),t=(0,a.useContext)(n.A),s=(0,a.useContext)(l.A);(0,a.useEffect)(()=>{(null==t?void 0:t.sessionCounters)&&!i.current&&s()},[e])}},15905:(e,i,t)=>{t.d(i,{A:()=>x});var a=t(80263),n=t(34198),l=t(53239),o=t(51631),s=t(92757),r=t(94735),d=t(15289),u=t(31799),c=t(649
107),m=t(7659),g=t(51285),h=t(65969),A=t(63022),p=t(61503);let f=(0,p.YK)({title:{id:"SessionLimitCheckDialogContent.title",defaultMessage:"You will be logged out soon"},limitPeriodSessionSet:{id:"SessionLimitCheckDialogContent.limitPeriodSessionSet",defaultMessage:"You have a session limit set."},limitPeriodDailySet:{id:"SessionLimitCheckDialogContent.limitPeriodDailySet",defaultMessage:"You have a daily session limit set."},limitPeriodWeeklySet:{id:"SessionLimitCheckDialogContent.limitPeriodWeeklySet",defaultMessage:"You have a weekly session limit set."},limitPeriodMonthlySet:{id:"SessionLimitCheckDialogContent.limitPeriodMonthlySet",defaultMessage:"You have a monthly session limit set."},description:{id:"SessionLimitCheckDialogContent.description",defaultMessage:"Your limit is about to be reached. You will be automatically logged out in {alertThresholdInMinutes} minutes."},buttonQuitLabel:{id:"SessionLimitCheckDialogContent.buttonQuitLabel",defaultMessage:"Log out"},buttonContinueLabel:{id:"SessionLimitCheckDialogContent.buttonContinueLabel",defaultMessage:"Continue"}}),b=e=>{let{onQuitPlaying:i,onContinuePlaying:t,alertThresholdInMinutes:n,periodType:l}=e,o=(0,p.tz)(),s=o.formatMessage(f.limitPeriodSessionSet);switch(l){case"DAY":s=o.formatMessage(f.limitPeriodDailySet);break;case"WEEK":s=o.formatMessage(f.limitPeriodWeeklySet);break;case"MONTH":s=o.formatMessage(f.limitPeriodMonthlySet)}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{children:o.formatMessage(f.title)}),(0,a.jsx)(m.A,{children:(0,a.jsx)(g.A,{children:"".concat(s," ").concat(o.formatMessage(f.description,{alertThresholdInMinutes:n}))})}),(0,a.jsxs)(A.V,{children:[(0,a.jsx)(h.A,{onClick:i,color:"primary",tabIndex:0,children:o.formatMessage(f.buttonQuitLabel)}),(0,a.jsx)(h.A,{onClick:t,color:"primary",variant:"contained",tabIndex:0,children:o.formatMessage(f.buttonContinueLabel)})]})]})};var y=t(89982);let x=()=>{var e,i;let t=(0,n.useRouter)(),c=(0,l.useContext)(u.A),m=(0,l.useContext)(d.A),g=null!=(e=null==m?void 0:m.sessionCounters)?e:null,{timeIntervalInMs:h,periodType:A}=((e,i,t,a)=>{let n=0,l="",o=0x80000000-1;if(t){for(let o of t)if(null==o?void 0:o.remainingInPeriod){let t=(0,y.qg)(null==o?void 0:o.remainingInPeriod),s=0;t&&(s=(null==o?void 0:o.periodType)==="SESSION"?(e?e+1e3*(0,y.fP)(t,a)-i:0)-Date.now():1e3*(0,y.fP)(t,a)-i),s>0&&(0===n||s<n)&&(l=null==o?void 0:o.periodType,n=s)}}return(n=100*Math.round(n/100))>o&&(n=o),{timeIntervalInMs:n,periodType:l}})(null!=(i=null==m?void 0:m.lastLoginTimeInMs)?i:null,3e5,g),p=(0,l.useRef)(null),[f,x]=(0,l.useState)(!1),I=()=>{null!==p.current&&(clearInterval(p.current),p.current=null)};return((0,l.useEffect)(()=>((e=>{e>0&&(I(),p.current=setTimeout(()=>{x(!0)},e))})(h),()=>{I()}),[h]),c&&g)?(0,a.jsx)(o.A,{children:(0,a.jsx)(s.A,{open:f,PaperProps:{elevation:10},sx:{zIndex:e=>e.zIndex.tooltip+1},children:f&&(0,a.jsx)(b,{onQuitPlaying:()=>{I(),t.push(r.Vu.LOGOUT)},onContinuePlaying:()=>{x(!1)},alertThresholdInMinutes:5,periodType:A})})}):null}},24283:(e,i,t)=>{t.d(i,{A:()=>m});var a=t(80263),n=t(41444),l=t.n(n),o=t(53239),s=t(60907),r=t(85974),d=t(69622);let u="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",c=[],m=e=>{let{transformations:i=c,consumer:t="",onError:n,onLoad:m,onReady:g,...h}=e,[A,p]=(0,o.useState)(!1),[f,b]=(0,o.useState)(!1),y=(0,o.useRef)(null),x=(0,o.useContext)(r.A);(0,o.useEffect)(()=>{let e=y.current;b(!!(null==e?void 0:e.complete)&&e.naturalWidth>0)},[h.src]),(0,o.useEffect)(()=>{(f||A)&&(null==g||g())},[f,A,g]);let I=(0,o.useCallback)(e=>{p(!0),null==x||x.addAction("CMS_IMAGE_ERROR",{image:{src:h.src,consumer:t,transformations:i.join(",")}}),null==n||n(e)},[x,h.src,t,i,n]),L=(0,o.useCallback)(e=>{b(!0),null==m||m(e)},[m]),S=(0,o.useCallback)(e=>{let{src:a,width:n,quality:l}=e,o=[...i,"w-".concat(n)];if(!a)return console.warn("CMSImage was rendered without a valid 'src'. Parent Consumer: ".concat(t)),u;l&&o.push("q-".concat(l));let s=o.join(",");return"".concat(a,"?tr=").concat(s)},[i,t]);if(A)return(0,a.jsx)(l(),{...h,src:u,loader:S,unoptimized:!0});let k=(0,a.jsx)(l(),{ref:y,loader:S,onError:I,onLoad:L,...h}),D=!f&&(0,a.jsx)(d.A,{variant:"rectangular","data-testid":"cms-image-skeleton",sx:{position:"absolute",inset:0,width:"100%",height:"100%"}});return h.fill?(0,a.jsxs)(a.Fragment,{children:[k,D]}):(0,a.jsxs)(s.A,{component:"span",sx:{position:"relative",display:"inline-block",lineHeight:0},children:[k,D]})}},26020:(e,i,t)=>{t.d(i,{A:()=>T});var a=t(80263);let n=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}
1],i=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"UpdatePlayerProfilePayload",kind:"LinkedField",name:"updateProfile",plural:!1,selections:[{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"EmailDialogMutation",selections:i,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"EmailDialogMutation",selections:i},params:{id:"3eef496e49067ba328c70971305cddf3",metadata:{},name:"EmailDialogMutation",operationKind:"mutation",text:null}}}();n.hash="1c3f24385b92130a4c575e44826c30d2";var l=t(53239);t(62271);var o=t(75926),s=t(73455),r=t(64907),d=t(7659),u=t(1819),c=t(60907),m=t(52632),g=t(42016),h=t(94735),A=t(45510),p=t(81930),f=t(88147),b=t(46374),y=t(17122),x=t(57431),I=t(64444),L=t(37599),S=t(81554),k=t(14767),D=t(61503),C=t(44221);let M=(0,D.YK)({title:{id:"EmailDialog.title",defaultMessage:"Hi {player}"},errorTitle:{id:"EmailDialog.errorTitle",defaultMessage:"Something went wrong"},errorMessage:{id:"EmailDialog.errorMessage",defaultMessage:"The email provided cannot be verified. Please ensure that it is a valid email with the correct format. If you need assistance please reach out to Customer Support."},description:{id:"EmailDialog.description",defaultMessage:"<paragraph>We need your email address to give you a better user experience with us. Please input your email address in the field below.</paragraph><paragraph>You can see your communication preferences in your settings.</paragraph>"},emailLabel:{id:"EmailDialog.emailLabel",defaultMessage:"Email"},emailPlaceholder:{id:"EmailDialog.emailPlaceholder",defaultMessage:"[email protected]"},emailInvalid:{id:"EmailDialog.emailInvalid",defaultMessage:"Please enter a valid email"},emailRequired:{id:"EmailDialog.emailRequired",defaultMessage:"Email is required"},buttonSubmitLabel:{id:"EmailDialog.buttonSubmitLabel",defaultMessage:"Continue"}}),v=(0,g.Ik)({email:(0,g.Yj)().required(M.emailRequired).matches(o.patterns.email,()=>M.emailInvalid)}),T=e=>{var i;let{onComplete:t}=e,o=(0,D.tz)(),g=(0,s.A)(),T=(0,l.useContext)(S.A),R=(0,l.useContext)(p.A),_=(0,l.useContext)(I.A),E=(0,l.useContext)(L.A),[j,w]=(0,l.useState)(!1),G=async e=>{w(!1);try{await (0,A.A)(T,{mutation:n,variables:{input:e},updater:C.A}),R.notify({type:"ApplicationCheck",name:"EmailDialog",state:"complete"}),t()}catch(e){_.error({error:e},"EmailDialog -> handleSubmit"),R.notify({type:"ApplicationCheck",name:"EmailDialog",state:"error"}),w(!0)}};return(0,a.jsxs)(k.A,{PaperProps:{elevation:10},fullWidth:!0,maxWidth:"xs",children:[(0,a.jsx)(r.A,{...h.fg,children:o.formatMessage(M.title,{player:null!=(i=null==E?void 0:E.firstname)?i:""})}),(0,a.jsx)(d.A,{children:(0,a.jsxs)(u.A,{spacing:2,children:[j&&(0,a.jsx)(f.Ay,{type:f.bI.ERROR,title:o.formatMessage(M.errorTitle),children:o.formatMessage(M.errorMessage)}),(0,a.jsx)(c.A,{children:o.formatMessage(M.description,{paragraph:(0,D.VQ)()})}),(0,a.jsx)(m.l1,{initialValues:{email:""},validationSchema:v,onSubmit:G,validateOnMount:!0,children:(0,a.jsx)(b.A,{children:(0,a.jsxs)(u.A,{spacing:2,children:[(0,a.jsx)(x.A,{autoFocus:!0,fullWidth:!0,variant:"outlined",label:o.formatMessage(M.emailLabel),placeholder:o.formatMessage(M.emailPlaceholder),type:"email",name:"email",autoComplete:"email",InputLabelProps:{style:{color:g.palette.text.primary}},"bol-component":"email-dialog-input",slotProps:{htmlInput:{"aria-required":"true"}}}),(0,a.jsx)(y.A,{color:"primary",variant:"contained",type:"submit","bol-component":"email-dialog-submit-button",fullWidth:!0,children:o.formatMessage(M.buttonSubmitLabel)})]})})})]})})]})}},27561:(e,i,t)=>{t.d(i,{A:()=>o});var a=t(53239),n=t(53211),l=t(28057);function o(){let e=(0,a.useContext)(n.A);return(0,a.useMemo)(()=>{var i,t;return null==e||null==(t=e.filter(e=>e.type===l._Q4.RG_RISK_LEVEL))||null==(i=t.sort((e,i)=>{var t,a;return Number(null!=(t=i.riskLevel)?t:0)-Number(null!=(a=e.riskLevel)?a:0)}))?void 0:i[0]},[e])}},27840:(e,i,t)=>{t.d(i,{A:()=>c});var a=t(80263),n=t(92757),l=t(64907),o=t(7659),s=t(16747),r=t(61503),d=t(63022);let u=(0,r.YK)({buttonConfirmLabel:{id:"ConfirmDialog.index.buttonConfirmLabel",defaultMessage:"Confirm"},buttonCancelLabel:{id:"ConfirmDialog.index.buttonCancelLabel",defaultMessage:"Cancel"}});function c(e){var i,t;let{open:c,onCancel:m,onConfirm:g,title:h,children:A,buttonCancelLabel:p,buttonCancelVariant:f,buttonCancelLoading:b=!1,buttonCancelDisabled:y=!1,buttonConfirmLabel:x,buttonConfirmVariant:I,buttonConfirmLoading:L=!1,buttonConfirmDisabled:S=!1,renderCancelButton:k,renderConfirmButton:D,reverseButtons:C=!1,bolComponent:M="c
1onfirm-dialog",PaperProps:v,dividers:T=!1,...R}=e,_=(0,r.tz)(),E=null!=(i=null==k?void 0:k({onCancel:m}))?i:(0,a.jsx)(s.A,{isLoading:b,disabled:y,onClick:m,color:"primary",variant:f,"bol-component":"button-cancel",children:p||_.formatMessage(u.buttonCancelLabel)}),j=null!=(t=null==D?void 0:D({onConfirm:g}))?t:(0,a.jsx)(s.A,{isLoading:L,disabled:S,onClick:g,color:"primary",variant:I,"bol-component":"confirm-button",children:x||_.formatMessage(u.buttonConfirmLabel)});return(0,a.jsxs)(n.A,{open:c,...R,PaperProps:{"bol-component":M,...v},children:[h&&(0,a.jsx)(l.A,{children:h}),A&&(0,a.jsx)(o.A,{dividers:T,children:A}),(0,a.jsx)(d.V,{children:C?(0,a.jsxs)(a.Fragment,{children:[j,E]}):(0,a.jsxs)(a.Fragment,{children:[E,j]})})]})}},28999:(e,i,t)=>{t.d(i,{A:()=>_});var a=t(80263),n=t(53239),l=t(10415),o=t(37599),s=t(14767),r=t(30185),d=t(64907),u=t(7659),c=t(60907),m=t(46563),g=t(80603),h=t(26555),A=t(65969),p=t(52632);let f=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],i=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"UpdatePlayerProfilePayload",kind:"LinkedField",name:"updateProfile",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"updateEditProfileMutation",selections:i,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"updateEditProfileMutation",selections:i},params:{id:"a290996535c38c2d4f02cff94ca90ba5",metadata:{},name:"updateEditProfileMutation",operationKind:"mutation",text:null}}}();f.hash="8dc00b472cf9295a53038c2c5a321573";let b=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"updateEditProfileMutationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Literal",name:"authenticated",value:!0}],kind:"FragmentSpread",name:"PlayerContextQuery_viewer"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"updateEditProfileMutationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"Player",kind:"LinkedField",name:"player",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"playerUid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"currencyCode",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdTimestamp",storageKey:null},{alias:null,args:null,concreteType:"Sessions",kind:"LinkedField",name:"sessions",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"previousLoginTimestamp",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PrivacyPolicy",kind:"LinkedField",name:"privacyPolicy",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"TermsAndConditions",kind:"LinkedField",name:"termsAndConditions",plural:!1,selections:i,storageKey:null},{alias:null,args:null,concreteType:"Profile",kind:"LinkedField",name:"profile",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"countryCode",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"region",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"address1",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ukAddress",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"city",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"zip",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"languageCode",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptedTnC",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"firstname",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lastname",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"dateOfBirth",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mobilePhone",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mobilePhonePrefix",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"nickname",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"welcomeOffer",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mobileValidated",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"emailValidated",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptsCrossBrandMarketing",storageKey:null},{alias:null,args:null,concreteType:"KeyValue",kind:"LinkedField",name:"meta",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PlayerCommunicationPreferencesPayload",kind:"LinkedField",name:"communicationPreferences",plural:!1,selections:[{alias:null,args:null,concreteType:"PlayerCommunicationPreferences",kind:"LinkedField",name:"preferences",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"categoryId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"categoryName",storageKey:null},{alias:null,args:null,concreteType:"PlayerCommunicationPreference",kind:"LinkedField",name:"preference",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"acceptsCall",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptsEmail",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptsMail",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptsSms",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"acceptsSocialMedia",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"license",storageKey:null},{alias:null,args:null,concreteType:"Accounts",kind:"LinkedField",name:"accounts",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"type",value:"REAL"}],kind:"ScalarField",name:"balance",storageKey:'balance(type:"REAL")'}],storageKey:null},{alias:null,args:null,concreteType:"HvpStatus",kind:"LinkedField",name:"hvpStatus",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"updatedTimestamp",storageKey:null}],storageKey:null}],storageKey:null},e],storageKey:null}]},params:{id:"7b118b972c883277dcb977f8c7d9b537",metadata:{},name:"updateEditProfileMutationQuery",operationKind:"query",text:null}}}();b.hash="84456964be1588d12338ded34db9d5d8";var y=t(62271),x=t(34613),I=t(45510),L=t(80641),S=t(81930),k=t(46374),D=t(71538),C=t(81554),M=t(61503);let v=(0,M.YK)({heading:{id:"PhoneNumberForm.heading",defaultMessage:"Help us protect your account"},info:{id:"PhoneNumberForm.info",defaultMessage:"Enter your phone number to avoid potential delays with your future winnings"},buttonSaveLabel:{id:"PhoneNumberForm.buttonSaveLabel",defaultMessage:"Save"},label:{id:"PhoneNumberForm.label",defaultMessage:"Phone number"}}),T=e=>{var i,t;let{onComplete:l}=e,s=(0,M.tz)(),r=(0,n.useContext)(C.A),T=(0,n.useContext)(o.A),R=(0,n.useContext)(S.A),_=(0,n.useContext)(L.A),E=(0,n.useMemo)(()=>(0,D.FS)({countries:_}),[_]),j={mobilePhonePrefix:null!=(i=null==T?void 0:T.mobilePhonePrefix)?i:"",mobilePhone:null!=(t=null==T?void 0:T.mobilePhone)?t:""},w=async(e,i)=>{i.setSubmitting(!0);try{await ((e,i)=>(0,I.A)(e,{mutation:f,variables:{input:i},updater:e=>{(0,x.r_)(e,[[["viewer","player","profile"],i]])}}).then(()=>{(0,y.fetchQuery)(e,b,{}).toPromise()}))(r,{...e}),R.notify({type:"ApplicationCheck",name:"PhoneNumber",state:"complete"})}catch(e){R.notify({type:"ApplicationCheck",name:"PhoneNumber",state:"error"})}finally{i.setSubmitting(!1),l()}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.A,{children:s.formatMessage(v.heading)}),(0,a.jsx)(p.l1,{initialValues:j,initialTouched:{mobilePhonePrefix:!!j.mobilePhonePrefix,mobilePhone:!!j.mobilePhone},onSubmit:w,validationSchema:E,validateOnMount:!0,children:e=>{let{isValid:i}=e;return(0,a.jsxs)(k.A,{children:[(0,a.jsxs)(u.A,{children:[(0,a.jsx)(c.A,{mb:{xs:2,sm:3},children:(0,a.jsx)(m.A,{variant:"body2",children:s.formatMessage(v.info)})}),(0,a.jsx)(g.A,{container:!0,children:(0,a.jsx)(D.Ay,{countries:_,defaultCountry:null==T?void 0:T.country})})]}),(0,a.jsx)(h.A,{children:(0,a.jsx)(A.A,{color:"primary",variant:"contained",type:"submit",disabled:!i,children:s.formatMessage(v.buttonSaveLabel)})})]})}})]})},R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!e||!i},_=()=>{let e=(0,n.useContext)(o.A),i=null==e?void 0:e.mobilePhonePrefix,t=null==e?void 0:e.mobilePhone,d=(0,r.A)(),[u,c]=(0,n.use
1State)(R(i,t)),m=!d&&e&&u;return(0,n.useEffect)(()=>{c(R(i,t))},[i,t]),(0,a.jsx)(l.A,{name:"PhoneNumber",children:m&&(0,a.jsx)(s.A,{children:(0,a.jsx)(T,{onComplete:()=>{c(!1)}})})})}},30116:(e,i,t)=>{t.d(i,{A:()=>a});function a(e,i){let t=Math.ceil(e);return Math.floor(Math.random()*(Math.floor(i)-t+1)+t)}},44221:(e,i,t)=>{t.d(i,{A:()=>a});function a(e){var i,t,a;let n=null==(t=e.getRoot().getLinkedRecord("viewer"))||null==(i=t.getLinkedRecord("player"))?void 0:i.getLinkedRecord("profile"),l=null==(a=e.getRootField("updateProfile"))?void 0:a.getLinkedRecord("profile");n&&l&&n.copyFieldsFrom(l)}},53648:(e,i,t)=>{t.d(i,{A:()=>n});var a=t(80263);let n=(0,t(58905).A)((0,a.jsx)("path",{fillRule:"evenodd",d:"M18.753 19.094h3.229V4.945H1.996v14.15zm-12.458-1.11h11.389a3.79 3.79 0 0 1 3.188-3.188V9.243a3.79 3.79 0 0 1-3.188-3.188H6.294a3.79 3.79 0 0 1-3.188 3.188v5.553a3.79 3.79 0 0 1 3.189 3.188m-1.128 0a2.68 2.68 0 0 0-2.06-2.06v2.06zm-2.06-11.93h2.06a2.68 2.68 0 0 1-2.06 2.062zm15.704 11.93h2.061v-2.06a2.68 2.68 0 0 0-2.061 2.06m2.061-11.93v2.062a2.68 2.68 0 0 1-2.061-2.061zm-8.822 9.811a3.846 3.846 0 1 0 0-7.691 3.846 3.846 0 0 0 0 7.691m0-1.11a2.736 2.736 0 1 1 0-5.471 2.736 2.736 0 0 1 0 5.471",clipRule:"evenodd"}),"MoneyOutlined")},55772:(e,i,t)=>{t.d(i,{A:()=>a});let a=(0,t(53239).createContext)({show:!1,keepRealityCheckTimerOn:()=>{},cancelRealityCheckTimer:()=>{},getTotalTime:()=>0})},58381:(e,i,t)=>{t.d(i,{N:()=>n,_:()=>a});let a=(e,i)=>!!Array.isArray(e)&&!!e.find(e=>e.restriction===i),n=(e,i)=>{if(Array.isArray(e))return e.find(e=>e.restriction===i)}},63507:(e,i,t)=>{function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return 60*e*1e3}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e/6e4}(e);return{hours:Math.floor(i/60),minutes:Math.floor(i%60),seconds:Math.floor(e%6e4/1e3)}}t.d(i,{TV:()=>a,lP:()=>n})},69622:(e,i,t)=>{t.d(i,{A:()=>s});var a=t(80263),n=t(53239),l=t(11012),o=t(30116);let s=e=>{let{animation:i="wave",variant:t,width:s,sx:r={},text:d,...u}=e,c=(0,n.useRef)(null);null!=c.current||(c.current=(0,o.A)(50,300));let m="text"!==t||s?s:d?7*d.length:c.current;return(0,a.jsx)(l.A,{animation:i,variant:t,width:m,sx:r,...u})}},74346:(e,i,t)=>{t.d(i,{A:()=>M});var a=t(80263),n=t(34198),l=t(53239),o=t(51631),s=t(92757),r=t(94735),d=t(55772),u=t(31799),c=t(64444),m=t(94609),g=t(64907),h=t(7659),A=t(51285),p=t(60907),f=t(92027),b=t(65969),y=t(67280),x=t(87924),I=t(63022),L=t(26208),S=t(61503),k=t(63507);let D=(0,S.YK)({title:{id:"RealityCheckDialogContent.title",defaultMessage:"Reality Check"},description:{id:"RealityCheckDialogContent.description",defaultMessage:"{time} {timeType, select, hour {hour has} hours {hours have} minutes {minutes have} other {have}} passed since you logged in. Maybe it's time for a break? {wageredInfo} {descriptionBalance}"},wageredInfo:{id:"RealityCheckDialogContent.wageredInfo",defaultMessage:"You have wagered <bold>{wagered}</bold>."},descriptionBalance:{id:"RealityCheckDialogContent.descriptionBalance",defaultMessage:"Your balance has been {balanceState, select, increased {increased} decreased {decreased} other {}} by <bold>{balance}</bold> during this period."},descriptionAccountHistory:{id:"RealityCheckDialogContent.descriptionAccountHistory",defaultMessage:"Take a look at your <link>account history</link> if you'd like."},buttonQuitLabel:{id:"RealityCheckDialogContent.buttonQuitLabel",defaultMessage:"Log out"},buttonContinueLabel:{id:"RealityCheckDialogContent.buttonContinueLabel",defaultMessage:"Continue"},checkboxUnderstandLabel:{id:"RealityCheckDialogContent.checkboxUnderstandLabel",defaultMessage:"I understand"}}),C=e=>{let{showNetBalance:i,showWageredAmount:t,showTitle:n,showConfirmationCheckbox:o,showAccountHistoryLink:s,handleQuitPlaying:u,handleContinuePlaying:c}=e,m=(0,S.tz)(),{getTotalTime:C}=(0,l.useContext)(d.A),{session:M,wagered:v}=(0,l.useContext)(y.A),T=(0,L.A)(),[R,_]=(0,l.useState)(!1),{hours:E,minutes:j}=(0,k.lP)(C()),w=E>0?"".concat(E,":").concat(j<10?"0".concat(j):j):"".concat(j);return(0,a.jsxs)(a.Fragment,{children:[n&&(0,a.jsx)(g.A,{"data-testid":"time_alert_title",children:m.formatMessage(D.title)}),(0,a.jsxs)(h.A,{"data-testid":"time_alert_body",children:[(0,a.jsxs)(A.A,{children:[m.formatMessage(D.description,{time:w,timeType:0===E?"minutes":1===E?"hour":"hours",wageredInfo:t&&null!==v?m.formatMessage(D.wageredInfo,{bold:(0,S.R_)(),wagered:T(v)}):"",descriptionBalance:i&&null!==M?m.formatMessage(D.descriptionBalance,{bold:(0,S.R_)(),balance:T(Math.abs(M)),balanceState:M>=0?"increased":"decreased"}):""}),s&&(0,a.jsx)(a.Fragment,{children:m.formatMessage(D.descriptionAccountHistory,{link:(0,S.T1)({NextLinkProps:{href:r.Vu.ACCOUNT_HISTORY_GAMING},LinkProps:{underline:"always",onClick:()=>{c()}}}),br:(0,a.jsx)("br",{})})})]}),o&&(0,a.jsx)(p.A,{sx:{mt:1},children:(0,a.jsx)(A.A,{children:(0,a.jsx)(f.A,{control:(0,a.jsx)(x.A,{checked:R,onChange:()=>{_(!R)},inputProps:{"data-testid":"time_alert_checkbox"},autoFocus:!0}),label:m.formatMessage(D.checkboxUnderstandLabel)})})})]}),(0,a.jsxs)(I.V,{children:[(0,a.jsx)(b.A,{onClick:u,tabIndex:0,"data-testid":"time_alert_logout_btn",children:m.formatMessage(D.buttonQuitLabel)}),(0,a.jsx)(b.A,{onClick:c,disabled:o&&!R,tabIndex:0,variant:"contained","data-testid":"time_alert_continue_btn",children:m.formatMessage(D.buttonContinueLabel)})]})]})},M=e=>{let{showNetBalance:i=!0,showWageredAmount:t=!1,showAccountHistoryLink:g=!1,showTitle:h=!0,showConfirmationCheckbox:A=!0}=e,p=(0,n.useRouter)(),f=(0,l.useContext)(u.A),b=(0,l.useContext)(m.A),y=(0,l.useContext)(c.A),{show:x,keepRealityCheckTimerOn:I,cancelRealityCheckTimer:L}
1=(0,l.useContext)(d.A),[S,k]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{(async()=>{if(x)try{await b()}catch(e){y.error({error:e},"RealityCheck")}k(x)})()},[x]),f)?(0,a.jsx)(o.A,{children:(0,a.jsx)(s.A,{open:S,PaperProps:{elevation:10},sx:{zIndex:e=>e.zIndex.tooltip+1},children:S&&(0,a.jsx)(C,{showNetBalance:i,showWageredAmount:t,showAccountHistoryLink:g,showTitle:h,showConfirmationCheckbox:A,handleQuitPlaying:function(){L(),p.push(r.Vu.LOGOUT)},handleContinuePlaying:function(){I()}})})}):null}},85424:(e,i,t)=>{t.d(i,{Ay:()=>E,b1:()=>T,vl:()=>R});var a=t(80263),n=t(88003),l=t.n(n),o=t(34198),s=t(53239),r=t(60907),d=t(65969),u=t(44441),c=t(94735),m=t(53648),g=t(87212),h=t(40154),A=t(27666),p=t(3523),f=t(44645),b=t(51275),y=t(29905),x=t(72585),I=t(27561),L=t(6066),S=t(53097),k=t(66457),D=t(61503),C=t(54795),M=t(96228);let v=(0,D.YK)({lowBalance:{id:"LowBalanceSnackbar.lowBalance",defaultMessage:"Your balance is low!"},depositButtonText:{id:"LowBalanceSnackbar.depositButtonText",defaultMessage:"Deposit"}});var T=function(e){return e.DEFAULT="default",e.CURRENT_DESIGN="current-design",e.SHOW_IN_LOBBY="variant-a",e.SHOW_IN_GAME_AND_LOBBY="variant-b",e}({});let R="t-090-in-game-low-balance-prompt",_=["RG_PREDICTED_RISK_CATEGORY","RG_MANUAL_RISK_CATEGORY"],E=function(){var e;let i=(0,o.useRouter)(),{real:t}=(0,s.useContext)(A.A),{depositCount:n}=(0,s.useContext)(h.A),{remaining:T}=(0,s.useContext)(g.A),{cmsPageUrls:E}=(0,s.useContext)(p.Ay),j=(0,y.A)(),w=!0===(0,x.A)("USE"),{enqueueSnackbar:G,closeSnackbar:P}=(0,u.dh)(),K=(0,D.tz)(),[O]=(0,C.A)(),[N,F]=(0,S.A)("hasBeenDismissedLowBalanceSnackbar",!1),[H,U]=(0,s.useState)(),Y=(0,k.A)(R,"default"),V=O.initialized,W=(0,s.useMemo)(()=>["",c.Vu.ROOT,...Object.values(E.verticalUrl)].includes(i.asPath),[E.verticalUrl,i.asPath]),B=(0,I.A)(),z=(0,M.A)(),Q=(0,L.A)(_),q="number"==typeof(null==T||null==(e=T.combined)?void 0:e.remaining)&&T.combined.remaining<(null!=j?j:f.xk),J=n>0&&w&&!q&&!(B||z||Q),Z=(0,s.useMemo)(()=>!["default","current-design"].includes(Y)&&("variant-a"===Y?W:"variant-b"===Y&&(W||V)),[Y,V,W]);return(0,s.useEffect)(()=>{let e=Z&&J&&!N&&null!==t&&t<=f.se;if(e&&!H){let e=G(...(0,b.A)({key:"LowBalanceSnackbar",title:K.formatMessage(v.lowBalance),onExited:()=>{F(!0),U(void 0)},body:e=>(0,a.jsx)(r.A,{textAlign:"right",mt:1,children:(0,a.jsx)(d.A,{component:l(),href:c.Vu.PAYMENT_DEPOSIT,color:"primary",size:"small",onClick:()=>P(e),children:K.formatMessage(v.depositButtonText)})}),variant:"info",autoHideDuration:1e4,iconVariant:{info:(0,a.jsx)(m.A,{})},sx:{'& [class*="Snackbar-container"]':{p:2},"& .snackbar-content":{pl:1.25,pr:0},'& [class*="Snackbar-icon"]':{width:{xs:40,sm:40},height:{xs:40,sm:40},mb:0,"& .MuiSvgIcon-root":{width:{xs:24,sm:24},height:{xs:24,sm:24}}}}}));U(e)}else!e&&H&&(P(H),U(void 0))},[Z,f.se,t,N,J,G,P,F,K,H]),null}},87924:(e,i,t)=>{t.d(i,{A:()=>s});var a=t(80263),n=t(24644),l=t(8019),o=t(84868);let s=function(e){var i,t;let{customIcon:s,...r}=e,d=(0,a.jsx)(l.A,{}),u=(0,a.jsx)(o.A,{});return(0,a.jsx)(n.A,{icon:null!=(i=null==s?void 0:s.default)?i:d,checkedIcon:null!=(t=null==s?void 0:s.checked)?t:u,...r})}},96228:(e,i,t)=>{t.d(i,{A:()=>s});var a=t(53239),n=t(53211),l=t(39844),o=t(28057);function s(){let e=(0,a.useContext)(n.A),i=(0,l.A)(),t=(0,a.useMemo)(()=>null==e?void 0:e.find(e=>{let{type:i}=e;return i===o._Q4.UK_AFFORDABILITY}),[e]),s=void 0!==t,r=null==t?void 0:t.id,d=null==t?void 0:t.monthlySpend;return(0,a.useEffect)(()=>{if(s){if(!r)return void i.warn({monthlySpend:d},"UK affordability banner will not be shown, interaction has no id");void 0===d&&i.warn({interactionId:r},"UK affordability banner will not be shown, interaction has no usable monthlySpend metadata")}},[s,r,d,i]),(0,a.useMemo)(()=>(null==t?void 0:t.id)&&void 0!==t.monthlySpend?{...t,monthlySpend:t.monthlySpend}:void 0,[t])}}}]);
2//# sourceMappingURL=98836.487c4294953335fd.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.