PageSourceSearch

https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/chunks/4967-17e5b434a2fa860c.js

js paymonade.tech collected 2026-10-04 05:41:50 UTC 37,368 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4967],{6287:(e,l,t)=>{t.d(l,{A:()=>v});var s=t(37876),n=t(14232),i=t(54587),a=t.n(i),r=t(60981),c=t(34846),d=t(84952),o=t(92094),u=t(79123),x=t(52397),m=t(16413);let v=e=>{let{ServicesUnavailableDesc:l,btnText:t,ServicesUnavailableTitle:i,onBtnClick:v,hideBtn:h,Icon:p,footer:f}=e,{t:y}=(0,c.Bd)(),{showSkipLoginToast:j}=(0,m.A)();return(0,n.useEffect)(()=>{j()},[j]),(0,s.jsxs)("div",{className:"flex h-full relative flex-col text-center pt-[104px] items-center",children:[(0,s.jsx)(a(),{alt:"IllustrationFail",className:"w-[88px] h-[88px]",width:88,height:88,src:p||r.A}),(0,s.jsx)("div",{className:" mt-6 text-h6",children:i||y("ServicesUnavailable")}),(0,s.jsx)("div",{className:" mt-2 pb-6 text-secondary text-regular-body grow",children:l||y("ServicesUnavailableDesc")}),f,h?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)("div",{className:"w-full bg-bg1 pb-4 sticky bottom-0",children:[(0,s.jsx)(d.A,{onClick:v||(()=>(0,o.V3)()),className:"max-w-[400px] mb-0!",children:(0,s.jsx)("div",{className:"flex flex-1 justify-center",children:(0,s.jsx)("span",{children:t||y("BackToMerchant").replace("{{Merchant}}",(0,x._W)(o.ck.merchantCode))})})}),(0,s.jsx)(u.A,{})]})]})}},8053:(e,l,t)=>{t.d(l,{Ay:()=>n,UB:()=>i,dU:()=>a,uB:()=>r});var s=t(37876);t(14232);let n=e=>{let{children:l,className:t,outChildren:n}=e;return n?(0,s.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,s.jsx)("div",{className:"w-full sm:w-[592px]",children:n}),(0,s.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(t,"\n      "),children:l})]}):(0,s.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(t,"\n      "),children:l})},i=e=>{let{children:l,className:t}=e;return(0,s.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(t,"\n      "),children:l})},a=e=>{let{children:l,className:t,outChildren:n}=e;return n?(0,s.jsxs)("div",{className:"relative m-auto  sm:w-[592px] sm:h-[680px] ",children:[(0,s.jsx)("div",{className:" sm:w-[592px]",children:n}),(0,s.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(t,"\n          "),children:l})]}):(0,s.jsx)("div",{className:"relative m-auto  sm:w-[592px] sm:h-[680px] ",children:(0,s.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(t,"\n        "),children:l})})},r=e=>{let{children:l,className:t}=e;return(0,s.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(t||"","\n      "),children:l})}},16413:(e,l,t)=>{t.d(l,{A:()=>r});var s=t(14232),n=t(52397),i=t(92094),a=t(34846);let r=()=>{let{t:e}=(0,a.Bd)();return{showSkipLoginToast:(0,s.useCallback)(()=>{(0,n._W)(i.Bm.suggestedEmail),(0,n._W)(i.Bm.loginStatus)},[])}}},20053:(e,l,t)=>{t.d(l,{A:()=>s});let s={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/illustrationReview.78c9940b.svg",height:88,width:88,blurWidth:0,blurHeight:0}},44967:(e,l,t)=>{t.d(l,{A:()=>z});var s=t(37876),n=t(14232);let i=e=>{let{children:l,className:t}=e;return(0,s.jsx)("div",{id:"Container",className:"w-full sm:w-[592px] mx-auto relative flex-1 ".concat(t),children:l})};var a=t(32378),r=t(44975),c=t(91702),d=t(95256),o=t(38243),u=t(34846),x=t(17745),m=t(8053),v=t(44405),h=t(84952),p=t(54587),f=t.n(p),y=t(58069),j=t(92094),A=t(52397),w=t(31991),b=t(59582),N=t(99190),g=t(97929),C=t(9694),I=t(51259),_=t(44789),k=t(9322),S=t(88050);let T=e=>{let{label:l,value:t}=e;return(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("div",{className:"text-secondary text-small-body",children:l}),(0,s.jsx)("div",{className:"text-primary-text text-small-body-sub sm:text-regular-body-sub ",children:t})]})};var E=t(93709),B=t(86299),F=t(60981),P=t(92877),L=t(6287),U=t(65987),D=t(40941),H=t(20053),M=t(66852),R=t(4917),O=t.n(R);let Y=e=>{let{label:l,value:t}=e;return(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("div",{className:"text-secondary text-sm",children:l}),(0,s.jsx)("div",{className:"text-primary-text text-small-body-sub sm:text-regular-body-sub",children:t})]})},W={[o.gL.Expired]:e=>{let{setRefreshTag:l,setState:t,channelCode:i}
1=e,{t:c}=(0,u.Bd)(),{resultOrderInfo:v,setQuoteInfo:p,quoteInfo:{loading:E,data:B}}=(0,r.A)(),{ga4log:F}=(0,x.A)(),{getQuery:P}=(0,d.IT)(),L=P("orderId"),U=(0,d.Ay)(),D=(0,n.useRef)(),[H,M]=(0,n.useState)(0),R=(0,n.useCallback)(async()=>{if(L){p({loading:!0,data:void 0});try{let{data:e}=await (0,a.fn)({orderId:L,channelCode:i||j.k$.CHECKOUT,network:null==v?void 0:v.network});p({loading:!1,data:e})}catch(l){let{destory:e}=(0,b.A)({children:(0,s.jsx)(w.A,{content:c("refreshTitle"),Footer:()=>(0,s.jsx)(N.wi,{onClick:()=>location.reload(),destory:e,mode:N.z7.OK})})})}}},[i,L,v,p,c]);(0,n.useEffect)(()=>{H<=0&&R()},[R,H]),(0,n.useEffect)(()=>((null==B?void 0:B.expiredAfter)&&(D.current=setInterval(()=>{M(e=>e-1>0?e-1:(clearInterval(D.current),0))},1e3),M(B.expiredAfter-1)),()=>{D.current&&clearInterval(D.current)}),[B]),(0,n.useEffect)(()=>{L&&F({element_id:"paymonade3_expired_pageview",extraInfo:{orderId:L}})},[F,L]);let{goHistory:O}=(0,I.A)(),{track:Y}=(0,k.A)();(0,n.useEffect)(()=>{v&&Y({elementId:"Quotation_Expired",orderInfo:v,channelCode:null==v?void 0:v.channelCode})},[Y,v]);let W=(0,n.useCallback)(async()=>{F({element_id:"paymonade3_expired_accept",extraInfo:{orderId:L}});try{await (0,a.G)({orderId:L,quoteId:B.quoteId,acceptNewQuote:!0})}catch(t){let l=(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND);if((0,A._W)(j.ck.redirectUrl),l){var e,n;let{destory:l}=(0,b.A)({children:(0,s.jsx)(w.A,{imageSrc:_.A,content:(0,s.jsx)("div",{className:"text-center",dangerouslySetInnerHTML:{__html:(null==t?void 0:null===(n=t.response)||void 0===n?void 0:null===(e=n.data)||void 0===e?void 0:e.msg)||c("feeNotEnough2")}}),title:c("Failed2Process"),Footer:()=>(0,s.jsx)(N.wi,{destory:l,mode:N.z7.OKV2})})});return}}l(e=>e+1),t(o.gL.Processing)},[F,L,B,null==v?void 0:v.businessType,l,t,c]),z=(0,n.useCallback)(async()=>{F({element_id:"paymonade3_expired_cancel",extraInfo:{orderId:P("orderId")}}),Y({elementId:"Payment_Cancel",channelCode:null==v?void 0:v.channelCode});try{await (0,a.G)({orderId:L,quoteId:B.quoteId,acceptNewQuote:!1})}catch(e){}l(e=>e+1),t(o.gL.Processing)},[F,P,L,B,U,l]),q=(0,C.l)(null==v?void 0:v.businessType,j.c.BUY)||(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND);return(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{id:"Expired",className:"mt-[104px] flex flex-col items-center justify-between flex-1",children:[(0,s.jsxs)("div",{className:"w-full flex flex-col items-center sm:px-5",children:[(0,s.jsx)(f(),{src:_.A,alt:"IllustrationWarning"}),(0,s.jsx)("div",{className:"mt-6 text-h6 text-primary-text",children:c("QuotationExpired")}),(0,s.jsx)("div",{className:"mt-2 text-regular-body text-secondary text-center",children:c("QuotationExpiredSubtitle2")}),(0,s.jsx)("div",{className:"bg-bg2 rounded-xl p-3 w-full mt-6 flex flex-col gap-2",children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T,{label:c("YouPay"),value:E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):q?"".concat((0,g.A)({num:null==B?void 0:B.fiatAmount,decimalPlaces:null==B?void 0:B.fiatPrecision})," ").concat(null==B?void 0:B.fiatCurrency):"".concat(null==B?void 0:B.cryptoAmount," ").concat(null==B?void 0:B.cryptoCurrency)}),(0,s.jsx)(T,{label:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("span",{children:c("Quotation")})}),value:E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):(0,s.jsxs)("div",{children:["1 ",null==B?void 0:B.cryptoCurrency," ≈ ",null==B?void 0:B.quotePrice," ",null==B?void 0:B.fiatCurrency]})}),(0,s.jsx)(T,{label:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("span",{children:c("Fees")})}),value:E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):(0,s.jsxs)("div",{children:[(0,g.A)({num:(0,y.A)((null==B?void 0:B.userFee)||0).add((null==B?void 0:B.tradeFee)||0),decimalPlaces:null==B?void 0:B.fiatPrecision})," ",null==B?void 0:B.feeCurrency]})}),(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND)&&(0,s.jsx)(T,{label:c("NetworkFee"),value:(null==v?void 0:v.sendToAccountType)==="ON_CHAIN_ADDRESS"?E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):"≈ ".concat(null==B?void 0:B.networkFee," ").concat(null==B?void 0:B.networkFeeCurrency):E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):" ".concat(null==v?void 0:v.networkFee," ").concat(null==v?void 0:v.networkFeeCurrency)}),(0,s.jsx)(T,{label:c("YouReceive"),value:E?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):q?"".concat(null==B?void 0:B.cryptoAmount," ").concat(null==B?void 0:B.cryptoCurrency):"".concat((0,g.A)({num:null==B?void 0:B.fiatActualAmount,decimalPlaces:null==B?void 0:B.fiatPrecision})," ").concat(null==B?void 0:B.fiatCurrency)})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center flex-1 justify-end mb-4 flex-col",children:[(0,s.jsx)(h.A,{inactive:E,onClick:W,className:"max-w-[400px] mb-0!",children:c("AcceptQuotation")}),(0,s.jsx)("div",{onClick:z,className:"cursor-pointer w-full mt-2 text-center text-link hover:text-primary text-small-body-sub",children:c("CancelPayment")})]})]})})},[o.gL.Processing]:e=>{let{setRefreshTag:l}=e,{t}=(0,u.Bd)(),{ga4log:i}=(0,x.A)(),{getQuery:a}=(0,d.IT)(),r=a("orderId");return(0,n.useEffect)(()=>{r&&i({element_id:"paymonade3_processing_pageview",extraInfo:{orderId:a("orderId")}})},[i,a,r]),(0,s.jsx)(m.Ay,{children:(0,s.jsx)("div",{className:" pt-4 px-5 sm:pt-5 ",children:(0,s.jsx)("div",{id:"Expired",className:"flex flex-col items-center relative flex-1",children:(0,s.jsx)(v.A,{})})})})},[o.gL.BuySendSuccess]:e=>{var l,t;let{setRefreshTag:i}=e,{t:a}=(0,u.Bd)(),{ga4log:c}=(0,x.A)(),{getQuery:o}=(0,d.IT)(),v=o("orderId"),{resultOrderInfo:p}=(0,r.A)(),{goDashboard:y}=(0,I.A)(),{isUK:j}=(0,B.A)();(0,n.useEffect)(()=>{v&&c({element_id:"paymonade3_Success_pageview",extraInfo:{orderId:o("orderId")}})},[c,o,v]);let A=null==p?void 0:p.displayPhase,w=(0,C.l)(null==A?void 0:null===(l=A[1])||void 0===l?void 0:l.phaseStatus,"success")||(null==A?void 0:null===(t=A[1])||void 0===t?void 0:t.phaseStatus)===void 0,b=(0,s.jsxs)("div",{className:"my-[14px] w-full flex justify-between items-center relative",children:[(0,s.jsx)("div",{className:"shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"}),(0,s.jsx)("div",{className:"w-[calc(100%-12px)] shrink-0 border-dashed border-t h-0 border-line relative right-[6px]"}),(0,s.jsx)("div",{className:" shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"})]}),N={icon:"bg-primary text-white",text:"text-link"},g={icon:"bg-disabled text-white",text:"text-secondary"},_=(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"flex items-center w-full",children:[(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsxs)("div",{className:"relative flex w-full justify-center items-center text-center",children:[(0,s.jsx)("div",{className:"rounded-full h-5 w-5 font-medium text-center ".concat(N.icon),children:"1"}),(0,s.jsx)("div",{className:"absolute right-0 sm:w-[110px] w-[50px] h-[3px] ml-1 ".concat(w?"bg-primary-hover":"bg-line"," ")})]}),(0,s.jsx)("div",{className:"font-medium w-full flex-1 flex justify-center ".concat(N.text),children:a("BuyCrypto")})]}),(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsxs)("div",{className:"relative flex w-full justify-center items-center text-center",children:[(0,s.jsx)("div",{className:"absolute left-0 sm:w-[110px] w-[50px] h-[3px] ml-1 ".concat(w?"bg-primary-hover":"bg-line")}),(0,s.jsx)("div",{className:"rounded-full h-5 w-5 font-medium text-center ".concat(w?N.icon:g.icon),children:"2"})]}),(0,s.jsx)("div",{className:"font-medium w-full flex-1 flex justify-center ".concat(w?N.text:g.text),children:a("SendCrypto")})]})]})}),k=e=>{let{label:l,value:t}=e;return(0,s.jsxs)("div",{className:"text-sm flex justify-between mt-2",children:[(0,s.jsx)("div",{className:"text-[#707A8A] w-[120px] text-left whitespace-nowrap",children:l}),(0,s.jsx)("div",{className:"text-[#1E2329] text-right font-medium break-all ",children:t})]})};return(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:"pt-14 flex flex-col items-center flex-1 overflow-y-auto ".concat(j?"max-h-[calc(100vh-56px-120px)]":"max-h-[calc(100vh-56px)]"," mx-[-20px] px-5 sm:px-10"),children:[(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center text-center",children:[(0,s.jsx)(f(),{className:"w-[106px] h-[106px] mt-12",src:E.A,alt:"IllustrationLoading"}),(0,s.jsxs)("div",{className:" font-bold text-xl mt-6",children:[null==p?void 0:p.cryptoAmount," ",null==p?void 0:p.cryptoCurrency
1]}),(0,s.jsx)("div",{className:" text-base text-secondary text-center mt-2",children:a("buySendSuccess")}),(0,s.jsxs)("div",{className:"mt-6 py-5 w-full bg-bg2 rounded-xl",children:[_,b,(0,s.jsxs)("div",{className:"px-3",children:[(0,s.jsx)(k,{label:a("YouBuy"),value:"".concat(null==p?void 0:p.cryptoAmount," ").concat(null==p?void 0:p.cryptoCurrency)}),(null==p?void 0:p.sendToAccountType)==="ON_CHAIN_ADDRESS"?(0,s.jsxs)(s.Fragment,{children:[(null==p?void 0:p.networkFee)&&(0,s.jsx)(k,{label:a("NetworkFee"),value:"≈ ".concat(null==p?void 0:p.networkFee," ").concat(null==p?void 0:p.networkFeeCurrency)}),(0,s.jsx)(k,{label:a("Sendto"),value:null==p?void 0:p.sendToAccountAddress}),(null==p?void 0:p.onChainTransactionHash)&&(0,s.jsx)(k,{label:a("TransactionHash"),value:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("span",{children:null==p?void 0:p.onChainTransactionHash})})}),(null==p?void 0:p.arrivalTime)&&(0,s.jsx)(k,{label:a("ArrivalTime"),value:"".concat(null==p?void 0:p.arrivalTime," mins")})]}):(0,s.jsxs)(s.Fragment,{children:[(null==p?void 0:p.networkFee)&&(0,s.jsx)(k,{label:a("NetworkFee"),value:"".concat(null==p?void 0:p.networkFee)}),(0,s.jsx)(k,{label:a("Sendto"),value:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-right",children:"".concat(null==p?void 0:p.merchantName," ").concat(a("Account"))}),(0,s.jsxs)("div",{className:"text-third text-xs",children:["UID ",null==p?void 0:p.sendToAccount]})]})}),(0,s.jsx)(k,{label:a("Arrivaltime"),value:a("Instant")})]})]})]})]}),(0,s.jsx)("div",{className:"flex items-center flex-col mb-3 w-full mt-3",children:(0,s.jsx)(h.A,{onClick:()=>y(),className:"sm:w-[400px] rounded-[200px] w-full",children:a("BackToHomepage")})})]})})},[o.gL.BuySendFailed]:e=>{var l,t,i,a;let{setRefreshTag:c,setState:v}=e,{t:p}=(0,u.Bd)(),{ga4log:y}=(0,x.A)(),{getQuery:j}=(0,d.IT)(),A=j("orderId"),{resultOrderInfo:g}=(0,r.A)();(0,n.useEffect)(()=>{A&&y({element_id:"paymonade3_Failed_pageview",extraInfo:{orderId:j("orderId")}})},[y,j,A]);let k=(0,s.jsxs)("div",{className:"my-[14px] w-full flex justify-between items-center relative",children:[(0,s.jsx)("div",{className:"shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"}),(0,s.jsx)("div",{className:"w-[calc(100%-12px)] shrink-0 border-dashed border-t h-0 border-line relative right-[6px]"}),(0,s.jsx)("div",{className:" shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"})]}),S={icon:"bg-primary text-white",text:"text-link"},T={icon:"bg-sell text-white",text:"text-sell"},E=null==g?void 0:g.displayPhase,U=(0,C.l)(null==E?void 0:null===(l=E[0])||void 0===l?void 0:l.phaseStatus,"failed")||(0,C.l)(null==E?void 0:null===(t=E[0])||void 0===t?void 0:t.phaseStatus,"fail"),D=(0,C.l)(null==g?void 0:g.errorReason,"USER_CANCEL");(0,C.l)(null==E?void 0:null===(i=E[1])||void 0===i?void 0:i.phaseStatus,"failed")||(0,C.l)(null==E?void 0:null===(a=E[0])||void 0===a?void 0:a.phaseStatus,"fail");let{goBuySend:H}=(0,I.A)(),{isUK:M}=(0,B.A)();if(U)return(0,s.jsx)("div",{className:"h-full w-full",children:(0,s.jsx)(m.dU,{children:(0,s.jsx)("div",{className:"px-0 sm:px-5 h-full w-full",children:(0,s.jsx)(L.A,{footer:(0,s.jsxs)("div",{className:" absolute bottom-6 w-full",children:[(0,s.jsx)(h.A,{onClick:async()=>{H()},showContinue:!0,showContinueBtnText:p("Try Again")}),(0,s.jsx)("div",{className:"mt-2 font-medium text-link",children:p("Back to Homepage")})]}),hideBtn:!0,ServicesUnavailableTitle:D?p("PaymentCanceled"):p("Failed"),ServicesUnavailableDesc:D?p("PaymentCanceledDesc"):p("buySendFailDeafult")})})})});let R=(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)("div",{className:"flex items-center w-full",children:[(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsxs)("div",{className:"relative flex w-full justify-center items-center text-center",children:[(0,s.jsx)("div",{className:"rounded-full h-5 w-5 font-medium text-center ".concat(S.icon),children:"1"}),(0,s.jsx)("div",{className:" absolute right-0 sm:w-[110px] w-[50px] h-[3px] ml-1 bg-primary-hover"})]}),(0,s.jsx)("div",{className:"font-medium w-full flex-1 flex justify-center ".concat(S.text),children:p("BuyCrypto")})]}),(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsxs)("div",{className:"relative flex w-full justify-center items-center text-center",children:[(0,s.jsx)("div",{className:" absolute left-0 sm:w-[110px] w-[50px] h-[3px] ml-1 bg-primary-hover"}),(0,s.jsx)("div",{className:"rounded-full h-5 w-5 font-medium text-center ".concat(T.icon),children:"2"})]}),(0,s.jsx)("div",{className:"font-medium w-full flex-1 flex justify-center ".concat(T.text),children:p("SendCrypto")})]})]})}),O=e=>{let{label:l,value:t}=e;return(0,s.jsxs)("div",{className:"text-sm flex justify-between mt-2",children:[(0,s.jsx)("div",{className:"text-[#707A8A] w-[120px] text-left whitespace-nowrap",children:l}),(0,s.jsx)("div",{className:"text-[#1E2329] text-right font-medium break-all",children:t})]})};return(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:"pt-14 flex flex-col items-center flex-1 overflow-y-auto ".concat(M?"max-h-[calc(100vh-56px-120px)]":"max-h-[calc(100vh-56px)]"," mx-[-20px] px-5 sm:px-10"),children:[(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center text-center",children:[(0,s.jsx)(f(),{className:"w-[106px] h-[106px] mt-12",src:F.A,alt:"IllustrationFail"}),(0,s.jsxs)("div",{className:" font-bold text-xl mt-6",children:[null==g?void 0:g.cryptoAmount," ",null==g?void 0:g.cryptoCurrency
1]}),(0,s.jsx)("div",{className:" text-base text-secondary text-center mt-2",children:p("buySendFail")}),(0,s.jsxs)("div",{className:"mt-6 py-5 w-full bg-bg2 rounded-xl",children:[R,k,(0,s.jsxs)("div",{className:"px-3",children:[(0,s.jsx)(O,{label:p("YouBuy"),value:"".concat(null==g?void 0:g.cryptoAmount," ").concat(null==g?void 0:g.cryptoCurrency)}),(null==g?void 0:g.sendToAccountType)==="ON_CHAIN_ADDRESS"?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O,{label:p("Sendto"),value:null==g?void 0:g.sendToAccountAddress}),(null==g?void 0:g.arrivalTime)&&(0,s.jsx)(O,{label:p("ArrivalTime"),value:"".concat(null==g?void 0:g.arrivalTime," mins")})]}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(O,{label:p("Sendto"),value:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-right",children:"".concat(null==g?void 0:g.merchantName," ").concat(p("Account"))}),(0,s.jsxs)("div",{className:"text-third text-xs",children:["UID ",null==g?void 0:g.sendToAccount]})]})})})]})]})]}),(0,s.jsx)("div",{className:"flex items-center flex-col mb-3 w-full mt-3",children:(0,s.jsx)(h.A,{onClick:async()=>{let{data:e}=await (0,P.e7)({orderId:A});if(e.orderId)c(e=>e+1),v(o.gL.Processing);else{let{destory:e}=(0,b.A)({children:(0,s.jsx)(w.A,{imageSrc:_.A,content:(0,s.jsx)("div",{className:"text-center",dangerouslySetInnerHTML:{__html:p("Failed2ProcessDesc")}}),title:p("Failed2Process"),Footer:()=>(0,s.jsx)(N.wi,{destory:e,mode:N.z7.OKV2})})})}},className:"sm:w-[400px] rounded-[200px] w-full",children:p("TryAgain")})})]})})},[o.gL.Success]:()=>{let{t:e}=(0,u.Bd)(),{ga4log:l}=(0,x.A)(),{getQuery:t}=(0,d.IT)(),i=t("orderId"),{resultOrderInfo:a,redirectUrl:c}=(0,r.A)(),{goHistory:o,goBusinessHistory:v}=(0,I.A)();return(0,n.useEffect)(()=>{i&&l({element_id:"paymonade3_success_pageview",extraInfo:{orderId:t("orderId")}})},[l,t,i]),(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:"pt-14 h-full flex justify-between flex-col items-center relative flex-1",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(f(),{className:"w-[88px] h-[88px] mt-12",src:U.A,alt:"illustrationRight"}),(0,s.jsx)("div",{className:"text-h6 text-primary-text mt-6",children:(0,C.l)(null==a?void 0:a.businessType,null===j.c||void 0===j.c?void 0:j.c.BUY)?"".concat(null==a?void 0:a.cryptoAmount," ").concat(null==a?void 0:a.cryptoCurrency):"".concat((0,g.A)({num:null==a?void 0:a.fiatActualAmount,decimalPlaces:null==a?void 0:a.fiatPrecision})," ").concat(null==a?void 0:a.fiatCurrency)}),(0,s.jsxs)("div",{className:"text-center px-5 text-secondary text-regular-body mt-2",children:[" ",(0,C.l)(null==a?void 0:a.businessType,null===j.c||void 0===j.c?void 0:j.c.BUY)?e("purchaseSuccessful"):(0,C.l)(null==a?void 0:a.businessType,null===j.c||void 0===j.c?void 0:j.c.WITHDRAW)?(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e("withdrawSuccess")}}):(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e("sellSuccessTip")}})]})]}),(0,s.jsxs)("div",{className:"mb-4 w-full flex flex-col items-center",children:[(0,s.jsx)(h.A,{onClick:()=>{(0,D.t)()===D.H.Business||(0,D.t)()===D.H.BusinessIndependent?v():o()},className:"max-w-[400px] mb-0!",children:e("ViewTransactionHistory")}),c&&(0,s.jsx)("div",{onClick:()=>(0,j.V3)(!0),className:"text-center mt-2 text-link hover:text-primary text-small-body-sub",children:e("BackToMerchant").replace("{{Merchant}}",(0,A._W)(j.ck.merchantCode))})]})]})})},[o.gL.Failed]:()=>{let{t:e}=(0,u.Bd)(),{ga4log:l}=(0,x.A)(),{getQuery:t}=(0,d.IT)(),i=t("orderId"),{resultOrderInfo:a,redirectUrl:c}=(0,r.A)(),{goHistory:o,goBusinessHistory:v}=(0,I.A)();return(0,n.useEffect)(()=>{i&&l({element_id:"paymonade3_Failed_pageview",extraInfo:{orderId:t("orderId")}})},[l,t,i]),(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:" h-full flex justify-between flex-col items-center relative flex-1 pt-14",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(f(),{className:"w-[88px] h-[88px] mt-12",src:F.A,alt:"IllustrationFail"}),(0,s.jsxs)("div",{className:"text-h6 text-primary-text mt-6",children:[" ",e("Failed")]}),(0,s.jsx)("div",{className:"text-center text-secondary text-regular-body mt-2",dangerouslySetInnerHTML:{__html:(null==a?void 0:a.errorCode)!=="99999"&&(null==a?void 0:a.errorReason)?null==a?void 0:a.errorReason:e("purchaseFailedful")}})]}),(0,s.jsxs)("div",{className:"mb-4 w-full flex flex-col items-center",children:[(0,s.jsx)(h.A,{onClick:()=>(0,D.t)()===D.H.Business||(0,D.t)()===D.H.BusinessIndependent?v():o(),className:"max-w-[400px] mb-0!",children:e("ViewTransactionHistory")}),c&&(0,s.jsx)("div",{onClick:()=>(0,j.V3)(!0),className:"text-center mt-2 text-link hover:text-primary text-small-body-sub",children:e("BackToMerchant").replace("{{Merchant}}",(0,A._W)(j.ck.merchantCode))})]})]})})},[o.gL.ExpiredError]:()=>{let{t:e}=(0,u.Bd)(),{ga4log:l}=(0,x.A)(),{getQuery:t}=(0,d.IT)(),i=t("orderId"),{resultOrderInfo:a,redirectUrl:c}=(0,r.A)(),{goHistory:o,goBusinessHistory:v}=(0,I.A)();return(0,n.useEffect)(()=>{i&&l({element_id:"paymonade3_ExpiredError_pageview",extraInfo:{orderId:t("orderId")}})},[l,t,i]),(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:"pt-4 h-full flex justify-between flex-col items-center relative flex-1 sm:pt-5",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(f(),{className:"w-[88px] h-[88px] mt-12",src:F.A,alt:"IllustrationFail"}),(0,s.jsxs)("div",{className:"text-h6 text-primary-text mt-6",children:[" ",e("PaymentCanceled")]}),(0,s.jsxs)("div",{className:"text-center text-secondary text-regular-body mt-2",children:[" ",e("PaymentCanceledDesc")]})]}),(0,s.jsxs)("div",{className:"mb-4 w-full flex flex-col items-center",children:[(0,s.jsx)(h.A,{onClick:()=>(0,D.t)()===D.H.Business||(0,D.t)()===D.H.BusinessIndependent?v():o(),className:"max-w-[400px] mb-0!",children:e("ViewTransactionHistory")}),c&&(0,s.jsx)("div",{onClick:()=>(0,j.V3)(!0),className:" cursor-pointer text-center mt-2 text-link hover:text-primary text-small-body-sub",children:e("BackToMerchant").replace("{{Merchant}}",(0,A._W)(j.ck.merchantCode))})]})]})})},[o.gL.OrderSubmitted]:()=>{let{t:e}=(0,u.Bd)(),{ga4log:l}=(0,x.A)(),{getQuery:t}=(0,d.IT)(),i=t("orderId"),{resultOrderInfo:a,redirectUrl:c}=(0,r.A)(),{goHistory:o,goBusinessHistory:v}=(0,I.A)();return(0,n.useEffect)(()=>{i&&l({element_id:"paymonade3_OrderSubmitted_pageview",extraInfo:{orderId:t("orderId")}})},[l,t,i]),(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{className:"pt-14 sm:px-5 h-full flex justify-between flex-col items-center relative flex-1",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(f(),{className:"w-[88px] h-[88px] mt-12",src:H.A,alt:"illustrationReview"}),(0,s.jsxs)("div",{className:"text-h6 text-primary-text mt-6",children:[" ",e("OrderSubmitted")]}),(0,s.jsx)("div",{className:"text-center text-secondary text-regular-body mt-2 sm:px-5",dangerouslySetInnerHTML:{__html:e("orderSubmitTips")}})]}),(0,s.jsxs)("div",{className:"mb-4 w-full flex flex-col items-center",children:[(0,s.jsx)(h.A,{onClick:()=>{(0,D.t)()===D.H.Business||(0,D.t)()===D.H.BusinessIndependent?v():o()},className:"max-w-[400px] mb-0!",children:e("ViewTransactionHistory")}),c&&(0,s.jsx)("div",{onClick:()=>(0,j.V3)(!0),className:"text-center mt-2 text-link hover:text-primary text-small-body-sub",children:e("BackToMerchant").replace("{{Merchant}}",(0,A._W)(j.ck.merchantCode))})]})]})})}
1,[o.gL.PartialAuth]:e=>{let{setRefreshTag:l,setState:t,channelCode:i}=e,{t:c}=(0,u.Bd)(),{resultOrderInfo:v,setQuoteInfo:p,quoteInfo:{loading:T,data:E}}=(0,r.A)(),{ga4log:B}=(0,x.A)(),{getQuery:F}=(0,d.IT)(),P=F("orderId"),L=(0,d.Ay)(),U=(0,n.useRef)(),[D,H]=(0,n.useState)(0),M=(0,n.useCallback)(async()=>{if(P){p({loading:!0,data:void 0});try{let{data:e}=await (0,a.fn)({orderId:P,channelCode:i||j.k$.CHECKOUT,network:null==v?void 0:v.network});p({loading:!1,data:e})}catch(l){let{destory:e}=(0,b.A)({children:(0,s.jsx)(w.A,{content:c("refreshTitle"),Footer:()=>(0,s.jsx)(N.wi,{onClick:()=>location.reload(),destory:e,mode:N.z7.OK})})})}}},[i,P,v,p,c]);(0,n.useEffect)(()=>{D<=0&&M()},[M,D]),(0,n.useEffect)(()=>((null==E?void 0:E.expiredAfter)&&(U.current=setInterval(()=>{H(e=>e-1>0?e-1:(clearInterval(U.current),0))},1e3),H(E.expiredAfter-1)),()=>{U.current&&clearInterval(U.current)}),[E]),(0,n.useEffect)(()=>{P&&B({element_id:"paymonade3_expired_pageview",extraInfo:{orderId:P}})},[B,P]);let{goHistory:R}=(0,I.A)(),{track:W}=(0,k.A)();(0,n.useEffect)(()=>{v&&W({elementId:"Quotation_PartialAuth",orderInfo:v,channelCode:null==v?void 0:v.channelCode})},[W,v]);let z=(0,n.useCallback)(O()(async()=>{B({element_id:"paymonade3_partialAuth_accept",extraInfo:{orderId:P}});try{await (0,a.G)({orderId:P,quoteId:E.quoteId,acceptNewQuote:!0})}catch(t){let l=(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND);if((0,A._W)(j.ck.redirectUrl),l){var e,n;let{destory:l}=(0,b.A)({children:(0,s.jsx)(w.A,{imageSrc:_.A,content:(0,s.jsx)("div",{className:"text-center",dangerouslySetInnerHTML:{__html:(null==t?void 0:null===(n=t.response)||void 0===n?void 0:null===(e=n.data)||void 0===e?void 0:e.msg)||c("feeNotEnough2")}}),title:c("Failed2Process"),Footer:()=>(0,s.jsx)(N.wi,{destory:l,mode:N.z7.OKV2})})});return}}l(e=>e+1),t(o.gL.Processing)},500),[B,P,E,null==v?void 0:v.businessType,l,t,c]),q=(0,n.useCallback)(async()=>{B({element_id:"paymonade3_partialAuth_cancel",extraInfo:{orderId:F("orderId")}}),W({elementId:"Payment_Cancel",channelCode:null==v?void 0:v.channelCode});try{await (0,a.G)({orderId:P,quoteId:E.quoteId,acceptNewQuote:!1})}catch(e){}l(e=>e+1),t(o.gL.Processing)},[B,F,P,E,L,l]),Q=(0,C.l)(null==v?void 0:v.businessType,j.c.BUY)||(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND);return(0,s.jsx)(m.Ay,{children:(0,s.jsxs)("div",{id:"Expired",className:"mt-[104px] flex flex-col items-center justify-between flex-1",children:[(0,s.jsxs)("div",{className:"w-full flex flex-col items-center sm:px-5",children:[(0,s.jsx)(f(),{src:_.A,alt:"IllustrationWarning"}),(0,s.jsx)("div",{className:"mt-6 text-h6 text-primary-text",children:c("partialResultTitle").replace("{{fiatAmount}}","".concat((0,g.A)({num:null==E?void 0:E.fiatAmount,decimalPlaces:null==E?void 0:E.fiatPrecision}))||"0.0000").replace("{{fiatCurrency}}",(null==E?void 0:E.fiatCurrency)||"")}),(0,s.jsx)("div",{className:"mt-2 text-regular-body text-secondary text-center",children:c("partialResultTips")}),(0,s.jsx)("div",{className:"bg-bg2 rounded-xl p-3 w-full mt-6 flex flex-col gap-2",children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Y,{label:c("YouPay"),value:T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):Q?"".concat((0,g.A)({num:null==E?void 0:E.fiatAmount,decimalPlaces:null==E?void 0:E.fiatPrecision})," ").concat(null==E?void 0:E.fiatCurrency):"".concat(null==E?void 0:E.cryptoAmount," ").concat(null==E?void 0:E.cryptoCurrency)}),(0,s.jsx)(Y,{label:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("span",{children:c("Quotation")})}),value:T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):(0,s.jsxs)("div",{children:["1 ",null==E?void 0:E.cryptoCurrency," ≈ ",null==E?void 0:E.quotePrice," ",null==E?void 0:E.fiatCurrency]})}),(0,s.jsx)(Y,{label:(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("span",{children:c("Fees")})}),value:T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):(0,s.jsxs)("div",{children:[(0,g.A)({num:(0,y.A)((null==E?void 0:E.userFee)||0).add((null==E?void 0:E.tradeFee)||0),decimalPlaces:null==E?void 0:E.fiatPrecision})," ",null==E?void 0:E.feeCurrency]})}),(0,C.l)(null==v?void 0:v.businessType,j.c.BUY_SEND)&&(0,s.jsx)(Y,{label:c("NetworkFee"),value:(null==v?void 0:v.sendToAccountType)==="ON_CHAIN_ADDRESS"?T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):"≈ ".concat(null==E?void 0:E.networkFee," ").concat(null==E?void 0:E.networkFeeCurrency):T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):" ".concat(null==v?void 0:v.networkFee,"  ").concat(null==v?void 0:v.networkFeeCurrency)}),(0,s.jsx)(Y,{label:c("YouReceive"),value:T?(0,s.jsx)(S.A,{size:8,color:"#A7EA33",speedMultiplier:.7}
1):Q?"".concat(null==E?void 0:E.cryptoAmount," ").concat(null==E?void 0:E.cryptoCurrency):"".concat((0,g.A)({num:null==E?void 0:E.fiatActualAmount,decimalPlaces:null==E?void 0:E.fiatPrecision})," ").concat(null==E?void 0:E.fiatCurrency)})]})})]}),(0,s.jsxs)("div",{className:"flex w-full items-center flex-1 justify-end mb-4 flex-col",children:[(0,s.jsx)(h.A,{inactive:T,onClick:z,className:"max-w-[400px] mb-0!",children:c("partialResultBtn")}),(0,s.jsx)("div",{onClick:q,className:"cursor-pointer w-full mt-2 text-center text-link hover:text-primary text-small-body-sub",children:c("CancelPayment")})]})]})})}},z=()=>{let e=(0,d.Ay)(),{getQuery:l}=(0,d.IT)(),[t,u]=(0,n.useState)(o.gL.Processing),m=W[t],{goHistory:v}=(0,I.A)(),{setResultOrderInfo:h,setRedirectUrl:p,resultOrderInfo:f,setShowMenuBtn:y}=(0,r.A)(),[w,b]=(0,n.useState)(0),N=l("orderId"),[g,_]=(0,n.useState)(),[S,T]=(0,n.useState)(!1);(0,n.useEffect)(()=>(y(!0),()=>{y(!1)}),[y]),(0,n.useEffect)(()=>{T(!!(0,M.UG)(j.wJ))},[]);let{ga4log:E}=(0,x.A)(),{track:B}=(0,k.A)(),F=(0,n.useRef)(!0);(0,n.useEffect)(()=>{p((0,A._W)(j.ck.redirectUrl)||"")},[p]);let P="true"===(0,A._W)(j.Bm.isRoma);return(0,n.useEffect)(()=>{N&&(0,c.g8)({requestFn:async e=>{let{data:l}=await (0,a.sV)(N);_(null==l?void 0:l.channelCode),F.current&&(E({element_id:"paymonade3_result_pagview",extraInfo:{channelCode:l.channelCode}}),F.current=!1),e(l)},callback:e=>{var l,t,s,n,i,a,r,c;if(h(e),(0,A._W)(j.ck.redirectUrl),"failed"===e.status||"fail"===e.status||"success"===e.status){if(B({elementId:"Order_Finish",channelCode:null==f?void 0:f.channelCode}),"success"===e.status&&(e.businessType===j.c.BUY_SEND?u(o.gL.BuySendSuccess):u(o.gL.Success)),"failed"===e.status||"fail"===e.status)if(e.businessType===j.c.BUY_SEND)u(o.gL.BuySendFailed);else{if("USER_CANCEL"===e.errorReason){u(o.gL.ExpiredError);return}u(o.gL.Failed)}}else"needAdditionalAction"===e.status&&"UPDATE_QUOTE"===e.additionalActionType?"PARTIAL_AUTH"===e.additionalActionData?u(o.gL.PartialAuth):u(o.gL.Expired):e.businessType===j.c.BUY_SEND&&((0,C.l)(null===(t=e.displayPhase)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.phaseStatus,"success")||(0,C.l)(null===(n=e.displayPhase)||void 0===n?void 0:null===(s=n[0])||void 0===s?void 0:s.phaseStatus,"Completed"))?u(o.gL.OrderSubmitted):e.businessType===j.c.BUY_SEND&&((0,C.l)(null===(a=e.displayPhase)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.phaseStatus,"failed")||(0,C.l)(null===(c=e.displayPhase)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.phaseStatus,"fail"))&&u(o.gL.BuySendFailed)},shouldContinue:e=>{if(e.businessType===j.c.BUY_SEND){var l,t,s,n,i,a,r,c;return("needAdditionalAction"!==e.status||"UPDATE_QUOTE"!==e.additionalActionType)&&("abnormal"===e.status||(null==e?void 0:null===(t=e.displayPhase)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.phaseStatus)!=="success"&&(null==e?void 0:null===(n=e.displayPhase)||void 0===n?void 0:null===(s=n[0])||void 0===s?void 0:s.phaseStatus)!=="failed"&&(null==e?void 0:null===(a=e.displayPhase)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.phaseStatus)!=="fail"&&(null==e?void 0:null===(c=e.displayPhase)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.phaseStatus)!=="Completed")}return"processing"===e.status||"needAdditionalAction"===e.status&&"UPDATE_QUOTE"!==e.additionalActionType||"abnormal"===e.status||"waitTransfer"===e.status},timeoutBack:()=>{(0,A._W)(j.ck.redirectUrl),(0,M.UG)(j.wJ),u(o.gL.OrderSubmitted)},maxPollingCount:P?2:60,pollingInterval:3e3})},[N,h,w,e,E]),S?(0,s.jsx)(s.Fragment,{children:m&&(0,s.jsx)(m,{setRefreshTag:b,setState:u,channelCode:g})}):(0,s.jsx)(i,{className:"flex-1 flex",children:m&&(0,s.jsx)(m,{setRefreshTag:b,setState:u,channelCode:g})})}},79123:(e,l,t)=>{t.d(l,{A:()=>d});var s=t(37876),n=t(54587),i=t.n(n);let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/paymonade-logo-icon.2364f979.svg",height:16,width:17,blurWidth:0,blurHeight:0};var r=t(34846),c=t(44975);let d=e=>{let{className:l}=e,{t}=(0,r.Bd)(),{showBinance:n}=(0,c.A)();return!1===n?(0,s.jsxs)("div",{className:"sm:hidden flex flex-1 items-center justify-center text-disabled text-xs py-2 ".concat(l),children:[(0,s.jsx)(i(),{src:a,alt:"paymonadeLogoIcon",className:"mr-2"}),(0,s.jsx)(r.x6,{t:t,i18nKey:"PoweredBy",components:{s:(0,s.jsx)("span",{className:"text-secondary text-xs ml-1"})}})]}):(0,s.jsx)(s.Fragment,{})}},92877:(e,l,t)=>{t.d(l,{R5:()=>x,VL:()=>c,Yg:()=>o,e7:()=>a,hj:()=>u,qQ:()=>d,wh:()=>i,zh:()=>r});var s=t(91702);let n={listPaymentMethod:"/capi/v1/customer/order/list-payment-method",queryOrderByToken:"/capi/v1/customer/order/query-order-by-token",listCryptoNetwork:"/capi/v1/customer/order/list-crypto-network",submitBuySendOrder:"/capi/v1/customer/order/submit-buy-send-order",changeAndRetryBu
1ySendOrder:"/capi/v1/customer/order/change-and-retry-buy-send-order",getDefaultPaymentMethodAndSendToInfo:"/capi/v1/customer/order/get-default-payment-method-and-send-to-info",listLinkedMerchantAccountInfo:"/capi/v1/customer/trading-account/list-linked-merchant-account-info",preCheckBuySendOrder:"/capi/v1/customer/order/pre-check-buy-send-order"},i=e=>(0,s.bE)({url:n.listPaymentMethod,data:e}),a=e=>(0,s.bE)({url:n.changeAndRetryBuySendOrder,data:e}),r=e=>(0,s.bE)({url:n.queryOrderByToken,data:e}),c=e=>(0,s.bE)({url:n.submitBuySendOrder,data:e}),d=e=>(0,s.Jt)({url:n.preCheckBuySendOrder,params:e}),o=e=>(0,s.Jt)({url:n.listCryptoNetwork,params:e}),u=()=>(0,s.Jt)({url:n.listLinkedMerchantAccountInfo}),x=e=>(0,s.Jt)({url:n.getDefaultPaymentMethodAndSendToInfo,params:e})},93709:(e,l,t)=>{t.d(l,{A:()=>s});let s={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/IllustrationLoading.bfe42607.svg",height:88,width:88,blurWidth:0,blurHeight:0}},97929:(e,l,t)=>{t.d(l,{A:()=>n});var s=t(58069);let n=function(e){let{num:l,decimalPlaces:t=2,roundingMode:n="roundDown"}=e;l=l||0;let i=new s.A(l);return"roundDown"===n?i.round(t,0):"roundUp"===n&&i.round(t,3),i.toNumber().toLocaleString(void 0,{minimumFractionDigits:t,maximumFractionDigits:t})}}}]);

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.