1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5543],{71612:function(e,o,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/external-frame",function(){return t(56529)}])},56529:function(e,o,t){"use strict";t.r(o),t.d(o,{__N_SSP:function(){return r}});var n=t(52322),i=t(12381),a=t(83444),l=t(78287),r=!0;o.default=e=>{let{originIsSignIn:o,originCookies:t,persistStaticFileDomainData:r}=e;return(0,n.jsx)(i.aB,{originIsSignIn:o,originCookies:t,children:(0,n.jsx)(l.Uw,{persistStaticFileDomainData:r,children:(0,n.jsx)(a.$I,{})})})}},12381:function(e,o,t){"use strict";t.d(o,{aB:function(){return OneTwoBetAuthProvider},XU:function(){return h.XU},t9:function(){return h.t9}});var n=t(52322),i=t(83444),a=t(88213),l=t(38740),r=t(78287),s=t(50591),c=t(14482),u=t(70090),d=t(90772),b=t(25237),C=t.n(b),p=t(2784);let _={[c.ET.DepositSuccess]:{event:"Purchase",i18nLabel:"Label_DepositSuccessful",bgColor:i.Lj.Green,iconClassName:i.gk.Check},[c.ET.WithdrawalSuccess]:{event:"withdraw",i18nLabel:"Label_WithdrawSuccessful",bgColor:i.Lj.Green,iconClassName:i.gk.Check},[c.ET.DepositFail]:{event:null,i18nLabel:"Label_DepositFailed",bgColor:i.Lj.Red,iconClassName:i.gk.Cross},[c.ET.WithdrawalFail]:{event:null,i18nLabel:"Label_WithdrawFailed",bgColor:i.Lj.Red,iconClassName:i.gk.Cross},[c.ET.FirstDeposit]:{event:"Purchase",i18nLabel:"Label_DepositSuccessful",bgColor:i.Lj.Green,iconClassName:i.gk.Check}},f=C()(()=>t.e(5775).then(t.bind(t,15775)),{loadableGenerated:{webpack:()=>[15775]},ssr:!1}),OneTwoBetAuthProvider=e=>{let{children:o,originIsSignIn:t,originCookies:b}=e,{handleNotification:C}=(0,s.ehS)(),{modal:h}=(0,a.JT)(),[m]=(0,c.WOp)(),showNotification=e=>{let{message:o,bgColor:t,iconClassName:n,notificationMutedArg:a}=e;(0,i.$H)({message:o,type:"default",customBGColor:t,customIconClassName:n,isNotification:!0,isWrapText:!1});let r=a===s.AJJ.Muted;if(r)return;let c=new Audio("".concat(l.X.NEXT_PUBLIC_BANNER_HOST,"/Static/toast/img/toastSound.mp3"));c.play()},k=(0,p.useCallback)(async(e,o,t,n)=>C({notificationsConfig:_,notificationEnabledArg:e,notificationMutedArg:o,userName:t,trackingUserName:n,showNotificationCallBack:e=>{showNotification(e)}}),[]),L=(0,p.useCallback)(async()=>{try{let e=await m(null).unwrap(),o=(0,d.Z)(e,"data.hasNewLevelUpgrade",!1),t=(0,d.Z)(e,"data.vipLevel",0);if(!o||t>u.ox)return;h.open((0,n.jsx)(f,{vipLevel:t}))}catch(e){h.error(e.message)}},[h,m]);return(0,n.jsx)(r.Ho,{originIsSignIn:t,originCookies:b,onVIPLevelUpModal:L,onFinanceNotification:k,children:o})};var h=t(93488)},93488:function(e,o,t){"use strict";t.d(o,{XU:function(){return PromotionActionProvider},t9:function(){return usePromotionAction}});var n=t(52322),i=t(88213),a=t(38201),l=t(50591),r=t(82981),s=t(25237),c=t.n(s),u=t(5632),d=t(2784),b=t(63955);let C=c()(()=>Promise.all([t.e(1820),t.e(9097),t.e(1842),t.e(9700)]).then(t.bind(t,61427)),{loadableGenerated:{webpack:()=>[61427]},ssr:!1}),p=c()(()=>Promise.all([t.e(1820),t.e(1842),t.e(9197)]).then(t.bind(t,69848)),{loadableGenerated:{webpack:()=>[69848]},ssr:!1}),_=c()(()=>Promise.all([t.e(7176),t.e(1820),t.e(9097),t.e(1842),t.e(4586),t.e(6658)]).then(t.bind(t,78355)),{loadableGenerated:{webpack:()=>[78355]},ssr:!1}),f=(0,d.createContext)(null),usePromotionAction=()=>(0,d.useContext)(f),PromotionActionProvider=e=>{let{children:o}=e,{t}=(0,r.$G)(),{modal:s,closeModal:c}=(0,i.JT)(),{push:h}=(0,u.useRouter)(),m=(0,b.cI)(),k=(0,d.useCallback)(()=>s.open((0,n.jsx)(C,{})),[s]),L=(0,d.useCallback)(e=>{let{tierAmountListSelectOptions:o,refListItem:t,onSetClaimPromotion:i}=e;s.open((0,n.jsx)(p,{onSetClaimPromotion:i,tierAmountListSelectOptions:o,refListItem:t}))},[s]),w=(0,d.useCallback)(e=>{s.error(e)},[s]),v=(0,d.useCallback)(()=>{c(),h(a.Hb.deposit.root)},[h,c]),P=(0,d.useCallback)(e=>s.info(t("Label_Promotion_SuccessClaimed2_20260709",{value:null!=e?e:""}),{title:t("Label_Promotion_SuccessClaimed1_20260709")}),[s,t]),S=(0,d.useCallback)(()=>s.info(t("Label_ApplicationSuccessful"),{title:t("Label_Join_Congratulations")}),[s,t]),g=(0,d.useCallback)(e=>s.error(e,{okText:t("Label_Deposit_Now"),onOK:()=>h(a.Hb.deposit.root)}),[s,t,h]),{onSetSpecialCode:N}=(0,l.l0G)({onSetSpecialCodeSuccess:()=>m.reset(),onError:(0,d.useCallback)(e=>s.error(e,{onOK:c}),[s,c])}),{openChat:j}=(0,l.zGU)(),{onUpdatePromotionDetail:x,onClaimPromotionHandler:T}=(0,l.Fjz)({onDepositCallback:v,loginCallback:k,claimAmountCallback:L,onGeneralError:w,onSetClaimPromotionSuccess:P,onApplyRebatePromotionSuccess:S,onNonFTDPromotionError:g,onOpenLiveChat:j}),E=(0,d.useCallback)(function(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"promo_popup";s.open((0,n.jsx)(_,{bonusCode:e,isHideAllPromoButton:o,entrySource:t,claimHandlers:{onUpdatePromotionDetail:x,onClaimPromotionHandler:T}}))},[s,x,T]),A=(0,d.useMemo)(()=>({handleOpenPromotionDetail:E,onUpdatePromotionDetail:x,onClaimPromotionHandler:T,onSetSpecialCode:N,promotionForm:m}),[E,x,T,N,m]);return(0,n.jsx)(f.Provider,{value:A,children:o})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=71612)}),_N_E=e.O()}]);
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.