1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2772a7c3-a0be-4066-bec0-b2b3582d2139",e._sentryDebugIdIdentifier="sentry-dbid-2772a7c3-a0be-4066-bec0-b2b3582d2139")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1103],{23690:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment/success-new",function(){return r(90742)}])},26813:(e,t,r)=>{"use strict";r.d(t,{GF:()=>c,QU:()=>u,Sz:()=>d,cC:()=>l,lj:()=>o,nD:()=>a,ue:()=>i,w8:()=>y,yJ:()=>s});var n=r(69677);let a=e=>Array.isArray(e)?a(e[0]):null==e?"":"".concat(e),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Number.parseInt(a(e),10);return Number.isFinite(r)?r:t},c=e=>{let t=a(e).toLowerCase();return+("1"===t||"true"===t)},i=e=>{let t=a(e).toLowerCase();return t?"apple_pay"===t||"applepay"===t||"apple"===t?"apple_pay":"google_pay"===t||"googlepay"===t||"google"===t?"google_pay":t.includes("link")?"link":"card":"card"},o=e=>Array.from(new Set([...a(e).split(",").map(e=>e.trim()).filter(Boolean).map(i),"card"])).join(","),u=(e,t)=>
1{let r=o(e),n=i(t);return Array.from(new Set([...r.split(","),n])).join(",")},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"card",r=(null==e?void 0:e.availablePaymentMethods)||{},n=o(t);return(r.applePay||r.apple_pay||r.applepay)&&(n=u(n,"apple_pay")),(r.googlePay||r.google_pay||r.googlepay)&&(n=u(n,"google_pay")),r.link&&(n=u(n,"link")),n},d=e=>i((null==e?void 0:e.expressPaymentType)||(null==e?void 0:e.paymentMethodType)||(null==e?void 0:e.payment_type)||(null==e?void 0:e.walletName)||""),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let r=0;r<t.length;r+=1){let n=a(e[t[r]]);if(""!==n)return n}return""},_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return s(p(e,t))},y=e=>{let{event:t,searchParams:r={},sku:c="",contractId:i=0,currentContractId:o=0,eventData:u={}}=e;(0,n.H5)(t,{...(e=>{let{searchParams:t={},sku:r="",contractId:n=0,currentContractId:c=0}=e,i=p(t,["type","typeProduct","tp"]),o=a(r)||p(t,["sku","productSku","productCode"]),u=s(n)||_(t,["contract_id","contractId"]),l=s(c)||_(t,["current_contract_id","currentContractId"]);return{al:p(t,["al","app_lang","appLanguage"]),dl:p(t,["dl","device_lang","deviceLanguage"]),dc:p(t,["dc","device_country","deviceCountry"]),timestamp:Date.now(),user_role:p(t,["user_role","userRole"]),user_id:_(t,["user_id","userId"]),circle_id:_(t,["circle_id","circleId"]),type:i,ar:p(t,["ar"]),func:p(t,["func"]),product:p(t,["product","product_name","productName"]),price_group:_(t,["price_group","priceGroup"]),sku:o,contract_id:u,current_contract_id:l}})({searchParams:r,sku:c,contractId:i,currentContractId:o}),...u})}},39092:e=>{e.exports={container:"StripeNewResult_container__JEnyd",icon:"StripeNewResult_icon__AWMAr",title:"StripeNewResult_title___s1bV",subtitle:"StripeNewResult_subtitle__t6k82",primaryButton:"StripeNewResult_primaryButton__ON28y",secondaryButton:"StripeNewResult_secondaryButton__YPmvq",card:"StripeNewResult_card__27CK0"}},69677:(e,t,r)=>{"use strict";r.d(t,{G2:()=>u,H5:()=>i,kX:()=>o});var n=r(36755),a=r(9408),s=r(94085);let c=new n.A,i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e&&window&&setTimeout(()=>{o(e,t)},0)},o=(e,t)=>{let r=(0,a.Ri)("uniqueId"),n=+localStorage.getItem("sessionNumber")||1,i=0,o="web",l=(0,a.Ri)("country");if(s.m0?o="android":s.un&&(o="ios"),window){let e=window.location.search,s=(0,a.mA)(e);s.deviceUid&&10===s.deviceUid.length&&(r=s.deviceUid),s.uid&&10===s.uid.length&&(r=s.uid),s.sessionNumber&&(n=s.sessionNumber),s.deviceType&&(o=s.deviceType),s.appVersion&&(i=s.appVersion),l&&(t.country=l),s.region&&(t.region=s.region),t.site="fmk",t.url=window.location.href}let d={deviceUid:r,action:e,sessionNumber:n,deviceType:o,appVersion:i,region:"global",ipc:1,env:"fmk-global-prod",addJson:JSON.stringify(Object.assign({timestamp:+new Date,referrer:sessionStorage.getItem("referrer")||u()},t))};return c.funnelTrack(d)},u=()=>{let e=document.referrer;return sessionStorage.setItem("referrer",e),e}},90742:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(37876),a=r(14232),s=r(54587),c=r.n(s),i=r(89099),o=r(42234),u=r(99253);let l={src:"/_next/static/media/stripeSuccess.7409a4cd.svg",height:76,width:76,blurWidth:0,blurHeight:0};var d=r(39092),p=r.n(d),_=r(26813);let y=()=>{let e=(0,i.useRouter)(),t=(0,_.nD)(e.query.lang||e.locale||"en").toLowerCase(),r=o["pt-br"===t?"pt-BR":t]||o[t]||o.en,s=(0,a.useRef)(!1),d=(0,a.useRef)(!1),y=(0,a.useRef)(!1),m=(0,_.nD)(e.query.type||e.query.typeProduct||"license"),g=(0,_.lj)(e.query.available_payment_methods||"card"),w=(0,_.ue)(e.query.selected_payment_method||"card"),h=(0,_.GF)(e.query.is_saved_card),f=(0,_.nD)(e.query.sku),v=(0,_.yJ)(e.query.contract_id||e.query.contractId),b=(0,_.yJ)(e.query.current_contract_id||e.query.currentContractId),k=(0,a.useMemo)(()=>"fmk://successful_payment?type=".concat(encodeURIComponent(m||"license")),[m]);(0,a.useEffect)(()=>{e.isReady&&!s.current&&((0,_.w8)({event:"stripe_checkout_success",searchParams:e.query,sku:f,contractId:v,currentContractId:b,eventData:{available_payment_methods:g,selected_payment_method:w,is_saved_card:h}}),s.current=!0)},[e.isReady,e.query,f,v,b,g,w,h]),(0,a.useEffect)(()=>
1{if(!e.isReady)return;let t=()=>{y.current||d.current||((0,_.w8)({event:"stripe_checkout_success_close",searchParams:e.query,sku:f,contractId:v,currentContractId:b,eventData:{available_payment_methods:g,selected_payment_method:w,is_saved_card:h}}),d.current=!0)};return window.addEventListener("pagehide",t),()=>window.removeEventListener("pagehide",t)},[e.isReady,e.query,f,v,b,g,w,h]);let N=(r.st_new_back_button||"Return to app").replace("${APP}","Findmykids");return(0,n.jsxs)("div",{className:p().container,children:[(0,n.jsx)(c(),{src:l,width:76,height:76,alt:"success",className:p().icon}),(0,n.jsx)("h1",{className:p().title,children:r.st_new_success_title||"Payment successful"}),(0,n.jsx)("p",{className:p().subtitle,children:r.st_new_success_subtitle||"Return to the app to continue"}),(0,n.jsx)(u.$,{className:p().primaryButton,label:N,onClick:()=>{y.current=!0,(0,_.w8)({event:"stripe_checkout_success_return_to_app",searchParams:e.query,sku:f,contractId:v,currentContractId:b,eventData:{available_payment_methods:g,selected_payment_method:w,is_saved_card:h}}),window.location.href=k}})]})},m=function(){return(0,n.jsx)(y,{})}}},e=>{e.O(0,[4587,6099,6755,8510,636,6593,8792],()=>e(e.s=23690)),_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.