1!function(){try{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]="3a31c065-f14f-42d7-a199-8a03da845dee",e._sentryDebugIdIdentifier="sentry-dbid-3a31c065-f14f-42d7-a199-8a03da845dee")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6702],{1474:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(14232),a=o(89099),i=o(27994),r=o(29329);let l=()=>{var e,t;let{productInfo:o,setProductInfo:l}=(0,i.O)(),c=(0,a.useRouter)(),{cookieCountry:s}=(0,r.I)(),[d,u]=(0,n.useState)(null),[p,h]=(0,n.useState)(!1),[f,m]=(0,n.useState)(void 0),g=null==(e=c.locale)?void 0:e.toLowerCase(),b=null==(t=c.locale)?void 0:t.split("-")[1].toLowerCase(),_=(null==s?void 0:s.toLowerCase())||b;return(0,n.useEffect)(()=>{g&&_&&(async()=>{h(!0);try{let e=await fetch("/data/product-info/".concat(g,"/").concat(_,".json"));if(!e.ok)throw Error("Failed to fetch: ".concat(e.statusText));let t=await e.json();(null==t?void 0:t.productInfo)&&(u(t.productInfo),l(t.productInfo))}catch(e){m(e instanceof Error?e:Error("Unknown fetch error"))}finally{h(!1)}})()},[g,s,_,b,l]),{productInfo:d||o,loading:p,error:f}}},13869:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(89099),a=o(14232),i=o(94085),r=o(13983);let l=()=>{let e=(0,n.useRouter)(),t=(0,r.L)(e.query),o="https://onceuponapp.onelink.me",[l,c]=(0,a.useState)(o),[s,d]=(0,a.useState)(o),[u,p]=(0,a.useState)(o);return(0,a.useEffect)(()=>{if(t){let e=Object.entries(t).map(e=>e.join("=")).join("&"),n=o+"/faM8?".concat(e),a=o+"/hTrF?".concat(e);c(n),d(a),i.m0?p(a):p(n)}else{let e=o+"/RLy8/bc075980",t=o+"/baCm/dbd68733";c(e),d(t),i.m0?p(t):p(e)}},[i.m0,i.un,e.query]),{appStoreUrl:l,googlePlayUrl:s,activeOsUrl:u}}},13983:(e,t,o)=>{"use strict";o.d(t,{L:()=>n});let n=e=>{let{c:t,af_c_id:o,af_channel:n,af_adset:a,af_adset_id:i,af_ad:r,af_ad_id:l,clickid:c,pid:s,af_sub1:d,af_sub2:u,af_sub3:p,af_sub4:h,af_sub5:f}=e;return t?{c:t,af_c_id:null!=o?o:"",af_channel:null!=n?n:"",af_adset:null!=a?a:"",af_adset_id:null!=i?i:"",af_ad:null!=r?r:"",af_ad_id:null!=l?l:"",clickid:null!=c?c:"",pid:null!=s?s:"",af_sub1:null!=d?d:"",af_sub2:null!=u?u:"",af_sub3:null!=p?p:"",af_sub4:null!=h?h:"",af_sub5:null!=f?f:""}:null}},22010:()=>{},26702:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var n=o(37876),a=o(31392),i=o(21513),r=o(14015);o(60668),o(63881);var l=o(54587),c=o.n(l),s=o(18805),d=o(84715),u=o(97722),p=o(59661);o(67813);let h=e=>{let{keys:t}=e;return(0,n.jsx)(a.az,{className:"i8f3420",background:"misty",children:(0,n.jsx)("ul",{children:t.map(e=>(0,n.jsx)("li",{className:"i8f3421",children:(0,n.jsx)(s.x6,{i18nKey:e,components:{facttitle:(0,n.jsx)(a.EY,{as:"span",fontSize:"body_s",fontWeight:"semibold",children:"title"})}},e)},e))})})};var f=o(78095),m=o(1474),g=o(94570);o(48669);let b=e=>{let{...t}=e;return(0,n.jsx)("a",{id:"techradar-review-link",href:"https://www.techradar.com/cameras/photography/once-upon-photo-book-review",target:"_blank",rel:"noopener noreferrer",className:"_1d2vzwo0",children:(0,n.jsxs)(a.mc,{className:"_1d2vzwo1",...t,children:[(0,n.jsx)(a.EY,{as:"span",fontSize:"caption_xs",fontWeight:"normal",style:{height:18},children:"4/5"}),(0,n.jsx)(g.A,{width:90,height:20,display:"flex"}),(0,n.jsx)(c(),{src:"/images/TechRadar_logo.svg",alt:"Techradar",width:120,height:20,fetchPriority:"low"})]})})};var _=o(89099),x=o(73339);let y={"en-gb":"/photobooks","en-us":"/photobooks","en-au":"/photobooks","en-ca":"/photobooks","da-dk":"/fotoboger","de-de":"/fotobucher","es-es":"/albumes-de-fotos","fr-fr":"/albums-photos","it-it":"/fotolibri","nl-nl":"/fotoboeken","nb-no":"/fotoboker","sv-se":"/fotobocker"},w=e=>{var t;let{heading:o}=e,{locale:a,asPath:i}=(0,_.useRouter)(),{t:r}=(0,d.i)(),l=i.split("?")[0].split("#")[0],c=null!=(t=y[a])?t:null;if(!c||l===c)return null;let s=[{label:r("photobooks_title"),href:c},{label:o,href:l}];return(0,n.jsx)(x.A,{crumbs:s})},v=e=>{let{heading:t,intro:o,productType:l,startCreateButtonText:g,startCreateButtonId:_,heroSlides:x,...y}=e,v=(0,r.$)(y,{builderBlock:!0,builderState:!0}),{productInfo:j}=(0,m.A)(),{t:k}=(0,d.i)(),L=null==x?void 0:x.map(e=>"string"==typeof e?{src:e,altText:"".concat(k("photobooks_title"))}:e),E=null==j?void 0:j.find(e=>"card-13x18cm"===e.key),z=null==j?void 0:j.find(e=>"book-20x20cm-soft-cover"===e.key),A=E?"".concat(null==E?void 0:E.price," ").concat(null==E?void 0:E.
1currency):"...",I=z?"".concat(null==z?void 0:z.price," ").concat(null==z?void 0:z.currency):"...",{cmsOrLokalise:N}=(0,d.j)();return(0,n.jsxs)(a.az,{position:"relative",...v,children:[(0,n.jsx)(a.az,{className:"brvpru0",children:L&&(0,n.jsx)(n.Fragment,{children:L[0]&&(0,n.jsx)(c(),{alt:L[0].altText,draggable:!0,priority:!0,fetchPriority:"high",fill:!0,sizes:"(max-width: ".concat(i.i3.breakpoints.tablet,") 100vw, 50vw"),style:{objectFit:"cover"},src:L[0].src})})}),(0,n.jsxs)(a.mc,{className:"brvpru1",children:[(0,n.jsx)("div",{}),(0,n.jsxs)(a.az,{paddingLeft:{mobile:"none",desktop:"xxl"},children:[(0,n.jsx)(a.az,{paddingTop:{mobile:"xs",desktop:"s"},marginBottom:{mobile:"l",desktop:"none"},className:"brvpru3",children:(0,n.jsx)(w,{heading:t})}),(0,n.jsxs)(a.az,{paddingTop:{mobile:"none",desktop:"xxxl"},gap:"s",children:[(0,n.jsx)(a.DZ,{marginBottom:"xs",as:"h1",fontSize:"title_xl",fontWeight:"normal",lineHeight:"xs",children:t}),(0,n.jsx)(a.EY,{fontSize:"preamble_m",as:"p",marginBottom:"s",fontWeight:"normal",children:"print"!==l?(0,n.jsx)(s.x6,{i18nKey:"productpage_p
1hotobooks_subheading",values:{price:I},components:{price:(0,n.jsx)(a.EY,{as:"span",fontWeight:"semibold",children:"price"})}},"productpage_photobooks_subheading"):(0,n.jsx)(s.x6,{i18nKey:"productpage_prints_subheading",values:{price:A},components:{price:(0,n.jsx)(a.EY,{as:"span",fontWeight:"semibold",children:"price"})}},"productpage_prints_subheading")}),(0,n.jsx)(a.EY,{fontSize:"body_s",as:"p",marginBottom:"m",children:N(o,"print"!==l?"productpage_photobooks_body":"productpage_prints_body")}),(0,n.jsx)(f.A,{productType:"print"===l?"print":"book",buttonText:g,id:_,defaultLocalKey:u.$,size:"l",type:"primary"}),(0,n.jsxs)(a.az,{className:"brvpru2",children:[(0,n.jsx)(p.A,{variant:"micro"}),(0,n.jsx)(b,{})]}),(0,n.jsx)(h,{keys:"print"===l?Array.from({length:4}).map((e,t)=>"productpage_prints_factbox_line".concat(t+1)):Array.from({length:4}).map((e,t)=>"productpage_photobooks_factbox_line".concat(t+1))})]})]})]})]})}},48669:()=>{},59096:(e,t,o)=>{"use strict";o.d(t,{I:()=>c});var n=o(37876);o(14232);var a=o(67060);let i={add:"icon-add",apple_logo:"icon-apple_logo",arrow_right:"icon-arrow_right",basket_add:"icon-basket_add",basket:"icon-basket",book:"icon-book",box:"icon-box",check_mark:"icon-check_mark",checklist:"icon-checklist",chevron_down:"icon-chevron_down",chevron_left:"icon-chevron_left",chevron_right:"icon-chevron_right",chevron_up:"icon-chevron_up",close:"icon-close",cloud_logo:"icon-cloud_logo",collapse:"icon-collapse",color:"icon-color",copy:"icon-copy",credit_card:"icon-credit_card",crop:"icon-crop",discount:"icon-discount",download:"icon-download",drag_indicator:"icon-drag_indicator",edit:"icon-edit",exclamation_mark:"icon-exclamation_mark",expand:"icon-expand",eye_closed:"icon-eye_closed",eye:"icon-eye",facebook_logo:"icon-facebook_logo",flip:"icon-flip",forbidden:"icon-forbidden",frame:"icon-frame",globe:"icon-globe",google_logo:"icon-google_logo",google_photos_logo:"icon-google_photos_logo",home:"icon-home",image_caption:"icon-image_caption",image_enhance:"icon-image_enhance",image:"icon-image",information_i:"icon-information_i",information:"icon-information",layout:"icon-layout",lock:"icon-lock",mail:"icon-mail",menu:"icon-menu",mirror:"icon-mirror",more:"icon-more",notifications:"icon-notifications",open_new_window:"icon-open_new_window",phone:"icon-phone",qr_code:"icon-qr_code",question_mark:"icon-question_mark",search:"icon-search",subtract:"icon-subtract",support:"icon-support",sync:"icon-sync",text_style_large:"icon-text_style_large",text:"icon-text",title:"icon-title",trash:"icon-trash",triangle:"icon-triangle",tune:"icon-tune",user:"icon-user",users:"icon-users",verified:"icon-verified",window_new:"icon-window_new",zoom_in:"icon-zoom_in"};o(60668),o(22010);var r={small:"cn8tj1",default:"cn8tj2",large:"cn8tj3"};let l="/icons/icon-sprite.svg",c=e=>{let{name:t,className:o,size:c="default",style:s,...d}=e,u=i[t];return u?(0,n.jsx)(a.default,{as:"span",className:o,style:s,...d,children:(0,n.jsx)("svg",{"aria-hidden":!0,focusable:"false",fill:"currentColor",className:"".concat("cn8tj0"," ").concat(r[c]),children:(0,n.jsx)("use",{href:"".concat(l,"#").concat(u),xlinkHref:"".concat(l,"#").concat(u),fill:"currentColor"})})}):null}},59661:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(37876),a=o(14232),i=o(31392),r=o(21513),l=o(87649),c=o(89099);let s=e=>{var t;let{variant:o="micro",...s}=e,d=(0,a.useRef)(null),u=(0,c.useRouter)(),[p,h]=(0,a.useState)(!1);(0,a.useEffect)(()=>{h(!0)},[]),(0,a.useEffect)(()=>{p&&window.Trustpilot&&window.Trustpilot.loadFromElement(d.current,!0)},[p]);let f=null!=(t=u.locale)?t:"en-GB",m=f.split("-")[0];return p?(0,n.jsx)(i.mc,{...s,className:l.k[o],children:"micro"===o?(0,n.jsx)("div",{ref:d,className:"trustpilot-widget",style:{marginLeft:-16},"data-locale":f,"data-template-id":"5419b732fbfb950b10de65e5","data-businessunit-id":"5e9572672431b30001757b92","data-style-height":"20px","data-theme":"light","data-style-width":"auto",children:(0,n.jsx)("a",{href:"https://uk.trustpilot.com/review/www.three.co.uk",target:"_blank",children:"Trustpilot"})}):"microcombo"===o?(0,n.jsx)("div",{ref:d,className:"trustpilot-widget",style:{marginLeft:-32,width:"fit-content"},"data-locale":f,"data-template-id":"5419b637fa0340045cd0c936","data-businessunit-id":"5e9572672431b30001757b92","data-style-height":"26px","data-theme":"light","data-style-width":"auto",children:(0,n.jsx)("a",{href:"https://uk.trustpilot.com/review/www.three.co.uk",target:"_blank",children:"Trustpilot"})}):(0,n.jsx)("div",{ref:d,className:"trustpilot-widget","data-locale":f,"data-template-id":"53aa8912dec7e10d38f59f36","data-businessunit-id":"5e9572672431b30001757b92","data-style-width":"100%","data-theme":"light","data-stars":"3,4,5","data-review-languages":m,"data-font-family":"Noto Sans","data-text-color":r.G6.colors.ljung1,children:(0,n.jsx)("a",{href:"https://www.trustpilot.com/review/onceupon.photo",target:"_blank",rel:"noopener",children:"Trustpilot"})})}):null}},63611:()=>{},63881:()=>{},67813:()=>{},73339:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(37876),a=o(14232),i=o(31392),r=o(89099),l=o(48230),c=o.n(l),s=o(59096);let d=e=>{let{crumbs:t}=e,{locale:o,defaultLocale:l}=(0,r.useRouter)();return(0,n.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,n.jsxs)(i.az,{as:"ol",gap:"xxs",display:"flex",children:[(0,n.jsx)("li",{style:{display:"flex",alignItems:"center"},children:(0,n.jsx)(c(),{href:o===l?"/":"/".concat(o),"aria-label":"Home",style:{display:"flex",alignItems:"center",color:"currentColor"},children:(0,n.jsx)(s.I,{name:"home","aria-hidden":"true"})})}),t.map((e,o)=>{let r=o===t.length-1;return(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)("li",{style:{display:"flex",alignItems:"center"},"aria-hidden":"true",children:(0,n.jsx)(s.I,{name:"chevron_right",size:"small"})}),(0,n.jsx)("li",{style:{display:"flex",alignItems:"center",flexShrink:+!!r,overflow:r?"hidden":"visible"},children:r?(0,n.jsx)(i.EY,{as:"span",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},"aria-current":"page",children:e.label}):(0,n.jsx)(c(),{href:e.href,style:{color:"currentColor"},children:(0,n.jsx)(i.EY,{as:"span",style:{whiteSpace:"nowrap"},children:e.label})})})]},o)})]})})}},78095:(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var n=o(37876),a=o(55507),i=o(88116),r=o(14232),l=o(94085),c=o(6609),s=o(89099),d=o(84715),u=o(13869),p=o(33197);let h=e=>{let{productType:t,buttonText:o,defaultLocalKey:h,type:f="primary",size:m="m",children:g,id:b,builderContentId:_,variationId:x}=e,y=(0,s.useRouter)(),{appStoreUrl:w,googlePlayUrl:v}=(0,u.A)(),{cmsOrLokalise:j}=(0,d.j)(),k=j(o,h),L=(0,r.useMemo)(()=>"https://app.onceupon.photo/authentication/signinAnonymously/?productType=".concat(t,"&lang=").concat(y.locale),[t,y.locale]),[E,z]=(0,r.useState)(L);return(0,r.useEffect)(()=>
1{l.m0?z(v):l.un&&z(w)},[v,w]),(0,n.jsx)(p.N,{href:E,onClick:()=>{(E===v||E===w)&&(0,c.u2)(E),_?a.Ay.track("conversion",{contentId:_,variationId:x}):a.Ay.trackConversion()},id:b,children:(0,n.jsx)(i.default,{as:"span",variant:f,size:m,marginBottom:"xl",children:g||k})})}},87649:(e,t,o)=>{"use strict";o.d(t,{j:()=>a,k:()=>n}),o(60668),o(63611);var n={micro:"_1uc21y50",microcombo:"_1uc21y51",carousel:"_1uc21y52"},a="_1uc21y53"},94570:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(37876),a=o(67060),i=o(84715);let r=e=>{let{width:t="100%",height:o="100%",...r}=e,{t:l}=(0,i.i)();return(0,n.jsx)(a.default,{...r,children:(0,n.jsxs)("svg",{role:"img","aria-label":l("techradar_review_rating"),xmlns:"http://www.w3.org/2000/svg",width:t,height:o,viewBox:"0 0 242.75 42.512",fill:"none",children:[(0,n.jsx)("path",{d:"M21.875 0L27.0388 16.2381H43.7493L30.2302 26.2738L35.3941 42.5119L21.875 32.4762L8.35594 42.5119L13.5198 26.2738L0.000699997 16.2381H16.7112L21.875 0Z",fill:"#E6248A"}),(0,n.jsx)("path",{d:"M21.875 0L27.0388 16.2381H43.7493L30.2302 26.2738L35.3941 42.5119L21.875 32.4762L8.35594 42.5119L13.5198 26.2738L0.000699997 16.2381H16.7112L21.875 0Z",fill:"#E6248A",transform:"translate(49.7493 0)"}),(0,n.jsx)("path",{d:"M21.875 0L27.0388 16.2381H43.7493L30.2302 26.2738L35.3941 42.5119L21.875 32.4762L8.35594 42.5119L13.5198 26.2738L0.000699997 16.2381H16.7112L21.875 0Z",fill:"#E6248A",transform:"translate(99.4986 0)"}),(0,n.jsx)("path",{d:"M21.875 0L27.0388 16.2381H43.7493L30.2302 26.2738L35.3941 42.5119L21.875 32.4762L8.35594 42.5119L13.5198 26.2738L0.000699997 16.2381H16.7112L21.875 0Z",fill:"#E6248A",transform:"translate(149.2479 0)"}),(0,n.jsx)("path",{d:"M21.875 0L27.0388 16.2381H43.7493L30.2302 26.2738L35.3941 42.5119L21.875 32.4762L8.35594 42.5119L13.5198 26.2738L0.000699997 16.2381H16.7112L21.875 0Z",fill:"#878787",transform:"translate(198.9972 0)"})]})})}},97722:(e,t,o)=>{"use strict";o.d(t,{$:()=>n});
1let n="productpage_photobooks_create_button"}}]); 2//# sourceMappingURL=6702.296056b6a695e613.js.map
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.