PageSourceSearch

https://touchnote.com/_next/static/chunks/pages/[locale]-dec364efeb69de6e.js

js touchnote.com collected 2026-10-01 11:48:37 UTC 12,266 bytes, 1 lines download raw bytes

1try{!function(){var 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]="23581a3d-b363-4ae9-9802-e31ef8fd5846",e._sentryDebugIdIdentifier="sentry-dbid-23581a3d-b363-4ae9-9802-e31ef8fd5846")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9422],{11593:e=>{e.exports={trustpilotHorizontalWrapper:"trustpilot-horizontal-widget_trustpilotHorizontalWrapper__uG9he",trustpilotHorizontal:"trustpilot-horizontal-widget_trustpilotHorizontal__RKojS"}},27609:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>el,default:()=>ec});var a=n(37876),r=n(45105),s=n.n(r),o=n(62867),i=n(14232),l=n(31588),c=n(85667),d=n(18334),u=n(67768),p=n(64609),m=n(50540),h=n(55225),g=n(74642),f=n(60603),y=n(86189),w=n(48936),b=n(6872),x=n(24295),v=n(53152),k=n(42084),T=n(43715),C=n(85013),j=n(97497),S=n(2330),_=n(72145),P=n(5551);let E=["loginLinkToken","draftId","entryPoint"],L=e=>{let{children:t}=e,{isHandling:n,error:r,retry:s,clearError:o}=(()=>{var e;let{value:t,isLoading:n}=(0,C.p)("loginLinkToken","string"),{value:a,isLoading:r}=(0,C.p)("draftId","string"),{value:s,isLoading:o}=(0,C.p)("entryPoint","string"),{ctx:l,refreshContext:c,requestContextState:L}=(0,y._8)(),N=(0,u.jE)(),{locale:R}=(0,T.Y)(),{trackEvent:H}=(0,_.z1)(),{editorDraft:I,setEditorDraft:z,isLoadingEditorDraft:M}=(0,x.J)(),[,D]=(0,w.F)("activeDraftId"),F=(0,S.r)(),G=(0,j.i)(),{url:W,isReady:A}=(0,P.C)("front"),O=(0,v.G)(I),[U,Y]=(0,i.useState)(!1),[V,q]=(0,i.useState)(null),K=(0,i.useRef)(!1),B=(0,i.useCallback)(()=>{G(E)},[G]),X=(0,i.useCallback)(e=>{z(t=>(0,p.jM)(t,t=>{t&&(0,f.p)(t,e)}))},[z]),J=(0,k.vP)({draft:I,dispatchDraft:X}),$=(0,i.useCallback)(async()=>{if(!t||K.current||n||r||o||"loading"===L||!l)return;K.current=!0,a&&Y(!0),q(null);let e="user"===L,s=a?(e=>{var t;return null!=(t=(0,b.wh)("editorDrafts").find(t=>t.draftID===e))?t:null})(a):null;try{let n=await (0,m.KY)(R,e=>(0,h.bX)(null!=e?e:l,{loginLinkToken:t}));e&&((0,y.wT)(),N.clear()),(0,m.tH)(n.token),H("signInSuccess",(0,g.sU)({type:"loginLink",source:g.N$.signUpWeb})),s&&z(s),a&&D(a),await c(),a||(B(),Y(!1))}catch(t){K.current=!1;let e=t instanceof Error?t:Error("Could not redeem login link");q(e),(0,d.Cp)(e),Y(!1)}},[l,a,r,o,n,R,t,N,c,L,D,z,B,H]);return(0,i.useEffect)(()=>{$().catch(()=>{})},[$]),(0,i.useEffect)(()=>{var e,n;if(!a||!t||!U||"user"!==L||!A||M)return;let r=()=>{B(),Y(!1)};if(!I)return void F.replace(W);if((null!=(n=null==(e=I.localRecipients)?void 0:e.length)?n:0)===0){("checkout"===s||"address"===s)&&O(s),r();return}if(J.isPending)return void J.retry().catch(()=>{});J.error||(("checkout"===s||"address"===s)&&O(s),r())},[a,I,W,s,A,M,U,J.error,J.isPending,J.retry,t,O,L,F,B]),{isHandling:U&&!!t&&!!a,error:null!=(e=J.error)?e:V,retry:()=>{if(J.error)return void J.retry().catch(()=>{});K.current=!1,$().catch(()=>{})},clearError:()=>{q(null),J.clearError(),K.current=!1,Y(!1)}}})();return n?(0,a.jsx)(l.a,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.R,{modalTitle:"We couldn't sign you in",text:"Please try again or request a new login link from your email.",isOpen:!!r,confirmCTAText:"Try again",declineCTAText:"Not now",onConfirm:s,onClose:o,"data-sentry-element":"ConfirmationModal","data-sentry-source-file":"login-link-return-handler.tsx"}),t]})};var N=n(41228),R=n.n(N),H=n(78368),I=n(11079),z=n(5178),M=n(11593),D=n.n(M);let F=()=>{let e=(0,i.useRef)(null),[t,n]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{window.Trustpilot&&n(!0)},[]),(0,i.useEffect)(()=>{if(t&&e.current){var n;null==(n=window.Trustpilot)||n.loadFromElement(e.current,!0)}},[t]),(0,a.jsxs)("div",{className:D().trustpilotHorizontalWrapper,"data-sentry-component":"TrustPilotHorizontalWidget","data-sentry-source-file":"trustpilot-horizontal-widget.tsx",children:[(0,a.jsx)(s(),{onLoad:()=>{window.Trustpilot&&n(!0)},type:"text/javascript",src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",async:!0,"data-sentry-element":"Script","data-sentry-source-file":"trustpilot-horizontal-widget.tsx"}),(0,a.jsx)("div",{className:"".concat(D().trustpilotHorizontal," trustpilot-widget"),ref:e,"data-locale":"en-US","data-template-id":"5406e65db0d04a09e042d5fc","data-businessunit-id":"4b82ad1f0000640005054a41","data-style-height":"28px","data-style-width":"100%","data-theme":"light","data-token":"266b3da5-3ef6-45fa-8c1f-6a56bcca2e40",children:(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/www.touchnote.com",target:"_blank",rel:"noopener",children:"Trustpilot"})})]})};var G=n(18172),W=n(26975),A=n.n(W);let O={__typename:"TestimonialsV2Record",testimonialsV2Heading:"Millions of real and heartfelt cards sent globally",testimonials:["https://images.touchnote.com/content/testimonial-4.webm","https://images.touchnote.com/content/testimonial-5.webm","https://images.touchnote.com/content/testimonial-6.webm","https://images.touchnote.com/content/testimonial-3.webm"].map((e,t)=>
1({__typename:"VideoTestimonialRecord",id:"video-".concat(t+1),video:{url:e},externalLink:e}))},U=R()(()=>n.e(3840).then(n.bind(n,63840)),{loadableGenerated:{webpack:()=>[63840]},ssr:!1}),Y=R()(()=>n.e(9156).then(n.bind(n,79156)),{loadableGenerated:{webpack:()=>[79156]},ssr:!1}),V=R()(()=>Promise.resolve().then(n.bind(n,34285)).then(e=>e.TestimonialsV2),{loadableGenerated:{webpack:()=>[34285]},ssr:!1}),q=R()(()=>Promise.resolve().then(n.bind(n,79004)).then(e=>e.TrustPilotCarousel),{loadableGenerated:{webpack:()=>[79004]},ssr:!1}),K=R()(()=>n.e(7696).then(n.bind(n,47696)).then(e=>e.TrustPilotMicroSlider),{loadableGenerated:{webpack:()=>[47696]},ssr:!1}),B=R()(()=>n.e(3842).then(n.bind(n,13842)),{loadableGenerated:{webpack:()=>[13842]},ssr:!1}),X=R()(()=>n.e(7298).then(n.bind(n,37298)),{loadableGenerated:{webpack:()=>[37298]},ssr:!1}),J=R()(()=>n.e(6332).then(n.bind(n,46332)),{loadableGenerated:{webpack:()=>[46332]},ssr:!1}),$=e=>{let{productCarousel:t,categoryTabs:n}=e,{locale:r}=(0,T.Y)(),{trackCTATapped:s}=(0,H.c)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(F,{"data-sentry-element":"TrustPilotHorizontalWidget","data-sentry-source-file":"homepage-new-design.tsx"}),(0,a.jsx)(G.H,{className:A().trustpilotMicroStar,"data-sentry-element":"TrustPilotMicroStar","data-sentry-source-file":"homepage-new-design.tsx"}),t,n,(0,a.jsx)(U,{locale:r,trackCTATapped:s,"data-sentry-element":"ArtOfKeepingTouchSection","data-sentry-source-file":"homepage-new-design.tsx"}),(0,a.jsx)(Y,{trackCTATapped:s,locale:r,"data-sentry-element":"MakeItPersonalSection","data-sentry-source-file":"homepage-new-design.tsx"}),(0,a.jsxs)("section",{className:(0,I.lM)(A().videoTestinmonialContainer,A().sectionBottomSpacing),children:[(0,a.jsx)(z.m,{"data-sentry-element":"Container","data-sentry-source-file":"homepage-new-design.tsx",children:(0,a.jsx)("h2",{className:A().sectionTitle,children:O.testimonialsV2Heading})}),(0,a.jsx)("div",{className:A().contentSpacing,children:(0,a.jsx)(V,{data:O,additionalClasses:{innerContainer:A().videoTestinmonialInnerContainer},"data-sentry-element":"TestimonialsV2","data-sentry-source-file":"homepage-new-design.tsx"})})]}),(0,a.jsx)("div",{className:A().trustpilotCarousel,children:(0,a.jsx)("div",{className:A().trustpilotCarouselInner,children:(0,a.jsx)(q,{container:!1,"data-sentry-element":"TrustPilotCarousel","data-sentry-source-file":"homepage-new-design.tsx"})})}),(0,a.jsx)(z.m,{className:A().trustpilotMicroSlider,"data-sentry-element":"Container","data-sentry-source-file":"homepage-new-design.tsx",children:(0,a.jsx)(K,{"data-sentry-element":"TrustPilotMicroSlider","data-sentry-source-file":"homepage-new-design.tsx"})}),(0,a.jsx)(B,{trackCTATapped:s,"data-sentry-element":"AppDownloadSection","data-sentry-source-file":"homepage-new-design.tsx"}),(0,a.jsx)(X,{locale:r,trackCTATapped:s,"data-sentry-element":"BenefitsSection","data-sentry-source-file":"homepage-new-design.tsx"}),(0,a.jsx)(J,{trackCTATapped:s,"data-sentry-element":"InstagramSection","data-sentry-source-file":"homepage-new-design.tsx"})]})};var Q=n(26741),Z=n(91576),ee=n(18271),et=n(40230),en=n(22324),ea=n(41591);let er=(e,t)=>{let n=(0,i.useRef)(0);(0,i.useEffect)(()=>{let a=()=>{let a=document.body.scrollHeight-window.innerHeight,r=n.current/a,s=window.scrollY/a;r<e&&s>=e&&t(),n.current=window.scrollY};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[t])};var es=n(83750),eo=n(1319),ei=n(68125),el=!0;let ec=e=>{var t;let{homepage:n,layout:r,blockDependencies:l}=e,{requestContextState:c}=(0,y._8)(),d=(0,S.r)(),{locale:u,language:p,apiCountryId:m}=(0,T.Y)(),{trackEvent:h}=(0,_.z1)(),{isMobileOrTablet:g}=(0,ea.Ln)(),[f,b,x]=(0,w.F)("didSeeFaceSwapModal");(0,i.useEffect)(()=>{"user"===c&&!1===g&&d.push({pathname:(0,Z.O2)("/home",u),query:d.query})},[c,"on",g]),er(.25,()=>h("homeScreenScrolled25%")),er(.5,()=>h("homeScreenScrolled50%")),er(1,()=>h("homeScreenScrolled100%"));let v=(0,eo.mG)(u),k=(0,eo.sF)(u),C=null==(t=es.eq.find(e=>e.id===m))?void 0:t.abbreviation,j=(0,en.SF)(n.blocks),P=(0,en.PL)(n.blocks,l),E=e=>P[j.findIndex(t=>t.block.some(t=>t.__typename===e))],N=E("HeroBannerV3Record"),R=E("ProductCarouselRecord"),H=E("CategoryTabRecord");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s(),{src:"".concat("https://tag.mention-me.com","/api/v2/referreroffer/mm53837a1d?situation=homepage_banner_cornerpeel&implementation=overlay&locale=").concat(p),"data-sentry-element":"Script","data-sentry-source-file":"index.page.tsx"}),(0,a.jsx)(ee.G,{title:v,description:k,structuredData:[(0,a.jsx)(o.Ws,{type:"Organization",name:"Touchnote UK",url:"https://touchnote.com/".concat(u,"/"),logo:"https://touchnote.com/assets/touchnote-horizontal.png",sameAs:["https://www.instagram.com/touchnote","https://facebook.com/TouchNote/","https://twitter.com/touchnote"],contactPoint:[{"@type":"ContactPoint",contactType:"Customer Support",email:"[email protected]",areaServed:C,availableLanguage:["English"]}],hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:C,returnPolicyCategory:"https://schema.org/MerchantReturnNotPermitted"}},"OrganizationJsonLd")],"data-sentry-element":"Seo","data-sentry-source-file":"index.page.tsx"}),(0,a.jsx)(Q.P,{data:r,"data-sentry-element":"Layout","data-sentry-source-file":"index.page.tsx",children:(0,a.jsxs)(L,{"data-sentry-element":"LoginLinkReturnHandler","data-sentry-source-file":"index.page.tsx",children:[N,(0,a.jsx)($,{productCarousel:R,categoryTabs:H,"data-sentry-element":"HomepageNewDesign","data-sentry-source-file":"index.page.tsx"}),(0,a.jsx)(ei.o,{isOpen:!1,onClose:()=>b(!0),onClickCTA:()=>b(!0),"data-sentry-element":"FaceSwapModal","data-sentry-source-file":"index.page.tsx"}),(0,a.jsx)(et.v,{"data-sentry-element":"LoggedInWebToAppExp","data-sentry-source-file":"index.page.tsx"})]})})]})}}
1,53152:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});var a=n(14232),r=n(91576),s=n(48936),o=n(41591),i=n(87911),l=n(43715),c=n(2330),d=n(5551);let u=e=>{let t=(0,c.r)(),{locale:n}=(0,l.Y)(),{isMobileOrTablet:u}=(0,o.Ln)(),{url:p,isReady:m}=(0,d.C)("front"),h=(0,i.R)(e),[,g]=(0,s.F)("emailFirstReturnTab");return(0,a.useCallback)(e=>"checkout"===e?void h():u?void t.replace((0,r.O2)("/checkout/address",n)):void(g("Recipients"),m&&t.replace(p)),[h,p,m,u,n,t,g])}},74642:(e,t,n)=>{"use strict";n.d(t,{N$:()=>r,Sh:()=>s,sU:()=>o});let a={checkout:"checkout"},r={signInWeb:"signInWeb",signUpWeb:"signUpWeb",simpleLogin:"simpleLogin",ccfLocalDeliveryDetails:"ccfLocalDeliveryDetails"},s={existing:"existing",new:"new"},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{origin:a.checkout,...e}}},74798:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]",function(){return n(27609)}])},87911:(e,t,n)=>{"use strict";n.d(t,{R:()=>c});var a=n(14232),r=n(91576),s=n(48936),o=n(92713),i=n(43715),l=n(2330);let c=e=>{let t=(0,l.r)(),{locale:n}=(0,i.Y)(),[,c]=(0,s.F)("emailFirstCheckout"),{isShowingMembershipPaywall:d}=(0,o.U)({editorDraft:e});return(0,a.useCallback)(()=>{c(!1),t.replace((0,r.O2)("/checkout",n))},[d,n,"off","a",t,c])}}},e=>{e.O(0,[7366,4609,6374,6741,6926,9530,999,4400,5098,7705,7499,636,6593,8792],()=>e(e.s=74798)),_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.