(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(4186)}])},9827:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var a=n(7294),i=n(6279);var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.deserialize=function(e){return this.nominal=e.nominal,this.status=e.status,this.username=e.username,this},e}(),s=n(1287);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(a=n.next()).done)&&(r.push(a.value),!t||r.length!==t);s=!0);}catch(o){l=!0,i=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw i}}return r}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=function(e){var t=o(a.useState([]),2),n=t[0],l=t[1],d=o(a.useState([]),2),c=d[0],u=d[1],m=o(a.useState(""),2),f=m[0],x=m[1];return Object.freeze({fetchLastDeposit:function(){(0,i.Cu)((0,s.nn)(e),e.base_url).then((function(e){if((null===e||void 0===e?void 0:e.data)&&e.data.status){var t,n=null===(t=e.data)||void 0===t?void 0:t.data;l(n.map((function(e){return(new r).deserialize(e)})))}})).catch((function(e){}))},fetchLastWithdraw:function(){(0,i.mV)((0,s.nn)(e),e.base_url).then((function(e){if((null===e||void 0===e?void 0:e.data)&&e.data.status){var t,n=null===(t=e.data)||void 0===t?void 0:t.data;u(n.map((function(e){return(new r).deserialize(e)})))}})).catch((function(e){}))},depositList:n,withdrawList:c,viewMobileVersion:function(){document.cookie="viewmode=mobile;",window.location.reload()},isMobileDevice:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){for(var n=e[t];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf("viewmode="))return!0}return!1},fetchAndroidAppLink:function(){(0,i.z4)((0,s.nn)(e),e.base_url).then((function(e){var t;(null===(t=e.data)||void 0===t?void 0:t.status)&&x(e.data.data)})).catch((function(e){}))},androidAppLink:f})}},4186:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return E}});var a=n(5893),i=n(8352),r=n(1911),s=n(7294),l=n(5152),o=n.n(l),d=n(8301),c=n(2063),u=n(1287),m=n(9827),f=n(9008),x=n.n(f),p=n(1937),h=n(5707),b=n(6905),g=n(2132),v=n(5e3);function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(a=n.next()).done)&&(r.push(a.value),!t||r.length!==t);s=!0);}catch(o){l=!0,i=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw i}}return r}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var j=o()((function(){return Promise.all([n.e(675),n.e(437)]).then(n.bind(n,9437))}),{loadableGenerated:{webpack:function(){return[9437]}}}),y=o()((function(){return Promise.all([n.e(675),n.e(219)]).then(n.bind(n,9219))}),{loadableGenerated:{webpack:function(){return[9219]}}}),k=o()((function(){return Promise.all([n.e(335),n.e(786)]).then(n.bind(n,306))}),{loadableGenerated:{webpack:function(){return[306]}}}),A=o()((function(){return Promise.all([n.e(335),n.e(901)]).then(n.bind(n,981))}),{loadableGenerated:{webpack:function(){return[981]}}}),S=o()((function(){return Promise.all([n.e(335),n.e(360)]).then(n.bind(n,8251))}),{loadableGenerated:{webpack:function(){return[8251]}}}),L=o()((function(){return Promise.all([n.e(335),n.e(315)]).then(n.bind(n,1908))}),{loadableGenerated:{webpack:function(){return[1908]}}}),C=o()((function(){return Promise.all([n.e(335),n.e(87)]).then(n.bind(n,3293))}),{loadableGenerated:{webpack:function(){return[3293]}}}),I=o()((function(){return Promise.all([n.e(335),n.e(959)]).then(n.bind(n,2909))}),{loadableGenerated:{webpack:function(){return[2909]}}}),E=!0;t.default=function(e){var t,n,l,o,f,w,E,P,O,T,R,D=(0,d.Z)(null,e.environment),M=D.webconfig,_=D.contactData,G=D.fetchContactSupportList,U=D.fetchConfig,K=D.fetchAgentRegIntercept,V=(0,c.Z)([],e.environment),W=V.pasarList,z=V.fetchPasaranList,B=(0,p.Z)([],e.environment),Y=B.fetchBannerList,Z=B.banners,F=B.registerPromo,H=B.registerPromoConfig,q=B.isRegisterPromoActive,X=B.news,$=B.fetchNews,J=(0,m.Z)(e.environment),Q=J.fetchLastDeposit,ee=J.fetchLastWithdraw,te=J.depositList,ne=J.withdrawList,ae=N(s.useState(!1),2),ie=ae[0],re=ae[1],se=N(s.useState(!1),2),le=se[0],oe=se[1],de=N(s.useState(!1),2),ce=de[0],ue=de[1],me=N(s.useState(!1),2),fe=(me[0],me[1],N(s.useState(!1),2)),xe=fe[0],pe=fe[1],he=N(s.useState(!1),1)[0],be=N(s.useState(!1),2),ge=be[0],ve=be[1],we=(0,h.Z)(e.environment),Ne=we.getRegisterCaptchaImageUrl,je=we.loadCaptcha,ye=we.register,ke=we.message,Ae=we.setMessage,Se=we.login,Le=we.setMyStatusToLoggedIn,Ce=we.agreement,Ie=we.getLoginCaptchaImageUrl,Ee=we.confirmPINNumber,Pe=(we.createPINNumber,we.forgotPasswordRequest),Oe=we.isRegisterLoading,Te=N(s.useState(!1),2),Re=Te[0],De=Te[1],Me=s.useContext(b.v).captcha,_e=N(s.useState([]),2),Ge=_e[0],Ue=_e[1],Ke=N(s.useState(!1),2),Ve=Ke[0],We=Ke[1],ze=N(s.useState(void 0),2),Be=ze[0],Ye=ze[1],Ze=(0,v.Z)([],e.environment).banks,Fe=function(){je(),re(!0)},He=function(e,t,n){$e(e,t,n)?Se(e,t,n).then((function(e){e.status&&Le()})).catch((function(e){(0,g.Am)(e.message,{type:"error"})})):(0,g.Am)("Harap isi semua form dengan benar",{type:"warning"})},qe=function(){ve(!0),ue(!0)},Xe=function(e){ue(!1),ve(!1),e.length===(null===M||void 0===M?void 0:M.pinLength)&&Ee(e).then((function(e){e?(null===M||void 0===M?void 0:M.useAgreement)?(ve(!0),pe(!0)):Le():((0,g.Am)("Pin yang anda masukkan tidak benar",{type:"warning"}),qe())}))},$e=function(e,t,n){return e.length>0&&t.length>0&&n.length>0};return s.useEffect((function(){U(),Y(),$(),z()}),[]),s.useEffect((function(){(null===M||void 0===M?void 0:M.showDepoWD)||(Q(),ee())}),[]),s.useEffect((function(){""!==(null===ke||void 0===ke?void 0:ke.message)&&((0,g.Am)(null===ke||void 0===ke?void 0:ke.message,{type:null===ke||void 0===ke?void 0:ke.type}),Ae(void 0))}),[ke]),s.useEffect((function(){if(Z.length>0){var e=Z.sort((function(e,t){return e.displayOrder-t.displayOrder})).filter((function(e){return"popup"===e.bannerPosition.toLowerCase()}));e.length>0&&(Ue(e),Ve||We(!0))}}),[Z]),s.useEffect((function(){if(_){var e,t=null===(e=_.contactData)||void 0===e?void 0:e.find((function(e){return"whatsapp"===e.name}));t&&t.metaContact.length>0&&Ye(t.metaContact[0])}}),[_]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x(),{children:(null===(t=e.webcontent)||void 0===t?void 0:t.websiteKeyword)&&(0,a.jsx)("meta",{name:"keywords",content:null===(n=e.webcontent)||void 0===n?void 0:n.websiteKeyword})}),(0,a.jsx)(j,{banners:Z,news:X}),(0,a.jsx)(y,{pasarList:W}),(0,a.jsxs)("div",{className:"flex flex-row justify-center w-full mt-4 bg-darker py-6 px-6 gap-6",children:[(0,a.jsxs)("div",{className:"flex justify-center items-center rounded-md bg-dark p-4 w-1/2 shadow-lg",children:[(0,a.jsxs)("div",{className:"flex-2 text-common text-center p-4",children:[(0,a.jsxs)("p",{className:"text-lg font-bold text-center xl:text-3xl",children:[(0,a.jsx)("span",{className:"text-highlight",children:"MENANGKAN"})," HADIAH MENARIKNYA"]}),(0,a.jsx)("div",{className:"title-underline mt-4"}),(0,a.jsxs)("p",{className:"text-md text-wrap text-left",children:["Ayo daftar sekarang juga dan menangkan permainan yang telah kami sediakan. Menangkan berbagai jackpot dan mainkan game slot dengan ",(0,a.jsx)("span",{className:"text-warning text-lead font-bold",children:"RTP"})," tertinggi dari BO lain."]}),(0,a.jsx)("button",{className:"rounded-3xl px-6 py-2 btn-primary mt-2 text-sm shadow-md",onClick:function(){return je(),void oe(!0)},children:"DAFTAR"})]}),(0,a.jsx)("div",{children:(0,a.jsx)("img",{loading:"lazy",src:"/assets/img/crocodile.webp",alt:"crocodile"})})]}),(0,a.jsxs)("div",{className:"relative flex-col justify-center items-center rounded-md bg-dark p-4 w-1/2 shadow-lg",children:[(0,a.jsx)("div",{className:"ribbon ribbon-top-left",children:(0,a.jsx)("span",{children:"WINNERS"})}),(0,a.jsxs)("p",{className:"text-lead text-common text-2xl font-bold text-center",children:[(0,a.jsx)("span",{className:"text-highlight",children:"LAST 20"})," WINNERS"]}),(0,a.jsx)("div",{className:"title-underline mt-2"}),(0,a.jsxs)(i.tq,{direction:"vertical",slidesPerView:"auto",spaceBetween:0,loop:!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[r.pt],centeredSlides:!0,className:"w-full rounded-md h-[220px]",children:[(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"WIN***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"LOTTERY 4D"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"950.000"})]})}),(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"AYX***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"GATES OF OLYMPUS"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"500.000"})]})}),(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"SUK***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"LIVE CASINO BONANZA"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"1.250.000"})]})}),(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"KAL***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"LOTTERY 4D"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"100.000"})]})}),(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"NAR***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"LOTTERY 3DD"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"235.000"})]})}),(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-sm",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:"LIS***"}),(0,a.jsx)("span",{className:"flex-1 font-medium-text-left text-highlight",children:"LOTTERY 2DD"}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center text-success",children:"2.000.000"})]})})]})]})]}),(0,a.jsx)("div",{className:"w-full bg-image-primary-3 px-4 py-6",children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,a.jsxs)("p",{className:"text-lead text-common text-2xl font-bold",children:[(0,a.jsx)("span",{className:"text-highlight",children:"BANYAK GAMES"})," YANG DAPAT DIMAINKAN"]}),(0,a.jsx)("div",{className:"title-underline mt-2"}),(0,a.jsxs)("div",{className:"inline-grid grid-cols-2 gap-12",children:[(0,a.jsxs)("div",{className:"rounded bg-darker p-6 bg-playable-slot-image-1 flex flex-col justify-center items-center primary-shadow transition-all delay-200 ease-in ease-out border-primary border px-16",children:[(0,a.jsx)("span",{className:"text-3xl text-center font-bold text-lead text-common mb-4",children:"SLOT GAMES"}),(0,a.jsx)("button",{className:"rounded-3xl px-6 py-2 btn-primary mt-2 text-md primary-shadow transition-all delay-200 ease-in ease-out hover:rounded-md",onClick:function(){return Fe()},children:"MAINKAN SEKARANG"})]}),(0,a.jsxs)("div",{className:"rounded bg-primary p-4 bg-playable-casino-image-1 flex flex-col justify-center items-center primary-shadow transition-all delay-200 ease-in ease-out border-primary border",children:[(0,a.jsx)("span",{className:"text-3xl text-center font-bold text-lead text-common mb-4",children:"LIVE CASINO"}),(0,a.jsx)("button",{className:"rounded-3xl px-6 py-2 btn-primary mt-2 text-md primary-shadow transition-all delay-200 ease-in ease-out hover:rounded-md",onClick:function(){return Fe()},children:"MAINKAN SEKARANG"})]}),(0,a.jsxs)("div",{className:"rounded bg-primary p-4 bg-playable-fishing-image-1 flex flex-col justify-center items-center primary-shadow transition-all delay-200 ease-in ease-out border-primary border",children:[(0,a.jsx)("span",{className:"text-3xl text-center font-bold text-lead text-common mb-4",children:"FISHING"}),(0,a.jsx)("button",{className:"rounded-3xl px-6 py-2 btn-primary mt-2 text-md primary-shadow transition-all delay-200 ease-in ease-out hover:rounded-md",onClick:function(){return Fe()},children:"MAINKAN SEKARANG"})]}),(0,a.jsxs)("div",{className:"rounded bg-primary p-4 bg-playable-sport-image-1 flex flex-col justify-center items-center primary-shadow transition-all delay-200 ease-in ease-out border-primary border",children:[(0,a.jsx)("span",{className:"text-3xl text-center font-bold text-lead text-common mb-4",children:"SPORTSBOOK"}),(0,a.jsx)("button",{className:"rounded-3xl px-6 py-2 btn-primary mt-2 text-md primary-shadow transition-all delay-200 ease-in ease-out hover:rounded-md",onClick:function(){return Fe()},children:"MAINKAN SEKARANG"})]})]})]})}),!(null===M||void 0===M?void 0:M.showDepoWD)&&(0,a.jsx)("div",{className:"flex justify-center w-full bg-darker px-4 py-6 gap-4",children:(0,a.jsxs)("div",{className:"w-full flex justify-center gap-4",children:[te.length>0&&(0,a.jsxs)("div",{className:"flex-col justify-start items-center rounded-md bg-dark p-4 xl:w-1/3 relative w-full shadow-lg",children:[(0,a.jsx)("div",{className:"ribbon ribbon-top-left",children:(0,a.jsx)("span",{children:"DP"})}),(0,a.jsxs)("p",{className:"text-lead text-common text-2xl font-bold text-center",children:[(0,a.jsx)("span",{className:"text-highlight",children:"LAST 20"})," DEPOSIT"]}),(0,a.jsx)("div",{className:"title-underline mt-2"}),(0,a.jsx)(i.tq,{direction:"vertical",slidesPerView:"auto",spaceBetween:0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[r.pt],centeredSlides:!1,className:"w-full rounded-md h-[340px]",children:te.map((function(e,t){var n,r,s,l,o;return(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-md",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:null===(n=e.username)||void 0===n?void 0:n.substring(0,3).padEnd(e.username.length,"*").toUpperCase()}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center",children:(0,u.Tt)(null!==(l=null===(r=e.nominal)||void 0===r?void 0:r.toString())&&void 0!==l?l:"0")}),(0,a.jsx)("span",{className:"flex-1 font-medium ".concat("approve"===e.status?"text-success":"reject"===e.status?"text-danger":"refund"===e.status?"text-primary":"text-warning"," text-right"),children:null!==(o=null===(s=e.status)||void 0===s?void 0:s.toUpperCase())&&void 0!==o?o:""})]})},"".concat(e.username,"_").concat(t))}))})]}),ne.length>0&&(0,a.jsxs)("div",{className:"flex-col justify-start items-center rounded-md bg-dark p-4 xl:w-1/3 relative w-full shadow-lg",children:[(0,a.jsx)("div",{className:"ribbon ribbon-top-left",children:(0,a.jsx)("span",{children:"WD"})}),(0,a.jsxs)("p",{className:"text-lead text-common text-2xl font-bold text-center",children:[(0,a.jsx)("span",{className:"text-highlight",children:"LAST 20"})," WITHDRAW"]}),(0,a.jsx)("div",{className:"title-underline mt-2"}),(0,a.jsx)(i.tq,{direction:"vertical",slidesPerView:"auto",spaceBetween:0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[r.pt],centeredSlides:!1,className:"w-full rounded-md h-[340px]",children:ne.map((function(e,t){var n,r,s,l,o;return(0,a.jsx)(i.o5,{className:"p-2 bg-darker depowd-list-swiper-slide border-b border-dark text-common",children:(0,a.jsxs)("div",{className:"flex h-full justify-between items-center text-md",children:[(0,a.jsx)("span",{className:"flex-1 font-medium text-left",children:null===(n=e.username)||void 0===n?void 0:n.substring(0,3).padEnd(e.username.length,"*").toUpperCase()}),(0,a.jsx)("span",{className:"flex-1 font-medium text-center",children:(0,u.Tt)(null!==(l=null===(r=e.nominal)||void 0===r?void 0:r.toString())&&void 0!==l?l:"0")}),(0,a.jsx)("span",{className:"flex-1 font-medium ".concat("approve"===e.status?"text-success":"reject"===e.status?"text-danger":"refund"===e.status?"text-primary":"text-warning"," text-right"),children:null!==(o=null===(s=e.status)||void 0===s?void 0:s.toUpperCase())&&void 0!==o?o:""})]})},"".concat(e.username,"_").concat(t))}))})]})]})}),le&&(0,a.jsx)(L,{environment:e.environment,webLogo:null!==(E=null===(l=e.webcontent)||void 0===l?void 0:l.webLogo)&&void 0!==E?E:"",isModalOpen:le,onClose:function(){return oe(!1)},onRegisterClicked:function(t){!function(t){var n={username:t.username,password:t.password,email:t.email,repassword:t.passwordConfirmation,phone:t.phonenumber,captcha:parseInt(t.captcha,10),captchaToken:Me.token,referral:t.referral};ye(n).then((function(n){var a;n&&(1===(null===(a=e.webcontent.interceptConfig)||void 0===a?void 0:a.isInterceptReg)?K(e.webcontent.interceptConfig).then((function(){})).catch((function(){})).finally((function(){oe(!1),He(t.username,t.password,Me.captcha.loginCaptcha)})):(oe(!1),He(t.username,t.password,Me.captcha.loginCaptcha)))})).catch((function(e){}))}(t)},onLoginClicked:function(){Fe()},captchaImageUrl:Ne(Me),disabledAllForms:he,isLoading:Oe,referral:"",registerPromoConfig:H,promoRegister:F,isPromoRegisterActive:q,webConfig:M}),ie&&(0,a.jsx)(C,{webLogo:null!==(P=null===(o=e.webcontent)||void 0===o?void 0:o.webLogo)&&void 0!==P?P:"",isModalOpen:ie,onClose:function(){return re(!1)},onRegisterClicked:function(){re(!1),oe(!0)},onLoginClicked:function(e){He(e.username,e.password,e.captcha)},captchaImageUrl:Ie(Me),disabledAllForms:ge,isLoading:!1,paymnetList:Ze.filter((function(e){return"bank"===e.payeeType})),onForgotPasswordClicked:function(){G(),De(!0)}}),ce&&(0,a.jsx)(S,{webcontent:e.webcontent,isOpen:ce,title:"Enter your pin",bodyMessage:"Silahkan Masukkan Pin Anda",onClose:function(e){Xe(e)},pinLength:null!==(O=null===M||void 0===M?void 0:M.pinLength)&&void 0!==O?O:0,textVisibility:"hide"}),xe&&(0,a.jsx)(A,{isOpen:xe,onClose:function(){pe(!1)},websiteName:null===M||void 0===M?void 0:M.websiteName,title:"AGREEMENT",onAgree:function(){pe(!1),ve(!1),Ce(!0).then((function(e){e&&Le()}))},onDisagree:function(){(0,g.Am)("Anda tidak dapat login karena tidak menyetujui ketentuan yang telah kami buat",{type:"warning"}),ve(!1),pe(!1),setTimeout((function(){re(!1)}),100)},logoUrl:null!==(T=null===M||void 0===M?void 0:M.webLogo)&&void 0!==T?T:"",rules:null===M||void 0===M?void 0:M.webRules}),Re&&(0,a.jsx)(k,{isOpen:Re,websiteName:null===(f=e.webcontent)||void 0===f?void 0:f.websiteName,title:"",logoUrl:null!==(R=null===(w=e.webcontent)||void 0===w?void 0:w.webLogo)&&void 0!==R?R:"/assets/img/placeholder.jpg",onClose:function(){return De(!1)},onSubmit:function(e){!function(e){Pe({userName:e.username,phoneNo:e.phonenumber,accountNo:e.norek,accountName:e.rekname,bankName:e.bank}).then((function(t){var n,a;t.status?((0,g.Am)("Permintaan reset password telah berhasil dikirim. Harap tunggu sampai operator menghubungi kamu.",{type:"success"}),De(!1),Be&&(0,u.s8)(e.username,e.phonenumber,null!==(n=null===Be||void 0===Be?void 0:Be.contactValue)&&void 0!==n?n:"",e.bank,e.rekname,e.norek)):(0,g.Am)(null!==(a=t.message)&&void 0!==a?a:"Silahakan ulangi dalam beberapa saat lagi")})).catch((function(){}))}(e)},paymentList:Ze}),Ve&&(0,a.jsx)(I,{isOpen:Ve,onClose:function(){return We(!1)},children:(0,a.jsx)("div",{className:"w-full flex flex-col border-4 border-primary",children:(0,a.jsx)(i.tq,{direction:"horizontal",slidesPerView:"auto",spaceBetween:0,loop:!0,autoplay:{delay:4500,disableOnInteraction:!1},modules:[r.pt],centeredSlides:!0,className:"w-full",children:Ge.map((function(e,t){var n,r,s,l,o;return(0,a.jsx)(i.o5,{className:"",children:(null===e||void 0===e?void 0:e.bannerUrl)&&""!==(null===e||void 0===e?void 0:e.bannerUrl)?(0,a.jsx)("a",{className:"focus:ring-0 outline-0",href:null===e||void 0===e?void 0:e.bannerUrl,target:null!==(n=null===e||void 0===e?void 0:e.targetUrl)&&void 0!==n?n:"",children:(0,a.jsx)("img",{loading:"lazy",src:null!==(r=null===e||void 0===e?void 0:e.imagePath)&&void 0!==r?r:"",alt:null!==(s=null===e||void 0===e?void 0:e.imageAlt)&&void 0!==s?s:""})}):(0,a.jsx)("img",{loading:"lazy",src:null!==(l=null===e||void 0===e?void 0:e.imagePath)&&void 0!==l?l:"",alt:null!==(o=null===e||void 0===e?void 0:e.imageAlt)&&void 0!==o?o:""})},"".concat(e.bannerID))}))})})})]})}}},function(e){e.O(0,[352,937,629,774,888,179],(function(){return t=8312,e(e.s=t);var t}));var t=e.O();_N_E=t}]);