1"use strict";(self.webpackChunkdelete_me_now=self.webpackChunkdelete_me_now||[]).push([[513],{60813(e,s,t){t.r(s),t.d(s,{default:()=>u});var i=t(5544),a=t(65043),c=t(83003),n=t(73216),l=t(35475),r=t(97),d=t(49157),o=t(18353),m=t(73116),A=t(59949);const h=t.p+"static/media/thankyou-thumb.ad5da55ac462b26c02bd.png";var x=t(82170),g=t(70579);function u(e){var s,t,u;const p=(0,c.wA)(),j=(0,n.Zp)(),f=(0,c.d4)(e=>e.thankyou),v=f.isPrivacyGift,b=f.privacyGiftErrors,N=f.privacyGiftSuccessData,k=f.isQrcodeExist,y=f.isExistingGifterCustomer,C=(0,a.useState)(!1),I=(0,i.A)(C,2),w=I[0],S=I[1],E=(0,a.useState)(!1),R=(0,i.A)(E,2),Y=R[0],G=R[1],W=(0,r.A)(),L=(e,s)=>W.formatMessage({id:e},s);return(0,g.jsxs)("div",{className:"checkout thankyou-main",children:[(0,g.jsxs)("div",{className:"thankyou-bg",children:[(0,g.jsxs)("div",{className:"header d-flex justify-content-evenly py-3 h-auto align-items-center flex-column",children:[(0,g.jsx)("div",{className:"w-auto align-self-end pr-3",children:(0,g.jsx)(l.N_,{to:y?"/priacyGift":"/subscriptions/gift",children:(0,g.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACKCAYAAAB1h9JkAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALtSURBVHgB7dzRbdswEIDhUyfIBvUIHcEbZAVvUnaDbJBsEGcCdwOjEzgjZAOWaiSAL41tiaR4d/8HEAb0YPGI3wZsGBYBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAmhukEzHGQ3p4TOthuvSe1q9hGN7FgTT/Xj7n/zFd+kjrLc3/Ivh3QLu0zvH/fopx44xfzH8Zz0i8mw7iGrOxXIlkdhbP0gEc4u3MxXJjJLODeJWGf433MRPLnZGMjuJVGv4U76c+lgWRjE7i1cJQVMeyMBL3oTzF5dTFsiKS0bN4lYbfx3XUxLIyktFOPEsHEOI63cdSIJIgsB0LkRRmMRYiqcRSLERSmYVYiKQRzbEQSWMaYyGSjWiKhUg2piEWIulEz7EQSWd6jIVIOtVTLETSuR5iIRIltoyFSJTZIhYiUaplLESiXItYiMSImrEQiTE1YiESo0rGQiTGlYglEokPBWIhEi82iiUI9GkcSxDo1SiWINCvcixBYEelWILAnsKxBIFdhWIJ4sw38SfKeiWeA72K679xzZn/t0qXCkdCLBZVioRYLKkcCbFY0CgSYtGscSTEotFGkRCLJgUiCdHg34QhEwv+Mo1YjIoVfr5ILMbUiCR7bmKxoGYk2T2IRbMWkWT3IhaNWkaS3ZNYNNkikuzexKLBlpFkeyCWnvUQSbYXYulRT5FkeyKWnvQYSbY3YulBz5FkeySWLWmIJNsrsWxBUyTZnomlJY2RZHsnlhY0R5LNQCw1WYhkRiyVWIpkRiyFWYxkRiyFWI5kRiwrpQPYxXWCKFEglr14lYZ/jssFUWZlLE/iVRr+FJcJotSKWE7i1cJQgii3MBbXobzG+wQxYkEsR/EqDX+446CCGHNnLAfxLB3A+YZDCmLUjbFcxLv4+RH54jGS2ZVYxhfSTjY2SCemt9bHtB6mS3/SOg7D8FscmGIIaX2fLn2k9ZbmfxEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAp79pz189LXBDsgAAAABJRU5ErkJggg==",width:"40",className:"img-fluid logo",height:"auto",alt:"DeleteMyInfo"})})}),(0,g.jsx)("img",{className:"thankyou-img",src:h,width:"160",alt:""})]}),(0,g.jsx)("div",{className:"content",children:(0,g.jsx)("div",{className:"container bg-transparent",children:(0,g.jsxs)("div",{className:"py-3 px-md-4 register-main",children:[(0,g.jsxs)("div",{className:"card shadow p-3 p-sm-4 manage-custom-modal register-card mt-4",children:[(0,g.jsx)("div",{className:"text-center p-sm-2 p-0 pb-2 pb-sm-0 mb-5",children:(0,g.jsx)(l.N_,{to:"/",children:(0,g.jsx)("img",{src:A,width:"200",className:"img-fluid logo",height:"auto",alt:"DeleteMyInfo"})})}),f.createdCustomer?v?(0,g.jsx)("div",{children:(0,g.jsx)("img",{src:x,className:"logo d-flex align-items-end justify-content-center w-100",alt:"Thank you"})}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h5",{className:"text-center",children:null!==(s=f.createdCustomer)&&void 0!==s&&s.isPrivacyGiftReceived?L("registerSuccessful"):L("paymentSuccessful")}),(!(null!==(t=f.createdCustomer)&&void 0!==t&&t.isPrivacyGift)||(null===(u=f.createdCustomer)||void 0===u?void 0:u.isPrivacyGiftReceived))&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("p",{className:"text-muted",children:L("congratulationsContent")}),(0,g.jsx)("button",{className:"btn btn-outline-cGreen",disabled:w,onClick:()=>{var e,s,t;S(!0),p((0,m.bO)(null===(e=f.createdCustomer)||void 0===e?void 0:e._id,null===(s=f.createdCustomer)||void 0===s?void 0:s.createdBy,!0,j,e=>S(e),null===(t=f.createdCustomer)||void 0===t?void 0:t.sessionGrant))},children:L(w?"processingBtn":"completeDataSheet")})]})]}):(0,g.jsx)(n.C5,{to:{pathname:"/auth/login",state:{from:e.location}}})]}),v&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"main row",children:[!(null===b||void 0===b||!b.length)&&(0,g.jsxs)("div",{className:"left-section ".concat(null!==N&&void 0!==N&&N.length?"col-md-6 col-sm-12":"col-md-12 col-sm-12"),children:[(0,g.jsx)("h4",{className:"text-red m-0 font-weight-normal",children:"Failed subscriptions"}),(0,g.jsx)("div",{className:"gift-popup-body",children:b.map((e,s)=>(0,g.jsxs)("div",{children:[(0,g.jsx)("p",{className:"text-muted mb-1 gift-error-text font-weight-normal",children:e.email}),(0,g.jsx)("span",{className:"w-100 text-red font-bold gift-error",children:e.error})]},s))})]}),!!N.length&&(0,g.jsxs)("div",{className:"right-section ".concat(null!==b&&void 0!==b&&b.length?"col-md-6 col-sm-12":"col-md-12 col-sm-12"),children:[(0,g.jsx)("h4",{className:"text-green m-0 font-weight-normal",children:"Success subscriptions"}),(0,g.jsx)("div",{className:"gift-popup-body",children:N.map((e,s)=>(0,g.jsx)("p",{className:"text-muted mb-1 gift-error-text font-weight-normal",children:e.email||e.name},s))})]})]}),!!k&&(0,g.jsx)("div",{className:"text-center",children:(0,g.jsx)("button",{className:"btn btn-cGreen mt-4",onClick:()=>G(!0),children:"Download QR Code"})})]})]})})})]}),Y&&(0,g.jsx)("div",{className:"position-fixed w-100 h-100 card-wrapper",children:(0,g.jsx)("div",{className:"d-flex flex-column justify-content-center align-items-center w-100 h-100 px-3 card-overlay",children:(0,g.jsxs)(d.A,{className:"shadow",style:{maxWidth:"90%",width:"500px"},children:[(0,g.jsx)("div",{className:"w-100 text-right pr-5 pt-1",children:(0,g.jsx)("span",{onClick:()=>G(!1),className:"mdi mdi-close-circle-outline text-danger h2 position-absolute cursor-pointer"})}),(0,g.jsx)(o.A,{className:"pt-2 qr-container",children:N.map((e,s)=>e.qrCodeImg&&(0,g.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,g.jsxs)("div",{className:"d-flex align-items-center",children:[(0,g.jsx)("img",{className:"qr-image",src:"data:image/png;base64,".concat(e.qrCodeImg),alt:"QR Code ".concat(s+1)}),(0,g.jsx)("p",{className:"mb-1 font-weight-normal qr-name",children:e.email||e.name})]}),(0,g.jsx)("button",{className:"download-icon p-0 d-flex justify-content-center align-items-center",onClick:()=>((e,s)=>{const t=document.createElement("a");t.download="".concat(s,".png"),t.href=e,t.click()})("data:image/png;base64,".concat(e.qrCodeImg),e.name.replace(/ /g,"_")),children:(0,g.jsx)("i",{className:"fas fa-download"})})]},s))})]})})})]})}},59949(e,s,t){e.exports=t.p+"static/media/logo-dark.50a8da85d8bc5d4ce3cc.png"},82170(e,s,t){e.exports=t.p+"static/media/thankyou.a49a88e89249f25bc7be.png"}}]); 2//# sourceMappingURL=513.0dd2ae35.chunk.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.