1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2059],{18919:(e,r,s)=>{"use strict";s.r(r),s.d(r,{__N_SSP:()=>g,default:()=>b});var c=s(6029),a=s(50433),n=s(13445),o=s(99690),i=s(87462),d=s(37948),t=s(56266),l=s(50016),u=s(1751),h=s(92907),p=s(78138),x=s(81278),_=s(55729),y=s(67051),g=!0;let b=()=>{let e=(0,x.useRouter)(),r=e.query.session_id,{data:g,isError:b}=(0,u.DIN)({session_id:r});return(0,_.useEffect)(()=>{let r=setTimeout(()=>{g&&(s.e(5023).then(s.t.bind(s,5023,23)).then(e=>e.default).then(e=>{e.init(h._g.pixelTag,void 0,{autoConfig:!0,debug:!1}),e.fbq("track","Purchase",{value:(null==g?void 0:g.price_paid)/100,currency:"USD",contents:[{quantity:1}]})}),y.Ay.event("purchase",{currency:"USD",value:(null==g?void 0:g.price_paid)/100}),g&&e.push(p.J.aieasypic.dashboard))},1e4);return()=>{clearTimeout(r)}},[g]),(0,c.jsx)(a.a,{sx:e=>({minHeight:"50vh",padding:"80px 100px",[e.fn.smallerThan("md")]:{padding:"30px 20px"}}),children:b?(0,c.jsx)("div",{children:"There was an error. Please contact [email protected] if you have been charged"}):(0,c.jsxs)(a.a,{children:[(0,c.jsxs)(n.B,{children:[(0,c.jsx)(o.Y,{position:"center",children:(0,c.jsx)(l.KaV,{style:{width:"100px",transform:"scale(3)",color:"green"}})}),(0,c.jsx)(i.h,{order:1,align:"center",children:"Payment Successful"})]}),(0,c.jsx)(o.Y,{position:"center",my:30,children:(0,c.jsx)(d.E,{children:"Your purchase was successful! Your plan will be updated and credits will be added to your account."})}),(0,c.jsx)(a.a,{sx:e=>({padding:"20px",borderRadius:"10px",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.colors.gray[0],color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[9],border:"1px solid"}),children:(0,c.jsxs)(o.Y,{position:"center",children:[(0,c.jsx)(t.a,{}),"Redirecting you to your dashboard..."]})})]})})}},77535:(e,r,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/success_sub",function(){return s(18919)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=77535)),_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.