1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b710d372-fcd5-45db-ad4f-0177012c6b8b",e._sentryDebugIdIdentifier="sentry-dbid-b710d372-fcd5-45db-ad4f-0177012c6b8b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2334],{3668:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/purchase/v1/facetune_face_shape/[variant]/thank-you",function(){return n(96283)}])},43949:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(63857),s=n(60180),a=n.n(s),i=n(14232),c=n(7632),o=n(8191),u=function(){var e=(0,c.ur)().isLoggedIn;return{sendPurchaseEvent:(0,i.useCallback)((0,r.A)(a().mark(function t(){var n,r,s;return a().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!0===e){t.next=2;break}return t.abrupt("return",!1);case 2:if(t.prev=2,n=localStorage.getItem("faceShapeSessionId"),r=o.d.getLtidFromCookie(),!(!n||!r)){t.next=7;break}throw Error("Missing required data for purchase event");case 7:return s={sessionId:n,userId:r},t.next=10,fetch("https://www.facetuneapp.com/api/face-shape/purchase-event",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});case 10:if(t.sent.ok){t.next=13;break}throw Error("Failed to send purchase event");case 13:return t.abrupt("return",!0);case 16:return t.prev=16,t.t0=t.catch(2),console.error("Error sending purchase event:",t.t0),t.abrupt("return",!1);case 20:case"end":return t.stop()}},t,null,[[2,16]])})),[e])}}},62505:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});
1var r=n(70236),s=n(58103),a=n.n(s),i=n(89099),c=n(14232),o=n(1852),u=n(95110),l=n(1015),d=n(34692),p=n(3775),h=n(6082),f=n(28950),b=n(72960),m=n(37733),j=n(7632),v=n(12616),x=n(98308),w=n(98214),g=n.n(w),N=n(51125),y=n(37876),O=function(e){var t=e.multipleProducts;return(0,y.jsxs)("div",{className:g().stepContainer,children:[(0,y.jsx)("div",{className:g().stepNumber,children:"1"}),(0,y.jsx)(p.E,{children:"Download the Facetune app".concat(t?"s":"")})]})},k=function(){var e=(0,v.F8)(),t=e.appName,n=e.upsellConfig,s=(0,x.A)(),a=s.isMobile,u=s.isAndroid,h=(0,m.p)(),j=(0,i.useRouter)(),w=(0,l.H)().generateOneLink,O=[t].concat((0,r.A)((null==n?void 0:n.appNames)||[])),k=(0,N.I)(O),I=function(e){h.track(f.M.goToAppLinkClicked.eventName,{appName:e,upsell:!0});var t,n=k[e],r=n.OneLink,s=n.GooglePlay,a=n.AppStore;j.push(null!=(t=w(r))?t:u?s:a)};return(0,y.jsxs)("div",{className:g().stepContainer,children:[(0,y.jsx)(o.A,{className:g().stepIcon}),(0,y.jsxs)(p.E,{children:[(0,y.jsx)("span",{children:"Download the apps"}),a&&(0,y.jsxs)("span",{children:[":\xa0",O.map(function(e,t){return(0,y.jsxs)(c.Fragment,{children:[(0,y.jsx)("button",{className:g().buttonLink,onClick:function(){return I(e)},children:(0,y.jsx)(d.L,{children:b.F[e].displayName})}),t<O.length-1&&", "]},e)})]})]})]})},I=function(e){var t=e.userIdentity;return(0,y.jsxs)("div",{className:g().stepContainer,children:[(0,y.jsx)("div",{className:g().stepNumber,children:"2"}),(0,y.jsxs)(p.E,{children:["Sign in with the same account used here",t&&(0,y.jsxs)(y.Fragment,{children:[": ",(0,y.jsx)(h.X,{children:t})]})]})]})},P=function(){return(0,y.jsxs)("div",{className:g().stepContainer,children:[(0,y.jsx)("div",{className:g().stepNumber,children:"3"}),(0,y.jsx)(p.E,{children:"The report will pop up automatically and can also be found in Settings for the next 72 hours"})]})},_=function(e){var t=e.multipleProducts;return(0,y.jsxs)("div",{className:g().stepContainer,children:[(0,y.jsx)(u.A,{className:g().warnStepIcon}),(0,y.jsxs)(p.E,{children:["Do not start a new subscription or trial in the app",t?"s":"",". You're already subscribed."]})]})};let E=function(e){var t=e.multipleProducts,n=e.multipleUpsell,r=(0,v.F8)().flowId,s=(0,j.ur)().userIdentity,i=a()(g().container,g()[r],t&&g().multipleProducts,g().showStepsWithNumbers),c=a()(g().stepContainer,g()[r],t&&g().multipleProducts,g().showStepsWithNumbers);return(0,y.jsxs)("div",{className:i,children:[(0,y.jsx)("div",{className:c,children:n?(0,y.jsx)(k,{}):(0,y.jsx)(O,{multipleProducts:t})}),(0,y.jsx)("div",{className:c,children:(0,y.jsx)(I,{userIdentity:s})}),(0,y.jsx)("div",{className:c,children:(0,y.jsx)(_,{multipleProducts:t})}),(0,y.jsx)("div",{className:c,children:(0,y.jsx)(P,{})})]})}},96283:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>f,default:()=>b});var r=n(42969),s=n(14232),a=n(62505),i=n(84953),c=n(90668),o=n(24827),u=n(43949),l=n(37876);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=function(e){return(0,l.jsx)(c.n,p(p({},e),{},{confirmationText:"Got it â I'll sign in with the same account I used here"}))},f=!0;function b(e){var t=e.flowId,n=o.i[t].pages,r=(0,u.l)().sendPurchaseEvent;if((0,s.useEffect)(function(){r()},[r]),null!=n&&n.thankYou)return(0,l.jsx)(i.t,{flowId:t,NextStepsComponent:a.A,GoToAppComponent:h})}}},e=>{e.O(0,[9509,9285,4953,636,6593,8792],()=>e(e.s=3668)),_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.