1import{N as m,K as u,an as _,j as e}from"./vendor-985b7149.js";import{G as p,al as f,I as a,w as c,m as n,e as h,H as x}from"./index-375deda0.js";const v=m(()=>{const{t:o}=u(),{closeModal:l}=p(),r=_(),i=async()=>{try{await c.logout().catch(s=>s&&console.error(s)),r("/")}catch(s){console.error(s)}},d=async()=>{try{await c.deleteProfile()&&(i().catch(()=>{}),n.pushAlert("success",o("alerts:alertDeleteProfile")),n.sendToRN("logAmplitudeEvent",{name:"Profile: deleted"}),h.track(x.PROFILE_DELETED,{}))}catch(s){console.error(s)}},t=()=>l();return e.jsx(f,{isShow:!0,className:"modal-delete-account__body",onBackdropDismiss:t,children:e.jsx("div",{className:"popover-container input-form",children:e.jsxs("div",{className:"popover",children:[e.jsx("button",{className:"button _no-padding _no-color input-form__back",onClick:t,children:e.jsx(a,{type:"arrow",className:"icon__rotate-180",size:24})}),e.jsx("button",{className:"button _no-padding _no-color input-form__close",onClick:t,children:e.jsx(a,{type:"plus",className:"icon__rotate-45",size:36})}),e.jsxs("div",{className:"input-form__form",children:[e.jsx("div",{className:"input-form__form-header",children:e.jsx("p",{className:"input-form__form-header-title",children:o("phrases:wantToDeleteAccount")})}),e.jsx("div",{className:"input-form__form-footer",children:e.jsxs("div",{className:"input-form__form-footer-buttons",children:[e.jsx("button",{className:"button _bordered _med",onClick:t,children:o("goBack")}),e.jsx("button",{className:"button _primary _med",onClick:d,children:o("delete")})]})})]})]})})})});export{v as default}; 2//# sourceMappingURL=ModalDeleteAccount-e65767f2.js.map
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.