PageSourceSearch

https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_n…/banktransfer-sell-13228f32fe407598.js

js paymonade.tech collected 2026-10-04 05:39:52 UTC 36,419 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[432],{17228:(e,l,t)=>{"use strict";t.d(l,{m:()=>a});var n=t(91702);let i={getWalletBalance:"/capi/v1/customer/wallet/get-wallet-balance"},a=e=>(0,n.bE)({url:i.getWalletBalance,data:e})},54421:(e,l,t)=>{"use strict";t.d(l,{A:()=>s});var n=t(37876),i=t(95256),a=t(14232);let s=()=>{let e=(0,i.Ay)(),l=(0,i.uU)();return(0,a.useEffect)(()=>{e.push("/".concat(l,"/limit-reached"))},[e,l]),(0,n.jsx)(n.Fragment,{})}},63068:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICNA.d6c66054.svg",height:16,width:16,blurWidth:0,blurHeight:0}},74467:(e,l,t)=>{"use strict";t.d(l,{A:()=>s});var n=t(37876),i=t(92123);t(14232);var a=t(34846);let s=e=>{let{onclick:l,PaymentmethodImage:t,isBuy:s,children:o}=e,{t:d}=(0,a.Bd)();return(0,n.jsxs)("div",{onClick:l,className:"cursor-pointer mt-4 rounded-xl px-4 py-2 bg-bg2 hover:bg-bg3 active:bg-bg3 flex items-center justify-between gap-2 transition-all duration-300",children:[(0,n.jsx)("div",{className:"w-8 h-8",children:t}),(0,n.jsxs)("div",{className:"flex flex-1 justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)("div",{className:"font-medium text-secondary",children:d(s?"PayingWith":"SellTo")}),(0,n.jsx)("div",{className:"flex justify-between items-center ",children:o})]}),(0,n.jsx)(i.A,{alt:"ICGoInactive",className:"w-4 h-4 text-primary-text"})]})]})}},85823:(e,l,t)=>{"use strict";t.d(l,{A:()=>f});var n=t(37876),i=t(44975),a=t(97929),s=t(54587),o=t.n(s),d=t(14232),c=t(34846),r=t(92094),u=t(58069),m=t(47316),v=t(88050),x=t(91447),p=t(7419),h=t(52397);let f=e=>{let{isInit:l,allInfos:t,isBuy:s,extraInfos:f,paymentInfos:A,topContent:y,bottomContent:b}=e,[j,g]=(0,d.useState)(!0),{t:N}=(0,c.Bd)(),w="true"===(0,h._W)(r.Bm.isRoma),{paymentMethod:C,orderInfo:I,setQuoteInfo:k,quoteInfo:{loading:_,data:E}}=(0,i.A)(),T=(0,d.useCallback)(e=>{let{label:l,value:t}=e;return(0,n.jsxs)("div",{className:"w-full items-end flex justify-between",children:[(0,n.jsx)("div",{className:"text-small-body text-secondary",children:l}),(0,n.jsx)("div",{className:"text-regular-body-sub text-right",children:t})]})},[]),S=(0,n.jsxs)("div",{className:"bg-bg2 w-[calc(100%+32px)] mx-[-16px] flex justify-between items-center relative",children:[(0,n.jsx)("div",{className:"w-2 h-4 rounded-tr-full rounded-br-full bg-bg1 relative"}),(0,n.jsx)("div",{className:"grow border-dashed border-t h-0 border-line relative mx-2"}),(0,n.jsx)("div",{className:"w-2 h-4 rounded-tl-full rounded-bl-full bg-bg1 relative"})]}),{trackAndGa:R}=(0,p.A)();return(0,n.jsxs)("div",{className:"bg-alertbg rounded-xl",children:[y&&(0,n.jsx)("div",{className:"w-full rounded-xl p-3 gap-1 bg-alertbg flex items-start",children:(0,n.jsx)("span",{className:" text-secondary",children:y})}),(0,n.jsxs)("div",{className:"px-4 overflow-hidden py-4 bg-bg2 rounded-xl ".concat(j?"min-h-[204px]":"h-[68px]"," flex flex-col justify-start relative"),children:[(0,n.jsx)("div",{className:"flex mb-1 sm:mb-2",onClick:()=>{},children:(0,n.jsxs)("div",{className:" flex sm:flex-row flex-col-reverse flex-1 justify-between items-center",children:[_&&l?(0,n.jsx)("div",{className:"h-16 items-center flex",children:(0,n.jsx)(v.A,{size:8,color:"#A7EA33",speedMultiplier:.7})}):(0,n.jsxs)("div",{className:"mt-2 sm:mt-0 flex flex-col items-center sm:items-start",children:[(0,n.jsx)("div",{className:"sm:text-large-body-sub text-regular-body-sub items-center flex gap-1",children:(0,n.jsx)(c.x6,{t:N,i18nKey:s?"buyTemplete":"sellTemplete",values:{amount:(0,a.A)({num:null==E?void 0:E.cryptoAmount,decimalPlaces:8}),currency:(null==E?void 0:E.cryptoCurrency)||0},components:{b:(0,n.jsx)("span",{className:"text-primary-text font-bold sm:text-h5 text-h6"})}})}),(0,n.jsx)("div",{className:"text-small-body-sub mt-1",children:w?null:_&&l?(0,n.jsx)(v.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):"1 ".concat((null==E?void 0:E.fiatCurrency)||""," = ").concat((null==E?void 0:E.quotePrice)?new u.A(1).div(new u.A(null==E?void 0:E.quotePrice)).toFixed(8):0," ").concat((null==E?void 0:E.
1cryptoCurrency)||"")})]}),(0,n.jsxs)("div",{className:"flex items-center ".concat(s?"flex-row":"flex-row-reverse"),children:[(0,n.jsx)(o(),{className:"sm:w-[40px] sm:h-[40px] w-[32px] h-[32px] relative ".concat(s?"z-10":"z-0 ml-[-12px]"," "),width:40,height:40,src:"".concat("https://static2.paymonade.tech","/crypto/").concat(null==I?void 0:I.cryptoCurrency,"_256.png"),alt:""}),(0,n.jsx)(o(),{className:"sm:w-[40px] sm:h-[40px] w-[32px] h-[32px] relative ".concat(s?"z-0 ml-[-12px]":"z-10"," "),width:40,height:40,src:"".concat("https://static2.paymonade.tech","/fiat/").concat(null==I?void 0:I.fiatCurrency,"_256.png"),alt:""})]})]})}),S,j?(0,n.jsxs)("div",{className:"flex flex-col gap-2 mt-2",children:[t.map(e=>(0,n.jsx)(T,{...e},e.label)),(null==f?void 0:f.length)?(0,n.jsx)(n.Fragment,{children:(null==f?void 0:f.length)&&(null==f?void 0:f.map(e=>(0,n.jsx)(T,{...e},e.label)))}):(0,n.jsx)(n.Fragment,{}),(null==A?void 0:A.length)?(0,n.jsx)(n.Fragment,{children:(null==A?void 0:A.length)&&(null==A?void 0:A.map(e=>(0,n.jsx)(T,{...e},e.label)))}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("div",{className:"border-b border-line border-dashed"}),(0,n.jsx)(T,{label:s?N("YouPay"):(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)("span",{children:N("YouReceive")}),(0,n.jsx)(m.A,{tips:(0,n.jsx)("span",{className:"break-words",children:N("YouReceiveTip")}),children:(0,n.jsx)(x.A,{className:"w-4 h-4 cursor-pointer text-third hover:text-primary transition-all duration-300",alt:"ICInfoGray"})})]}),value:(0,n.jsxs)("div",{className:"text-large-body-bold",children:[(0,n.jsx)("span",{children:(0,a.A)({num:s?null==E?void 0:E.fiatAmount:(0,u.A)((null==E?void 0:E.fiatActualAmount)||0).add((null==E?void 0:E.reducedFee)||0),decimalPlaces:null==E?void 0:E.fiatPrecision})}),(0,n.jsxs)("span",{children:["\xa0",(null==E?void 0:E.fiatCurrency)||""]})]})})]}):(0,n.jsx)(n.Fragment,{})]}),b&&(0,n.jsx)("div",{className:"w-full rounded-xl p-3 gap-1 bg-alertbg flex items-start",children:(0,n.jsx)("span",{className:" text-secondary",children:b})})]})}},89506:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>eg});var n=t(37876),i=t(38243),a=t(54421),s=t(42231),o=t(92094),d=t(95256),c=t(14232),r=t(34846),u=t(56709),m=t(54587),v=t.n(m),x=t(84952),p=t(36860),h=t(87387),f=t(85093),A=t(79123),y=t(32378),b=t(52397),j=t(44975),g=t(31991),N=t(59582),w=t(99190),C=t(97929),I=t(58069),k=t(85823),_=t(44789),E=t(47316),T=t(63068),S=t(17745),R=t(48910),B=t(34636);let F={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/warning.66d4f1d4.svg",height:64,width:64,blurWidth:0,blurHeight:0};var P=t(83561);let D={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/bank-transfer-paywith.03756137.svg",height:24,width:24,blurWidth:0,blurHeight:0};var O=t(52543),U=t(66852);let L=e=>{let{fiatLimit:l,title:t,onChangeAmount:i,balance:a,error:s,disabled:o,amount:d,orderInfo:u}=e,{t:m}=(0,r.Bd)(),[x,p]=(0,c.useState)(!1),[h,f]=(0,c.useState)(""),A=(0,c.useMemo)(()=>0==+(h||0)?"":x?h:(+(h||0)).toLocaleString(void 0,{maximumFractionDigits:2}),[x,h]),y=(0,n.jsxs)("div",{className:" w-full flex justify-between items-center relative",children:[(0,n.jsx)("div",{className:"shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"}),(0,n.jsx)("div",{className:"w-[calc(100%-12px)] shrink-0 border-dashed border-t h-0 border-line relative right-[6px]"}),(0,n.jsx)("div",{className:" shrink-0 w-3 h-3 rounded-full bg-white relative right-[6px]"})]});return(0,n.jsxs)("div",{className:"rounded-xl bg-bg2",children:[(0,n.jsxs)("div",{className:"flex flex-col    p-4",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between ",children:[(0,n.jsx)("div",{className:" font-medium text-regular-body-sub sm:text-large-body-sub",children:t}),(0,n.jsxs)("div",{className:"flex items-center cursor-pointer",onClick:()=>{f(String(a)),i(String(a))},children:[(0,n.jsx)("span",{className:"text-secondary ",children:m("Balance")}),(0,n.jsxs)("span",{className:"text-link shrink-0 ml-1",children:[" €",a]})]})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between mt-[14px]",children:[(0,n.jsx)("input",{disabled:o,autoComplete:"off",type:"text",inputMode:"decimal",value:+(d||0)?d:A,onFocus:()=>p(!0),onBlur:()=>p(!1),onChange:e=>{var l;!((null===(l=e.target.value.split(".")[1])||void 0===l?void 0:l.length)>2)&&(isNaN(+e.target.value)||(f(e.target.value),i(e.target.value)))},size:1,placeholder:+l.minAmount&&+l.maxAmount?"".concat(l.minAmount," - ").concat(l.maxAmount):"",className:"\n      outline-none w-full flex-1 h-10 bg-transparent text-h6 sm:text-h4 placeholder:text-disabled\n      shrink-0 ".concat(s?"text-sell":"text-[#1E2329]")}),(0,n.jsxs)("div",{className:" bg-white p-2 rounded-[200px] flex items-center justify-center",children:[(0,n.jsx)(v(),{className:"mr-2",width:24,height:24,src:"".concat("https://static2.paymonade.tech","/fiat/EUR_256.png"),alt:"eur"}),(0,n.jsx)("span",{className:" font-medium",children:"EUR"})]})]}),s&&(0,n.jsx)("div",{className:"text-link mt-3",children:s})]}),!s&&u&&y,!s&&u&&(0,n.jsxs)("div",{className:"flex flex-col  p-4 pt-0",children:[(0,n.jsx)("div",{className:"w-full "}),u.filter(e=>!!e.labelItem).map((e,l)=>(0,n.jsxs)("div",{className:"flex mt-4 items-center justify-between",children:[(0,n.jsx)("div",{className:"text-secondary",children:e.labelItem}),(0,n.jsx)("div",{className:" text-base font-medium",children:e.valueItem})]},l))]})]})};var M=t(9694),W=t(17228),G=t(9322),K=t(4917),$=t.n(K),z=t(51259),H=t(22329),Y=t(50759),q=t(88050),V=t(74467),X=t(98761),J=t(78730),Q=t(81099),Z=t(82565),ee=t(92123),el=t
1(31716);let et=()=>{let{t:e}=(0,r.Bd)(),{orderInfo:l,channelCode:t,setShowhowToMakeDeposit:i,defaultCryptoCurrency:a,setDefaultCryptCurrency:s,fromChooseCoin:d,setBanktransferStep:u,promotionList:m,setPromotionList:v}=(0,j.A)(),{accountInfo:x}=(0,B.A)(),{channelAccount:p,addAccountOpen:f,accountList:A,showDetail:y,setShowDetail:g,setBusinessAccountsOpen:N,setManageAccountOpen:C,setAddAccountOpen:I,businessCurrentAccount:k,businessAccountList:_,setBusinessAccountList:E}=(0,h.A)(),[T,S]=(0,c.useState)(!1),R=(0,c.useMemo)(()=>({[o.k$.EASY_EURO]:[{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:e("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:e("MustEnterCorrectly")})]}),content:null==p?void 0:p.payeeName,copyAbled:!0},{title:e("IBAN"),copyDelSpace:!0,content:((null==p?void 0:p.iban)||"").replace(/(.{4})/g,"$1 "),copyAbled:!0},{title:e("BankCountry"),content:null==p?void 0:p.bankCountry,copyAbled:!0},{title:e("BankName"),content:null==p?void 0:p.bankName,copyAbled:!0},{title:e("BankAddress"),content:null==p?void 0:p.bankAddress,copyAbled:!0},{title:e("SwiftCode"),content:null==p?void 0:p.bic,copyAbled:!0}]}),[p,e]),F=(0,c.useMemo)(()=>R[t],[R,t,null==l?void 0:l.fiatCurrency]),P=l=>{navigator.clipboard.writeText(l).then(()=>{Z.A.info({text:e("copySucceed"),options:{position:Z.y.top,Icon:null}})})},D=e=>{let{title:l,content:t="",copyAbled:i=!0,copyDelSpace:a=!1,index:s}=e;return(0,n.jsxs)("div",{className:"w-full ".concat(s?"mt-3 text-left":"text-left"),children:[(0,n.jsx)("div",{className:"text-small-body text-secondary",children:l}),(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("div",{className:"text-regular-body-bold text-primary-text",children:t}),i&&(0,n.jsx)(el.A,{className:"w-6 h-6 text-third hover:text-link cursor-pointer",onClick:()=>P(a?t.replace(/\s/g,""):t)})]})]})},O=(0,c.useMemo)(()=>null==F?void 0:F.slice(0,3),[F]);return(0,n.jsxs)(w.Ay,{onClose:()=>{I(!1)},title:e("TransferToVerifyYourAccount"),showMask:!0,open:f,children:[(0,n.jsxs)("div",{className:"text-small-body text-primary-text",children:[(0,n.jsx)("div",{className:"",children:e("eeDesc1")}),(0,n.jsx)("div",{className:"mt-2",children:e("eeDesc2")}),(0,n.jsx)("div",{className:"mt-2",children:e("eeDesc3").replace("{{referralpartner}}",(0,b._W)(o.ck.merchantCode)||"").replace("{{crypto}}",(null==p?void 0:p.cryptoCurrency)||"USDC")})]}),(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)("div",{className:"bg-bg2 rounded-br-xl rounded-bl-xl px-3 pt-2 pb-3 overflow-hidden",children:T?(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[null==F?void 0:F.map((e,l)=>(0,n.jsx)(D,{copyDelSpace:e.copyDelSpace,index:l,copyAbled:e.copyAbled,title:e.title,content:e.content},l)),(0,n.jsxs)("div",{onClick:()=>S(!1),className:"w-40 py-2 bg-bg1 cursor-pointer flex gap-1 items-center justify-center rounded-full mt-3 text-link hover:text-primary",children:[(0,n.jsx)("span",{className:"text-small-body-bold",children:e("ViewLess")}),(0,n.jsx)(ee.A,{className:"w-4 h-4 -rotate-90"})]})]}):(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[null==O?void 0:O.map((e,l)=>(0,n.jsx)(D,{copyDelSpace:e.copyDelSpace,index:l,copyAbled:e.copyAbled,title:e.title,content:e.content},l)),(0,n.jsxs)("div",{onClick:()=>S(!0),className:"w-40 py-2 bg-bg1 cursor-pointer flex gap-1 items-center justify-center rounded-full mt-3 text-link hover:text-primary",children:[(0,n.jsx)("span",{className:"text-small-body-bold",children:e("ViewMore")}),(0,n.jsx)(ee.A,{className:"w-4 h-4 rotate-90"})]})]})}),(0,n.jsx)(Q.A,{channelCode:t,accountInfo:x})]})]})};var en=t(57064),ei=t(56633),ea=t(7419),es=t(14318),eo=t(99996),ed=t(36327),ec=t(79829),er=t(13715),eu=t(4666);let em=()=>{var e,l,t;let a=(0,d.Ay)(),{businessAccountsOpen:m,setBusinessAccountsOpen:K,setManageAccountOpen:Q,setAddAccountOpen:Z,setIsAccountEdit:ee,addAccountOpen:el,currentAccount:em,accountList:ev,checkStatus:ex,isCurrentAccountDisabled:ep,channelAccount:eh,businessCurrentAccount:ef,businessAccountList:eA,addStep:ey,setAddStep:eb,setBusinessAccountList:ej,setBusinessCurrentAccount:eg}=(0,h.A)(),{t:eN}=(0,r.Bd)(),{ga4log:ew}=(0,S.A)(),[eC,eI]=(0,c.useState)(!0),{goResult:ek}=(0,z.A)(),[e_,eE]=(0,c.useState)(!1),[eT,eS]=(0,c.useState)(""),{channelCode:eR,paymentMethod:eB,orderInfo:eF,setQuoteInfo:eP,quoteInfo:{loading:eD,data:eO},setConfigFee:eU,configFee:eL}=(0,j.A)(),[eM,eW]=(0,c.useState)(0),eG=(0,c.useRef)(),[eK,e$]=(0,c.useState)(!1),ez=(0,d.uU)(),{bindStatus:eH,gaVerificateInfo:eY,run2FaCheck:eq,modal:eV,otpStep:eX}=(0,R.A)("SUBMIT_SELL"),{accountInfo:eJ}=(0,B.A)(),[eQ,eZ]=(0,c.useState)(""),[e0,e1]=(0,c.useState)(""),{CJTips:e2}=(0,O.A)({channelCode:eR}),{EETips:e3}=(0,en.A)({channelCode:eR}),[e4,e6]=(0,c.useState)(null),e5=(null==eJ?void 0:eJ.userType)==="Corporate",e9=eR===o.k$.BANK_FRICK,e8=eR===o.k$.ROMA,[e7,le]=(0,c.useState)(!1);(0,ei.A)();let{promotionLoading:ll,migrateCashback:lt,setMigrateCashback:ln,setPromotionAccountCheck:li,setPormotionLoading:la,welcomePageDescription:ls,setWelcomePageDescription:lo,welcomePageNeedPop:ld,setWelcomePageNeedPop:lc,welcomePagePopTitle:lr,setWelcomePagePopTitle:lu,welcomePagePopDescription:lm,setWelcomePagePopDescription:lv}=(0,ed.A)();(0,c.useEffect)(()=>{eR&&ew({element_id:"paymonade3_banktransfer_trade_pagview",extraInfo:{type:"sell",channelCode:eR}})},[ew]);let[lx,lp]=(0,c.useState)(!1),lh=(0,c.useCallback)(e=>{setTimeout(()=>
1{(null==e?void 0:e.bindStatus)==="INIT"&&eR===o.k$.EASY_EURO&&(eb(1),Z(!0))},200)},[eR,Z,eb]);(0,c.useEffect)(()=>{(async()=>{try{if(eR===o.k$.FLOW_BANK&&e5){let{data:e}=await (0,P.vS)({businessType:"SELL",fiatCurrency:(null==eF?void 0:eF.fiatCurrency)||"",channel:o.k$.FLOW_BANK});if(Number(null==e?void 0:e.maxAmount)<Number(null==eO?void 0:eO.fiatActualAmount)||Number(null==e?void 0:e.minAmount)>Number(null==eO?void 0:eO.fiatActualAmount)){let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{title:eN("TransactionLimitExceeded"),content:eN("TransactionLimitExceededTips"),imageSrc:F,Footer:()=>(0,n.jsxs)(x.A,{onClick:()=>{(0,o.V3)()},className:"rounded-[200px]",children:["Back to ",(0,b._W)(o.ck.merchantCode)]})})})}}}catch(e){}})()},[eR,e5,null==eF?void 0:eF.fiatCurrency,null==eO?void 0:eO.fiatActualAmount,eN]);let lf=[{label:eN("Quotation"),value:eD&&eC?(0,n.jsx)(q.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):"1 ".concat((null==eO?void 0:eO.cryptoCurrency)||""," ≈ ").concat(null==eO?void 0:eO.quotePrice," ").concat((null==eO?void 0:eO.fiatCurrency)||"")},{label:"".concat(eN("Fees")),value:eD&&eC?(0,n.jsx)(q.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):(null==eO?void 0:eO.reducedFee)&&(0,I.A)(eO.reducedFee).gt(0)?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(v(),{src:eu.A,alt:"",className:"no-long-press"}),(0,n.jsx)("span",{className:"text-regular-body-bold font-bold ml-2",children:"".concat((0,C.A)({num:(0,I.A)((null==eO?void 0:eO.userFee)||0).add((null==eO?void 0:eO.tradeFee)||0).minus(null==eO?void 0:eO.reducedFee)})," ").concat(null==eO?void 0:eO.feeCurrency)}),(0,n.jsx)("span",{className:"line-through ml-2 text-third text-caption",children:"".concat((0,C.A)({num:(0,I.A)((null==eO?void 0:eO.userFee)||0).add((null==eO?void 0:eO.tradeFee)||0)})," ").concat(null==eO?void 0:eO.feeCurrency)})]}):"".concat((0,C.A)({num:(0,I.A)((null==eO?void 0:eO.userFee)||0).add((null==eO?void 0:eO.tradeFee)||0)})," ").concat(null==eO?void 0:eO.feeCurrency)}],lA=[{label:eN("ArrivalTime"),value:eR===o.k$.BANK_FRICK?(0,n.jsx)("a",{onClick:()=>lp(!0),children:eN("LearnMore")}):eR===o.k$.ROMA?eN("RomaSellArrivalTimeTips"):eN("FlowBankArrivalTimeTips")}],[ly,lb]=(0,c.useState)(null);(0,c.useEffect)(()=>{lb((0,M.l)((0,b._W)(o.ck.tranType),o.c.WITHDRAW))},[]);let[lj,lg]=(0,c.useState)({maxAmount:"0",minAmount:"0"});(0,c.useEffect)(()=>{ly?(0,P.vS)({businessType:o.c.WITHDRAW,fiatCurrency:"EUR",channel:o.k$.CLEAR_JUNCTION}).then(e=>{let{data:l}=e;lg(l)}):eR&&(null==eF?void 0:eF.fiatCurrency)&&(0,P.vS)({businessType:o.c.SELL,fiatCurrency:null==eF?void 0:eF.fiatCurrency,channel:eR}).then(e=>{let{data:l}=e;lg(l)})},[ly,eB]);let[lN,lw]=(0,c.useState)({loading:!0,value:""});(0,c.useEffect)(()=>{if(!lN.loading&&+((null==lj?void 0:lj.maxAmount)||0)&&+((null==eF?void 0:eF.fiatAmt)||0)){if(+((null==eF?void 0:eF.fiatAmt)||0)&&(+((null==eF?void 0:eF.fiatAmt)||0)>+(null==lj?void 0:lj.maxAmount)||+((null==eF?void 0:eF.fiatAmt)||0)<+(null==lj?void 0:lj.minAmount))){let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{title:eN("TransactionLimitExceeded2"),content:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:eN("TransactionLimitExceededTips2").replace("{{min}}","".concat(lj.minAmount," EUR")).replace("{{max}}","".concat(lj.maxAmount," EUR"))}}),imageSrc:_.A,Footer:()=>(0,n.jsx)(x.A,{onClick:()=>{(0,o.V3)()},className:"rounded-[200px]",children:"".concat((0,b._W)(o.ck.merchantCode)?"Back to ".concat((0,b._W)(o.ck.merchantCode)):eN("OK"))})})})}else if(+((null==eF?void 0:eF.fiatAmt)||0)&&!lN.loading&&+((null==eF?void 0:eF.fiatAmt)||0)>+lN.value){let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{imageSrc:_.A,title:eN("InsufficientBalance"),content:eN("InsufficientBalanceDesc2").replace("{{ReferralPartner}}",(0,b._W)(o.ck.merchantCode)||""),Footer:()=>(0,n.jsx)(x.A,{onClick:()=>{(0,o.V3)()},className:"rounded-[200px]",children:"".concat((0,b._W)(o.ck.merchantCode)?"Back to ".concat((0,b._W)(o.ck.merchantCode)):eN("OK"))})})})}}},[lN,lj.maxAmount,lj.minAmount,eF,eN]);let{track:lC}=(0,G.A)(),lI=(0,c.useCallback)(async()=>{var e,l,t,i,a,s,d,c,r,u,m,v,p,h;
1if(ew({element_id:"paymonade3_banktransfer_trade_confirm"}),eR===o.k$.BANK_FRICK&&Object.values(o.rZ).some(e=>!ef[e])){ee(!0),eb(0),Z(!0);return}if(e$(!0),ly){lC({elementId:"withdraw_confirm"});try{if(+((null==eF?void 0:eF.fiatAmt)||0)&&(+lj.maxAmount<+(null==eF?void 0:eF.fiatAmt)||+lj.minAmount>+(null==eF?void 0:eF.fiatAmt))){lC({elementId:"withdraw_confirm_error_limit"}),e$(!1);let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{title:eN("TransactionLimitExceeded2"),content:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:eN("TransactionLimitExceededTips2").replace("{{min}}","".concat(lj.minAmount," EUR")).replace("{{max}}","".concat(lj.maxAmount," EUR"))}}),imageSrc:_.A,Footer:()=>(0,n.jsx)(x.A,{onClick:()=>{(0,o.V3)()},className:"rounded-[200px]",children:"".concat((0,b._W)(o.ck.merchantCode)?"Back to ".concat((0,b._W)(o.ck.merchantCode)):eN("OK"))})})});return}let e=null;if(e4){let{data:l}=await (0,P.Nj)({fiatAmount:+eQ,fiatCurrency:"EUR",channelAccountId:null==em?void 0:em.channelAccountId,channelCode:eR,paymentMethod:eB,otpType:null==eY?void 0:eY.verifyOtpType,otpCode:null==eY?void 0:eY.verifyCode});e=l}else{let{data:l}=await (0,P.PA)({fiatAmount:+(null==eF?void 0:eF.fiatAmt)||+eQ,orderId:null==eF?void 0:eF.orderId,fiatCurrency:null==eF?void 0:eF.fiatCurrency,channelAccountId:null==em?void 0:em.channelAccountId,channelCode:eR,paymentMethod:eB,otpType:null==eY?void 0:eY.verifyOtpType,otpCode:null==eY?void 0:eY.verifyCode});e=l}let{orderId:l}=e;l&&ek({orderId:l})}catch(c){if(e$(!1),(null==c?void 0:null===(l=c.response)||void 0===l?void 0:null===(e=l.data)||void 0===e?void 0:e.code)==="ODR00001005"){let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{imageSrc:_.A,title:eN("InsufficientBalance"),content:eN("InsufficientBalanceDesc2").replace("{{ReferralPartner}}",(0,b._W)(o.ck.merchantCode)||""),Footer:()=>(0,n.jsx)(w.wi,{destory:e,mode:w.z7.OK})})});return}let{destory:d}=(0,N.A)({children:(0,n.jsx)(g.A,{title:eN("Failed"),content:(null==c?void 0:null===(s=c.response)||void 0===s?void 0:null===(a=s.data)||void 0===a?void 0:null===(i=a.msg)||void 0===i?void 0:null===(t=i.replace)||void 0===t?void 0:t.call(i,/\d+::/g,""))||eN("systemError"),Footer:()=>(0,n.jsx)(w.wi,{destory:d,mode:w.z7.OK})})})}return}try{let e=null,{orderId:l}=e5&&e9?(await (0,y.N8)({orderId:eF.orderId,quoteId:eO.quoteId,channelCode:eR,paymentMethod:eB,channelAccountId:String((null==ef?void 0:ef.id)||""),checkId:null==ex?void 0:null===(d=ex[(null==ef?void 0:ef.accountNumberUk)||""])||void 0===d?void 0:d.checkId,otpType:null==eY?void 0:eY.verifyOtpType,otpCode:null==eY?void 0:eY.verifyCode})).data:(await (0,y.N8)({orderId:eF.orderId,quoteId:eO.quoteId,channelCode:eR,paymentMethod:eB,channelAccountId:null==em?void 0:em.channelAccountId,checkId:null==ex?void 0:null===(c=ex[(null==em?void 0:em.iban)||""])||void 0===c?void 0:c.checkId,otpType:null==eY?void 0:eY.verifyOtpType,otpCode:null==eY?void 0:eY.verifyCode})).data;if(l){ek({orderId:l});return}}catch(l){if(e$(!1),eW(0),(null==l?void 0:null===(u=l.response)||void 0===u?void 0:null===(r=u.data)||void 0===r?void 0:r.code)==="ODR00001005"){let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{imageSrc:_.A,title:eN("InsufficientBalance"),content:eN("InsufficientBalanceDesc").replace("{{ReferralPartner}}",(0,b._W)(o.ck.merchantCode)||""),Footer:()=>(0,n.jsx)(w.wi,{destory:e,mode:w.z7.OK})})});return}let{destory:e}=(0,N.A)({children:(0,n.jsx)(g.A,{title:eN("Failed"),content:(null==l?void 0:null===(h=l.response)||void 0===h?void 0:null===(p=h.data)||void 0===p?void 0:null===(v=p.msg)||void 0===v?void 0:null===(m=v.replace)||void 0===m?void 0:m.call(v,/\d+::/g,""))||eN("systemError"),Footer:()=>(0,n.jsx)(w.wi,{destory:e,mode:w.z7.OK})})})}},[ew,ly,lC,eF,lj.maxAmount,lj.minAmount,e4,eN,eQ,null==em?void 0:em.channelAccountId,null==em?void 0:em.iban,eR,eB,null==eY?void 0:eY.verifyOtpType,null==eY?void 0:eY.verifyCode,a,ez,eO,ex]);(0,c.useEffect)(()=>{(null==eY?void 0:eY.status)&&eX===i.Pv.GA_OTP&&lI()},[eY,eX]);let{trackAndGa:lk}=(0,ea.A)(),l_=(0,c.useCallback)(async()=>{eR&&lk({elementId:"banktransfer_sell_confirm",channelCode:eR});let e=null==eO?void 0:eO.fiatActualAmount,l=(0,I.A)(e||0).lt(lj.minAmount)||(0,I.A)(e||0).gt(lj.maxAmount);if(eR===o.k$.EASY_EURO&&(null==em?void 0:em.bindStatus)==="INIT"){eb(1),Z(!0);return}if(l&&eO){let{destory:l}=(0,N.A)({children:(0,n.jsx)(g.A,{imageSrc:_.A,title:eN("notMatchTheAmount"),content:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:eN("notMatchTheAmountDesc").replace("{{min}}",lj.minAmount).replace("{{max}}",lj.maxAmount).replace("{{fiatAmount}}",(0,C.A)({num:e,decimalPlaces:null==eO?void 0:eO.fiatPrecision})||"").replace(/{{fiat}}/g,(null==eO?void 0:eO.fiatCurrency)||"")}}),Footer:()=>(0,n.jsx)(w.wi,{destory:l,mode:w.z7.OK})})});return}eX===i.Pv.SKIP_OTP?lI():await eq()},[lI,eX,eq,lk,eR]),lE=(0,c.useCallback)(()=>{var e;if(e5&&e9){K(!0);return}(null===(e=ev.data)||void 0===e?void 0:e.length)?Q(!0):(eg(void 0),ee(!1),eb(0),Z(!0))},[Q,e9,Z,ev,eO]);(0,c.useEffect)(()=>{(null==eF?void 0:eF.orderId)&&(la(!0),(0,ec.ys)({orderId:null==eF?void 0:eF.orderId}).then(e=>{var l,t,n,i,a,s,o,d,c,r;la(!1),ln(null===(t=e.data)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.name),lo(null===(i=e.data)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.orderDetailPageDescription),lc((null===(s=e.data)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:a.welcomePageNeedPop)||!1),lu((null===(d=e.data)||void 0===d?void 0:null===(o=d[0])||void 0===o?void 0:o.welcomePagePopTitle)||""),lv((null===(r=e.data)||void 0===r?void 0:null===(c=r[0])||void 0===c?void 0:c.welcomePagePopDescription)||"")}).finally(()=>{la(!1)}))},[null==eF?void 0:eF.orderId]),(0,c.useEffect)(()=>{var e;e8||(null===(e=ev.data)||void 0===e?void 0:e.length)||(null==ev?void 0:ev.loading)||setTimeout(()=>{eb(0),Z(!0)},500)},[null===(e=ev.data)||void 0===e?void 0:e.length,null==ev?void 0:ev.loading,Z]);let lT=(0,c.useCallback)(async()=>
1{if(null==eF?void 0:eF.fiatCurrency){eP(e=>({loading:!0,data:(null==e?void 0:e.data)||void 0}));try{let{data:e}=await (0,y.fn)({orderId:null==eF?void 0:eF.orderId,channelCode:eR});eP({loading:!1,data:e}),eI(!1)}catch(i){var e,l;let{destory:t}=(0,N.A)({children:(0,n.jsx)(g.A,{content:(null==i?void 0:null===(l=i.response)||void 0===l?void 0:null===(e=l.data)||void 0===e?void 0:e.msg)||eN("refreshTitle"),Footer:()=>(0,n.jsx)(w.wi,{onClick:()=>location.reload(),destory:t,mode:w.z7.OK})})})}}},[eR,null==eF?void 0:eF.fiatCurrency,null==eF?void 0:eF.orderId,eP,eN]);(0,c.useEffect)(()=>(eG.current=setInterval(()=>{eW(e=>e-1>0?e-1:(clearInterval(eG.current),0))},1e3),eW(4),()=>{eG.current&&clearInterval(eG.current)}),[eO]),(0,c.useEffect)(()=>{null!==ly&&!ly&&eM<=0&&lT()},[lT,ly,eM]),(0,c.useEffect)(()=>{e6(!!(0,U.UG)(o.wJ))},[]),(0,c.useCallback)(e=>e.length<=10?e:e.slice(0,6)+"******"+e.slice(-4),[]),(0,c.useEffect)(()=>{let e=async()=>{let{data:e}=await (0,P.XC)({fiatCurrency:null==eF?void 0:eF.fiatCurrency,channelCode:eR,businessType:o.c.WITHDRAW,paymentMethod:(0,b._W)(o.ck.paymentMethod),fiatAmount:+((null==eF?void 0:eF.fiatAmt)||0)||+eQ});(null==e?void 0:e.feeType)==="PERCENTAGE"&&(eU((0,I.A)(null==e?void 0:e.feeConfigValue).toString()),eS(null==e?void 0:e.fee),e1("PERCENTAGE")),(null==e?void 0:e.feeType)==="FIXED"&&(eU("".concat(null==e?void 0:e.feeConfigValue," ").concat(null==eF?void 0:eF.fiatCurrency)),eS(null==e?void 0:e.fee),e1("FIXED"))};ly&&e()},[eR,ly,null==eF?void 0:eF.fiatAmt,null==eF?void 0:eF.fiatCurrency,eU,eQ]),(0,c.useEffect)(()=>{ly&&(0,W.m)({currency:"EUR"}).then(e=>{let{data:l}=e;lw({loading:!1,value:null==l?void 0:l.balance})})},[ly]);let[lS,lR]=(0,c.useState)(""),lB=(0,c.useMemo)(()=>{let e=(e5&&e9?!(null==ef?void 0:ef.id):!(null==em?void 0:em.channelAccountId))||!!ep||eH===i.wb.cooling&&eX===i.Pv.GA_OTP;return!!ly&&!!e4&&!eQ||!!ly&&!e4&&!(null==eF?void 0:eF.fiatAmt)&&!eQ||!!ly&&!!lS||eR===o.k$.EASY_EURO&&(null==em?void 0:em.bindStatus)==="BINDING"||e||!ly&&eD},[eH,e4,lS,null==em?void 0:em.bindStatus,null==em?void 0:em.channelAccountId,ep,ly,eX,eR,eD,eQ]),lF=(0,c.useCallback)($()(e=>{lR(e)},500),[]);(0,c.useEffect)(()=>{eQ&&+eQ<+lj.minAmount?lF(eN("MinimumAmountTips").replace("{{amount}}",lj.minAmount).replace("{{currency}}","EUR")):eQ&&+eQ>+lj.maxAmount?lF(eN("RemainingLimitTips").replace("{{amount}}",lj.maxAmount).replace("{{currency}}","EUR")):eQ&&+eQ>+lN.value?lF(eN("InsufficientTips").replace("{{amount}}",lN.value).replace("{{currency}}","EUR")):lF("")},[lN,lj.maxAmount,lj.minAmount,eN,eQ,lF]);let lP=(0,c.useCallback)(e=>{eZ(e)},[]);(0,c.useEffect)(()=>{eA.loading||eg(eA.data.filter(e=>"Pass"===e.status)[0])},[ej,eg]);let lD=(0,c.useMemo)(()=>+((null==eF?void 0:eF.fiatAmt)||0)||eQ?[eL?{labelItem:"".concat(eN("Fees")).concat("PERCENTAGE"===e0?"(".concat((0,I.A)(eL).times(100),"%)"):""),valueItem:"".concat("PERCENTAGE"===e0?eT:eL," EUR")}:{labelItem:"",valueItem:""},{labelItem:eN("ArrivalTime"),valueItem:eN("FlowBankArrivalTimeTips")}]:void 0,[eL,eT,null==eF?void 0:eF.fiatAmt,eN,e0,eQ]),lO=e=>{if(eR===o.k$.EASY_EURO&&(null==e?void 0:e.bindStatus)!=="BIND")return null==e?void 0:e.bindStatus},lU="FAIL"===lO(em),lL="INIT"===lO(em),lM="BINDING"===lO(em);return(0,n.jsxs)("div",{className:"flex flex-col h-full sm:mx-5",children:[eH===i.wb.cooling&&eX===i.Pv.GA_OTP?(0,n.jsx)(X.A,{children:eN("2faCoolingOff")}):(0,n.jsx)(n.Fragment,{}),!ll&&ls&&(0,n.jsx)(er.A,{className:"sm:!-mx-5 sm:w-[calc(100%+40px)] sm:px-5",childrenText:ls,showPop:ld,popText:lm,popTitle:lr}),(0,n.jsx)(s.A,{title:eN("CompleteOrder"),hideBack:!e4,onBackClick:()=>{window.history.back()}}),e2,e3,(0,n.jsxs)("div",{className:"grow overflow-auto px-5 mx-[-20px]",children:[null===e4?(0,n.jsx)(n.Fragment,{}):ly?(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(L,{fiatLimit:lj,orderInfo:lD,amount:null==eF?void 0:eF.fiatAmt,disabled:!!+((null==eF?void 0:eF.fiatAmt)||0),error:lS,balance:lN.value,onChangeAmount:lP,title:eN("WithdrawAmount")})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(k.A,{isInit:eC,allInfos:lf,extraInfos:lA,bottomContent:e9?"":eN("banktransfer-sell-warning"),isBuy:!1})}),(0,n.jsx)(V.A,{onclick:lE,isBuy:!1,PaymentmethodImage:(0,n.jsx)(v(),{className:"w-8 h-8",alt:"PayingWithSvg",src:D}),children:e5&&e9?(null==eA?void 0:null===(l=eA.data)||void 0===l?void 0:l.length)?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"font-medium text-base text-secondary",children:null==ef?void 0:ef.accountNumber}),(0,n.jsx)("div",{className:"text-third text-sm font-medium",children:null==ef?void 0:ef.bankName})]}):(0,n.jsx)("div",{className:"text-third text-sm font-medium",children:eN("AddBankAccount")}
1):(null===(t=ev.data)||void 0===t?void 0:t.length)?(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"font-medium text-base ".concat(ep?"text-disabled":"text-secondary")}),(0,n.jsxs)("div",{className:"flex font-medium sm:flex-row flex-col ".concat(ep?"text-disabled":"text-primary-text"),children:[(0,n.jsx)("span",{children:e9&&(null==em?void 0:em.accountNumber)||(null==em?void 0:em.iban)}),(null==em?void 0:em.bindStatus)&&(0,n.jsx)("span",{className:"ml-2 px-2 py-0.5 border border-line rounded-sm text-caption-sub\n                      ".concat("BIND"===em.bindStatus?"text-link":"BINDING"===em.bindStatus?"text-third":"text-sell"),children:"BIND"===em.bindStatus?eN("Active"):"BINDING"===em.bindStatus?eN("Reviewing"):"FAIL"===em.bindStatus?eN("Unverified"):""}),(0,n.jsx)("span",{children:ep||lO(em)?lU?(0,n.jsx)(E.A,{tips:-1===ep?null==em?void 0:em.blockedReason:eN("ReasonForUnavailableAccount"),children:(0,n.jsx)(v(),{src:T.A,className:"sm:ml-1",alt:"ICNA"})}):(0,n.jsxs)("div",{className:"px-1 sm:ml-1 py-0.5 border border-line rounded-sm flex gap-1 text-caption-sub ".concat(lL||lM?"text-link":"text-sell"," items-center"),children:[lU&&(0,n.jsx)(J.A,{className:"w-3 h-3"}),lU?eN("unavailable"):lL?eN("NeedBinding"):eN("Reviewing")]}):(0,n.jsx)(n.Fragment,{})})]})]}):(0,n.jsx)("div",{className:"text-third text-sm font-medium",children:eN("AddBankAccount")})})]}),(0,n.jsxs)("div",{className:"flex w-full items-center justify-center",children:[(0,n.jsx)(x.A,{inactive:lB||e8&&(!em||"BIND"!==em.bindStatus),loading:eK,onClick:l_,className:"mt-2 mb-4 max-w-[400px]",children:(0,n.jsxs)("div",{className:"flex flex-1 justify-center",children:[(0,n.jsx)("span",{children:eR===o.k$.EASY_EURO&&(null==em?void 0:em.bindStatus)==="INIT"?eN("SubmitRequiredInformation"):eN("Confirm")}),(0,n.jsx)(v(),{className:"ml-1",src:u.A,alt:"ICGoBtn"})]})}),(0,n.jsx)(A.A,{})]}),(null==eJ?void 0:eJ.userType)?e5&&e9?(0,n.jsx)(H.y,{type:"payout",supportChoose:!0}):(0,n.jsx)(p.A,{onSelect:lh}):(0,n.jsx)(n.Fragment,{}),eR===o.k$.EASY_EURO?(0,n.jsx)(et,{}):(0,n.jsx)(f.A,{step:0}
1),eR===o.k$.ROMA?(0,n.jsx)("span",{className:"text-third text-sm font-medium block text-center",dangerouslySetInnerHTML:{__html:eN("banktransferTipsDesc15")}}):null,eV,(0,n.jsxs)(w.Ay,{modalStyle:"!p-0",hideClose:!0,hideHeader:!0,open:lx,onClose:()=>{lp(!1)},showMask:!0,title:eN(""),children:[(0,n.jsx)("div",{className:"flex justify-end px-5 pb-5",children:(0,n.jsx)(v(),{src:Y.A,alt:"",className:"no-long-press cursor-pointer",onClick:()=>{lp(!1)}})}),(0,n.jsx)("iframe",{className:"h-[504px] w-full",src:"".concat("https://www.paymonade.tech","/").concat(ez,"/support/article/corpuser-sell-crypto-time?mode=light&hideHead=true")})]}),(0,n.jsx)(eo.A,{}),e8?(0,n.jsx)(es.A,{open:e7,setOpen:le}):(0,n.jsx)(n.Fragment,{})]})};var ev=t(8053),ex=t(91556),ep=t(95215),eh=t(38835),ef=t(83979),eA=t(83035),ey=t(19851),eb=t(59039),ej=t(61329);let eg=()=>{let{openAccountError:e,loadingModal:l}=(0,j.A)(),{t}=(0,r.Bd)(),{banktransferStep:s,unavailableReason:d,channelCode:u}=(0,j.A)(),{verifyRiskStatus:m,getRiskReminderPageUrl:x}=(0,eA.E)();(0,c.useEffect)(()=>{m().then(e=>{"go_warning_page"===e&&x(window.location.href)})},[m,x]);let{ga4log:p}=(0,S.A)();(0,c.useEffect)(()=>{p({element_id:"paymonade3_banktransfer_pagview",extraInfo:{type:"sell"}})},[p]);let{trackAndGa:h}=(0,ea.A)();(0,c.useEffect)(()=>{u&&h({elementId:"banktransfer_sell_pageview",channelCode:u})},[h,u]);let{promotionLoading:f,migrateCashback:A,setMigrateCashback:y,setPromotionAccountCheck:g,setPormotionLoading:N,welcomePageDescription:w,setWelcomePageDescription:C,welcomePageNeedPop:I,setWelcomePageNeedPop:k,welcomePagePopTitle:_,setWelcomePagePopTitle:E,welcomePagePopDescription:T,setWelcomePagePopDescription:R}=(0,ed.A)(),B=(0,b._W)(o.Bm.email)||"";return(0,c.useEffect)(()=>{N(!0),(0,ej.LU)({email:B,flowStep:"CARD_BUY"}).then(e=>{var l,t,n,i,a,s,o,d,c,r,u,m,v,x,p,h;N(!1),g((null===(l=e.data)||void 0===l?void 0:l.entityOfCurrentAccounts)||[]),y(null===(i=e.data)||void 0===i?void 0:null===(n=i.promotionList)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.name);let f=null===(o=e.data)||void 0===o?void 0:null===(s=o.promotionList)||void 0===s?void 0:null===(a=s[0])||void 0===a?void 0:a.welcomePageDescription;f&&C(f||""),k((null===(r=e.data)||void 0===r?void 0:null===(c=r.promotionList)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.welcomePageNeedPop)||!1),E((null===(v=e.data)||void 0===v?void 0:null===(m=v.promotionList)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.welcomePagePopTitle)||""),R((null===(h=e.data)||void 0===h?void 0:null===(p=h.promotionList)||void 0===p?void 0:null===(x=p[0])||void 0===x?void 0:x.welcomePagePopDescription)||"")}).catch(e=>{N(!0)})},[B,A,y,N,g,C,k,R,E]),(0,c.useEffect)(()=>{f||(console.log("promition_logElementID","promition_".concat(A||"nopromotion","_pageview"),{email:B}),h({elementId:"promition_".concat(A||"nopromotion","_pageview"),extraData:{email:B}}))},[B,A,f,h]),(0,ex.A)(),(0,n.jsxs)(ev.Ay,{className:"sm:!h-[calc(100%-96px)] sm:!w-[592px] sm:px-0 sm:border sm:border-line",children:[!f&&A&&(0,n.jsx)(er.A,{childrenText:w,showPop:I,popText:T,popTitle:_}),s===i.gG.loading&&s===i.gG.loading&&(0,n.jsx)(ef.A,{title:(0,n.jsx)("div",{className:"py-4 sm:px-5 font-bold text-lg",children:t("CompleteOrder")})}),s===i.gG.trade&&(0,n.jsx)(em,{}),s===i.gG.limit&&(0,n.jsx)(a.A,{}),s===i.gG.unavailable&&(0,n.jsx)(ep.A,{dangerouslySetInnerHTML:{__html:d?t("channeldisabledDesc"):t("createAccountFailedDesc_binance").replace("{{error}}",e?"(".concat(e,")"):"")}}),s===i.gG.TradingPairUnsupported&&(0,n.jsx)(ep.A,{ServicesUnavailableTitle:t("TradingPairUnsupported"),ServicesUnavailableDesc:t("TradingPairUnsupportedDesc")}),s===i.gG.AccountNotReady&&(0,n.jsx)(ep.A,{ServicesUnavailableTitle:t("AccountNotReady"),ServicesUnavailableDesc:t("AccountNotReadyDesc")}),(0,n.jsx)(ey.A,{icon:(0,n.jsx)(v(),{style:{width:"80px",height:"80px"},src:eb.A,alt:"KycIcon"}),open:null==l?void 0:l.open,tips:t("loadingDesc3mins")}),(0,n.jsx)(eh.A,{})]})}},96848:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/banktransfer-sell",function(){return t(89506)}])}},e=>{var l=l=>e(e.s=l);e.O(0,[8069,6077,6351,8319,531,7956,3689,5974,5996,636,6593,8792],()=>l(96848)),_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.