1import{n as v,l as b,r as m,bm as j,bt as C,p as A,j as e,P as S,R as L,am as g,ag as o,bn as u,x as P,B as k,bw as B}from"./index.IuOeGzRp.js";import{C as O}from"./withdrawCurrencies.CjlNAm9t.js";const T=()=>{const t=v(),{stores:s,user:i,kyc:a}=b(),[r,y]=m.useState(!1),{getFlag:f}=j();a.data&&a.data.onboardingType==="fisica"&&a.data.kyc_status;const _=new Date(2024,7,21);new Date(i.creation_timestamp)<_&&a.status&&t("/settings/payment-methods"),m.useEffect(()=>{if(s){const h="19162",x="13083";s.some(c=>{var p;return c.store_type===C.TIENDANUBE&&((p=c.store_apps)==null?void 0:p.find(l=>l.app_id===h||l.app_id===x))})&&y(!0)}},[s]);const d=f("show_transfer_ars").asBoolean(),{trackEvent:n}=A();return e.jsxs(S,{children:[e.jsx(L,{title:"Opciones para tu cliente en el checkout",subtitle:"Acá podrás personalizar las opciones de pago estarán disponibles para tus clientes durante el proceso de compra."}),e.jsxs(g,{title:"Monedas tradicionales",footer:"Los costos por transacción son diferentes para cada moneda",children:[e.jsx(o,{title:"ARS"+(d?"":" (Proximamente)"),icon:e.jsx("img",{src:u.ARS.flagPath,alt:"ARS Logo"}),iconInside:!1,description:"Transferencias automáticas",leading:"arrow",disabled:!d,onClick:()=>{t("/onboarding/payment-methods/transfer/plugins"),n("payment_method_transfer_opened",{event_type:"Payment Method transfer Opened",event_status:"active",origin:"onboarding"})}}),e.jsx(o,{title:"BRL",icon:e.jsx("img",{src:u.BRL.flagPath,alt:"BRL Logo"}),iconInside:!1,description:"Reales a través de pix",leading:"arrow",onClick:()=>{t("/onboarding/payment-methods/pix"),n("payment_method_pix_opened",{event_type:"Payment Method Pix Opened",event_status:"active",origin:"onboarding"})}})]}),e.jsx(g,{title:"Monedas digitales (criptomonedas)",children:e.jsx(o,{title:"Criptomonedas",icon:e.jsx(O,{}),iconInside:!1,description:"A traves de la red",leading:"arrow",onClick:()=>{t("/onboarding/payment-methods/crypto"),n("payment_method_crypto_opened",{event_type:"Payment Method Crypto Opened",event_status:"active",origin:"onboarding"})}})}),e.jsx(P,{axis:"vertical",type:"betweenSections"}),e.jsx(k,{size:"full",variant:r?"default":"outline",onClick:()=>{B(t,i),n("payment_method_omitted",{event_type:"Payment Method button Omitted",event_status:"active",origin:"onboarding"})},children:r?"Finalizar":"Omitir"})]})};export{T as default};
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.