1"use strict";(self.webpackChunk_789Bingo_h5=self.webpackChunk_789Bingo_h5||[]).push([["8006"],{73040:function(n,e,t){t.r(e),t.d(e,{default:()=>j});var i=t("76150"),r=t("18965"),o=t("35944"),a=t("41609"),l=t.n(a),d=t("67294"),c=t("74976"),s=t("16285"),u=t("88315"),v=t("36488"),f=t("1161"),m=t("62861"),h=t("58865"),g=t("25362"),p=t("70917"),w=t("70617"),b=t("8830");let P=t.p+"static/images/wizard_ios.226e8b49.webp",y=t.p+"static/images/wizard_android.7e40d149.webp";function k(){var n=(0,h._)(["\ndisplay: flex;\nflex-direction: column;\nalign-items: center;\ngap: 20rem;\n.body{\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12rem;\n}\n.secondary {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 12rem;\n}\n.title {\n color: #000;\n text-align: center;\n font-size: 16rem;\n font-weight: 800;\n line-height: 18rem;\n text-transform: capitalize;\n}\n.content {\n display: flex;\n width: 289rem;\n padding: 8rem 10rem;\n justify-content: center;\n align-items: center;\n gap: 10rem;\n border-radius: 8rem;\n background: #F6F6F6;\n color: #333;\n font-size: 14rem;\n font-style: normal;\n font-weight: 500;\n line-height: 18rem;\n text-align: center;\n strong {\n color: #f00000;\n }\n}\n.fb-img {\n width: 290rem;\n height: ","rem;\n background: url(",") no-repeat center;\n background-size: 100% 100%;\n}\n.btn {\n width: 250rem;\n height: 40rem;\n padding: 9rem 10rem;\n font-size: 18rem;\n font-weight: 600;\n}\n"]);return k=function(){return n},n}var x=g.ZP.create(function(n){var e=n.onClose,t=(n.amount,n.text),i=(0,g.dd)(),r=function(){i.hide(),e&&e()},a=/iPad|iPhone|iPod/.test(navigator.userAgent);return(0,o.tZ)(w.Z,{modal:i,width:330,zedIndex:1300,children:(0,o.BX)("div",{className:"main",css:C({isIos:a}),children:[(0,o.BX)("section",{className:"body",children:[(0,o.tZ)("div",{className:"title",children:"Exclusive Reward"}),(0,o.tZ)("div",{className:"content",children:(0,o.tZ)("span",{children:t})}),(0,o.tZ)("div",{className:"fb-img"})]}),(0,o.tZ)("section",{className:"secondary",children:(0,o.tZ)(b.Z,{className:"btn",onClick:function(){return r()},children:"Confirm"})})]})})});let Z=(0,d.memo)(x);var C=function(n){var e=n.isIos;return(0,p.iv)(k(),e?302:416,e?P:y)},I=t("89250"),N=t("90948"),R=t("73935"),L=t("7898"),S=t("72595"),_=t("22236");function z(){var n=(0,h._)(["\n position: fixed;\n inset: 0;\n z-index: 2147400000;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n"]);return z=function(){return n},n}function B(){var n=(0,h._)(["\n width: 328rem;\n border-radius: 16rem;\n overflow: hidden;\n position: relative;\n\n .header {\n height: 44rem;\n background: #fff;\n /* border-bottom: 0.5rem solid #ededed; */\n border-radius: 16rem 16rem 0 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6rem 12rem;\n position: relative;\n }\n\n .header-title {\n font-family: Inter, sans-serif;\n font-size: 16rem;\n font-weight: 700;\n color: #333;\n text-transform: capitalize;\n }\n\n .close-btn {\n position: absolute;\n right: 12rem;\n top: 50%;\n transform: translateY(-50%);\n width: 24rem;\n height: 24rem;\n border: none;\n background: transparent;\n padding: 0;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 14rem;\n height: 14rem;\n }\n }\n\n .body {\n background: #fff;\n border-radius: 0 0 16rem 16rem;\n padding: 20rem 16rem 16rem;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16rem;\n }\n\n .gift-img {\n width: 144rem;\n height: 107rem;\n object-fit: cover;\n }\n\n .desc {\n width: 296rem;\n font-family: Inter, sans-serif;\n font-size: 14rem;\n font-weight: 400;\n color: #000;\n text-align: center;\n line-height: 18rem;\n }\n\n .desc .money {\n color: #ff3b30;\n font-weight: 700;\n }\n\n .actions {\n width: 100%;\n display: flex;\n flex-direction: column;
1\n align-items: center;\n gap: 8rem;\n }\n\n .invite-btn {\n width: 296rem;\n height: 40rem;\n border-radius: 100rem;\n background: linear-gradient(90deg, #00fb9a 0%, #6c49fe 100%);\n border: none;\n color: #fff;\n font-family: Inter, sans-serif;\n font-size: 16rem;\n font-weight: 700;\n text-transform: capitalize;\n cursor: pointer;\n }\n\n .later-btn {\n width: 100%;\n height: 32rem;\n border: none;\n background: transparent;\n font-family: Inter, sans-serif;\n font-size: 14rem;\n font-weight: 600;\n color: #999;\n text-transform: capitalize;\n cursor: pointer;\n }\n"]);return B=function(){return n},n}var G="[[money]]",T="[[/money]]",W=(0,N.ZP)("div")(z()),A=(0,N.ZP)("div")(B()),M=g.ZP.create(function(n){var e=n.text,t=(0,g.dd)(),i=(0,I.useNavigate)(),r=function(){t.hide()};return t.visible?(0,R.createPortal)((0,o.tZ)(W,{onClick:r,children:(0,o.BX)(A,{onClick:function(n){return n.stopPropagation()},children:[(0,o.BX)("div",{className:"header",children:[(0,o.tZ)("span",{className:"header-title",children:"Invite Rewards"}),(0,o.tZ)("button",{type:"button",className:"close-btn",onClick:r,children:(0,o.tZ)("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.tZ)("path",{d:"M1 1L13 13M13 1L1 13",stroke:"#999",strokeWidth:"1.5",strokeLinecap:"round"})})})]}),(0,o.BX)("div",{className:"body",children:[(0,o.tZ)("img",{className:"gift-img",src:L,alt:""}),(0,o.tZ)("div",{className:"desc",children:function(n){for(var e=String(n||"").trim()||"Congrats! You've received a reward for your friend's activity. Invite more friends! \uD83C\uDF89",t=[],i=0,r=0;r<e.length;){var a=e.indexOf(G,r);if(-1===a){t.push(e.slice(r));break}a>r&&t.push(e.slice(r,a));var l=a+G.length,d=e.indexOf(T,l);if(-1===d){t.push(e.slice(a));break}var c=e.slice(l,d).replace(/-?\d+(?:[.,]\d+)?/,function(n){return(0,S.Rt)(Number(n.replace(/,/g,"")))});t.push((0,o.tZ)("span",{className:"money",children:c},"".concat(a,"-").concat(i))),i++,r=d+T.length}return t}(e)}),(0,o.BX)("div",{className:"actions",children:[(0,o.tZ)("button",{type:"button",className:"invite-btn",onClick:function(){(0,_.Yz)("reward_invite_click","invite",{source:"invite_reward_popup"}),t.hide(),i("/inviteFriends")},children:"Invite More"}),(0,o.tZ)("button",{type:"button",className:"later-btn",onClick:r,children:"Later"})]})]})]})}),document.body):null});let j=function(n){(0,c.$G)().t;var e,t=(0,s.CG)(u.aF).user,a=(0,s.TL)(),h=(0,d.useRef)(null),p=(0,d.useRef)(!1),w=(0,d.useRef)(null),b=(0,I.useLocation)(),P=b.pathname;b.search;var y=(0,d.useMemo)(function(){return!l()(t.token)},[t.token]),k=function(){return new Promise(function(n){var e=!1,t=function(){!e&&(e=!0,p.current=!0,n())},i=setTimeout(t,1500);if("complete"===document.readyState)setTimeout(function(){clearTimeout(i),t()},300);else{var r=function(){window.removeEventListener("load",r),setTimeout(t,300)};window.addEventListener("load",r)}})};var x=(e=(0,i._)(function(){var n;return(0,r._)(this,function(e){switch(e.label){case 0:if(!(n=s.ZP.getState().auth.user.token))return[2];if(p.current)return[3,2];return[4,k()];case 1:e.sent(),e.label=2;case 2:if(s.ZP.getState().auth.user.token!==n)return[2];return(0,f.c7)({loginType:C?"pwa":"h5"}).then(function(e){if(s.ZP.getState().auth.user.token===n){if(a((0,v.KL)(!0)),(null===(t=e.t)||void 0===t?void 0:t.casinoBarrierCode)!==void 0&&a((0,v.Ml)(e.t.casinoBarrierCode)),null===(i=e.t)||void 0===i||i.kycPass,(null===(r=e.t)||void 0===r?void 0:r.kycPassPWAGuidePopup)==="1"&&!C&&g.ZP.show(Z,{}),null===(o=e.t)||void 0===o?void 0:o.userLoginReward){var t,i,r,o,l,d,c,u,f,h,p,w,b,P,y,k,x,I,N=null===(k=e.t)||void 0===k?void 0:k.userLoginReward,R=((null===(x=e.t)||void 0===x?void 0:x.userLoginRewardContent)||"").replace("{amount}",N);a((0,v.vc)({amount:N,text:R,isAutoClaimed:(null===(I=e.t)||void 0===I?void 0:I.claimType)==="auto"}))}if((null===(l=e.t)||void 0===l?void 0:l.pwaBetThresholdSwitch)!==void 0){a((0,m.YM)((null===(L=e.t)||void 0===L?void 0:L.pwaBetThresholdSwitch)==="1"));var L,S,_=(null===(S=e.t)||void 0===S?void 0:S.pwaBetThresholdValue)||"0";a((0,m.oT)(+(_||0)))}if((null===(d=e.t)||void 0===d?void 0:d.firstDepositMustPwaBetSwitch)!==void 0&&a((0,m.U9)((null===(B=e.t)||void 0===B?void 0:B.firstDepositMustPwaBetSwitch)==="1")),(null===(c=e.t)||void 0===c?void 0:c.androidPwaPopupCount)!=null){var z=Number(e.t.androidPwaPopupCount);if(Number.isFinite(z)&&z>=0){a((0,m.jy)(z));try{null===localStorage.getItem("PWA_cancel_count")&&localStorage.setItem("PWA_cancel_count",String(z))}catch(n){}}}if(null===(u=e.t)||void 0===u?void 0:u.userWhitelistLoginReward){var B,G,T,W,A,j=null===(G=e.t)||void 0===G?void 0:G.userWhitelistLoginReward,F=null===(T=e.t)||void 0===T?void 0:T.activityId,X=((null===(W=e.t)||void 0===W?void 0:W.userWhitelistLoginRewardContent)||"").replace("{amount}",j);a((0,v.Oh)({amount:j,text:X,activityId:F,isAutoClaimed:(null===(A=e.t)||void 0===A?void 0:A.whitelistClaimType)==="auto"}))}if(null===(f=e.t)||void 0===f?void 0:f.userWhitelistLoginRewardH5PwaAmount){var E,U,Y=null===(E=e.t)||void 0===E?void 0:E.userWhitelistLoginRewardH5PwaGuide,H=(null===(U=e.t)||void 0===U?void 0:U.userWhitelistLoginRewardH5PwaAmount)||"0";Y=Y.replace("{amount}",H),!C&&g.ZP.show(Z,{text:Y})}if((null===(h=e.t)||void 0===h?void 0:h.negativeProfitRewardContent)&&a((0,v.Wq)({text:(null===(O=e.t)||void 0===O?void 0:O.negativeProfitRewardContent)||"",isAutoClaimed:!0})),(null===(p=e.t)||void 0===p?void 0:p.InviteGgrPopUp)||(null===(w=e.t)||void 0===w?void 0:w.InviteRechargePopUp)){var O,q,D,K=(null===(q=e.t)||void 0===q?void 0:q.InviteRechargePopUp)||(null===(D=e.t)||void 0===D?void 0:D.InviteGgrPopUp);K&&g.ZP.show(M,{text:K})}var V={homeLoginPwaGuideSwitch:null!==(b=e.t)&&void 0!==b&&!!b.homeLoginPwaGuideSwitch,gameClickPwaGuideSwitch:null!==(P=e.t)&&void 0!==P&&!!P.gameClickPwaGuideSwitch,withdrawPwaGuideSwitch:null!==(y=e.t)&&void 0!==y&&!!y.withdrawPwaGuideSwitch};a((0,m.qd)(V))}}).catch(function(n){a((0,v.KL)(!0))}),[2]}})}),function(){return e.apply(this,arguments)}),C=(0,s.CG)(v.is).isPWA;(0,d.useEffect)(function(){var n=/iPad|iPhone|iPod/.test(navigator.userAgent);C&&y&&(0,f.hN)({deviceType:n?"ios":"android"}).then(function(n){if(n.success){var e;if(null===(e=n.t)||void 0===e?void 0:e.kycPassReward){var t,i,r=(null===(t=n.t)||void 0===t?void 0:t.kycPassReward)||"0",o=((null===(i=n.t)||void 0===i?void 0:i.kycPassRewardContent)||"").replace("{amount}",r);a((0,v.vc)({amount:r,text:o,isAutoClaimed:!0}))}}})},[C,y,P]);var N=function(){h.current&&clearInterval(h.current);var n=setInterval(function(){if(!s.ZP.getState().auth.user.token){clearInterval(n),h.current===n&&(h.current=null);return}x()},1e4);h.current=n};return(0,d.useEffect)(function(){return y&&k().then(function(){("/"===P||P.startsWith("/apphome"))&&w.current!==t.token&&(w.current=t.token,x()),N()}),function(){h.current&&clearInterval(h.current)}},[y,t.token,P]),(0,o.tZ)(o.HY,{})}}}]);
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.