PageSourceSearch

https://mts69bingo.com/_next/static/chunks/pages/product/launch-01607b1e0f90a2af.js

js mts69bingo.com collected 2026-10-09 22:45:03 UTC 5,028 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[924],{29505:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product/launch",function(){return n(46157)}])},46157:function(e,a,n){"use strict";n.r(a),n.d(a,{__N_SSP:function(){return j},default:function(){return N}});var t=n(85893),s=n(96486),i=n.n(s),c=n(53400),l=n(11163),r=n(67294),o=n(3619),d=n(38090),u=n(54777),m=n(67841),h=n(59642),w=n(17585),g=n(62001),p=n(42894),_=n(8193),f=n(63750),x=n(37048),j=!0;function N(e){var a;let{...n}=e,s=(0,l.useRouter)(),{device:j,query:N,t:v,session:b={}}=n,[y,L]=(0,r.useState)({showForm:!1,loading:!0,gameLoading:!1,responseJson:{},error_message:null,transferLoading:!1}),{loading:k,gameLoading:F,responseJson:E,error_message:C,credit_balance:S,transferLoading:T,showForm:O}=y;null==b||null===(a=b.user)||void 0===a||a.sys_currency;let P=()=>{try{let{raw:e={},launchHtml:a=!1}=E;if(I({gameLoading:!0}),a){let{game_url:e}=E;document.write(e)}else if(null==e?void 0:e.launch_url){let{launch_url:e,...a}=E.raw;window.location="".concat(e,"/?").concat(new URLSearchParams(a).toString())}else window.location=E.game_url}catch(e){h.A.error(e)}},R=async()=>{try{let{responseJson:e,credit_wallet:a,amount:n,credit_balance:t}=y,{auto_transfer:c}=e;if(0==t&&1==c)I({gameLoading:!0}),s.push("/".concat(i().toLower(s.locale),"/account/deposit"));else if(0==t&&2==c)P();else{if(!n||i().isNaN(n)||0==n)throw Error(v("Invalid Amount"));try{I({gameLoading:!0,transferLoading:!0});let t={from_wallet:"1|1",to_wallet:"".concat(e.provider_id,"|2"),amount:"".concat(n)};2==a&&(t.from_wallet="".concat(e.promo_wallet.promo_wallet_id,"|3")),await (0,p.Em)({data:t}),P()}catch(e){throw I({transferLoading:!1,gameLoading:!1}),e}}}catch(e){h.A.error(e)}},A=e=>{try{I({amount:e})}catch(e){h.A.error(e)}},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(a=>({...a,...e}))},D=()=>{(null==window?void 0:window.ReactNativeWebView)&&window.ReactNativeWebView.postMessage(JSON.stringify({action:"launch_game_error"})),close()};return(0,x.l)(()=>{let{auto_transfer:e,balance:a}=E,{isDemo:n}=N;1==e&&(1==n||a>0)?P():2==e&&R()},[E]),(0,r.useEffect)(()=>{let e=async()=>{if(j)try{I({loading:!0});let e=await (0,g.v2)("/api/product/getGameLink",{...N,device:j,redirect_url:"".concat(window.location.origin,"/").concat(s.locale),mobile_version:"mobile"==j?1:0,ip:await (0,w.$S)(),lang:v("lang"),timeout:6e4},{timeout:6e4}),{auto_transfer:a,balance:n,game_url:t,main_wallet:c,promo_wallet:l}=e.data,{isDemo:r,code:o}=N;if(1==a&&(1==r||n>0))window.location=t;else{let n={credit_balance:parseInt(c),credit_wallet:1,loading:!1,showForm:!0,responseJson:e.data};!i().isEmpty(l)&&l.balance>0&&(n.credit_balance=parseInt(l.balance),n.credit_wallet=2),2==a&&(0==n.credit_balance?(n.showForm=!1,n.loading=!0):(n.amount=n.credit_balance,n.showForm=!1,n.loading=!0)),I(n)}}catch(e){I({loading:!1,showForm:!0,error_message:e.message})}};e()},[j]),(0,t.jsxs)("div",{className:"launcher-page-wrapper",children:[k&&(0,t.jsx)(o.fF,{}),O&&(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("img",{src:"/assets/images/logo/logo.png"}),C?(0,t.jsx)(d.u,{styles:{header:{display:"none"}},opened:!0,onClose:()=>{D()},transition:"fade",transitionDuration:600,transitionTimingFunction:"ease",centered:!0,children:(0,t.jsxs)("div",{className:"launcher-content",children:[(0,t.jsx)("span",{className:"error-msg",children:C}),(0,t.jsx)("div",{className:"launcher-action",children:(0,t.jsx)("a",{className:"standard-btn cancel-btn",onClick:()=>{D()},children:v("Close")})})]})}):(0,t.jsxs)(d.u,{styles:{header:{display:"none"}},opened:!0,closeOnClickOutside:!1,transition:"fade",transitionDuration:600,transitionTimingFunction:"ease",centered:!0,children:[(0,t.jsxs)("div",{className:"launcher-content",children:[F&&(0,t.jsx)(o.fF,{}),(0,t.jsxs)("div",{className:"launcher-wallet-wrapper",children:[(0,t.jsxs)("div",{className:"main-wallet",children:[(0,t.jsxs)("span",{className:"title",children:[(0,t.jsx)(f.hG7,{}),v("Main Wallet")]}),(0,t.jsx)("span",{children:S})]}),(0,t.jsx)("div",{className:"seperator",children:(0,t.jsx)("span",{children:(0,t.jsx)(_.mGl,{})})}),(0,t.jsx)("div",{className:"provider",children:(0,t.jsx)("img",{src:"".concat("https://neftdocs.com/","template/providers/").concat(N.gcode,"/").concat(N.code,".png")})})]})]}),(0,t.jsx)(u.i,{my:"xs",label:v("Transfer"),labelPosition:"center"}),S>
10?"":(0,t.jsx)("div",{className:"launcher-desc",children:(0,t.jsx)("span",{children:v("Launch_desc2")})}),S>0&&(0,t.jsx)(c.iR,{t:v,callback:A,device:j,max:S,mainwallet:parseInt(E.main_wallet)}),(0,t.jsxs)("div",{className:"launcher-action",children:[(0,t.jsx)(m.z,{className:"standard-btn submit-btn",loading:T,onClick:()=>{R()},children:S>0?v("Transfer"):v("Deposit")}),(0,t.jsx)(m.z,{className:"standard-btn cancel-btn",onClick:P,children:v("No, Thanks")})]})]})]})]})}N.getLayout=function(e){return(0,t.jsx)(t.Fragment,{children:e})}}},function(e){e.O(0,[2013,9774,2888,179],function(){return e(e.s=29505)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.