1"use strict";(self.webpackChunklottery=self.webpackChunklottery||[]).push([["31902"],{97230(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjY4IiB2aWV3Qm94PSIwIDAgMTgwIDY4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNzIuNDE2IDFMNzUuMzQyOCA1LjA0NTlMNzUuNjQxNiA1LjQ1OTk2SDEwNC4zNDJMMTA0LjY0MiA1LjA0NTlMMTA3LjU2NyAxSDE1NC44ODlMMTc4Ljc2NSAzMy45ODgzTDE1NC44ODkgNjdIMTA3LjU2N0wxMDQuNjQyIDYyLjk1NDFMMTA0LjM0MiA2Mi41NEg3NS42NDE2TDc1LjM0MjggNjIuOTU0MUw3Mi40MTYgNjdIMjUuMDk1N0wxLjIzMzQgMzMuOTg4M0wyNS4wOTQ3IDFINzIuNDE2WiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIi8+Cjwvc3ZnPgo="},75236(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjY4IiB2aWV3Qm94PSIwIDAgMTgwIDY4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTA3LjA1NyAwTDEwMy44MzEgNC40NjAxNEg3Ni4xNTI2TDcyLjkyNjUgMEgyNC41ODQ2TDAgMzMuOTg4NkwyNC41ODQ2IDY4SDcyLjkyNjVMNzYuMTUyNiA2My41Mzk5SDEwMy44MzFMMTA3LjA1NyA2OEgxNTUuMzk5TDE4MCAzMy45ODg2TDE1NS4zOTkgMEgxMDcuMDU3WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="},46841(e,t,a){a.d(t,{A:()=>i});let i="Asia/Jakarta"},2914(e,t,a){a.d(t,{A:()=>_});var i=a(71893),n=a(31105),l=a(74848),r=a(96540),o=a(84743),s=a.n(o),m=a(25176),d=a(46841),c=a(95869);let _=e=>t=>{let{pool:a={}}=t,o=(0,n._)(t,["pool"]),[_,u]=(0,r.useState)(""),g=(0,m.lZ)(c.vM);return(0,r.useEffect)(()=>{let e=()=>{u(()=>{var e,t;let i=s().tz(new Date,d.A),n=s().tz(null==a||null==(e=a.current_period)?void 0:e.close_time,"DD/MM/YYYY HH:mm:ss a",d.A),l=s().tz(null==a||null==(t=a.current_period)?void 0:t.result_time,"DD/MM/YYYY HH:mm:ss a",d.A);if(i.isBefore(n)){let e=s().duration(n.diff(i)),t=Math.floor(e.asHours()).toString().padStart(2,"0"),a=e.minutes().toString().padStart(2,"0"),l=e.seconds().toString().padStart(2,"0");return"".concat(t,":").concat(a,":").concat(l)}return i.isAfter(l)&&g(new Date),"BET CLOSED"})};e();let t=setInterval(()=>{e()},1e3);return()=>{clearInterval(t)}},[a,g]),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(e,(0,i._)({pool:a,countdown:_},o))})}},36940(e,t,a){a.d(t,{A:()=>_});var i=a(74848),n=a(96540),l=a(20053),r=a(23972),o=a(71893),s=a(93796),m=a(67729),d=a(43926);let c=(0,s.default)(()=>({inputLabel__container:{position:"relative",width:"100%",display:"flex",flexDirection:"column",marginBottom:"1rem"},inputLabel__label:(0,o._)({display:"flex",justifyContent:"flex-start",alignItems:"center",margin:"0 0 .5rem",position:"relative",fontSize:"1rem"},d.A.fontSegoeUIBold),inputLabel__required:{color:m.A.input_required,marginLeft:".25em"},inputLabel__error:(0,o._)({color:m.A.input_err},d.A.fontSegoeUIBold)})),_=(0,n.forwardRef)(function(e,t){let{className:a="",label:n="",required:o=!1,helperText:s="",helperLink:m,children:d,classNameLabelError:_=""}=e,u=c();return(0,i.jsxs)("div",{ref:t,className:(0,l.default)(u.inputLabel__container,a),children:[n&&(0,i.jsxs)("div",{className:u.inputLabel__label,children:[(0,r.T)(n),o&&(0,i.jsx)("span",{className:u.inputLabel__required,children:"*"})]}),d,s&&(0,i.jsx)("div",{className:(0,l.default)(u.inputLabel__error,_),children:(0,r.T)(s)}),m&&(0,i.jsx)("div",{className:(0,l.default)(u.inputLabel__error,_),children:m})]})})},43926(e,t,a){a.d(t,{A:()=>o});var i=a(12860);let n={fontFamily:'"Open Sans", '.concat(i.p),fontWeight:400},l={fontFamily:'"Open Sans", '.concat(i.p),fontWeight:700},r={fontFamily:'"Segoe UI", '.concat(i.p),fontWeight:400},o={fontNormal:n,fontBold:l,fontSegoeUIBold:{fontFamily:'"Segoe UI", '.concat(i.p),fontWeight:700},fontSegoeUI:r}},20587(e,t,a){a.d(t,{A:()=>o});var i=a(71893),n=a(55456),l=a(74848);a(96540);var r=a(41728);let o=e=>(0,l.jsx)(r.A,(0,n._)((0,i._)({viewBox:"0 0 8 16"},e),{children:(0,l.jsx)("path",{d:"M0.213185 7.33962L6.27386 0.622884C6.65203 0.20377 7.375 0.45782 7.375 1.00983L7.375 14.4433C7.375 14.9953 6.65203 15.2494 6.27386 14.8302L0.213185 8.11351C0.012272 7.89084 0.0122725 7.56228 0.213185 7.33962Z"})}))},69783(e,t,a){a.d(t,{A:()=>o});var i=a(71893),n=a(55456),l=a(74848);a(96540);var r=a(41728);let o=e=>(0,l.jsx)(r.A,(0,n._)((0,i._)({viewBox:"0 0 8 16"},e),{children:(0,l.jsx)("path",{d:"M7.78682 7.33962L1.72614 0.622884C1.34797 0.20377 0.625001 0.45782 0.625001 1.00983L0.625 14.4433C0.625 14.9953 1.34797 15.2494 1.72614 14.8302L7.78681 8.11351C7.98773 7.89084 7.98773 7.56228 7.78682 7.33962Z"})}))},10161(e,t,a){a.d(t,{A:()=>
1o});var i=a(71893),n=a(55456),l=a(74848);a(96540);var r=a(41728);let o=e=>(0,l.jsx)(r.A,(0,n._)((0,i._)({viewBox:"0 0 9 5"},e),{children:(0,l.jsx)("path",{d:"M7.9425 0L4.5 3.09042L1.0575 0L0 0.951417L4.5 5L9 0.951417L7.9425 0Z"})}))},37563(e,t,a){a.d(t,{A:()=>g});var i=a(71893),n=a(55456),l=a(31105),r=a(74848),o=a(96540),s=a(91657),m=a(20053),d=a(20587),c=a(69783),_=a(66025);let u=e=>{let{page:t,handleChangePage:a,count:u,className:g}=e,h=(0,_.I)(),p=(0,o.useCallback)((e,t)=>{a(e,t||1)},[a]),b=(0,o.useCallback)(e=>{let t,{type:a,selected:o}=e,s=(0,l._)(e,["type","selected"]);switch(a){case"start-ellipsis":case"end-ellipsis":t=(0,r.jsx)("div",(0,n._)((0,i._)({className:h.pagination__item},s),{disabled:!0,children:"..."}));break;case"page":t=(0,r.jsx)("div",(0,n._)((0,i._)({className:(0,m.default)({[h.pagination__item]:!0,[h.pagination__item_active]:o})},s),{children:s.page}));break;case"previous":t=(0,r.jsx)("div",(0,n._)((0,i._)({className:(0,m.default)(h.pagination__arrow)},s),{children:(0,r.jsx)(d.A,{className:h.pagination__arrow_previous})}));break;case"next":t=(0,r.jsx)("div",(0,n._)((0,i._)({className:(0,m.default)(h.pagination__arrow)},s),{children:(0,r.jsx)(c.A,{className:h.pagination__arrow_next})}));break;default:t=(0,r.jsx)("div",(0,n._)((0,i._)({className:h.pagination__item},s),{children:a}))}return t},[h]);return(0,r.jsx)("div",{className:(0,m.default)(h.pagination,g),children:(0,r.jsx)("div",{className:h.pagination__container,children:u>0&&(0,r.jsx)(s.A,{count:u,page:t,onChange:p,renderItem:b})})})};u.defaultProps={page:1,handleChangePage:()=>{}};let g=u},66025(e,t,a){a.d(t,{I:()=>o});var i=a(71893),n=a(93796),l=a(67729),r=a(32994);let o=(0,n.default)(()=>({pagination:{display:"flex",justifyContent:"center"},pagination__container:(0,i._)({display:"flex",justifyContent:"center"},l.A.pagination__container),pagination__ul:{listStyle:"none",padding:0,margin:0,display:"flex",justifyContent:"center"},pagination__item:{width:"4.8rem",height:"4.8rem",cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",fontSize:"1.4rem","&[disabled]":{cursor:"not-allowed",opacity:".5",pointerEvents:"none"},[r.Ay.mobile]:{width:"3.4rem",height:"2.6rem"}},pagination__arrow:{display:"flex",alignItems:"center",justifyContent:"center",width:"4.8rem",height:"4.8rem","&[disabled]":{cursor:"not-allowed",opacity:".5",pointerEvents:"none"},[r.Ay.mobile]:{width:"3.4rem",height:"2.6rem"}},pagination__item_active:(0,i._)({fontWeight:700},l.A.pagination__item_active),pagination__arrow_previous:{fontSize:".85em",cursor:"pointer",[r.Ay.mobile]:{fontSize:".7rem"}},pagination__arrow_next:{fontSize:".85em",cursor:"pointer",[r.Ay.mobile]:{fontSize:".7rem"}}}))},42089(e,t,a){a.d(t,{A:()=>u});var i=a(71893),n=a(74848),l=a(96540),r=a(32851),o=a(20053),s=a(55456),m=a(93796),d=a(67729),c=a(32994);let _=(0,m.default)(()=>({styledRadio__styledRadioRoot:(0,s._)((0,i._)({fontSize:"inherit",width:"2.8rem",height:"2.8rem",padding:0},d.A.tick),{"&:hover":(0,i._)({},d.A.tick),"&.Mui-checked":(0,s._)((0,i._)({},d.A.tick_checked),{"&:hover":(0,i._)({},d.A.tick_checked)}),"& input":{display:"none"},[c.Ay.mobile]:{width:"1.6rem",height:"1.6rem"}}),styledRadio__icon:{position:"relative",borderRadius:"50%",width:"1.2rem",height:"1.2rem",mask:'url("'.concat("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgOSA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNOC4yMzEyMyAwLjIyNjU2MkM4LjAyNjQ1IDAuMjI2NTYyIDcuNzgwNzIgMC4yNTM1NDQgNy40NjY3MiAwLjI5NDAxNkM3LjE1MjczIDAuMzQ3OTc5IDYuOTM0MyAwLjQwMTk0MiA2LjgxMTQzIDAuNDY5Mzk2QzYuNjc0OTEgMC41MzY4NDkgNi40ODM3OSAwLjcxMjIyOSA2LjIxMDc1IDAuOTk1NTM0QzUuOTUxMzcgMS4yNjUzNSA1LjYxMDA3IDEuNzEwNTQgNS4yMDA1MSAyLjI3NzE1QzQuNzkwOTYgMi44NTcyNSA0LjQzNjAxIDMuNDEwMzcgNC4xMzU2NyAzLjk1QzMuODYyNjMgNC40MjIxOCAzLjU4OTU5IDQuOTQ4MzIgMy4zMTY1NSA1LjUwMTQ0QzMuMTI1NDMgNS4yNTg2IDIuOTIwNjUgNS4wNjk3MyAyLjcxNTg3IDQuOTIxMzRDMi40NTY0OCA0Ljc0NTk2IDIuMTk3MSA0LjY1MTUyIDEuOTY1MDIgNC42NTE1MkMxLjczMjk0IDQuNjUxNTIgMS40NTk5IDQuNzU5NDUgMS4xODY4NiA0Ljk2MTgxQzAuOTAwMTcxIDUuMTc3NjYgMC43NSA1LjQyMDQ5IDAuNzUgNS42NzY4MkMwLjc1IDUuODc5MTggMC44NzI4NjcgNi4xMDg1MiAxLjEzMjI1IDYuMzc4MzNDMS41MDA4NSA2Ljc4MzA1IDEuODAxMTkgNy4xNjA4IDIuMDE5NjIgNy40OTgwNkMyLjE4MzQ1IDcuNzQwOSAyLjI5MjY2IDcuOTAyNzggMi4zNjA5MiA3Ljk4MzczQzIuNDQyODMgOC4wNjQ2NyAyLjUzODQgOC4xMzIxMyAyLjY0NzYxIDguMTcyNkMyLjc1NjgzIDguMjEzMDcgMi45NDc5NSA4LjIyNjU2IDMuMjA3MzQgOC4yMjY1NkMzLjU3NTk0IDguMjI2NTYgMy44MjE2NyA4LjE4NjA5IDMuOTcxODQgOC4xMDUxNUM0LjEyMjAxIDguMDI0MiA0LjIzMTIzIDcuOTE2MjggNC4zMTMxNCA3Ljc2Nzg4QzQuMzgxNCA3LjYzMjk3IDQuNTA0MjcgNy4zNzY2NSA0LjY2ODA5IDYuOTcxOTJDNS4wNzc2NSA1Ljk2MDEyIDUuNjM3MzcgNC44OTQzNSA2LjMzMzYyIDMuODE1MUM3LjAyOTg2IDIuNzM1ODQgNy42OTg4MSAxLjg5OTQxIDguMzQwNDQgMS4zMDU4MkM4LjUwNDI3IDEuMTcwOTEgOC41OTk4MyAxLjA2Mjk5IDguNjQwNzkgMC45OTU1MzRDOC43MjI3IDAuOTQxNTcxIDguNzUgMC44NDcxMzYgOC43NSAwLjczOTIxQzguNzUgMC42MDQzMDMgOC42OTUzOSAwLjQ4Mjg4NiA4LjU5OTgzIDAuMzg4NDUxQzguNTE3OTIgMC4yODA1MjUgOC4zODE0IDAuMjI2NTYyIDguMjMxMjMgMC4yMjY1NjJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K",'") no-repeat center / contain')},styledRadio__checkedIcon:{background:"currentColor"}})),u=(0,l.memo)(e=>{let t=_();
1return(0,n.jsx)(r.A,(0,i._)({className:t.styledRadio__styledRadioRoot,color:"default",checkedIcon:(0,n.jsx)("span",{className:(0,o.default)(t.styledRadio__icon,t.styledRadio__checkedIcon)}),icon:(0,n.jsx)("span",{className:t.styledRadio__icon})},e))})},59750(e,t,a){a.d(t,{A:()=>g});var i=a(74848);a(96540);var n=a(20053),l=a(59545),r=a(71893),o=a(55456),s=a(41728);let m=e=>(0,i.jsx)(s.A,(0,o._)((0,r._)({viewBox:"0 0 12 12"},e),{children:(0,i.jsx)("path",{d:"M11.2218 0C10.9147 0 10.5461 0.0404722 10.0751 0.10118C9.60409 0.182125 9.27645 0.263069 9.09215 0.36425C8.88737 0.46543 8.60068 0.728499 8.19113 1.15346C7.80205 1.55818 7.2901 2.22597 6.67577 3.07589C6.06143 3.94604 5.52901 4.77572 5.0785 5.58516C4.66894 6.29342 4.25939 7.08263 3.84983 7.91231C3.56314 7.54806 3.25597 7.26476 2.94881 7.04216C2.55973 6.77909 2.17065 6.63744 1.82253 6.63744C1.4744 6.63744 1.06485 6.79933 0.65529 7.10287C0.225256 7.42664 0 7.79089 0 8.17538C0 8.47892 0.1843 8.82293 0.573379 9.22766C1.12628 9.83474 1.57679 10.4013 1.90444 10.9073C2.15017 11.2715 2.31399 11.5143 2.41638 11.6357C2.53925 11.7572 2.68259 11.8583 2.84642 11.9191C3.01024 11.9798 3.29693 12 3.68601 12C4.23891 12 4.60751 11.9393 4.83276 11.8179C5.05802 11.6965 5.22184 11.5346 5.34471 11.312C5.4471 11.1096 5.6314 10.7251 5.87713 10.118C6.49147 8.60034 7.33106 7.00169 8.37543 5.3828C9.41979 3.76391 10.4232 2.50927 11.3857 1.61889C11.6314 1.41653 11.7747 1.25464 11.8362 1.15346C11.959 1.07251 12 0.93086 12 0.768971C12 0.56661 11.9181 0.384486 11.7747 0.242833C11.6519 0.0809443 11.4471 0 11.2218 0Z"})}));var d=a(93796),c=a(67729),_=a(32994);let u=(0,d.default)(()=>({tick_container:{display:"flex",alignItems:"center",gap:"1rem",cursor:"pointer"},tick:(0,o._)((0,r._)({width:"2.8rem",height:"2.8rem",borderRadius:".5rem",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},c.A.tick),{[_.Ay.mobile]:{width:"1.4rem",height:"1.4rem",borderRadius:".2rem"}}),tick_checked:(0,r._)({},c.A.tick_checked),tick__icon:{fontSize:"1.2rem",[_.Ay.mobile]:{fontSize:"1rem"}}})),g=e=>{let{value:t,onClick:a=()=>{},label:r,className:o,classNameIcon:s}=e,d=u();return(0,i.jsxs)("div",{className:(0,n.default)(d.tick_container,o),onClick:a,children:[(0,i.jsx)("div",{className:(0,n.default)(d.tick,s,t&&d.tick_checked),children:t&&(0,i.jsx)(m,{className:d.tick__icon})}),r&&(0,i.jsx)(l.A,{i18nKey:r})]})}},39018(e,t,a){a.d(t,{I:()=>d});var i=a(71893),n=a(55456),l=a(93796),r=a(67729),o=a(32994),s=a(97230),m=a(75236);let d=(0,l.default)(()=>({currentGame:{display:"grid",gridTemplateColumns:"auto 1fr"},currentGame__left:{position:"relative",width:"28.2rem",height:"10.6rem",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2rem",padding:"0 3rem",[o.Ay.mobile]:{width:"16.55rem",height:"6.2rem",gap:".5rem",padding:"0 2rem 0 2.8rem"},"&:before":(0,i._)({content:'""',position:"absolute",left:0,top:0,width:"100%",height:"100%",zIndex:1,mask:'url("'.concat(m,'") no-repeat center / contain')},r.A.gameSlide__itemBefore_active),"&:after":(0,i._)({content:'""',position:"absolute",left:0,top:0,width:"100%",height:"100%",mask:'url("'.concat(s,'") no-repeat center / contain'),zIndex:2},r.A.gameSlide__itemAfter_active)},currentGame__poolText:{display:"flex",flexDirection:"column",gap:"1rem",zIndex:3,flex:1,[o.Ay.mobile]:{gap:0}},currentGame__pool__logo:{display:"block",width:"3.6rem",height:"3.6rem",objectFit:"contain",zIndex:3},currentGame__pool__name:(0,i._)({fontWeight:700},r.A.gameSlide__item),currentGame__pool__time:{fontWeight:700},currentGame__pool__status:{zIndex:3,padding:".6rem",borderRadius:"50%",background:r.A.gameStatus__offline,[o.Ay.mobile]:{position:"absolute",left:"1.2rem",top:"50%",transform:"translateY(-50%)"}},currentGame__pool__status_online:{background:r.A.gameStatus__online},currentGame__right:(0,n._)((0,i._)({position:"relative",flex:1,padding:"0 0 0 2.4rem",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem",height:"10.6rem"},r.A.currentGame__right),{[o.Ay.mobile]:{height:"6.2rem",padding:"0 .8rem"},"&:before":(0,n._)((0,i._)({content:'""',position:"absolute",right:"calc(100% - 1px)",top:0,width:"3.8rem",height:"100%",clipPath:"pol
1ygon(0 0, 100% 0%, 100% 100%, 0 100%, 100% 50%)"},r.A.currentGame__right),{[o.Ay.mobile]:{width:"3rem"}})}),currentGame__rightText:{display:"flex",flexDirection:"column",gap:"1.2rem",[o.Ay.mobile]:{gap:".4rem"}},currentGame__gameName:(0,n._)((0,i._)({fontWeight:700,fontSize:"2.1rem"},r.A.gameModeContent__gameName),{[o.Ay.mobile]:{fontSize:"1.4rem"}}),currentGame__period:{[o.Ay.mobile]:{fontSize:"1rem"}}}))},54509(e,t,a){a.r(t),a.d(t,{default:()=>t7});var i=a(74848),n=a(96540),l=a(73920),r=a(18492),o=a(62193),s=a.n(o),m=a(25176),d=a(4614),c=a(95869),_=a(96466),u=a(71893),g=a(31105),h=a(20053),p=a(55378),b=a.n(p),x=a(82758),f=a(59545),A=a(98413),y=a(67729),j=a(78199),C=a(16248),T=a(55456),B=a(93796),N=a(32994);let v=(0,B.default)(()=>({inputAmount__input:(0,T._)((0,u._)({minWidth:"8rem",padding:"0 .5rem",minHeight:"3.2rem",borderRadius:".5rem",outline:"none",transition:"background 0.1s ease",textAlign:"center",border:0,fontWeight:700},y.A.inputGame),{"&:disabled":(0,u._)({cursor:"not-allowed",fontWeight:400},y.A.inputGame_disable),[N.Ay.mobile]:{minWidth:"4.8rem",borderRadius:".2rem",minHeight:"2.2rem"}})})),w=(0,C.A)((0,n.forwardRef)((e,t)=>{let{className:a,value:n,disabled:l,onChange:r,onClick:o,onBlur:s,onFocus:m,onKeyPress:d,inputMode:c,minLength:_,maxLength:u,type:g,placeholder:p}=e,b=v();return(0,i.jsx)("input",{ref:t,className:(0,h.default)(b.inputAmount__input,a),value:n,disabled:l,onChange:r,onClick:o,onBlur:s,onFocus:m,onKeyPress:d,inputMode:c,minLength:_,maxLength:u,type:g,placeholder:p})}));var k=a(35106),M=a(90535),D=a(88356),S=a(71138),I=a(37563),z=a(93315);let P=(0,B.default)(()=>({transactionModal__root:{maxWidth:"70rem"},transactionModal__poolInfo__header:(0,u._)({textAlign:"center",margin:0,fontWeight:900,fontSize:"1.25rem"},y.A.transactionModal__poolInfo__header),transactionModal__header:{padding:"0 0 1rem",textAlign:"left"},transactionModal__gameTitle:{margin:"0 0 .5rem"},transactionModal__table:{textAlign:"left",[N.Ay.mobile_portrait]:{fontSize:"0.714286rem"},"& thead th":{whiteSpace:"pre","&:nth-child(5)":{whiteSpace:"normal"}},"& tbody":{"& td:nth-child(2)":{whiteSpace:"pre"}},"& th, td":{padding:".75em .25em"}},transactionModal__totalUserPayment:(0,u._)({textAlign:"center",padding:"1rem 0",fontWeight:800},y.A.transactionModal__totalUserPayment),transactionModal__pagination:{padding:"1rem 0 0 0"}})),R=(0,D.A)((0,M.A)({})(e=>{let{openModal:t=!1,setOpenModal:a=()=>{},currentPage:n=1,handleChangePage:l=()=>{},dataTransactions:o=[],totalUserPayment:s,table:m,titlePool:d,titlePeriod:c}=e,_=(0,z.F)(),u=P(),{t:g}=(0,r.B)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(S.A,{open:t,className:u.transactionModal__root,handleCloseModal:()=>a(!1),closeBtnFunc:()=>a(!1),disableBackdropClick:!0,children:[(0,i.jsxs)("div",{className:u.transactionModal__header,children:[(0,i.jsx)("div",{className:u.transactionModal__gameTitle,children:d}),(0,i.jsx)("div",{className:u.transactionModal__poolInfo__header,children:c})]}),(0,i.jsx)(k.A,{className:(0,h.default)(_.table_primary,u.transactionModal__table),table:m}),Math.ceil(o.length/10)>1&&(0,i.jsx)(I.A,{page:n,count:Math.ceil(o.length/10),handleChangePage:l,className:u.transactionModal__pagination}),(0,i.jsxs)("div",{className:u.transactionModal__totalUserPayment,children:[g("totalUserPayment"),": ",(0,i.jsx)(x.A,{value:s})]})]})})}));var L=a(41728);let H=e=>(0,i.jsxs)(L.A,(0,T._)((0,u._)({viewBox:"0 0 30 30"},e),{children:[(0,i.jsx)("g",{clipPath:"url(#clip0_865_12337)",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 22.5H16.5V13.5H13.5V22.5ZM15 0C6.75 0 0 6.75 0 15C0 23.25 6.75 30 15 30C23.25 30 30 23.25 30 15C30 6.75 23.25 0 15 0ZM15 27C8.4 27 3 21.6 3 15C3 8.4 8.4 3 15 3C21.6 3 27 8.4 27 15C27 21.6 21.6 27 15 27ZM13.5 10.5H16.5V7.5H13.5V10.5Z"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_865_12337",children:(0,i.jsx)("rect",{width:"30",height:"30"})})})]})),G=(0,B.default)(()=>({processBetModal__container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",height:"100%"},processBetModal__icon:(0,T._)((0,u._)({display:"block",height:"6rem",width:"6rem",margin:"0 0 1rem"},y.A.processBetModal__icon),{[N.Ay.mobile_landscape]:{height:"4rem",width:"4rem"}}),processBetModal__question:{fontSize:"2rem",whiteSpace:"nowrap",fontWeight:700,textTransform:"uppercase",[N.Ay.mobile_landscape]:{fontSize:"1.5rem"}}})),O=e=>{let{open:t=!1,handleClose:a=()=>{},nextAction:n=()=>{}}=e,l=G(),{t:o}=(0,r.B)();return(0,i.jsx)(S.A,{open:t,size:"small",handleCloseModal:a,buttons:[{onClick:a,label:(0,i.jsx)(f.A,{i18nKey:"no"}),className:y.A.btn_modal_cancel},{onClick:n,label:(0,i.jsx)(f.A,{i18nKey:"yes"})}],children:(0,i.jsxs)("div",{className:l.processBetModal__container,children:[(0,i.jsx)(H,{className:l.processBetModal__icon}),(0,i.jsx)("div",{className:l.processBetModal__question,children:o("ProcessBet")})]})})};var W=a(59750),K=a(58156),F=a.n(K),q=a(36780),E=a(56232);let U=(0,B.default)(()=>({infoTableModal:{"& .resultTable__value":(0,u._)({},y.A.resultTable__value)}})),Q=(0,n.memo)(e=>{let{open:t=!1,children:a,handleClose:n=()=>{},closeBtnFunc:l}=e,r=U();return(0,i.jsx)(S.A,{open:t,handleCloseModal:n,className:r.infoTableModal,closeBtnFunc:l,children:a})}),Y=(0,B.default)(()=>({resultTable__container:{overflow:"hidden",position:"relative",width:"100%",borderRadius:".4rem",fontSize:"1.2rem",display:"flex",flexDirection:"column",gap:".7rem","& .resultTable__value":(0,u._)({},y.A.resultTable__value)},resultTable__discounts:(0,u._)({wordBreak:"break-word",padding:"1.8rem 1.2rem",lineHeight:1.7},y.A.resultTable__discounts),resultTable__title:(0,u._)({fontWeight:700,padding:".8rem 1.2rem",display:"block",textTransform:"uppercase"},y.A.resultTable__title),resultTable__table:{fontSize:"1.2rem","& thead th, & tbody td":{padding:"1.2rem .4rem","&:nth-child(1)":{textAlign:"left",paddingLeft:"1.2rem"},"&:nth-child(2)":{textAlign:"left"},"&:nth-child(3)":{textAlign:"left"},"&:nth-child(4)":{paddingRight:"1.2rem",textAlign:"right"}}}})),J=(0,q.A)({InfoTableModal:Q})(e=>
1{let{className:t,title:a,tableTitle:n,table:l,content:r}=e,o=Y(),m=(0,E.Y0)(),d=(0,z.F)();return m.mobile?null:(0,i.jsxs)("div",{className:(0,h.default)(o.resultTable__container,t),children:[(0,i.jsxs)("div",{className:o.resultTable__discounts,children:[(0,i.jsx)(f.A,{i18nKey:a}),!s()(r)&&(0,i.jsx)("div",{children:r})]}),(0,i.jsx)(f.A,{className:o.resultTable__title,i18nKey:n||"Result"}),(0,i.jsx)(k.A,{className:(0,h.default)(d.table_primary,o.resultTable__table),table:l})]})});var V=a(88579);let Z=(0,B.default)(()=>({gameTable__form:{"&:not(:first-child)":{marginTop:"2rem",[N.Ay.mobile]:{marginTop:"1rem"}}},gameTable__title:(0,T._)((0,u._)({margin:"0 0 .5em",fontSize:"1.6rem",fontWeight:700,textTransform:"uppercase"},y.A.gameTable__title),{[N.Ay.mobile]:{fontSize:"1.2rem"}})})),X=(0,V.A)(e=>{let{title:t,table:a}=e,n=(0,g._)(e,["title","table"]),l=Z(),r=(0,z.F)(),o=(0,m.vc)(c.FB);return(0,i.jsxs)("form",{className:l.gameTable__form,children:[t&&(0,i.jsx)("div",{className:l.gameTable__title,children:t}),(0,i.jsx)(k.A,{className:(0,h.default)(r.table_primary,n.className,"subGame__"+o),table:a})]})}),$=(0,B.default)(()=>({gameContentContainer__container:{padding:0,width:"100%",gridArea:"table",display:"flex",flexDirection:"column",gap:"1.8rem"},gameContentContainer__result:{gridArea:"result",width:"27.2rem",[N.Ay.mobile]:{width:"100%"}},gameContentContainer__buttonWrapper:{display:"flex",justifyContent:"center",gap:"1.5rem"},gameContentContainer__button:{borderWidth:".2rem",minWidth:"14.8rem",[N.Ay.mobile_portrait]:{minWidth:"10.3rem"}}})),ee=(0,n.forwardRef)((e,t)=>{let{resultTableProps:a={},tablesProps:l=[],onResetTables:r,className:o,style:m,onSubmit:d,disableSubmit:c,labelSubmit:_,confirmTableProps:g}=e,p=$();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:null==t?void 0:t.tableRef,className:(0,h.default)(p.gameContentContainer__container,o),style:m,children:s()(F()(l,"[0].data"))?(0,i.jsx)("div",{}):(0,i.jsxs)(i.Fragment,{children:[b()(l,(e,t)=>(0,n.createElement)(X,(0,T._)((0,u._)({},e),{key:t}))),(0,i.jsxs)("div",{className:p.gameContentContainer__buttonWrapper,children:[r&&(0,i.jsx)(j.A,{className:(0,h.default)(p.gameContentContainer__button,y.A.btn_game_reset),onClick:r,children:(0,i.jsx)(f.A,{i18nKey:"Reset"})}),(0,i.jsx)(j.A,{className:(0,h.default)(p.gameContentContainer__button,y.A.btn_game_submit),onClick:d,disabled:c,children:_||(0,i.jsx)(f.A,{i18nKey:"Submit"})})]}),g&&(null==g?void 0:g.show)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:null==t?void 0:t.confirmRef,children:(0,i.jsx)(X,(0,u._)({},g))}),(0,i.jsxs)("div",{className:p.gameContentContainer__buttonWrapper,children:[(0,i.jsx)(j.A,{className:(0,h.default)(p.gameContentContainer__button,y.A.btn_game_cancel),onClick:null==g?void 0:g.onCancelConfirm,children:(0,i.jsx)(f.A,{i18nKey:"CANCEL"})}),(0,i.jsx)(j.A,{className:(0,h.default)(p.gameContentContainer__button,y.A.btn_game_process),onClick:null==g?void 0:g.onSubmitConfirm,children:(0,i.jsx)(f.A,{i18nKey:"PROCESS"})})]})]})]})}),(0,i.jsx)("div",{className:p.gameContentContainer__result,children:(0,i.jsx)(J,(0,u._)({},a))})]})}),et=(0,B.default)(()=>({AngkaTarung:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"auto auto 1fr",gridGap:"1rem",gridTemplateAreas:"\n 'head result'\n 'total result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},AngkaTarung__form:{display:"flex",flexDirection:"column",gap:"1rem",[N.Ay.mobile]:{gap:"1.2rem"}},AngkaTarung__formRow:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr 1fr 1fr",gap:".9rem",[N.Ay.mobile_portrait]:{gridTemplateColumns:"1fr 1fr 1fr 1fr"}},AngkaTarung__actionBtn_group:{gap:"1.8rem",display:"flex",marginTop:"1rem",[N.Ay.desktop]:{justifyContent:"flex-end",marginRight:"-1.8rem"}},AngkaTarung__text:{display:"block",marginBottom:".5em",lineHeight:1,fontSize:"1.3rem",fontWeight:700,[N.Ay.mobile]:{fontSize:"1rem"}},AngkaTarung__text_guess:{textTransform:"uppercase"},AngkaTarung__input:(0,u._)({width:"100%",minWidth:"unset"},y.A.AngkaTarung__input),AngkaTarung__guessNumbers:{letterSpacing:".2em"},AngkaTarung__actionBtn:{borderRadius:"3.4rem",height:"4.4rem",width:"12rem",[N.Ay.mobile]:{width:"unset",height:"3.2rem",fontSize:"1.2rem"}},AngkaTarung__table:{[N.Ay.mobile]:{marginTop:"1rem"},"& tbody td":{verticalAlign:"top"},"& th, td":{boxSizing:"content-box","&:nth-child(2)":{whiteSpace:"pre"},"&:nth-child(4)":{minWidth:"5em"}}},AngkaTarung__tick:{display:"inline-block",float:"right",textAlign:"center"},AngkaTarung__footerGuess:{textAlign:"right",fontWeight:900},AngkaTarung__footerAmount:{fontWeight:900},AngkaTarung__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginTop:"1rem",minHeight:"2.6rem"}})})),ea=(0,A.A)({ProcessBetModal:O,TransactionModal:R,Tick:W.A,useStyles:et})((0,n.forwardRef)((e,t)=>{let{inputProps:a,resetInputs:l,addDataTable:o,listGuess:s,totalPay:m,submitRowBet:d,resultTableProps:c,columnTable:_}=e,{scrollRef:p}=t,A=et(),{t:C}=(0,r.B)(),T=(0,n.useMemo)(()=>(0,i.jsx)(ee,{className:A.AngkaTarung__table,labelSubmit:C("Confirm"),onSubmit:d,tablesProps:[{data:s,columns:_}],resultTableProps:c}),[s]);return(0,i.jsxs)("div",{ref:p,className:A.AngkaTarung,children:[(0,i.jsxs)("form",{className:A.AngkaTarung__form,children:[(0,i.jsx)("div",{className:A.AngkaTarung__formRow,children:b()(null==a?void 0:a.guess,e=>{let{label:t}=e,a=(0,g._)(e,["label"]);return(0,i.jsxs)("label",{children:[(0,i.jsx)(f.A,{i18nKey:t,className:(0,h.default)(A.AngkaTarung__text,A.AngkaTarung__text_guess)}),(0,i.jsx)(w,(0,u._)({className:(0,h.default)(A.AngkaTarung__input,A.AngkaTarung__input_guess)},a))]},t)})}),(0,i.jsx)("div",{className:A.AngkaTarung__formRow,children:b()(null==a?void 0:a.buy,e=>{let{label:t}=e,a=(0,g._)(e,["label"]);return(0,i.jsxs)("label",{children:[(0,i.jsx)(f.A,{i18nKey:t,className:A.AngkaTarung__text}),(0,i.jsx)(w,(0,u._)({className:A.AngkaTarung__input},a))]},t)})}),(0,i.jsxs)("div",{className:A.AngkaTarung__actionBtn_group,children:[(0,i.jsx)(j.A,{className:(0,h.default)(A.AngkaTarung__actionBtn,y.A.btn_game_reset),onClick:l,children:(0,i.jsx)(f.A,{i18nKey:"Reset"})}),(0,i.jsx)(j.A,{type:"submit",className:(0,h.default)(A.AngkaTarung__actionBtn,y.A.btn_game_submit),onClick:o,children:(0,i.jsx)(f.A,{i18nKey:"Submit"})}),(0,i.jsx)("div",{ref:p})]})]}),(0,i.jsxs)("div",{className:A.AngkaTarung__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:m,tableFormat:!0})]}),T]})}));var ei=a(69312),en=a(15776),el=a(46487),er=a(24527),eo=a(42089);let es=(0,B.default)(()=>({BBCampuran:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"auto auto auto 1fr",gridGap:"1rem",gridTemplateAreas:"\n 'head result'\n 'total result'\n 'filter result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},BBCampuran__guessInputForm:{gap:".9rem",display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr 1fr 1fr 1fr",[N.Ay.mobile]:{gap:".5rem",fontSize:".75rem",gridTemplateColumns:"1fr 1fr 1fr 1fr"},[N.Ay.mobile_portrait]:{fontSize:".8333333rem"}},BBCampuran__inputRow:{display:"flex",flexDirection:"column",justifyContent:"flex-start",fontSize:"1.3rem",fontWeight:700,whiteSpace:"nowrap","& label":{marginBottom:".5em"},[N.Ay.mobile]:{fontSize:"1.1rem"}},BBCampuran__input:(0,T._)((0,u._)({height:"3.2rem",width:"100%"},y.A.BBCampuran__input),{[N.Ay.mobile]:{height:"2.8rem"}}),BBCampuran__btnWrap:{display:"flex",flexDirection:"row",justifyContent:"flex-end",gap:"1.8rem",width:"100%",[N.Ay.mobile]:{marginTop:"1.5rem"}},BBCampuran__button:{minWidth:"unset",minHeight:"3.2rem",padding:"0 1rem",fontSize:"1.6rem",width:"100%",[N.Ay.desktop]:{width:"14.8rem",height:"4.4rem",borderRadius:"3.4rem"},[N.Ay.mobile]:{fontSize:"1.2rem",minHeight:"3.2rem"}},BBCampuran__guessNumbers:{letterSpacing:".2em"},BBCampuran__filter__container:{gridArea:"filter",display:"flex",alignItems:"center",width:"100%",gap:"3rem",[N.Ay.mobile_landscape]:{padding:"1rem 0"},[N.Ay.mobile_portrait]:{padding:"1rem"}},BBCampuran__filter__title:{fontWeight:700,[N.Ay.mobile_portrait]:{width:"18vw"}},BBCampuran__radioGroup:{flexDirection:"unset",gap:"1rem"},BBCampuran__radioLabel:{margin:"0 2em 0 0",display:"flex",gap:"1rem",[N.Ay.mobile_portrait]:{margin:0,width:"18vw"},"&:last-child":{margin:0}},BBCampuran__radioLabelText:{fontSize:"1em",fontWeight:400},BBCampuran__table:{marginTop:0,"& tbody td":{verticalAlign:"top","&:not(:first-child):not(:nth-child(2))":{fontWeight:400}},"& th, td":{boxSizing:"content-box","&:nth-child(2)":{whiteSpace:"pre"},"&:nth-child(4)":{minWidth:"5em"}},"& th:last-child":{width:"5rem"}},BBCampuran__tick:{display:"flex",flexDirection:"row-reverse",float:"right",gap:".5rem",textAlign:"center",[N.Ay.mobile]:{gap:".2rem"}},BBCampuran__footerGuess:{textAlign:"right",fontWeight:700,[N.Ay.desktop]:{fontSize:"1.6rem"}},BBCampuran__footerAmount:{fontWeight:700,[N.Ay.desktop]:{fontSize:"1.6rem"}},BBCampuran__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginTop:"1rem",minHeight:"2.6rem"}})})),em=(0,er.A)({ProcessBetModal:O,TransactionModal:R,Tick:W.A,useStyles:es})((0,n.forwardRef)((e,t)=>
1{let{inputProps:a,guessInput:l,guessProps:o,onChangeGuess:s,resetInputs:m,addDataTable:d,listGuess:c,totalPay:_,submitRowBet:p,filterSize:A,handleChangeFilterSize:C,filterType:B,handleChangeFilterType:N,resultTableProps:v,columnTable:k}=e,{guessInputRef:M,scrollRef:D}=t,S=es(),{t:I}=(0,r.B)(),z=(0,n.useMemo)(()=>!!c.length&&(0,i.jsxs)("div",{className:S.BBCampuran__filter__container,children:[(0,i.jsx)("div",{className:S.BBCampuran__filter__title,children:(0,i.jsx)(f.A,{i18nKey:"Filter"})}),(0,i.jsx)(ei.A,{component:"fieldset",children:(0,i.jsxs)(el.A,{value:A,classes:{root:S.BBCampuran__radioGroup},children:[(0,i.jsx)(en.A,{control:(0,i.jsx)(eo.A,{onClick:C}),classes:{root:S.BBCampuran__radioLabel,label:S.BBCampuran__radioLabelText},value:"big",label:(0,i.jsx)(f.A,{i18nKey:"big"})},"big"),(0,i.jsx)(en.A,{control:(0,i.jsx)(eo.A,{onClick:C}),classes:{root:S.BBCampuran__radioLabel,label:S.BBCampuran__radioLabelText},value:"small",label:(0,i.jsx)(f.A,{i18nKey:"small"})},"small")]})}),(0,i.jsx)(ei.A,{component:"fieldset",children:(0,i.jsxs)(el.A,{value:B,classes:{root:S.BBCampuran__radioGroup},children:[(0,i.jsx)(en.A,{control:(0,i.jsx)(eo.A,{onClick:N}),classes:{root:S.BBCampuran__radioLabel,label:S.BBCampuran__radioLabelText},value:"even",label:(0,i.jsx)(f.A,{i18nKey:"even"})},"even"),(0,i.jsx)(en.A,{control:(0,i.jsx)(eo.A,{onClick:N}),classes:{root:S.BBCampuran__radioLabel,label:S.BBCampuran__radioLabelText},value:"odd",label:(0,i.jsx)(f.A,{i18nKey:"odd"})},"odd")]})})]}),[c,S,A,B,C,N]),P=(0,n.useMemo)(()=>(0,i.jsxs)(i.Fragment,{children:[z,(0,i.jsx)(ee,{className:S.BBCampuran__table,labelSubmit:I("Confirm"),onSubmit:p,tablesProps:[{data:c,columns:k}],resultTableProps:v})]}),[c]);return(0,i.jsxs)("div",{className:S.BBCampuran,children:[(0,i.jsxs)("form",{children:[(0,i.jsxs)("div",{className:S.BBCampuran__guessInputForm,children:[(0,i.jsxs)("div",{className:S.BBCampuran__inputRow,children:[(0,i.jsx)("label",{children:(0,i.jsx)(f.A,{i18nKey:"Guess"})}),(0,i.jsx)(w,(0,T._)((0,u._)({ref:M,className:"".concat(S.BBCampuran__input," ").concat(S.BBCampuran__guessNumbers),amountProps:l.guess,handleChange:s},o),{moneyView:!1}))]}),b()(a,e=>{let{label:t}=e,a=(0,g._)(e,["label"]);return(0,i.jsxs)("div",{className:S.BBCampuran__inputRow,children:[(0,i.jsx)("label",{children:(0,i.jsx)(f.A,{i18nKey:t})}),(0,i.jsx)(w,(0,u._)({className:S.BBCampuran__input},a))]},t)}),(0,i.jsx)("div",{ref:D})]}),(0,i.jsxs)("div",{className:(0,h.default)(S.BBCampuran__inputRow,S.BBCampuran__btnWrap),children:[(0,i.jsx)(j.A,{className:(0,h.default)(S.BBCampuran__button,y.A.btn_game_reset),onClick:m,children:(0,i.jsx)(f.A,{i18nKey:"Reset"})}),(0,i.jsx)(j.A,{type:"submit",onClick:d,className:(0,h.default)(S.BBCampuran__button,y.A.btn_game_submit),children:(0,i.jsx)(f.A,{i18nKey:"Submit"})})]})]}),(0,i.jsxs)("div",{className:S.BBCampuran__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:_,tableFormat:!0})]}),P]})}));var ed=a(22287);let ec=(0,B.default)(()=>({colokBebas:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},colokBebas__tableContainer:{"& tr":{"& th:nth-child(1)":{width:"35%"},"& th:nth-child(3)":{width:"10em"},"& th:nth-child(4)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}}}},colokBebas__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},colokBebas__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),e_=(0,ed.A)({ProcessBetModal:O,TransactionModal:R,InputAmount:w,useStyles:ec})(e=>{let{submitBet:t,totalPay:a,resetAllData:n,listGuess:l,resultTableProps:r,columnTable:o}=e,s=ec();return(0,i.jsxs)("div",{className:s.colokBebas,children:[(0,i.jsxs)("div",{className:s.colokBebas__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:a,tableFormat:!0})]}),(0,i.jsx)(ee,{className:s.colokBebas__tableContainer,onSubmit:t,onResetTables:n,tablesProps:[{data:l,columns:o}],resultTableProps:r})]})});var eu=a(61229),eg=a(96365);let eh=(0,T._)((0,u._)({height:"3rem",width:"3rem",borderRadius:"20%",textAlign:"center",outline:"none",transition:"background .1s ease",fontWeight:700,padding:0,border:0},y.A.oneInputGame),{[N.Ay.mobile]:{height:"2rem",width:"2rem"},"&:not(:first-child)":{marginLeft:".25em"},"&:disabled":(0,u._)({cursor:"not-allowed"},y.A.inputGame_disable)}),ep=(0,B.default)(()=>({colokBeBasTwoD:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},colokBeBasTwoD__tableContainer:{"& tr":{"& th:nth-child(4)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}},"& th:nth-child(5)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}}}},colokBeBasTwoD__inputGuess:(0,u._)({},eh),colokBeBasTwoD__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},colokBeBasTwoD__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),eb=(0,eu.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,useStyles:ep})(e=>{let{submitBet:t,resetAllData:a,listGuess:n,totalPay:l,columnTable:r,resultTableProps:o}=e,s=ep();return(0,i.jsxs)("div",{className:s.colokBeBasTwoD,children:[(0,i.jsxs)("div",{className:s.colokBeBasTwoD__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:l,tableFormat:!0})]}),(0,i.jsx)(ee,{className:s.colokBeBasTwoD__tableContainer,onSubmit:t,onResetTables:a,tablesProps:[{data:n,columns:r}],resultTableProps:o})]})});var ex=a(57730),ef=a(52970),eA=a(81176),ey=a(23972),ej=a(10161);let eC=(0,B.default)(()=>({selectTogelInTable__container:{width:"100%","&:not(:last-child)":{marginBottom:"1rem"}},selectTogelInTable__label:{display:"flex",justifyContent:"flex-start",alignItems:"center",margin:"0 0 .5rem .75rem",position:"relative",fontWeight:700},selectTogelInTable__dropdownIndicator:{width:".8rem",height:"1.2rem",[N.Ay.mobile]:{width:".5rem",height:".6rem"}},selectTogelInTable__error:(0,u._)({padding:0,textAlign:"left"},y.A.input__errorText),selectTogelInTable__required:{padding:"0 .3em"}})),eT=()=>{let e=eC();return(0,i.jsx)(ej.A,{className:e.selectTogelInTable__dropdownIndicator})},eB=(0,n.forwardRef)((e,t)=>{let[a,...l]=[e,t],{label:r,value:o,defaultValue:s,options:m,onChange:d=()=>{},required:c,helperText:_,className:p="",isDisabled:b}=a,x=(0,g._)(a,["label","value","defaultValue","options","onChange","required","helperText","className","isDisabled"]),[f]=l,A=eC(),j=(0,E.Y0)(),C=(0,n.useRef)(),B=(0,n.useMemo)(()=>({control:e=>(0,T._)((0,u._)((0,T._)((0,u._)({},e),{borderRadius:j.mobile?".3rem":".5rem",minHeight:0,height:j.desktop?"3.3rem":"2.2rem",maxHeight:"100%",border:0,boxShadow:"none !important",padding:j.mobile_portrait?"0 .5rem":"0 .75rem",cursor:"pointer"}),y.A.inputGame),{"&:hover":{borderColor:"transparent"}}),menu:e=>{var t,a;let i={top:"calc(100% + .2rem)"};return(null==C||null==(t=C.current)?void 0:t.getBoundingClientRect)&&(null==(a=C.current.getBoundingClientRect())?void 0:a.bottom)>window.innerHeight/2&&(i={top:"unset",bottom:"calc(100% + .2rem)"}),(0,u._)((0,T._)((0,u._)({},e),{margin:0,width:"100%",overflow:"hidden",borderRadius:".7rem",zIndex:1e8}),i,y.A.select_menu)},menuList:e=>(0,T._)((0,u._)({},e),{paddingTop:0,paddingBottom:0,minHeight:j.mobile?"6rem":"12rem",maxHeight:"calc(50vh - 10vw)",[N.Ay.mobile_portrait]:{maxHeight:"calc(50vh - 18vw)"}}),container:e=>(0,T._)((0,u._)({},e),{width:"100%",height:"100%",maxHeight:"100%"}),valueContainer:e=>(0,T._)((0,u._)({},e),{height:"100%",maxHeight:"100%",padding:"0"}),option:(e,t)=>{let{isFocused:a}=t;return(0,u._)((0,T._)((0,u._)({},e),{background:"none !important",color:"inherit",padding:j.mobile_portrait?".5rem":".5rem .75rem",transition:"all .15s cubic-bezier(0.4, 0, 0.2, 1) 0s",cursor:"pointer"}),a?y.A.select_menu_isFocused:{})},indicatorsContainer:(e,t)=>{var a;return(0,T._)((0,u._)({},e),{color:"inherit !important",height:"100%",transition:"all .2s",transformOrigin:"center center",transform:(null==t||null==(a=t.selectProps)?void 0:a.menuIsOpen)?"rotateZ(-180deg)":"none"})},indicatorSeparator:()=>({display:"none"}),input:e=>(0,T._)((0,u._)({},e),{color:y.A.input_txt}),placeholder:e=>(0,T._)((0,u._)({},e,y.A.input__placeholder),{margin:0}),singleValue:e=>(0,T._)((0,u._)({},e),{color:"inherit",margin:0,maxWidth:"100%"})}),[j]);return(0,i.jsxs)("div",{className:(0,h.default)(A.selectTogelInTable__container,p),ref:C,children:[r&&(0,i.jsxs)("div",{className:A.selectTogelInTable__label,children:[r,c&&(0,i.jsx)("div",{className:A.selectTogelInTable__required,
1children:"*"})]}),(0,i.jsx)(eA.Ay,(0,T._)((0,u._)({},x),{ref:f,styles:B,value:o,defaultValue:s,options:m,onChange:d,isSearchable:!1,components:{DropdownIndicator:b?null:eT},isDisabled:b,noOptionsMessage:()=>""})),(0,i.jsx)("div",{className:A.selectTogelInTable__error,children:(0,ey.T)(_)})]})}),eN=(0,B.default)(()=>({colokJitu:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},colokJitu__tableContainer:{"& tr":{"& th:last-child":{width:"10em"}}},colokJitu__inputGuess:(0,u._)({},eh),colokJitu__selectPosition:{height:"3.2rem",width:"15rem",[N.Ay.mobile_landscape]:{height:"2.4rem",borderRadius:"3.3rem"},[N.Ay.mobile_portrait]:{width:"9.6rem",height:"2rem",borderRadius:"3.3rem"}},colokJitu__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},shio__resultTable:{"& th:last-child, td:last-child":{textAlign:"left"}},colokJitu__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),ev=(0,ex.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A})((0,n.forwardRef)((e,t)=>{let{mainGame:a,totalPay:l,getPay:o,handleChangeInputFormat:s,handleChangeSearch:m,submitBet:d,resetAllData:c,listGuess:_,handleKeyPress:u,resultTableProps:g}=e,{guessElements:h,positionElements:p,betElements:b}=t,A=eN(),{t:y,i18n:{language:j}}=(0,r.B)(),C=(0,n.useMemo)(()=>[{Header:y("NOPoint"),accessor:"no"},{Header:y("Guess"),accessor:"guess",Cell:e=>{let{row:t,onKeyPress:a}=e;return 0===t.index?"":(0,i.jsx)("input",{ref:e=>{h.current[t.index]=e},onKeyPress:e=>a(e,t.index,"guess"),className:A.colokJitu__inputGuess,value:t.values.guess,onChange:e=>{var a;return s(null==e||null==(a=e.target)?void 0:a.value,t.index,"guess")},maxLength:1})}},{Header:y("Position"),accessor:"position",Cell:e=>{let{row:t}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{p.current[t.index]=e},value:t.values.position,defaultValue:t.values.position,options:ex.f,getOptionLabel:e=>y(e.label),onChange:e=>m(e,t.index),className:A.colokJitu__selectPosition})}},{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:y("Discount")}),accessor:"discount",Cell:e=>{let{row:{original:t}}=e;if(!t.no)return"";let a=(0,ef.A)((Math.floor(100*o(t).discount)/100).toFixed(2));return(0,i.jsx)("div",{style:{textAlign:"right"},children:a})}},{Header:y("Bet"),accessor:"buy",Cell:e=>{let{row:t,onKeyPress:n}=e;return 0===t.index?(0,i.jsx)(w,{ref:e=>{b.current[t.index]=e},onKeyPress:e=>n(e,t.index,"buy"),className:A.colokJitu__inputBet,handleChange:e=>s(e,t.index,"buy"),amountProps:t.values.buy,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),placeholder:y("Auto Bet")}):(0,i.jsx)(w,{ref:e=>{b.current[t.index]=e},onKeyPress:e=>n(e,t.index,"buy"),className:A.colokJitu__inputBet,handleChange:e=>s(e,t.index,"buy"),amountProps:t.values.buy,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),disabled:!t.values.guess})}}],[j]);return(0,i.jsxs)("div",{className:A.colokJitu,children:[(0,i.jsxs)("div",{className:A.colokJitu__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:l,tableFormat:!0})]}),(0,i.jsx)(ee,{className:A.colokJitu__tableContainer,onSubmit:d,onResetTables:c,tablesProps:[{data:_,columns:C,onKeyPress:u}],resultTableProps:g})]})}));var ew=a(77085);let ek=(0,B.default)(()=>({colokNaga:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},colokNaga__tableContainer:{"& tr":{"& th:nth-child(6)":{width:"10em"}}},colokNaga__inputGuess:(0,u._)({},eh),colokNaga__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},colokNaga__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),eM=(0,ew.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,useStyles:ek})(e=>{let{submitBet:t,totalPay:a,resetAllData:n,listGuess:l,columnTable:r,resultTableProps:o}=e,s=ek();return(0,i.jsxs)("div",{className:s.colokNaga,children:[(0,i.jsxs)("div",{className:s.colokNaga__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:a,tableFormat:!0})]}),(0,i.jsx)(ee,{className:s.colokNaga__tableContainer,onSubmit:t,onResetTables:n,tablesProps:[{data:l,columns:r}],resultTableProps:o})]})});var eD=a(43223),eS=a(24713),eI=a.n(eS),ez=a(33806);let eP=(0,B.default)(()=>({radioGroup:{flexDirection:"unset"},radioLabel:{margin:"0 25px 0 0",[N.Ay.mobile_portrait]:{margin:"0 1em 0 0"},"&:last-child":{margin:0}},radioLabelText:{fontSize:"1em"}})),eR=(0,n.memo)((0,n.forwardRef)((e,t)=>{let{value:a,row:l,column:r,updateData:o=()=>{},betsRef:s=[],data:m,options:d=[]}=e,c=eP(),_=(0,n.useRef)();(0,n.useImperativeHandle)(t,()=>({focus:()=>{let e=_.current.getElementsByTagName("label")[0];e&&e.focus()}}));let g=(0,n.useCallback)(async e=>{await o(l.values.no,r.id,e.target.value);let t=eI()(m,{no:l.values.no});s.current[t].focus()},[l,s,r.id,m,o]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(ei.A,{component:"fieldset",children:(0,i.jsx)(el.A,{ref:_,value:a,onChange:g,classes:{root:c.radioGroup},children:d.map(e=>(0,i.jsx)(en.A,(0,u._)({control:(0,i.jsx)(eo.A,{}),classes:{root:c.radioLabel,label:c.radioLabelText}},e),(0,ez.A)()))})})})})),eL=(0,B.default)(()=>({dasar:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},dasar__tableContainer:{"& th:nth-child(1)":{width:"10%"},"& th:nth-child(2)":{width:"20%"},"& th:nth-child(4)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}},"& th:nth-child(5)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}}},dasar__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},dasar__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),eH=(0,eD.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,RadioGuessCell:eR,useStyles:eL})(e=>{let{onSubmit:t,dataOddEven:a,setDataOddEven:n,guessOddEvenColumn:l,totalPay:o,dataBigSmall:s,setDataBigSmall:m,guessBigSmallColumn:d,handleKeyPress:c,onResetTables:_,resultTableProps:u}=e,g=eL(),{t:h}=(0,r.B)();return(0,i.jsxs)("div",{className:g.dasar,children:[(0,i.jsxs)("div",{className:g.dasar__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:o,tableFormat:!0})]}),(0,i.jsx)(ee,{className:g.dasar__tableContainer,onSubmit:t,tablesProps:[{data:a,setData:n,columns:l,title:"".concat(h("odd"),"/ ").concat(h("even")),onKeyPress:c},{data:s,setData:m,columns:d,title:"".concat(h("big"),"/ ").concat(h("small")),onKeyPress:c}],resultTableProps:u,onResetTables:_})]})});var eG=a(48255);let eO=(0,B.default)(()=>({betBB:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"auto 1fr",gridGap:"1rem",gridTemplateAreas:"\n 'head result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},betBB__guessInputForm:{display:"flex",alignItems:"flex-end",[N.Ay.mobile]:{margin:" 0 0 1rem"}},betBB__inputRow:{display:"flex",flexDirection:"column",justifyContent:"flex-start"},betBB__inputRowBet:{padding:"0 1rem",[N.Ay.mobile_portrait]:{padding:"0 .5rem"}},betBB__input:{height:"2.5rem",width:"10em",borderRadius:".5rem",marginTop:".5rem",display:"block",[N.Ay.mobile]:{height:"2rem"}},betBB__guessNumbers:{letterSpacing:"1em"},betBB__actionBtn:{[N.Ay.desktop]:{minWidth:"10em",minHeight:"2.5rem"},[N.Ay.mobile]:{minWidth:"7em",minHeight:"2rem",fontSize:"1rem"},[N.Ay.mobile_portrait]:{width:"100%"}},betBB__numbers:{letterSpacing:12},betBB__tick:{display:"inline-block",float:"right","& img":{float:"right",[N.Ay.mobile_portrait]:{width:"2em"}}}})),eW=(0,eG.A)({ProcessBetModal:O,TransactionModal:R,Tick:W.A,useStyles:eO})((0,n.forwardRef)((e,t)=>
1{let{type:a,settings:n,guessInput:l,onChange:o,handleChangeInputFormat:s,addDataTable:m,submitRowBet:d,resultTableProps:c,columnTable:_,dataTable:u}=e,{guessEl:g,buyEl:p,scrollRef:b}=t,x=eO(),{t:A}=(0,r.B)();return(0,i.jsxs)("div",{className:x.betBB,children:[(0,i.jsxs)("form",{className:x.betBB__guessInputForm,children:[(0,i.jsx)("div",{className:x.betBB__inputRow,children:(0,i.jsxs)("label",{children:[(0,i.jsx)(f.A,{i18nKey:"Guess"}),(0,i.jsx)(w,{ref:g,className:(0,h.default)(x.betBB__input,x.betBB__guessNumbers),amountProps:l.guess,handleChange:o,maxLength:4,minLength:2,moneyView:!1})]})}),(0,i.jsx)("div",{className:(0,h.default)(x.betBB__inputRow,x.betBB__inputRowBet),children:(0,i.jsxs)("label",{children:[(0,i.jsx)(f.A,{i18nKey:"Buy"}),(0,i.jsx)(w,{className:x.betBB__input,handleChange:s,amountProps:l.buy,ref:p,minBet:F()(n,"min_bet"),maxBet:F()(n,"max_bet.max_bet_".concat(a))})]})}),(0,i.jsx)(j.A,{type:"submit",className:(0,h.default)(x.betBB__actionBtn,y.A.btn_game_submit),onClick:m,children:(0,i.jsx)(f.A,{i18nKey:"Submit"})})]}),(0,i.jsx)("div",{ref:b}),(0,i.jsx)(ee,{tablesProps:[{data:u,columns:_}],resultTableProps:c,onSubmit:d,labelSubmit:A("Confirm")})]})}));var eK=a(47082);let eF=e=>(0,i.jsxs)(L.A,(0,T._)((0,u._)({viewBox:"0 0 20 20"},e),{children:[(0,i.jsx)("path",{d:"M19.0418 10.0001C19.1745 9.99962 19.3059 10.0264 19.4276 10.0789C19.5494 10.1316 19.6592 10.2094 19.7491 10.3063C19.8389 10.4032 19.9075 10.5174 19.95 10.6419C19.9926 10.7665 20.008 10.8987 19.9961 11.0297C19.7387 13.4692 18.577 15.7281 16.735 17.3698C14.893 19.0114 12.5015 19.9198 10.0223 19.9194C8.06304 19.9248 6.14605 19.356 4.51297 18.285L3.05646 19.7255C2.92271 19.857 2.7525 19.9462 2.56747 19.9822C2.38241 20.0182 2.19051 19.9995 2.01639 19.9278C1.84221 19.856 1.6934 19.7344 1.58879
119.579C1.48428 19.4238 1.42826 19.2416 1.42835 19.0551V13.7788C1.42835 13.5282 1.52899 13.2877 1.70807 13.1105C1.88713 12.9335 2.13013 12.8343 2.38331 12.8343H7.71618C7.90446 12.8351 8.08864 12.8909 8.24493 12.9947C8.40108 13.0985 8.52319 13.2455 8.59511 13.4175C8.66705 13.5896 8.68534 13.7795 8.64882 13.9623C8.61226 14.1449 8.52199 14.3129 8.38933 14.445L7.3102 15.5171C8.15366 15.9284 9.08195 16.1419 10.0223 16.1407C11.5229 16.1407 12.9725 15.6024 14.1031 14.6263C15.2336 13.6503 15.9688 12.3024 16.172 10.8316C16.1997 10.6052 16.3093 10.3963 16.4804 10.2436C16.6515 10.0908 16.8728 10.0042 17.1033 10.0001H19.0418Z"}),(0,i.jsx)("path",{d:"M17.4283 0.0187115C17.6137 -0.0182569 17.806 -0.000256849 17.9808 0.0710285C18.1557 0.142361 18.3053 0.263549 18.4105 0.419111C18.5157 0.574673 18.5718 0.757927 18.5717 0.945072V6.22282C18.5717 6.47324 18.471 6.714 18.2919 6.89108C18.1129 7.06803 17.8698 7.16731 17.6167 7.16731H12.2852C12.0956 7.1684 11.9103 7.11329 11.7523 7.00966C11.5943 6.90599 11.4706 6.75806 11.3979 6.58485C11.3253 6.41172 11.3062 6.22105 11.3435 6.03726C11.3808 5.85341 11.4726 5.68451 11.6072 5.55246L12.6912 4.48101C11.8094 4.0555 10.838 3.84249 9.857 3.86018C8.87599 3.87789 7.91275 4.12578 7.04722 4.58285C6.18179 5.03992 5.43841 5.69364 4.8778 6.48998C4.31714 7.28639 3.95549 8.20295 3.82238 9.16443C3.79607 9.38996 3.68809 9.59831 3.51894 9.75177C3.34975 9.90525 3.13038 9.99365 2.9009 10.0001H0.95819C0.825273 10.0006 0.693526 9.97395 0.57174 9.92128C0.449948 9.86861 0.340723 9.79076 0.250861 9.69388C0.16107 9.59703 0.0925295 9.48283 0.0499629 9.35835C0.00737427 9.23379 -0.00804167 9.10146 0.00392379 8.97051C0.17696 7.27213 0.790349 5.64661 1.7848 4.25151C2.77925 2.85648 4.12084 1.73887 5.67999 1.00715C7.23927 0.275435 8.96344 -0.0460537 10.685 0.0745163C12.4066 0.195114 14.0678 0.753844 15.5073 1.69565L16.9394 0.278902C17.0726 0.146133 17.243 0.0557317 17.4283 0.0187115Z"})]})),eq=(0,B.default)(()=>({resetButton:(0,T._)((0,u._)({textTransform:"uppercase",wordBreak:"keep-all",display:"flex",justifyContent:"center",alignItems:"center",gap:".6rem",fontWeight:700,fontSize:"1.4rem",borderRadius:".6rem",width:"8.9rem",height:"3.6rem",border:"none"},y.A.resetButton),{[N.Ay.mobile]:{width:"2.5rem",height:"1.8rem"}}),resetButton__icon:{fontSize:"2rem",[N.Ay.mobile]:{fontSize:"1.2rem"}}})),eE=(0,n.memo)(e=>{let{row:{index:t},resetRowData:a}=e,l=eq(),{desktop:r}=(0,E.Y0)(),o=(0,n.useCallback)(()=>{a(t)},[a,t]);return(0,i.jsxs)("button",{type:"button",onClick:o,className:l.resetButton,tabIndex:"-1",children:[(0,i.jsx)(eF,{className:l.resetButton__icon}),r&&(0,i.jsx)(f.A,{i18nKey:"Reset"})]})}),eU=(0,B.default)(()=>({fourDSet__content:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},fourDSet__inputGuess:{width:"8em",letterSpacing:"1em",fontSize:"inherit",[N.Ay.mobile_portrait]:{width:"3.5em",letterSpacing:"unset",padding:0}},fourDSet__inputBuy:{width:"6em",fontSize:"inherit",[N.Ay.mobile_portrait]:{width:"4.4em",padding:0}},fourDSet__buyCell:{display:"grid",gridTemplateColumns:"auto auto auto",gridGap:".5em",width:"fit-content",[N.Ay.mobile_portrait]:{gridGap:".25em"}},fourDSet__table:{[N.Ay.mobile_portrait]:{fontSize:".8rem"},"& td":{"&:nth-child(4)":{width:"50%"},"&:nth-child(5)":{width:"50%"}}}})),eQ=(0,eK.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,ResetButton:eE,useStyles:eU})(e=>{let{data:t,setData:a,resetRowData:n,submitRowBet:l,resultTableProps:r,resetAllData:o,columns:s}=e,m=eU();return(0,i.jsx)("div",{className:m.fourDSet__content,children:(0,i.jsx)(ee,{tablesProps:[{data:t,setData:a,columns:s,resetRowData:n,className:m.fourDSet__table}],resultTableProps:r,onSubmit:l,onResetTables:o})})});var eY=a(29056),eJ=a(95091),eV=a(36940);let eZ=(0,B.default)(()=>({selectPageSize__container:{display:"flex",flexDirection:"row !important",alignItems:"center",width:"fit-content",float:"right",margin:0},selectPageSize__value:{display:"flex",justifyContent:"center",alignItems:"center",position:"relative",fontSize:".9rem",fontWeight:700,minWidth:"4.7rem",height:"2.8rem",padding:"0 2px",textTransform:"uppercase",[N.Ay.mobile]:{fontSize:".9rem",fontWeight:700,minWidth:"1.8rem",height:"1.6rem"}},selectPageSize__dropdownIcon:(0,T._)((0,u._)({fontSize:"1rem",marginRight:".5rem"},y.A.selectPageSize__dropdownIcon),{[N.Ay.mobile]:{fontSize:".6rem"}}),selectPageSize__error:(0,u._)({padding:0,textAlign:"left"},y.A.input__errorText),selectPageSize__required:(0,u._)({marginLeft:".25em"},y.A.input__errorText)})),eX=()=>{let e=eZ();return(0,i.jsx)(ej.A,{className:e.selectPageSize__dropdownIcon})},e$=(0,n.forwardRef)((e,t)=>{let[a,...l]=[e,t],{label:r,value:o,defaultValue:s,options:m,onChange:d=()=>{},required:c,helperText:_,className:h="",isDisabled:p}=a,b=(0,g._)(a,["label","value","defaultValue","options","onChange","required","helperText","className","isDisabled"]),[x]=l,f=(0,E.Y0)(),A=eZ(),j=(0,n.useMemo)(()=>({control:()=>(0,T._)((0,u._)({border:"1px solid transparent !important",boxShadow:"none !important",cursor:"pointer",display:"flex",alignItems:"center",gap:".2em",borderRadius:f.desktop?".6rem":".2rem"},y.A.selectPageSize__control),{"&:hover":{borderColor:"transparent"}}),menu:e=>(0,u._)((0,T._)((0,u._)({},e),{margin:0,width:"100%",top:"100%",zIndex:9999,overflow:"hidden",borderRadius:".2rem"}),y.A.select_menu),menuList:e=>(0,T._)((0,u._)({},e),{paddingTop:0,paddingBottom:0}),container:e=>(0,T._)((0,u._)({},e),{height:"100%",maxHeight:"100%"}),valueContainer:()=>({display:"flex"}),option:(e,t)=>{let{isFocused:a}=t;return(0,u._)((0,T._)((0,u._)({},e),{background:"none !important",color:"inherit",padding:f.mobile_portrait?".5rem":".5rem .75rem",transition:"all .15s cubic-bezier(0.4, 0, 0.2, 1) 0s",cursor:"pointer"}),a?y.A.select_menu_isFocused:{})},indicatorsContainer:(e,t)=>{var a;return(0,T._)((0,u._)({},e),{color:"inherit !important",height:"100%",transition:"all .2s",transformOrigin:"center center",transform:(null==t||null==(a=t.selectProps)?void 0:a.menuIsOpen)?"rotateZ(-180deg)":"none",alignSelf:"center"})},indicatorSeparator:()=>({display:"none"}),input:e=>(0,T._)((0,u._)({},e),{color:y.A.input_txt}),placeholder:e=>(0,T._)((0,u._)({},e),{color:"inherit",opacity:.5,margin:0}),singleValue:()=>(0,T._)((0,u._)({margin:0,maxWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center",position:"relative",fontSize:"1.6rem",fontWeight:700,padding:".4rem .6rem",textTransform:"uppercase",borderRadius:".2rem",transform:0},y.A.selectPageSize__value),{[N.Ay.mobile]:{fontSize:"0.9rem",padding:".2rem"}})}),[f]);return(0,i.jsx)(eV.A,{className:h,label:r,required:c,helperText:_,className:A.selectPageSize__container,children:(0,i.jsx)(eA.Ay,(0,T._)((0,u._)({},b),{ref:x,styles:j,value:o,defaultValue:s,options:m,onChange:d,isSearchable:!1,components:{DropdownIndicator:p?null:eX},isDisabled:p,noOptionsMessage:()=>""}))})});var e0=a(50595),e1=a(69968);let e2=(0,B.default)(()=>({buyCell__input:{textAlign:"center",transition:"background-color 0.1s ease",width:"17rem",[N.Ay.mobile_landscape]:{width:"10em"},[N.Ay.mobile_portrait]:{width:"6em"}}})),e5=(0,e1.A)((0,n.forwardRef)((e,t)=>{let[a,...n]=[e,t],{}=a,l=(0,e0._)({},a),[r]=n,o=e2();return(0,i.jsx)(w,(0,T._)((0,u._)({},l),{ref:r,className:o.buyCell__input}))}));var e4=a(73649);let e3=(0,B.default)(()=>({guessCell:{display:"flex",gap:"0.5rem",alignItems:"center"},guessCell__input:(0,u._)({},eh)})),e8=(0,n.memo)(e=>{let{arrInputAttr:t}=e,a=e3();return(0,i.jsx)("div",{className:a.guessCell,children:t.map(e=>(0,i.jsx)("input",(0,T._)((0,u._)({},e),{className:a.guessCell__input}),e.key))})}),e7=(0,e4.A)(e8),e9=(0,B.default)(()=>({fourThreeTwoD:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'filter result'\n 'total result'\n 'table result'\n "}},fourThreeTwoD__radioGroup:{display:"flex",justifyContent:"space-evenly",flexDirection:"row",padding:"0 1em 1em",textTransform:"uppercase",gridTemplateAreas:"filter"},fourThreeTwoD__table:{"& td":{"&:nth-child(4)":{width:"50%"},"&:nth-child(5)":{width:"50%"},"&:last-child":{width:"fit-content"}}},fourThreeTwoD__discountCol:{minWidth:"8em",textAlign:"right",wordBreak:"break-all",[N.Ay.mobile]:{minWidth:"6em"},[N.Ay.mobile_portrait]:{minWidth:"5em"}},fourThreeTwoD__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),e6=(0,eJ.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A})(e=>{let{game:t,data:a,totalPay:l,updateNumber:o,resetRowData:s,onChangeNumber:d,onChangeBuy:_,updatePay:g,currentIndex:h,setCurrentIndex:p,currentRow:b,setCurrentRow:A,submitRowBet:y,resultTableProps:j,resetAllData:C,filterArr:B,filter:N,onChangeFilter:v}=e,w=e9(),{t:k}=(0,r.B)(),[M]=(0,m.L4)(c.z9),[D,S]=(0,m.L4)(c.dI),I=(0,n.useMemo)(()=>[{Header:k("NOPoint"),accessor:"id",Cell:e=>0===e.row.index?"":e.row.id},{Header:k("Guess"),accessor:"number",Cell:e=>0===e.row.index?"":(0,i.jsx)(e7,(0,u._)({},e))},{Header:k("Buy"),accessor:"amount",Cell:e=>0===e.row.index?(0,i.jsx)(e5,(0,T._)((0,u._)({},e),{placeholder:k("Auto Bet"),disabled:!1})):(0,i.jsx)(e5,(0,u._)({amountProps:e.row.original.amount},e))},...(null==t?void 0:t.game_code)===eY.k4.FOURD_THREED_TWOD_3D_DEPAN_FULLBET?[]:[{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:k("Discount")}
1),accessor:"discount",Cell:e=>0===e.row.index?"":(0,i.jsx)("div",{className:w.fourThreeTwoD__discountCol,children:(0,ef.A)((Math.floor(100*e.value)/100).toFixed(2))})}],{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:k("Pay")}),accessor:"pay",Cell:e=>{let t=e.row.original.pay;return 0===e.row.index||0===t?"":(0,i.jsx)(x.A,{value:t,tableFormat:!0})}},{Header:(0,i.jsx)(e$,{options:M,value:D,onChange:S,className:w.fourThreeTwoD__selectPage,cssControl:{padding:"0 .25em"},cssSingleValue:{maxWidth:"unset"}}),accessor:"reset",Cell:e=>0===e.row.index?"":(0,i.jsx)(eE,(0,u._)({},e))}],[w,k,t,D,S,M]);return(0,i.jsxs)("div",{className:w.fourThreeTwoD,children:[B&&(0,i.jsx)(el.A,{value:N,classes:{root:w.fourThreeTwoD__radioGroup},children:B.map(e=>(0,i.jsx)(en.A,{control:(0,i.jsx)(eo.A,{onChange:v}),value:e.value,label:k(e.label)},e.value))},N),(0,i.jsxs)("div",{className:w.fourThreeTwoD__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:l,tableFormat:!0})]}),(0,i.jsx)(ee,{tablesProps:[{data:a,columns:I,updateNumber:o,resetRowData:s,onChangeNumber:d,onChangeBuy:_,updatePay:g,currentIndex:h,setCurrentIndex:p,currentRow:b,setCurrentRow:A,submitRowBet:y,className:w.fourThreeTwoD__table}],resultTableProps:j,onSubmit:y,onResetTables:C})]})});var te=a(30337);let tt=(0,B.default)(()=>({selectTogelOutTable__container:{width:"100%","&:not(:last-child)":{marginBottom:"1rem"}},selectTogelOutTable__label:{display:"flex",justifyContent:"flex-start",alignItems:"center",margin:"0 0 .5rem .75rem",position:"relative",fontWeight:700},selectTogelOutTable__dropdownIndicator:{fontSize:"1em"},selectTogelOutTable__error:(0,u._)({padding:0,textAlign:"left"},y.A.input__errorText),selectTogelOutTable__required:{padding:"0 .3em"}})),ta=()=>{let e=tt();return(0,i.jsx)(ej.A,{className:e.selectTogelOutTable__dropdownIndicator})},ti=(0,n.forwardRef)((e,t)=>{let[a,...l]=[e,t],{label:r,value:o,defaultValue:s,options:m,onChange:d=()=>{},required:c,helperText:_,className:p="",isDisabled:b}=a,x=(0,g._)(a,["label","value","defaultValue","options","onChange","required","helperText","className","isDisabled"]),[f]=l,A=tt(),j=(0,E.Y0)(),C=(0,n.useRef)(),B=(0,n.useMemo)(()=>({control:e=>(0,T._)((0,u._)((0,T._)((0,u._)({},e),{borderRadius:j.mobile?".2rem":".5rem",minHeight:0,height:j.desktop?"3.3rem":"2.2rem",maxHeight:"100%",border:0,boxShadow:"none !important",padding:j.mobile_portrait?"0 .5rem":"0 .75rem",cursor:"pointer"}),y.A.inputGame),{"&:hover":{borderColor:"transparent"}}),menu:e=>{var t,a;let i={top:"calc(100% + .2rem)"};return(null==C||null==(t=C.current)?void 0:t.getBoundingClientRect)&&(null==(a=C.current.getBoundingClientRect())?void 0:a.bottom)>window.innerHeight/2&&(i={top:"unset",bottom:"calc(100% + .2rem)"}),(0,u._)((0,T._)((0,u._)({},e),{margin:0,width:"100%",overflow:"hidden",borderRadius:".7rem",zIndex:1e8}),i,y.A.select_menu)},menuList:e=>(0,T._)((0,u._)({},e),{paddingTop:0,paddingBottom:0,minHeight:j.mobile?"6rem":"12rem",maxHeight:"calc(50vh - 10vw)",[N.Ay.mobile_portrait]:{maxHeight:"calc(50vh - 18vw)"}}),container:e=>(0,T._)((0,u._)({},e),{width:"100%",height:"100%",maxHeight:"100%"}),valueContainer:e=>(0,T._)((0,u._)({},e),{height:"100%",maxHeight:"100%",padding:"0"}),option:(e,t)=>{let{isFocused:a}=t;return(0,u._)((0,T._)((0,u._)({},e),{background:"none !important",color:"inherit",padding:j.mobile_portrait?".5rem":".5rem .75rem",transition:"all .15s cubic-bezier(0.4, 0, 0.2, 1) 0s",cursor:"pointer"}),a?y.A.select_menu_isFocused:{})},indicatorsContainer:(e,t)=>{var a;return(0,T._)((0,u._)({},e),{color:"inherit !important",height:"100%",transition:"all .2s",transformOrigin:"center center",transform:(null==t||null==(a=t.selectProps)?void 0:a.menuIsOpen)?"rotateZ(-180deg)":"none"})},indicatorSeparator:()=>({display:"none"}),input:e=>(0,T._)((0,u._)({},e),{color:y.A.input_txt}),placeholder:e=>(0,T._)((0,u._)({},e,y.A.input__placeholder),{margin:0}),singleValue:e=>(0,T._)((0,u._)({},e),{color:"inherit",margin:0,maxWidth:"100%"})}),[j]);return(0,i.jsxs)("div",{className:(0,h.default)(A.selectTogelOutTable__container,p),ref:C,children:[r&&(0,i.jsxs)("div",{className:A.selectTogelOutTable__label,children:[r,c&&(0,i.jsx)("div",{className:A.selectTogelOutTable__required,
1children:"*"})]}),(0,i.jsx)(eA.Ay,(0,T._)((0,u._)({},x),{ref:f,styles:B,value:o,defaultValue:s,options:m,onChange:d,isSearchable:!1,components:{DropdownIndicator:b?null:ta},isDisabled:b,noOptionsMessage:()=>""})),(0,i.jsx)("div",{className:A.selectTogelOutTable__error,children:(0,ey.T)(_)})]})}),tn=(0,B.default)(()=>({quickTwoD:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridTemplateRows:"auto 0fr",gridGap:"1rem",gridTemplateAreas:"\n 'head result'\n 'total result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},quickTwoD__guessInputForm:{display:"flex",alignItems:"flex-end",flexFlow:"row wrap",[N.Ay.mobile_portrait]:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gridGap:".5rem"}},quickTwoD__inputRow:{marginRight:"1em",display:"flex",flexDirection:"column",justifyContent:"flex-start",[N.Ay.mobile_portrait]:{marginRight:0},"& label":{marginBottom:".5em"}},quickTwoD__select:{width:"10rem",[N.Ay.mobile_portrait]:{width:"100%"}},quickTwoD__input:{height:"3.2rem",width:"10rem",borderRadius:".5rem",[N.Ay.mobile]:{height:"2rem",borderRadius:".2rem"},[N.Ay.mobile_portrait]:{width:"100%"}},quickTwoD__actionBtn:{minWidth:"unset",minHeight:"3.2rem",padding:"0 1rem",fontSize:"1.4rem",width:"100%",[N.Ay.desktop]:{width:"10rem",height:"3.2rem",borderRadius:"3.4rem"},[N.Ay.mobile]:{fontSize:"1.2rem",minHeight:"2rem"}},quickTwoD__numbers:{letterSpacing:".75em",padding:0},quickTwoD__tick:{display:"inline-block",float:"right","& img":{float:"right",[N.Ay.mobile_portrait]:{width:"2em"}}},quickTwoD__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tl=(0,te.A)({ProcessBetModal:O,TransactionModal:R,Tick:W.A,useStyles:tn})((0,n.forwardRef)((e,t)=>{let{settings:a,addDataTable:n,listGuess:l,numbers:o,number:s,totalPay:m,handleChangeNumber:d,positions:c,position:_,handleChangePosition:u,buy:g,handleChangeBet:p,maxBet:b,submitRow:A,columnTable:C,resultTableProps:T}=e,B=tn(),{t:N}=(0,r.B)(),{betRef:v,scrollRef:k}=t;return(0,i.jsxs)("div",{className:B.quickTwoD,children:[(0,i.jsxs)("form",{onSubmit:n,className:B.quickTwoD__guessInputForm,noValidate:!0,children:[(0,i.jsxs)("div",{className:B.quickTwoD__inputRow,children:[(0,i.jsx)("label",{children:N("Number")}),(0,i.jsx)(ti,{options:o,onChange:d,value:s,defaultValue:s,className:B.quickTwoD__select})]}),(0,i.jsxs)("div",{className:B.quickTwoD__inputRow,children:[(0,i.jsx)("label",{children:N("Position")}),(0,i.jsx)(ti,{options:c,onChange:u,value:_,defaultValue:_,className:B.quickTwoD__select})]}),(0,i.jsxs)("div",{className:B.quickTwoD__inputRow,children:[(0,i.jsx)("label",{children:N("Buy")}),(0,i.jsx)(w,{ref:v,handleChange:p,amountProps:g,className:B.quickTwoD__input,minBet:F()(a,"min_bet"),maxBet:b})]}),(0,i.jsx)(j.A,{type:"submit",className:(0,h.default)(B.quickTwoD__actionBtn,y.A.btn_game_submit),children:N("Submit")})]}),(0,i.jsx)("div",{style:{marginTop:"2em"},ref:k}),(0,i.jsxs)("div",{className:B.quickTwoD__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:m,tableFormat:!0})]}),(0,i.jsx)(ee,{tablesProps:[{data:l,columns:C}],resultTableProps:T,labelSubmit:N("Confirm"),onSubmit:A})]})}));var tr=a(13821);let to=(0,B.default)(()=>({fullBet__content:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},fullBet__inputGuess:{width:"11rem",fontSize:"inherit",[N.Ay.mobile]:{width:"4.4rem",padding:0},'&[maxlength="4"]':{letterSpacing:"1em",[N.Ay.mobile_portrait]:{letterSpacing:"unset"}}},fullBet__inputBuy:{width:"6em",fontSize:"inherit",[N.Ay.mobile_portrait]:{width:"5em",padding:0}},fullBet__buyCell:{display:"grid",gridTemplateColumns:"auto auto auto",gridGap:".5rem",width:"fit-content",[N.Ay.mobile_portrait]:{gridGap:".1rem"}},fullBet__table:{[N.Ay.mobile_portrait]:{fontSize:".8rem"},[N.Ay.mobile]:{marginTop:"0rem"},"& thead":{"& th":{[N.Ay.mobile]:{padding:".1rem"}}},"& th, td":{"&:nth-child(5)":{width:"20%"},"&:last-child":{paddingRight:".5rem !important"}}},fullBet__tick:{display:"inline-block",float:"right",textAlign:"center"},fullBet__footerGuess:{fontWeight:900,textAlign:"right"},fullBet__footerAmount:{fontWeight:900},fullBet__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),ts=(0,tr.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,ResetButton:eE,useStyles:to,Tick:W.A,pagingInTable:!0,SelectComponent:e$})((0,n.forwardRef)((e,t)=>{let{data:a,totalPay:n,setData:l,resetRowData:r,submitRowBet:o,disableSubmit:s,resultTableProps:m,resetAllData:d,columns:c,
1confirmTableProps:_}=e,u=to();return(0,i.jsxs)("div",{className:u.fullBet__content,children:[(0,i.jsxs)("div",{className:u.fullBet__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:n,tableFormat:!0})]}),(0,i.jsx)(ee,{ref:t,tablesProps:[{data:a,setData:l,columns:c,resetRowData:r,className:u.fullBet__table}],confirmTableProps:_,resultTableProps:m,onSubmit:o,disableSubmit:s,onResetTables:d})]})}));var tm=a(46784);let td=(0,B.default)(()=>({game_50_50:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},game_50_50__gameTable:{[N.Ay.mobile_portrait]:{fontSize:".9rem"},"& tr":{"& th:nth-child(6)":{width:"10em"}}},game_50_50__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},game_50_50__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tc=(0,tm.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,RadioGuessCell:eR,useStyles:td})(e=>{let{onSubmit:t,totalPay:a,dataOddEven:n,setDataOddEven:l,guessOddEvenColumn:o,dataBigSmall:s,setDataBigSmall:m,guessBigSmallColumn:d,handleKeyPress:c,onResetTables:_,resultTableProps:u}=e,g=td(),{t:h}=(0,r.B)();return(0,i.jsxs)("div",{className:g.game_50_50,children:[(0,i.jsxs)("div",{className:g.game_50_50__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:a,tableFormat:!0})]}),(0,i.jsx)(ee,{onSubmit:t,tablesProps:[{data:n,setData:l,columns:o,title:"".concat(h("odd"),"/ ").concat(h("even")),onKeyPress:c,className:g.game_50_50__gameTable},{data:s,setData:m,columns:d,title:"".concat(h("big"),"/ ").concat(h("small")),onKeyPress:c,className:g.game_50_50__gameTable}],resultTableProps:u,onResetTables:_})]})});var t_=a(67685);let tu=(0,B.default)(()=>({game_50_50_2D:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateRows:"3.6rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},game_50_50_2D__gameTable:{"& tr":{"& th:nth-child(1)":{width:"20%"},"& th:nth-child(2)":{width:"30%"},"& th:nth-child(5)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}}}},game_50_50_2D__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},game_50_50_2D__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tg=(0,t_.A)({TransactionModal:R,ProcessBetModal:O,InputAmount:w,useStyles:tu})(e=>{let{onSubmit:t,totalPay:a,listGuess:n,setListGuess:l,guessOddEvenColumn:r,handleKeyPress:o,onResetTables:s,resultTableProps:m}=e,d=tu();return(0,i.jsxs)("div",{className:d.game_50_50_2D,children:[(0,i.jsxs)("div",{className:d.game_50_50_2D__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:a,tableFormat:!0})]}),(0,i.jsx)(ee,{onSubmit:t,tablesProps:[{data:n,setData:l,columns:r,onKeyPress:o,className:d.game_50_50_2D__gameTable}],resultTableProps:m,onResetTables:s})]})});var th=a(5664);let tp=(0,B.default)(()=>({silangHomo:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},silangHomo__table:{"& tr":{"& th:nth-child(1)":{width:"20%"},"& th:nth-child(2)":{width:"25%"},"& th:nth-child(5)":{width:"10em"}}},silangHomo__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},silangHomo__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tb=(0,th.A)({ProcessBetModal:O,TransactionModal:R,InputAmount:w,useStyles:tp})(e=>{let{onSubmit:t,totalPay:a,onResetTables:n,handleKeyPress:l,dataKembang:o,setDataKembang:s,guessKembangColumn:m,dataKempis:d,setDataKempis:c,guessKempisColumn:_,dataKembar:u,setDataKembar:g,guessKembarColumn:h,resultTableProps:p}=e,b=tp(),{t:A}=(0,r.B)();return(0,i.jsxs)("div",{className:b.silangHomo,children:[(0,i.jsxs)("div",{className:b.silangHomo__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:a,tableFormat:!0})]}),(0,i.jsx)(ee,{onSubmit:t,tablesProps:[{data:o,setData:s,columns:m,title:"".concat(A("kembang")),onKeyPress:l,className:b.silangHomo__table},{data:d,setData:c,columns:_,title:"".concat(A("kempis")),onKeyPress:l,className:b.silangHomo__table},{data:u,setData:g,columns:h,title:"".concat(A("kembar")),onKeyPress:l,className:b.silangHomo__table}],resultTableProps:p,onResetTables:n})]})});var tx=a(15669);let tf=(0,B.default)(()=>({kombinasi:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},kombinasi__table:{"& tr":{"& th:nth-child(5)":{width:"10em"}}},kombinasi__selectPosition:{height:"3.2rem",width:"15rem",zIndex:22,[N.Ay.mobile_landscape]:{height:"2.4rem",borderRadius:"3.3rem"}
1,[N.Ay.mobile_portrait]:{width:"7.6rem",height:"2rem",borderRadius:"3.3rem"}},kombinasi__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},kombinasi__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tA=(0,tx.Ay)({TransactionModal:R,ProcessBetModal:O,InformModal:eg.A})((0,n.forwardRef)((e,t)=>{let{mainGame:a={},onSubmit:l,onResetTables:o,handleKeyPress:m,totalPay:d,getPay:c,data1:_,setData1:u,data2:g,setData2:h,data3:p,setData3:b,handleChangeData:A,resultTableProps:y,options:j}=e,{guess1Ref:C,guess2Ref:T,amountsRef:B}=t,N=tf(),{t:v}=(0,r.B)(),k=(0,n.useMemo)(()=>[{Header:v("NOPoint"),accessor:"no"},{Header:v("Guess As"),accessor:"as",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{C.current[t.index]=e},value:a,options:j.as,onChange:e=>A(e,"as",t.index),className:N.kombinasi__selectPosition})}},{Header:v("Guess Kop"),accessor:"kop",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{T.current[t.index]=e},value:a,options:j.kop,onChange:e=>A(e,"kop",t.index),className:N.kombinasi__selectPosition})}},{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:v("Discount")}),accessor:"discount",Cell:e=>{let{row:{original:t}}=e;if(!t.no)return"";let a=(0,ef.A)((Math.floor(100*c(t).discount)/100).toFixed(2));return(0,i.jsx)("div",{style:{textAlign:"right"},children:a})}},{Header:v("Bet"),accessor:"amount",Cell:e=>{let{row:t,column:n,updateData:l,onKeyPress:r}=e;return 0===t.index?(0,i.jsx)(w,{ref:e=>{B.current[t.index]=e},onKeyPress:e=>r(e,t.index),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),placeholder:v("Auto Bet")}):(0,i.jsx)(w,{ref:e=>{B.current[t.index]=e},onKeyPress:e=>r(e,t.index),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:s()(t.values.as)||s()(t.values.kop)?"":t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),disabled:s()(t.values.as)||s()(t.values.kop)})}}],[v,j]),M=(0,n.useMemo)(()=>[{Header:v("NOPoint"),accessor:"no"},{Header:v("Guess Kepala"),accessor:"kepala",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{C.current[tx.Ni.length+t.index]=e},value:a,options:j.kepala,onChange:e=>A(e,"kepala",tx.Ni.length+t.index),className:N.kombinasi__selectPosition})}},{Header:v("Guess Ekor"),accessor:"ekor",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{T.current[tx.Ni.length+t.index]=e},value:a,options:j.ekor,onChange:e=>A(e,"ekor",tx.Ni.length+t.index),className:N.kombinasi__selectPosition})}},{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:v("Discount")}),accessor:"discount",Cell:e=>{let{row:{original:t}}=e;if(!t.no)return"";let a=(0,ef.A)((Math.floor(100*c(t).discount)/100).toFixed(2));return(0,i.jsx)("div",{style:{textAlign:"right"},children:a})}},{Header:v("Bet"),accessor:"amount",Cell:e=>{let{row:t,column:n,updateData:l,onKeyPress:r}=e;return 0===t.index?(0,i.jsx)(w,{ref:e=>{B.current[tx.Ni.length+t.index]=e},onKeyPress:e=>r(e,t.index+tx.Ni.length),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),placeholder:v("Auto Bet")}):(0,i.jsx)(w,{ref:e=>{B.current[tx.Ni.length+t.index]=e},onKeyPress:e=>r(e,t.index+tx.Ni.length),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:s()(t.values.kepala)||s()(t.values.ekor)?"":t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),disabled:s()(t.values.kepala)||s()(t.values.ekor)})}}],[v,j]),D=(0,n.useMemo)(()=>[{Header:v("NOPoint"),accessor:"no"},{Header:v("Guess 1"),accessor:"guess1",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{C.current[tx.Ni.length+tx.Uf.length+t.index]=e},value:a,options:j.guess1,onChange:e=>A(e,"guess1",tx.Ni.length+tx.Uf.length+t.index),className:N.kombinasi__selectPosition})}},{Header:v("Guess 2"),accessor:"guess2",Cell:e=>{let{row:t,value:a}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{T.current[tx.Ni.length+tx.Uf.length+t.index]=e},value:a,options:j.guess2,onChange:e=>A(e,"guess2",tx.Ni.length+tx.Uf.length+t.index),className:N.kombinasi__selectPosition})}},{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:v("Discount")}
1),accessor:"discount",Cell:e=>{let{row:{original:t}}=e;if(!t.no)return"";let a=(0,ef.A)((Math.floor(100*c(t).discount)/100).toFixed(2));return(0,i.jsx)("div",{style:{textAlign:"right"},children:a})}},{Header:v("Bet"),accessor:"amount",Cell:e=>{let{row:t,column:n,updateData:l,onKeyPress:r}=e;return 0===t.index?(0,i.jsx)(w,{ref:e=>{B.current[tx.Ni.length+tx.Uf.length+t.index]=e},onKeyPress:e=>r(e,t.index+tx.Ni.length+tx.Uf.length),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),placeholder:v("Auto Bet")}):(0,i.jsx)(w,{ref:e=>{B.current[tx.Ni.length+tx.Uf.length+t.index]=e},onKeyPress:e=>r(e,t.index+tx.Ni.length+tx.Uf.length),className:N.kombinasi__inputBet,handleChange:e=>l(t.values.no,n.id,e),amountProps:s()(t.values.guess1)||s()(t.values.guess2)?"":t.values.amount,minBet:F()(a,"settings.min_bet"),maxBet:F()(a,"settings.max_bet"),disabled:s()(t.values.guess1)||s()(t.values.guess2)})}}],[v,j]);return(0,i.jsxs)("div",{className:N.kombinasi,children:[(0,i.jsxs)("div",{className:N.kombinasi__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:d,tableFormat:!0})]}),(0,i.jsx)(ee,{onSubmit:l,tablesProps:[{data:_,setData:u,columns:k,title:"".concat(v("title_table_2_kombinasi_as_kop")),onKeyPress:m,className:N.kombinasi__table},{data:g,setData:h,columns:M,title:"".concat(v("title_table_2_kombinasi_kepala_erok")),onKeyPress:m,className:N.kombinasi__table},{data:p,setData:b,columns:D,title:"".concat(v("title_table_2_kombinasi")),onKeyPress:m,className:N.kombinasi__table}],resultTableProps:y,onResetTables:o})]})}));var ty=a(10641),tj=a(26090);let tC=(0,B.default)(()=>({quickBuyConfirm__modal:{overflowX:"hidden","& br:last-child":{display:"none"}},quickBuyConfirm__title:{fontSize:"1.5rem",margin:"1rem 0 .5rem",fontWeight:800,[N.Ay.mobile]:{fontSize:"1.1rem",padding:".5rem .7rem"}},quickBuyConfirm__content:{overflow:"auto",minHeight:"6.4em","&::-webkit-scrollbar":{width:2},"&::-webkit-scrollbar-track":{borderRadius:"0.8rem"},"&::-webkit-scrollbar-thumb":{width:2,borderRadius:"0.8rem"}},quickBuyConfirm__content__summary:{maxHeight:"20vh",minHeight:"4.2em",[N.Ay.mobile_landscape]:{maxHeight:"unset"}},quickBuyConfirm__gameName:(0,u._)({fontWeight:700},y.A.quickBuyConfirm__gameName),quickBuyConfirm__error:(0,u._)({},y.A.input__errorText),quickBuyConfirm__detailBetTable:{width:"100%",borderCollapse:"collapse",border:0,"& th, td":{boxShadow:"inherit",padding:".3rem .5rem .4rem",textAlign:"right"},"& th:nth-child(1), td:nth-child(1)":{textAlign:"left"},"& th:nth-child(2), td:nth-child(2)":{wordBreak:"break-word",whiteSpace:"pre"},"& thead":{position:"sticky",top:-1},"& thead tr th span":{wordBreak:"initial"},"& tbody":{paddingBottom:"2rem"}},quickBuyConfirm__detailBettingTable:{"& tbody":{boxShadow:"none"}},quickBuyConfirm__total:(0,u._)({display:"grid",gridTemplateColumns:"1fr auto",padding:".5rem .75rem",fontSize:"1.25rem",textAlign:"right",textTransform:"uppercase",fontWeight:900},y.A.quickBuyConfirm__total)})),tT=(0,B.default)(()=>({quickBuy:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'table result'\n "}},quickBuy__inputWrap:{position:"relative",margin:"2rem 0",[N.Ay.mobile]:{margin:"2rem 0 0 0"}},quickBuy__input:(0,u._)({position:"relative",borderRadius:"1.2rem",width:"100%",outline:"none",resize:"none",padding:"1rem",fontSize:"inherit",fontFamily:"inherit",border:0,background:"none"},y.A.quickBuy__input),quickBuy__info__title:(0,T._)((0,u._)({fontWeight:700,fontSize:"2.1rem"},y.A.gameTable__title),{[N.Ay.mobile]:{fontSize:"1.2rem",marginBottom:"2.1rem"}}),quickBuy__info__wrap:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"25rem auto",gap:"2rem",marginBottom:"5rem"},[N.Ay.mobile]:{marginBottom:"2rem"}},quickBuy__info__content:{whiteSpace:"break-spaces","& b":{fontWeight:700}},quickBuy__info__content_format:{display:"grid",gridTemplateColumns:"12em auto 1fr"}})),tB=(0,tj.A)({QuickBuyConfirm:e=>{let{openModal:t=!1,setOpenModal:a=()=>{},handleProcess:l=()=>{},bets:o=[],hasError:s=!0,isLoading:d,totalAmount:_}=e,{t:u}=(0,r.B)(),g=(0,z.F)(),p=tC(),A=(0,m.vc)(c.mx);return(0,i.jsxs)(S.A,{open:t,onClose:()=>a(!1),closeBtnFunc:()=>a(!1),width:"100%",className:p.quickBuyConfirm__modal,buttons:[{onClick:()=>a(!1),label:(0,i.jsx)(f.A,{i18nKey:"CANCEL"}),className:y.A.btn_modal_cancel},{onClick:l,label:(0,i.jsx)(f.A,{i18nKey:"PROCESS"}),disable:s||d}],children:[(0,i.jsxs)("div",{className:p.quickBuyConfirm__title,children:[(0,i.jsx)(f.A,{i18nKey:"DETAIL BET"})," ( ",(0,i.jsx)(f.A,{i18nKey:"QUICK BUY"})," - ",A.name," )"]}),(0,i.jsx)("div",{className:p.quickBuyConfirm__content,children:(0,i.jsxs)("table",{className:(0,h.default)(g.table_primary,p.quickBuyConfirm__detailBetTable),children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{align:"left",children:(0,i.jsx)(f.A,{i18nKey:"Bet"})}),(0,i.jsx)("th",{align:"right",children:(0,i.jsx)(f.A,{i18nKey:"Amount"})}),(0,i.jsx)("th",{align:"right",children:(0,i.jsx)(f.A,{i18nKey:"Total Amount (Disc/Kei)"})})]})}),b()(o,e=>(0,i.jsxs)(n.Fragment,{children:[(0,i.jsxs)("tbody",{children:[(0,i.jsx)("tr",{children:(0,i.jsx)("td",{colSpan:3,className:p.quickBuyConfirm__gameName,children:(0,i.jsx)(f.A,{i18nKey:e.game_code_display})})}),b()(e.list,(e,t)=>(0,i.jsxs)("tr",{children:[(0,i.jsxs)("td",{children:[e._bet,(0,i.jsx)("div",{className:p.quickBuyConfirm__error,children:(0,ey.T)(e.error)})]}),(0,i.jsx)("td",{children:(0,i.jsx)(x.A,{value:e.amount,tableFormat:!0})}),(0,i.jsx)("td",{align:"right",children:e._total})]},t))]}),(0,i.jsx)("br",{})]},e.game_code_display))]})}),(0,i.jsx)("div",{className:p.quickBuyConfirm__title,children:(0,i.jsx)(f.A,{i18nKey:"DETAIL BETTING",className:p.quickBuyConfirm__title_color})}),(0,i.jsx)("div",{className:(0,h.default)(p.quickBuyConfirm__content,p.quickBuyConfirm__content__summary),children:(0,i.jsxs)("table",{className:(0,h.default)(g.table_primary,p.quickBuyConfirm__detailBetTable,p.quickBuyConfirm__detailBettingTable),children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{align:"left",children:(0,i.jsx)(f.A,{i18nKey:"Game"})}),(0,i.jsx)("th",{align:"right",children:(0,i.jsx)(f.A,{i18nKey:"Amount"})})]})}),(0,i.jsx)("tbody",{children:b()(o,e=>(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:(0,i.jsx)(f.A,{i18nKey:e.game_code_display})}),(0,i.jsx)("td",{children:(0,i.jsx)(x.A,{value:e.amount,tableFormat:!0})})]},e.game_code_display))})]})}),(0,i.jsxs)("div",{className:p.quickBuyConfirm__total,children:[u("Total"),":\xa0",_]})]})}})((0,n.memo)(e=>
1{let{input:t,onChangeInput:a,onSubmit:n,onReset:l,resultTableProps:r}=e,o=tT(),s=$();return(0,i.jsxs)("div",{className:o.quickBuy,children:[(0,i.jsxs)("div",{className:(0,h.default)(s.gameContentContainer__container),children:[(0,i.jsx)("div",{className:o.quickBuy__info__title,children:(0,i.jsx)(f.A,{i18nKey:"Bet"})}),(0,i.jsx)("div",{className:o.quickBuy__inputWrap,children:(0,i.jsx)("textarea",{className:o.quickBuy__input,rows:"16",maxLength:2e3,value:t,onChange:a})}),(0,i.jsxs)("div",{className:s.gameContentContainer__buttonWrapper,children:[(0,i.jsx)(j.A,{className:(0,h.default)(s.gameContentContainer__button,y.A.btn_game_reset),onClick:l,children:(0,i.jsx)(f.A,{i18nKey:"Reset"})}),(0,i.jsx)(j.A,{className:(0,h.default)(s.gameContentContainer__button,y.A.btn_game_submit),onClick:n,children:(0,i.jsx)(f.A,{i18nKey:"Submit"})})]}),(0,i.jsxs)("div",{className:o.quickBuy__info__wrap,children:[(0,i.jsx)("div",{className:o.quickBuy__info__title,children:(0,i.jsx)(f.A,{i18nKey:"General Format"})}),(0,i.jsx)("div",{className:(0,h.default)(o.quickBuy__info__content,o.quickBuy__info__content_format),children:(0,i.jsx)(ty.x,{i18nKey:"QuickBuy_GeneralFormat",components:[(0,i.jsx)("div",{},0)]})})]}),(0,i.jsxs)("div",{className:o.quickBuy__info__wrap,children:[(0,i.jsx)("div",{className:o.quickBuy__info__title,children:(0,i.jsx)(f.A,{i18nKey:"Applicable words"})}),(0,i.jsx)("div",{className:o.quickBuy__info__content,children:(0,i.jsx)(f.A,{i18nKey:"QuickBuy_Shortcut"})})]}),(0,i.jsxs)("div",{className:o.quickBuy__info__wrap,children:[(0,i.jsx)("div",{className:o.quickBuy__info__title,children:(0,i.jsx)(f.A,{i18nKey:"Example"})}),(0,i.jsx)("div",{className:o.quickBuy__info__content,children:(0,i.jsx)(f.A,{i18nKey:"QuickBuy_Example",components:[(0,i.jsx)("b",{},0)]})})]})]}),(0,i.jsx)("div",{className:s.gameContentContainer__result,children:(0,i.jsx)(J,(0,u._)({},r))})]})})),tN=(0,a(85665).A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,useStyles:eN})((0,n.forwardRef)((e,t)=>{let{mainGame:a={},submitBet:l,totalPay:o,getPay:m,resetAllData:d,listGuess:c,handleKeyPress:_,resultTableProps:u,handleChangeInputFormat:g,options:h,handleChangeSearch:p}=e,{guessElements:b,betElements:A}=t,y=eN(),{t:j,i18n:{language:C}}=(0,r.B)(),T=(0,n.useMemo)(()=>[{Header:j("NOPoint"),accessor:"no"},{Header:j("Guess"),accessor:"zodiac",Cell:e=>{let{row:t}=e;return 0===t.index?"":(0,i.jsx)(eB,{ref:e=>{b.current[t.index]=e},value:t.values.zodiac,defaultValue:t.values.zodiac,options:h,onChange:e=>p(e,t.index),className:y.colokJitu__selectPosition})}},{Header:(0,i.jsx)("div",{style:{textAlign:"right"},children:j("Discount")}),accessor:"discount",Cell:e=>{let{row:{original:t}}=e;if(!t.no)return"";let a=(0,ef.A)((Math.floor(100*m(t).discount)/100).toFixed(2));return(0,i.jsx)("div",{style:{textAlign:"right"},children:a})}},{Header:j("Bet"),accessor:"amount",Cell:e=>{let{row:t,onKeyPress:n}=e;return 0===t.index?(0,i.jsx)(w,{ref:e=>{A.current[t.index]=e},onKeyPress:e=>n(e,t.index,"amount"),handleChange:e=>g(e,t.index,"amount"),amountProps:t.values.amount,className:y.colokJitu__inputBet,minBet:F()(a,"settings[".concat(t.values.zodiac.value,"].min_bet")),maxBet:F()(a,"settings[".concat(t.values.zodiac.value,"].max_bet")),placeholder:j("Auto Bet")}):(0,i.jsx)(w,{ref:e=>{A.current[t.index]=e},onKeyPress:e=>n(e,t.index,"amount"),disabled:s()(t.values.zodiac),handleChange:e=>g(e,t.index,"amount"),amountProps:t.values.amount,className:y.colokJitu__inputBet,minBet:F()(a,"settings[".concat(t.values.zodiac.value,"].min_bet")),maxBet:F()(a,"settings[".concat(t.values.zodiac.value,"].max_bet"))})}}],[C]);return(0,i.jsxs)("div",{className:y.colokJitu,children:[(0,i.jsxs)("div",{className:y.colokJitu__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:o,tableFormat:!0})]}),(0,i.jsx)(ee,{className:y.colokJitu__tableContainer,onSubmit:l,onResetTables:d,tablesProps:[{data:c,columns:T,onKeyPress:_}],resultTableProps:u})]})})),tv=(0,a(98371).A)({ProcessBetModal:O,TransactionModal:R,InputAmount:w,useStyles:tp})(e=>{let{onSubmit:t,onResetTables:a,dataSilang:n,totalPay:l,setDataSilang:o,guessOddEvenColumn:s,dataHomo:m,setDataHomo:d,guessBigSmallColumn:c,handleKeyPress:_,resultTableProps:u}=e,g=tp(),{t:h}=(0,r.B)();return(0,i.jsxs)("div",{className:g.silangHomo,children:[(0,i.jsxs)("div",{className:g.silangHomo__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:l,tableFormat:!0})]}),(0,i.jsx)(ee,{onSubmit:t,tablesProps:[{data:n,setData:o,columns:s,title:"".concat(h("silang")),onKeyPress:_,className:g.silangHomo__table},{data:m,setData:d,columns:c,title:"".concat(h("homo")),onKeyPress:_,className:g.silangHomo__table}],resultTableProps:u,onResetTables:a})]})});var tw=a(84647);let tk=(0,B.default)(()=>({tepiTengah:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "}},tepiTengah__tableContainer:{"& tr":{"& th:nth-child(4)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}},"& th:nth-child(5)":{width:"10em",[N.Ay.mobile_portrait]:{width:"8em"}}}},tepiTengah__inputBet:{fontSize:"inherit",width:"15rem",[N.Ay.mobile]:{width:"9rem"},[N.Ay.mobile_landscape]:{width:"10rem"}},tepiTengah__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tM=(0,tw.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,RadioGuessCell:eR,InputAmount:w,useStyles:tk})(e=>{let{onSubmit:t,listGuess:a,totalPay:n,setListGuess:l,guessOddEvenColumn:r,handleKeyPress:o,onResetTables:s,resultTableProps:m}=e,d=tk();return(0,i.jsxs)("div",{className:d.tepiTengah,children:[(0,i.jsxs)("div",{className:d.tepiTengah__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:n,tableFormat:!0})]}),(0,i.jsx)(ee,{className:d.tepiTengah__tableContainer,onSubmit:t,tablesProps:[{data:a,setData:l,columns:r,onKeyPress:o}],resultTableProps:m,onResetTables:s})]})});var tD=a(85837);let tS=(0,B.default)(()=>({togel6D__content:{[N.Ay.desktop]:{display:"grid",gridTemplateColumns:"1fr auto",gridGap:"1rem",gridTemplateAreas:"\n 'total result'\n 'table result'\n "},[N.Ay.mobile]:{display:"block"}},togel6D__inputGuess:{width:"100%",fontSize:"inherit",letterSpacing:".5em",[N.Ay.mobile]:{padding:0,letterSpacing:".3em"}},togel6D__inputBuy:{width:"100%",fontSize:"inherit",[N.Ay.mobile_portrait]:{padding:0}},togel6D__table:{["&.subGame__".concat(eY.k4.TOGEL_6D_DISCOUNT)]:{"& td, th":{"&:nth-child(4), &:nth-child(5)":{width:"20%"}}},["&.subGame__".concat(eY.k4.TOGEL_6D_FULLBET)]:{"& td, th":{"&:nth-child(4)":{width:"40%"}}},"& td, th":{"&:nth-child(1)":{width:"5%"},"&:nth-child(2)":{width:"20%"},"&:nth-child(3)":{width:"25%"},"&:last-child":{paddingRight:".5rem !important"}},[N.Ay.mobile_portrait]:{fontSize:".8rem"},[N.Ay.mobile]:{marginTop:"0rem"},"& thead":{"& th":{[N.Ay.mobile]:{padding:".1rem"}}}},togel6D__total__pay:(0,T._)((0,u._)({gridArea:"total",fontWeight:700,justifyContent:"end",minHeight:"3.6rem",display:"flex",alignItems:"center",paddingRight:"1rem"},y.A.fullBet__total__pay),{gap:".3rem",[N.Ay.mobile]:{marginBottom:"1rem",minHeight:"2.6rem"}})})),tI=(0,tD.A)({ProcessBetModal:O,TransactionModal:R,InformModal:eg.A,InputAmount:w,ResetButton:eE,useStyles:tS,pagingInTable:!0,SelectComponent:e$})((0,n.forwardRef)((e,t)=>{let{data:a,totalPay:n,setData:l,resetRowData:r,submitRowBet:o,disableSubmit:s,resultTableProps:m,resetAllData:d,columns:c}=e,_=tS();return(0,i.jsxs)("div",{className:_.togel6D__content,children:[(0,i.jsxs)("div",{className:_.togel6D__total__pay,children:[(0,i.jsx)(f.A,{i18nKey:"TotalBetAfterDiscount"}),(0,i.jsx)(x.A,{value:n,tableFormat:!0})]}),(0,i.jsx)(ee,{ref:t,tablesProps:[{data:a,setData:l,columns:c,resetRowData:r,className:_.togel6D__table}],resultTableProps:m,onSubmit:o,disableSubmit:s,onResetTables:d})]})})),tz=(0,B.default)(()=>
1({gameModeContent__wrap:{display:"flex",flexDirection:"column",gap:"1.8rem",minHeight:"calc(100vh - 70rem)"},gameModeContent__offlineMessage:(0,u._)({borderRadius:".75rem",textAlign:"center",padding:".5rem 1rem",margin:"5em auto",width:"fit-content"},y.A.gameModeContent__offlineMessage),gameModeContent__contentRight:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1em",width:"100%",height:"100%",padding:"1rem 0"}})),tP=(0,d.A)({FourThreeTwoDSetTable:e6,FullBet:ts,FourDSet:eQ,QuickTwoD:tl,BetBB:eW,BBCampuran:em,ColokBebas:e_,ColokBebasTwoD:eb,ColokNaga:eM,ColokJitu:ev,TepiTengah:tM,Dasar:eH,Shio:tN,Game_50_50:tc,Game_50_50_2D:tg,SilangHomo:tv,KempangKempis:tb,Kombinasi:tA,QuickBuy:tB,AngkaTarung:ea,Togel6D:tI})(e=>{let{gameUI:t=(0,i.jsx)(i.Fragment,{})}=e,a=tz(),{t:n}=(0,r.B)(),l=(0,m.vc)(c.mx),o=(0,m.vc)(c.LF);if(!s()(l))return(0,i.jsx)(_.A,{className:a.gameModeContent__wrap,children:o?t:(0,i.jsx)("div",{className:a.gameModeContent__offlineMessage,children:n("PoolClosedMessage")})})});var tR=a(30440),tL=a(55064),tH=a(43862),tG=a(2914);let tO=(0,B.default)(()=>({poolCountdown:{color:y.A.gameStatus__online,[N.Ay.mobile]:{fontSize:"1rem"}},poolCountdown_closed:{color:y.A.gameStatus__offline}})),tW=(0,tG.A)(e=>{let{countdown:t,className:a}=e,n=tO();return(0,i.jsx)("div",{className:(0,h.default)(a,n.poolCountdown,{[n.poolCountdown_closed]:"BET CLOSED"===t}),children:(0,i.jsx)(f.A,{i18nKey:t})})});var tK=a(78637),tF=a(39018);let tq=()=>{let e=(0,tF.I)(),{t}=(0,r.B)(),a=(0,E.Y0)(),l=(0,m.lZ)(tH.f),o=(0,m.vc)(c.mx),s=(0,m.vc)(c.LF),[d,u]=(0,n.use
1State)(!1),g=(0,m.vc)(c.FT),p=(0,m.vc)(c.WV);return(0,i.jsxs)(_.A,{className:e.currentGame,children:[(0,i.jsxs)("div",{className:e.currentGame__left,children:[(0,i.jsx)(tR.A,{src:o.logo,className:e.currentGame__pool__logo,onClick:()=>u(!0)}),(0,i.jsxs)("div",{className:e.currentGame__poolText,children:[(0,i.jsx)(tL.A,{speed:30,className:e.currentGame__pool__name,children:o.name}),(0,i.jsx)("div",{className:e.currentGame__pool__time,children:(0,i.jsx)(tW,{pool:o})})]}),(0,i.jsx)("div",{className:(0,h.default)(e.currentGame__pool__status,{[e.currentGame__pool__status_online]:s})})]}),(0,i.jsxs)("div",{className:e.currentGame__right,children:[(0,i.jsxs)("div",{className:e.currentGame__rightText,children:[(0,i.jsx)("div",{className:e.currentGame__gameName,children:t(p.game_name||g.game_name)}),(0,i.jsxs)("div",{className:e.currentGame__period,children:[t("Period")," ",o.code_display," - ",F()(o,"current_period.period_count","")," (",o.name,")"]})]}),a.mobile&&s&&(0,i.jsx)("div",{onClick:()=>l(!0),className:e.currentGame__info_wrap,children:(0,i.jsx)(H,{})})]}),(0,i.jsx)(tK.A,{open:d,handleCloseModal:u,pool:o})]})};var tE=a(56347),tU=a(54625),tQ=a(13222),tY=a.n(tQ),tJ=a(95806),tV=a(88190),tZ=a(54756),tX=a(97230),t$=a(75236);let t0=(0,B.default)(()=>({gameSlide:{height:"6.8rem",[N.Ay.mobile]:{height:"4.7rem"}},gameSlide__item:(0,T._)((0,u._)({outline:"none",display:"flex",alignItems:"center",gap:".6rem",padding:"0 1rem 0 2.3rem",position:"relative",width:"18rem",height:"6.8rem"},y.A.gameSlide__item),{[N.Ay.mobile]:{width:"12.6rem",height:"4.7rem"},"&:before":(0,u._)({content:'""',position:"absolute",left:0,top:0,width:"100%",height:"100%",mask:'url("'.concat(t$,'") no-repeat center / contain')},y.A.gameSlide__itemBefore)}),gameSlide__item_active:{"& $gameSlide__logo":{filter:"unset"},"&:before":(0,u._)({},y.A.gameSlide__itemBefore_active),"&:after":(0,u._)({content:'""',position:"absolute",left:0,top:0,width:"100%",height:"100%",mask:'url("'.concat(tX,'") no-repeat center / contain')},y.A.gameSlide__itemAfter_active)},gameSlide__item_right:{flex:1,fontWeight:700,zIndex:10,[N.Ay.mobile]:{fontSize:"1.2rem"}},gameSlide__logo:{zIndex:10,width:"3.6rem",height:"3.6rem",display:"block",borderRadius:"50%",objectFit:"contain",filter:"grayscale(100%)",[N.Ay.mobile_landscape]:{width:"2.5rem",height:"2.5rem"},[N.Ay.mobile_portrait]:{width:"2.9rem",height:"2.9rem"}}})),t1=e=>{let{pool:t}=e,a=t0(),n=(0,tE.useParams)();return(0,i.jsxs)(tU.N_,{draggable:"false",to:(0,tZ.y)(t),className:(0,h.default)({[a.gameSlide__item]:!0,[a.gameSlide__item_active]:tY()(t.id)===tY()(n.poolId)}),children:[(0,i.jsx)(tR.A,{src:t.logo,className:a.gameSlide__logo}),(0,i.jsxs)("div",{className:a.gameSlide__item_right,children:[(0,i.jsx)(tL.A,{speed:30,children:t.name}),(0,i.jsx)(tW,{pool:t})]})]})},t2=(0,n.memo)((0,tV.A)(e=>{let{poolList:t}=e,a=t0(),l=(0,E.Y0)(),r=(0,tE.useParams)(),o=(0,n.useMemo)(()=>l.desktop?6.65:l.mobile_landscape?4.4:l.mobile_portrait?2.9:void 0,[l]),s=(0,n.useMemo)(()=>t.findIndex(e=>tY()(e.id)===tY()(r.poolId)),[t,r.poolId]);return(0,i.jsx)(_.A,{className:a.gameSlide,children:(0,i.jsx)(tJ.RC,{slidesPerView:o,spaceBetween:0,initialSlide:s,children:b()(t,(e,t)=>(0,i.jsx)(tJ.qr,{virtualIndex:t,children:(0,i.jsx)(t1,{index:t,pool:e})},"".concat(e.id,"-").concat(t)))},null==t?void 0:t.length)})})),t5=(0,B.default)(()=>({mainGame:(0,T._)((0,u._)({position:"relative",zIndex:1,display:"flex",flexWrap:"wrap",padding:"1rem",justifyContent:"center"},y.A.mainGame),{[N.Ay.mobile]:{gap:"1.2rem"}}),mainGame__item:{position:"relative",textTransform:"uppercase",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",wordBreak:"break-word",width:"fit-content",fontWeight:600,padding:".5rem 1.8rem",[N.Ay.mobile]:(0,u._)({minHeight:"2.7rem",width:"calc((100% - 1.2rem) / 2)",display:"flex",alignItems:"center",justifyContent:"center"},y.A.mainGame__item_m),[N.Ay.mobile_landscape]:{width:"calc((100% - 2.4rem) / 3)"}},mainGame__item_active:(0,u._)({},y.A.mainGame__item_active)})),t4=()=>{let e=t5(),t=(0,m.vc)(c.Bb),a=(0,m.vc)(c.FT),n=(0,tE.useParams)();return(0,i.jsx)(_.A,{className:e.mainGame,children:b()(t,t=>(0,i.jsx)(tU.N_,{className:(0,h.default)({[e.mainGame__item]:!0,[e.mainGame__item_active]:a.game_code===t.game_code}),to:"/togel/".concat(n.togelCate,"/play/").concat(n.poolId,"/").concat(null==t?void 0:t.game_code),children:(0,i.jsx)(f.A,{i18nKey:t.game_name})},t.game_code))})},t3=(0,B.default)(()=>({subGame:{display:"flex",flexWrap:"wrap",gap:"1.8rem",alignItems:"center",justifyContent:"center"},subGame__item:(0,T._)((0,u._)({fontWeight:600,padding:"1.5rem 2rem",display:"flex",alignItems:"center",justifyContent:"center"},y.A.subGame__item),{[N.Ay.mobile]:{padding:".5rem .7rem"}}),subGame__item_active:(0,u._)({},y.A.subGame__item_active)})),t8=(0,l.A)(()=>{let e=t3(),t=(0,m.vc)(c.FT),a=(0,m.vc)(c.WV),n=(0,tE.useParams)();if(!s()(t.sub_games))return(0,i.jsx)("div",{className:e.subGame,children:b()(t.sub_games,l=>l.game_code===eY.k4.FOURD_THREED_TWOD_3D_DEPAN_FULLBET?null:(0,i.jsx)(tU.N_,{className:(0,h.default)(e.subGame__item,{[e.subGame__item_active]:l.game_code===a.game_code||l.game_code===eY.k4.FOURD_THREED_TWOD_3D_DEPAN&&a.game_code===eY.k4.FOURD_THREED_TWOD_3D_DEPAN_FULLBET}),to:"/togel/".concat(n.togelCate,"/play/").concat(n.poolId,"/").concat(t.game_code,"/").concat(null==l?void 0:l.game_code),children:(0,i.jsx)(f.A,{i18nKey:l.game_name})},l.game_code))})}),t7=(0,l.A)(()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t2,{}),(0,i.jsx)(t4,{}),(0,i.jsx)(t8,{}),(0,i.jsx)(tq,{}),(0,i.jsx)(tP,{})]}))},93315(e,t,a){a.d(t,{F:()=>s});var i=a(71893),n=a(55456),l=a(93796),r=a(67729),o=a(32994);let s=(0,l.default)(()=>({table_primary:(0,n._)((0,i._)({width:"100%",borderCollapse:"collapse",border:0,wordBreak:"normal",position:"relative"},r.A.table_primary),{[o.Ay.mobile]:{fontSize:"1rem"},"& th, td":{padding:"1.2rem .5rem",[o.Ay.mobile]:{padding:".8rem .4rem"},"&:first-child":{paddingLeft:"1rem",[o.Ay.mobile]:{paddingLeft:".8rem"}},"&:last-child":{paddingRight:"1rem"}},"& thead":(0,n._)((0,i._)({zIndex:1},r.A.table_thead),{"& th":{fontWeight:700,textTransform:"uppercase",[o.Ay.mobile]:{padding:".5rem"}},"& tr":{textAlign:"left",height:"4.4rem",[o.Ay.mobile]:{height:"2.8rem"}}}),"& tbody":{"& tr":(0,i._)({},r.A.table__row)}})}))}}]); 2//# sourceMappingURL=31902.79ea2e5b.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.