PageSourceSearch

https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_n…/pages/[lng]/dashboard-4e8dbd33d22386e1.js

js paymonade.tech collected 2026-10-04 05:40:21 UTC 8,385 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6336],{8053:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>a,UB:()=>n,dU:()=>i,uB:()=>r});var l=s(37876);s(14232);let a=e=>{let{children:t,className:s,outChildren:a}=e;return a?(0,l.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,l.jsx)("div",{className:"w-full sm:w-[592px]",children:a}),(0,l.jsx)("div",{id:"ShadowContainer",className:"\n        overflow-auto grow bg-bg1\n        relative flex flex-col h-full sm:h-[calc(100%-40px)]\n        px-5  max-h-[860px] border-line\n        sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n        sm:border sm:px-0\n        w-full sm:w-[592px] mx-auto text-primary-text  !text-sm\n        ".concat(s,"\n      "),children:t})]}):(0,l.jsx)("div",{id:"ShadowContainer",className:"\n        overflow-auto grow\n        relative flex flex-col h-full sm:h-[calc(100%-40px)]\n        px-5  max-h-[860px] border-line\n        sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n        sm:border sm:px-0\n        w-full sm:w-[592px] mx-auto text-primary-text  !text-sm\n        ".concat(s,"\n      "),children:t})},n=e=>{let{children:t,className:s}=e;return(0,l.jsx)("div",{id:"ContainerWithoutShadow",className:"\n        relative w-full mx-auto text-primary-text !text-sm my-0 h-full\n        sm:my-5 sm:w-[486px]\n        ".concat(s,"\n      "),children:t})},i=e=>{let{children:t,className:s,outChildren:a}=e;return a?(0,l.jsxs)("div",{className:"relative m-auto  sm:w-[592px] sm:h-[680px] ",children:[(0,l.jsx)("div",{className:" sm:w-[592px]",children:a}),(0,l.jsx)("div",{id:"FixedHeightContainer",className:"\n            border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n            sm:w-[592px] sm:h-[680px] sm:border-line\n            ".concat(s,"\n          "),children:t})]}):(0,l.jsx)("div",{className:"relative m-auto  sm:w-[592px] sm:h-[680px] ",children:(0,l.jsx)("div",{id:"FixedHeightContainer",className:"\n          border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n          sm:w-[592px] sm:h-[680px] sm:border-line\n          ".concat(s,"\n        "),children:t})})},r=e=>{let{children:t,className:s}=e;return(0,l.jsx)("div",{className:"\n        w-full sm:w-[486px] mx-auto relative\n        flex flex-col flex-1 px-4 sm:px-0\n        ".concat(s||"","\n      "),children:t})}},11104:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/buyCrypto.ff975c9b.svg",height:64,width:64,blurWidth:0,blurHeight:0}},17228:(e,t,s)=>{"use strict";s.d(t,{m:()=>n});var l=s(91702);let a={getWalletBalance:"/capi/v1/customer/wallet/get-wallet-balance"},n=e=>(0,l.bE)({url:a.getWalletBalance,data:e})},60716:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/dashboard",function(){return s(75989)}])},75989:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>k});var l=s(37876),a=s(8053),n=s(44975),i=s(54587),r=s.n(i),c=s(14232),d=s(34846),o=s(11104),m=s(87320);let x={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/history.a2fe8348.svg",height:64,width:65,blurWidth:0,blurHeight:0},u={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/deposit.55a8b7bf.svg",height:64,width:65,blurWidth:0,blurHeight:0};var h=s(51259),p=s(34636),v=s(44405),f=s(99190),b=s(84952),w=s(38243),y=s(61329),j=s(95256),g=s(97929),N=s(17228),S=s(36750),A=s(3449),C=s(79829),_=s(17745);let k=()=>{let{t:e}=(0,d.Bd)(),{setShowMenu:t,showMenu:s,showMenuBtn:i,setShowMenuBtn:k,setShowBuyCrypro:E,showBuyCrypto:F,showDeposit:W,showWithdraw:B}=(0,n.A)(),{goAcctStatusPage:H,goHistory:T,goBuySend:U}=(0,h.A)(),{setAccountInfo:D,accountInfo:K}=(0,p.A)();(0,A.A)({autoShowModal:!0});let[O,P]=(0,c.useState)(!0),[L,M]=(0,c.useState)(!1),{goDWPage:I}=(0,h.A)(),[R,X]=(0,c.useState)(""),{ga4log:V}=(0,_.A)();(0,c.useEffect)(()=>{V({element_id:"paymonade3_independent_login_v2_success"})},[V]),(0,c.useEffect)(()=>(k(!0),()=>{k(!1)}),[k]),(0,c.useEffect)(()=>{P(!0),(0,C.od)().then(e=>{var t;let{data:s}=e;if(D(s),(null==s?void 0:s.accountStatus)===w.cl.Terminated||(null==s?void 0:null===(t=s.kycInfo)||void 0===t?void 0:t.kycStatus)===w.Kp.Fail&&!(null==s?void 0:s.accountStatusReason)){H();return}P(!1)})}
1,[H,D]);let Y=(0,j.uU)();(0,c.useEffect)(()=>{(0,y.YO)().then(e=>{let{data:t}=e;t.showMerchantLogo,"BLOCK"===t.status&&window.location.replace("/".concat(Y,"/services-unavailable"))})},[Y]),(0,c.useEffect)(()=>{(0,N.m)({currency:"EUR"}).then(e=>{let{data:t}=e;X(null==t?void 0:t.balance)})},[]);let{KycModule:q,isBlocked:z,goDeposit:G,goWithdraw:J}=(0,S.A)(),Q=null==K?void 0:K.kycInfo,Z=null==K?void 0:K.email,$=null==K?void 0:K.accountStatus;return(0,l.jsx)("div",{className:"sm:px-5 h-[calc(100%-56px)] sm:h-[calc(100%-64px-32px)]",children:(0,l.jsxs)(a.UB,{children:[O?(0,l.jsx)(v.A,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"px-5",children:[(0,l.jsx)("div",{className:"font-bold text-xl mt-3",children:e("Welcome")}),(0,l.jsx)("div",{className:"text-sm text-secondary pb-6 mt-1",children:Z})]}),q,(0,l.jsxs)("div",{className:"mt-4 flex flex-col py-4 px-3 rounded-xl bg-bg2 mx-5",children:[(W||B)&&$===(null===w.cl||void 0===w.cl?void 0:w.cl.Active)&&(null==Q?void 0:Q.kycStatus)===w.Kp.Pass&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm text-secondary mt-1",children:e("EstTotalValue")}),(0,l.jsx)("span",{className:"font-bold text-xl",children:"≈".concat((0,g.A)({num:R}))}),(0,l.jsx)("span",{children:" EUR"})]}),(0,l.jsx)("div",{className:"mt-4 flex flex-wrap justify-between rounded-xl bg-bg2 border-t border-line border-dashed"})]}),(0,l.jsxs)("div",{className:"mt-4 kus flex flex-wrap rounded-xl bg-bg2 border-line border-dashed",children:[(0,l.jsxs)(l.Fragment,{children:[W&&$===(null===w.cl||void 0===w.cl?void 0:w.cl.Active)&&(null==Q?void 0:Q.kycStatus)===w.Kp.Pass&&(0,l.jsxs)("div",{className:"cursor-pointer flex flex-col items-center w-1/3",children:[(0,l.jsx)(r(),{onClick:()=>{G()},src:u,alt:"depositSvg"}),(0,l.jsx)("div",{className:"font-medium text-sm mt-1",children:e("DepositFiat")})]}),B&&$===(null===w.cl||void 0===w.cl?void 0:w.cl.Active)&&(null==Q?void 0:Q.kycStatus)===w.Kp.Pass&&(0,l.jsxs)("div",{className:"cursor-pointer flex flex-col items-center w-1/3",children:[(0,l.jsx)(r(),{onClick:()=>{J()},src:u,alt:"depositSvg"}),(0,l.jsx)("div",{className:"font-medium text-sm mt-1",children:e("WithdrawFiat")})]}),(0,l.jsxs)("div",{className:"cursor-pointer flex flex-col items-center w-1/3",children:[(0,l.jsx)(r(),{onClick:()=>{F?U():M(!0)},src:o.A,alt:"buyCryptoSvg"}),(0,l.jsx)("div",{className:"font-medium text-sm mt-1",children:e("buy")})]}),(0,l.jsxs)("div",{className:"cursor-pointer flex flex-col items-center w-1/3",children:[(0,l.jsx)(r(),{onClick:()=>{M(!0)},src:m.A,alt:"sellCryptoSvg"}),(0,l.jsx)("div",{className:"font-medium text-sm mt-1",children:e("Sell")})]})]}),(0,l.jsxs)("div",{className:"cursor-pointer flex flex-col items-center w-1/3",children:[(0,l.jsx)(r(),{onClick:()=>{T()},src:x,alt:"historySvg"}),(0,l.jsx)("div",{className:"font-medium text-sm mt-1",children:e("History")})]})]})]})]}),(0,l.jsx)(f.Ay,{title:e("BuyAndSellCrypto"),open:L,showMask:!0,onClose:()=>M(!1),footer:(0,l.jsx)(b.A,{className:"mb-0!",onClick:()=>M(!1),children:e("OK")}),children:(0,l.jsxs)("div",{className:"flex flex-col grow pt-12 items-center",children:[(0,l.jsx)(r(),{width:96,height:96,src:o.A,alt:"buyCryptoSvg"}),(0,l.jsx)("div",{className:"text-large-body-bold mt-3 text-center",children:e("TradeCryptoTitle")}),(0,l.jsx)("div",{className:"text-secondary mt-3 text-center",dangerouslySetInnerHTML:{__html:e("TradeCryptoDesc")}})]})})]})})}},87320:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/sellCrypto.6dfd8738.svg",height:64,width:65,blurWidth:0,blurHeight:0}},97929:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var l=s(58069);let a=function(e){let{num:t,decimalPlaces:s=2,roundingMode:a="roundDown"}=e;t=t||0;let n=new l.A(t);
1return"roundDown"===a?n.round(s,0):"roundUp"===a&&n.round(s,3),n.toNumber().toLocaleString(void 0,{minimumFractionDigits:s,maximumFractionDigits:s})}}},e=>{var t=t=>e(e.s=t);e.O(0,[8069,1641,4405,6118,636,6593,8792],()=>t(60716)),_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.