PageSourceSearch

https://www.virginbet.co.za/oneTimePasswordModal.471c1b59.js

js virginbet.co.za collected 2026-10-06 07:19:06 UTC 13,706 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9036],{"+ng0":(e,t,n)=>{n.d(t,{A:()=>u});var o=n("mXGw"),r=n("injf"),i=n("wcUu"),l=n("gDpn"),a=n("Fumo"),c=n("BjUd");const d=l.Ay.div.withConfig({componentId:"sc-1pwauc2-0"})(["z-index:2;",";",";color:",";",";",";& > span{padding-top:",";align-self:flex-start;}"],function(e){return!e.fullScreenView&&i.tGk?(0,l.AH)(["position:",";width:100%;z-index:4;top:",";"],c.lb4?"static":"fixed",function(e){var t=e.visualizationHeight,n=e.messagesHeight;return(0,i.KQt)(t+n)}):"position: relative;"},function(e){return e.showShadow&&(0,l.AH)(["box-shadow:"," ",";"],(0,i.KQt)(0,0,12,4),(0,i.No6)(.8,a.jde))},a.jde,function(e){return e.sticky&&!i.tGk&&(0,l.AH)(["position:sticky;top:0;z-index:4;"])},function(e){var t=e.withoutBackground,n=e.opacity,o=void 0===n?0:n,r=e.racingView,c=e.backgroundColor;return c?(0,l.AH)(["background-color:",";"],c):r?(0,l.AH)(["background-color:",";"],a.Vfb):t?null:(0,l.AH)(["background-color:",";"],(0,i.No6)(o,a.UEl))},(0,i.KQt)(20));const u=function(e){var t=e.children,n=e.showShadow,l=void 0===n?i.tGk:n,a=e.sticky,c=e.withoutBackground,u=e.opacity,s=e.racingView,f=e.backgroundColor,g=e.fullScreenView,p=(0,r.d4)(function(e){return e.getIn(["visualization","height"],0)}),m=(0,r.d4)(function(e){return e.getIn(["messages","height"])});return o.createElement(d,{visualizationHeight:p,showShadow:l,sticky:a,messagesHeight:m,withoutBackground:c,opacity:u,racingView:s,backgroundColor:f,fullScreenView:g},t)}},"5d/A":(e,t,n)=>{n.d(t,{A:()=>u});var o=n("9a4U"),r=n("mXGw"),i=n("BjUd"),l=n("gDpn"),a=n("Fumo");const c=l.Ay.div.withConfig({componentId:"sc-15k3u25-0"})(["width:100%;background-color:",";"],a.d5Y);var d=["children"];const u=function(e){var t=e.children,n=(0,o.A)(e,d);return i.lY7?r.createElement(c,n,t):t}},bEm3:(e,t,n)=>{n.d(t,{A:()=>u});var o=n("mXGw"),r=n("gDpn"),i=n("wcUu"),l=n("Fumo"),a=n("JOM/");const c=(0,r.Ay)(a.A).withConfig({componentId:"sc-1crom48-0"})(["position:relative;width:",";height:",";"," border-radius:50%;display:flex;justify-content:center;align-items:center;pointer-events:",";cursor:",";box-sizing:border-box;&::before{content:'';position:absolute;inset:",";}"],function(e){var t=e.size;return(0,i.KQt)(t||32)},function(e){var t=e.size;return(0,i.KQt)(t||32)},function(e){var t=e.disabled,n=e.selected,o=e.inverted,a=e.color;return t?(0,r.AH)(["border:"," solid ",";"],(0,i.KQt)(2),l.n2r):a?(0,r.AH)(["border:"," solid ",";"],(0,i.KQt)(2),a):o&&n?(0,r.AH)(["border:"," solid ",";"],(0,i.KQt)(2),l.SEg):(0,r.AH)(["border:"," solid ",";"],(0,i.KQt)(2),l.iVj)},function(e){return e.disabled?"none":"auto"},function(e){return e.disabled?"default":"pointer"},(0,i.KQt)(-24));var d=r.Ay.div.withConfig({componentId:"sc-1crom48-1"})(["display:",";background:",";width:",";height:",";border-radius:50%;"],function(e){return e.selected?"block":"none"},function(e){var t=e.inverted,n=e.color;return n||(t?l.SEg:l.dcF)},function(e){var t=e.size;return(0,i.KQt)(5*(t||32)/8)},function(e){var t=e.size;return(0,i.KQt)(5*(t||32)/8)});const u=function(e){var t=e.selected,n=void 0!==t&&t,r=e.disabled,i=void 0!==r&&r,l=e.onClickHandler,a=e.size,u=e.inverted,s=void 0!==u&&u,f=e.color,g=e.ariaLabel;return o.createElement(c,{onClick:l,disabled:i,size:a,selected:n,inverted:s,color:f,role:"radio","aria-checked":n,"aria-label":g},o.createElement(d,{selected:n,disabled:i,size:a,inverted:s,color:f}))}},nk10:(e,t,n)=>{n.r(t),n.d(t,{default:()=>$});var o=n("XLRv"),r=n("mXGw"),i=n("injf"),l=n("wcUu"),a=n("BjUd"),c=n("bwlj"),d=n("Fumo"),u=n("Z5d9"),s=n("ka+2"),f=n("r9rC"),g=n("+ng0"),p=n("sLxn"),m=n("75+U"),h=n("JOM/"),k=n("tR6V"),v=n("kvBl"),A=n("bEm3"),w=n("gDpn"),b=n("GBHu"),E=n("1adk"),x=n("kCAF"),C=n("gjrm"),y=n("eVWp"),K=n("5d/A"),Q=(0,w.Ay)(K.A).withConfig({componentId:"sc-xx2kke-0"})(["background-color:",";"],d.$rY),I=w.Ay.div.withConfig({componentId:"sc-xx2kke-1"})(["height:",";z-index:1;"],(0,l.KQt)(72)),M=(0,w.Ay)(b.A).attrs(function(e){return{name:e.name,width:(0,l.KQt)(286),height:(0,l.KQt)(72)}}).withConfig({componentId:"sc-xx2kke-2"})([""]),S=w.Ay.div.withConfig({componentId:"sc-xx2kke-3"})(["padding:",";flex-grow:1;"],(0,l.KQt)(48,32)),z=w.Ay.h1.withConfig({componentId:"sc-xx2kke-4"})(["color:",";font-size:",";margin:0;"],d.ttG,(0,l.KQt)(48)),H=(0,w.Ay)(p.A).withConfig({componentId:"sc-xx2kke-5"})(["font-size:",";margin-top:",";display:block;color:",";"],(0,l.KQt)(28),(0,l.KQt)(32),d.ttG),V=(0,w.Ay)(E.A).withConfig({componentId:"sc-xx2kke-6"})(["color:",";font-size:",";font-weight:bold;margin-top:",";padding:",";border-radius:",";background:",";width:100%;height:",";box-sizing:border-box;border:"," solid ",";&::placeholder{font-size:",";font-weight:normal;color:",";-webkit-text-fill-color:",";}"],d.ttG,(0,l.KQt)(32),(0,l.KQt)(48),(0,l.KQt)(32),(0,l.KQt)(16),d.uNP,(0,l.KQt)(96),(0,l.KQt)(2),function(e){var t=e.errorMessage,n=e.blankInput?d.jvS:d.ttG;return t?d.OXy:n},(0,l.KQt)(32),d._HP,d._HP),G=(0,w.Ay)(C.A).withConfig({componentId:"sc-xx2kke-7"})(["padding:",";min-height:",";margin-top:",";background-color:",";color:",";"],(0,l.KQt)(16,24),(0,l.KQt)(60),(0,l.KQt)(16),d.MXr,d.Apn),L=(0,w.Ay)(x.A).attrs(function(){return{buttonStyle:"primary"}}).withConfig({componentId:"sc-xx2kke-8"})(["width:100%;height:",";margin-top:",";cursor:pointer;"],(0,l.KQt)(80),(0,l.KQt)(48)),B=w.Ay.div.withConfig({componentId:"sc-xx2kke-9"})(["margin-top:",";display:flex;justify-content:center;"],(0,l.KQt)(48)),T=(0,w.Ay)(p.A).attrs(function(){return{id:"otpModal.backToLogin"}}).withConfig({componentId:"sc-xx2kke-10"})(["cursor:pointer;color:",";font-size:",";font-weight:bold;text-decoration-line:underline;"],d.ttG,(0,l.KQt)(28)),U=(0,w.Ay)(p.A).attrs(function(){return{id:"otpModal.footer"}}).withConfig({componentId:"sc-xx2kke-11"})(["font-size:",";"],(0,l.KQt)(24)),j=(0,w.Ay)(p.A).attrs(function(){return{id:"external.contactus",cursorPointer:!0,underline:!0}}).withConfig({componentId:"sc-xx2kke-12"})(["text-transform:lowercase;"]),D=w.Ay.a.withConfig({componentId:"sc-xx2kke-13"})(["color:",";"],d.ttG),O=!l.tGk&&"position: relative;",_=w.Ay.div.withConfig({componentId:"sc-xx2kke-14"})(["display:grid;gap:",";align-items:center;margin-top:",";",";background:",";padding:",";border-radius:",";border:",";color:",";font-size:",";"],(0,l.KQt)(24),(0,l.KQt)(32),function(e){return e.disabled?"":"cursor: pointer;"},d.t72,(0,l.KQt)(32),(0,l.KQt)(24),function(e){var t=e.selected;return"".concat((0,l.KQt)(2)," solid ").concat({selected:t}.selected?d.E5r:"transparent")},function(e){var t=e.disabled;return(0,l.No6)(t?.5:0,d.d9u)},(0,l.KQt)(28)),F=w.Ay.div.withConfig({componentId:"sc-xx2kke-15"})(["display:flex;align-items:center;gap:",";font-weight:bold;font-size:",";"],(0,l.KQt)(24),(0,l.KQt)(32)),P=(0,w.Ay)(p.A).withConfig({componentId:"sc-xx2kke-16"})(["background:",";display:block;padding:",";margin-top:",";border-radius:",";color:",";font-size:",";"],d.hfi,(0,l.KQt)(16,24),(0,l.KQt)(8),(0,l.KQt)(8),d.dLK,(0,l.KQt)(24)),N=(0,w.Ay)(p.A).withConfig({componentId:"sc-xx2kke-17"})(["display:flex;gap:",";padding:",";margin-top:",";"],(0,l.KQt)(8),(0,l.KQt)(12,0),(0,l.KQt)(8)),X=(0,w.Ay)(p.A).withConfig({componentId:"sc-xx2kke-18"})(["font-size:",";margin-bottom:",";font-weight:bold;"],(0,l.KQt)(28),(0,l.KQt)(16)),R=w.Ay.div.withConfig({componentId:"sc-xx2kke-19"})(["color:",";padding:",";"],d.ttG,(0,l.KQt)(32,32,72));const Y=(0,w.Ay)(y.nd).withConfig({componentId:"sc-xx2kke-20"})(["top:0;display:flex;flex-direction:column;background:",";padding:0;",";"],d.VhJ,O);const W=function(e){var t=e.setVerificationView,n=e.activeChannel,i=e.setActiveChannel,l=e.workflowData,c=(0,r.useRef)(),d=l.channels,s=(0,r.useState)(null),f=(0,o.A)(s,2),g=f[0],m=f[1],h=(0,r.useState)(!1),w=(0,o.A)(h,2),b=w[0],E=w[1],x=(0,r.useState)(!1),C=(0,o.A)(x,2),y=C[0],K=C[1],Q=(0,k.A)([u.IV_.sendOTP]),I=(0,o.A)(Q,1)[0],M=function(){c.current&&(clearTimeout(c.current),c.current=null)},S=function(e){return function(){i(e)}};(0,r.useEffect)(function(){y&&(!g&&t(!0),K(!1))},[y]),(0,r.useEffect)(function(){return function(){m(null),E(!1),M()}},[n]);var V=d.every(function(e){return""!==e.value})?"all":"one";return r.createElement(r.Fragment,null,r.createElement(G,{errorMessage:g}),r.createElement(z,null,r.createElement(p.A,{id:"otpModal.channels.title"})),r.createElement(H,{id:"otpModal.channels.".concat(V,"Enabled.description")}),d.map(function(e){var t=e.type.toLowerCase(),o="otpModal.channels.".concat(t),i=e.value,l=""===i;return r.createElement("div",{key:e},r.createElement(_,{onClick:l?null:S(t),selected:n===t,disabled:l},r.createElement(F,null,r.createElement(A.A,{selected:n===t,disabled:l}),r.createElement(p.A,{id:i?o:"".concat(o,".unavailable")})),i&&r.createElement(p.A,{id:"otpModal.channels.".concat(t,".description"),values:(0,v.A)({},t,i)})),!i&&r.createElement(P,{id:"".concat(o,".unavailable.description")}))}),r.createElement(L,{onClick:b?null:function(){n&&(E(!0),m(null),c.current=setTimeout(function(){m("otpModal.error.sendOtp"),M(),E(!1)},a.$WB.timers.otpTimeout),I({channelType:n}).then(function(e){var t;M(),E(!1),null!=e&&e.error||0!==(null==e||null===(t=e.payload)||void 0===t?void 0:t.resultCode)?m("otpModal.error.sendOtp"):K(!0)}))}},r.createElement(p.A,{id:"otpModal.sendCode"})))};var J=n("cicH");const Z=function(e){var t=e.hideModal,n=e.activeChannel,i=e.workflowData,d=e.showU
1pgradeAccount,s=e.otpCode,f=i||{},g=f.channels,m=void 0===g?[]:g,h=f.otpTtl,A=void 0===h?0:h,w=(0,k.A)([u.IV_.loginLSBetWorkflowFinalize,u.s4H.fetchGenerateId,u.HL0.logout,u.IV_.setSelectedChannel]),b=(0,o.A)(w,4),E=b[0],x=b[1],C=b[2],y=b[3],K=(0,r.useRef)(),Q=(0,r.useState)(s||""),I=(0,o.A)(Q,2),M=I[0],S=I[1],B=(0,r.useState)(null),T=(0,o.A)(B,2),U=T[0],j=T[1],D=function(){var e=M.trim();!U&&e.length>=6?E(x("login"),e).then(function(e){var n,o,r=null==e||null===(n=e.payload)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.workflow;null!=e&&e.error||0!==(null==e||null===(o=e.payload)||void 0===o?void 0:o.resultCode)?(C(),t(),d()):r===a.Ln7.OTP?j("otpModal.error.general"):t()}):e.length<6&&j("otpModal.error.emptyValue")},O=A||0,_=m.length&&m.find(function(e){return e.type===n.toUpperCase()})||{},F="otpModal.verificationCode.".concat(n,".title"),P="otpModal.verificationCode.".concat(n,".description");return(0,r.useEffect)(function(){return y(n),l.tGk&&"phone"===n&&"OTPCredential"in window&&(K.current=new AbortController,navigator.credentials.get({otp:{transport:["sms"]},signal:K.current.signal}).then(function(e){return e&&e.code&&S(e.code)})),function(){K.current&&(K.current.abort(),K.current=null)}},[]),r.createElement(r.Fragment,null,r.createElement(z,null,r.createElement(p.A,{id:F})),r.createElement(H,{id:P,values:(0,v.A)({},n,r.createElement("b",null,null==_?void 0:_.value))}),r.createElement(V,{onChange:function(e){var t=e.target.value;S(t),t.length&&U&&j(null)},placeholder:c.A["otpModal.inputPlaceholder"],errorMessage:U,blankInput:!M,value:M||"",autoComplete:"one-time-code",inputMode:"numeric",onKeyDown:(0,l.Ote)(D)}),!!O&&r.createElement(N,null,r.createElement(p.A,{id:"otpModal.codeExpires"}),r.createElement(p.A,{id:"otpModal.codeExpires.minutes",values:{minutes:(0,J.A)(O)},bold:!0})),r.createElement(G,{errorMessage:U}),r.createElement(L,{onClick:D},r.createElement(p.A,{id:"otpModal.authorizeDevice"})))};var q=(0,l.eWS)(function(){return Promise.all([n.e(9170),n.e(1810)]).then(n.bind(n,"AqxH"))});const $=function(e){var t=e.hideModal,n=e.upgradeAccount,v=e.upgradeAccountEmail,A=(0,i.d4)(function(e){return e.getIn(["fetch","loading",(0,l.u5j)(u.IV_.LOGIN_LSBET_TAC_FINALIZE_SUCCESS)],!1)}),w=(0,i.d4)(function(e){return e.getIn(["appConfig","featuresEnabled","contactUs"],!0)}),b=(0,i.d4)(function(e){return e.getIn(["loginSBT","workflowData"],null)}),E=(0,i.d4)(function(e){return e.getIn(["loginSBT","otpCode"],null)}),x=(0,i.d4)(function(e){return e.getIn(["loginSBT","otpChannelSelected"],null)}),C=b&&(null==b?void 0:b.channels.length)>1,y=(0,k.A)([u.fFn.showModal,u.EZj.showLiveChat,u.YOM.closeLogin,u.ySe.setError,u.HL0.logout]),K=(0,o.A)(y,5),z=K[0],H=K[1],V=K[2],G=K[3],L=K[4],O=(0,r.useState)(!!E),_=(0,o.A)(O,2),F=_[0],P=_[1],N=(0,r.useState)(x||function(e){var t="email";if(null!=e&&e.channels.length){var n=e.channels.find(function(e){return e.value});return(null==n?void 0:n.type.toLowerCase())||t}return t}(b)),J=(0,o.A)(N,2),$=J[0],ee=J[1],te=function(){n&&z("UpgradeAccountLoginModal",{overlay:!0,props:{upgradeAccountEmail:v}})},ne=function(){w&&(L(),t(),V({goBack:l.tGk}),(0,l.P6T)({showLiveChat:H,showModal:z}))},oe=function(){L(),t(),G("LOGIN_LSBET",{message:c.A["login.error.otpVerification"]}),te()};return r.createElement(Y,{pageInModal:!0},r.createElement(g.A,{fullScreenView:!0},r.createElement(Q,null,r.createElement(f.A,{title:r.createElement(I,null,r.createElement(q,{name:"logoRed",fill:d.bgD}),r.createElement(M,{name:"logoRed"})),right:r.createElement(m.A,{onClick:oe}),pageInModal:!0,portalPage:!0}))),A&&r.createElement(s.A,null),r.createElement(S,null,C&&!F&&r.createElement(W,{workflowData:b,closeModal:oe,setVerificationView:P,activeChannel:$,setActiveChannel:ee}),(!C||F)&&r.createElement(Z,{workflowData:b,closeModal:oe,hideModal:t,activeChannel:$,channelsAvailable:C,showUpgradeAccount:te,otpCode:E}),r.createElement(B,null,r.createElement(h.A,{onClick:oe},r.createElement(T,null)))),r.createElement(R,null,r.createElement(X,{id:"otpModal.footer.title",block:!0}),r.createElement(U,{id:"otpModal.footer",values:{contact_us:r.createElement(j,{onClick:ne,tabIndex:"0",onKeyDown:function(e){e.preventDefault(),(0,l.Ote)(ne)(e)}}),faqs:r.createElement(D,{href:a.Yfe.getStaticUrl("help"),target:"_blank"},r.createElement(p.A,{id:"external.help"}))},block:!0})))}}}]);

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.