1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6068],{26577:(e,r,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/success_headshots",function(){return n(28720)}])},28720:(e,r,n)=>{"use strict";n.r(r),n.d(r,{__N_SSP:()=>y,default:()=>f});var s=n(6029),o=n(50433),c=n(13445),i=n(99690),a=n(87462),t=n(37948),d=n(56266),l=n(50016),u=n(1751),h=n(92907),p=n(78138),_=n(81278),x=n(55729),g=n(67051),y=!0;let f=()=>{let e=(0,_.useRouter)(),r=e.query.session_id,{data:y,isError:f}=(0,u.DIN)({session_id:r});return(0,x.useEffect)(()=>{let r=setTimeout(()=>{y&&(n.e(5023).then(n.t.bind(n,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==y?void 0:y.price_paid)/100,currency:"USD",contents:[{quantity:1}]})}),g.Ay.event("purchase",{currency:"USD",value:(null==y?void 0:y.price_paid)/100}),y&&e.push(p.J.aieasypic.trainProfessionalHeadshotsAll))},1e4);return()=>{clearTimeout(r)}},[y]),(0,s.jsxs)(o.a,{sx:e=>({minHeight:"50vh",padding:"80px 100px",[e.fn.smallerThan("md")]:{padding:"30px 20px"}}),children:[(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n gtag('event', 'conversion', {\n 'send_to': 'AW-956931317/H55dCOiH1oEaEPW5psgD',\n 'value': ".concat(null==y?void 0:y.price_paid,",\n 'currency': 'USD',\n 'transaction_id': '").concat(r,"'\n });\n\n ")}}),f?(0,s.jsx)("div",{children:"There was an error. Please contact [email protected] if you have been charged"}):(0,s.jsxs)(o.a,{children:[(0,s.jsxs)(c.B,{children:[(0,s.jsx)(i.Y,{position:"center",children:(0,s.jsx)(l.KaV,{style:{width:"100px",transform:"scale(3)",color:"green"}})}),(0,s.jsx)(a.h,{order:1,align:"center",children:"Payment Successful"})]}),(0,s.jsx)(i.Y,{position:"center",my:30,children:(0,s.jsx)(t.E,{children:"Your purchase was successful! Your headshots will be generated shortly."})}),(0,s.jsx)(o.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,s.jsxs)(i.Y,{position:"center",children:[(0,s.jsx)(d.a,{}),"Redirecting you to your studio..."]})})]})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=26577)),_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.