PageSourceSearch

https://www.sarstedt.com/_next/static/chunks/pages/[country]/confirm-notification-9d3b0c9110771ee8.js

js sarstedt.com collected 2026-10-03 21:32:38 UTC 3,130 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3623],{28422:(n,i,e)=>{"use strict";e.r(i),e.d(i,{__N_SSP:()=>N,default:()=>b});var o=e(37876),t=e(95068),r=e(3934),c=e(85671);async function s({sku:n,email:i,channelId:e,locale:o}){try{let o=await fetch("/api/back-in-stock/confirm-entry",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sku:n,email:i,channelId:e})}),t=await o.json();if(!o.ok)return console.error("Failed to confirm notification",t.message),{success:!1};return{success:!0,variantName:t.data?.variantName}}catch(n){return console.error("Error confirming notification:",n),{success:!1}}}var a=e(14430),l=e(12356),f=e(14169),m=e(30647),d=e(25407),u=e(38248),h=e(52913),x=e(77328),j=e.n(x),g=e(48230),p=e.n(g),$=e(89099),_=e(14232),y=e(7569),k=e(559),N=!0;function b(n){let[i,e]=(0,_.useState)(!0),[x,g]=(0,_.useState)(!1),[N,b]=(0,_.useState)(""),{t:w}=(0,h.A)("backInStock"),E=(0,$.useRouter)(),{language:F,country:S}=(0,a.JK)(E);(0,_.useEffect)(()=>{!async function(){let i=n.channelId||(0,l.i)((0,u.getCookie)(r.Et));if(!i)return e(!1);let o=await s({sku:n.sku,email:n.email,channelId:i,locale:{language:F,country:S}});g(o.success),b(o.variantName||""),e(!1)}()},[]);let v={seo:{title:w("seo:confirmNotificationTitle"),description:w("seo:confirmNotificationDescription"),canonicalUrl:`${(0,t.$_)()}/${F}/${(0,a.$9)(S)}/confirm-notification`,hreflang:{currentUrl:`${(0,t.$_)()}/${F}/${(0,a.$9)(S)}/confirm-notification`,languageSlugs:{en:"/confirm-notification",de:"/confirm-notification",ru:"/confirm-notification",ja:"/confirm-notification",pt:"/confirm-notification",fr:"/confirm-notification",es:"/confirm-notification"}},robots:{noFollow:!0,noIndex:!0}}},P=(0,t.cp)(v);return i?(0,o.jsx)(f.s,{direction:"column",align:"center",justify:"center",mt:"96px",children:(0,o.jsx)(c.mP,{})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j(),{children:(0,o.jsx)(o.Fragment,{children:P})}),x?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(f.s,{direction:"column",align:"center",justify:"center",mt:"96px",children:[(0,o.jsx)(f.s,{mb:"sm",children:(0,o.jsx)(k.tF0,{size:"64px",color:"var(--mantine-color-sargreen-5)"})}),(0,o.jsx)("h1",{children:w("confirmationHeadline")}),(0,o.jsxs)(m.E,{ta:"center",size:"22px",children:[`${w("confirmationBody1")}`," ",(0,o.jsx)("strong",{children:`${N}`})," ",`${w("confirmationBody2")}`]}),(0,o.jsx)(d.$,{component:p(),href:`/${F}/${(0,a.$9)(S)}`,mt:"lg",mb:"96px",children:w("goHome")})]})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(f.s,{direction:"column",align:"center",justify:"center",mt:"96px",children:[(0,o.jsx)(f.s,{mb:"sm",children:(0,o.jsx)(y.Vgg,{size:"60px",color:"var(--mantine-color-sarred-5)"})}),(0,o.jsx)("h1",{children:w("confirmationFailHeadline")}),(0,o.jsx)(m.E,{ta:"center",size:"22px",children:w("confirmationFailBody")}),(0,o.jsx)(d.$,{component:p(),href:`/${F}/${(0,a.$9)(S)}`,mt:"lg",mb:"96px",children:w("goHome")})]})})]})}},64490:(n,i,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[country]/confirm-notification",function(){return e(28422)}])}},n=>{n.O(0,[7671,8752,636,6593,8792],()=>n(n.s=64490)),_N_E=n.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.