"use strict";var e=require("react/jsx-runtime"),r=require("styled-components"),i=require("./Layouts-D3TOcPhm.js"),s=require("./ModalHeader-Cpls13mi.js"),n=require("./ScreenHeader-CgYJ5Fmg.js"),l=require("./FundWalletMethodHeader-DHJHs1si.js"),d=require("./InjectedWalletIcon-UY3nMvZo.js"),t=require("./index-ByFhjjzH.js"),a=require("./Row-CMqYn75Q.js"),c=require("./Value-mhPsfsxe.js"),o=require("./Address-DW_NyDV7.js"),j=require("./NetworkIcon-BZ9Mj6vV.js"),x=require("./index-Ub4KpwSY.js");let u=r.styled.div`
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
`;exports.TransferOrBridgeLoadingScreen=({walletClientType:r,displayName:h,addressToFund:g,chainId:m,chainName:w,isBridging:p,isErc20Flow:I,totalPriceInNativeCurrency:q,totalPriceInUsd:y,gasPriceInNativeCurrency:S,gasPriceInUsd:C})=>{let N=x.useExternalWalletListing(r);/*#__PURE__*/return e.jsxs(e.Fragment,{children:[/*#__PURE__*/e.jsx(l.t,{}),/*#__PURE__*/e.jsx(t.NeutralSpinner,{centerIcon:/*#__PURE__*/e.jsx(d.InjectedWalletIcon,{icon:N?.image_url?.md,name:r})}),/*#__PURE__*/e.jsx(n.CenteredScreenHeader,{style:{marginTop:"8px",marginBottom:"12px"},title:`${p?"Bridging":"Confirming"} with ${h}`}),!p&&!I&&/*#__PURE__*/e.jsxs(a.Rows,{children:[/*#__PURE__*/e.jsxs(a.Row,{children:[/*#__PURE__*/e.jsx(c.LabelSm,{children:"Total"}),/*#__PURE__*/e.jsx(c.Value,{children:y||q})]}),/*#__PURE__*/e.jsxs(a.Row,{children:[/*#__PURE__*/e.jsx(c.LabelSm,{children:"To"}),/*#__PURE__*/e.jsx(c.Value,{children:/*#__PURE__*/e.jsx(o.Address,{address:g,showCopyIcon:!1})})]}),/*#__PURE__*/e.jsxs(a.Row,{children:[/*#__PURE__*/e.jsx(c.LabelSm,{children:"Network"}),/*#__PURE__*/e.jsx(c.Value,{children:/*#__PURE__*/e.jsxs(u,{children:[/*#__PURE__*/e.jsx(j.NetworkIcon,{chainId:m,height:16,width:16})," ",w]})})]}),S&&/*#__PURE__*/e.jsxs(a.Row,{children:[/*#__PURE__*/e.jsx(c.LabelSm,{children:"Estimated fee"}),/*#__PURE__*/e.jsx(c.Value,{children:C||S})]})]}),/*#__PURE__*/e.jsx(i.ConfigurableSpacer,{height:24}),/*#__PURE__*/e.jsx(s.BlobbyFooter,{})]})};
//# sourceMappingURL=TransferOrBridgeLoadingScreen-6G9X222e.js.map
