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]="7dc8911a-76a7-43fc-8661-0d44bd919f68",e._sentryDebugIdIdentifier="sentry-dbid-7dc8911a-76a7-43fc-8661-0d44bd919f68")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1075],{13869:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var l=n(89099),a=n(14232),i=n(94085),s=n(13983);let o=()=>{let e=(0,l.useRouter)(),t=(0,s.L)(e.query),n="https://onceuponapp.onelink.me",[o,r]=(0,a.useState)(n),[c,d]=(0,a.useState)(n),[u,f]=(0,a.useState)(n);return(0,a.useEffect)(()=>{if(t){let e=Object.entries(t).map(e=>e.join("=")).join("&"),l=n+"/faM8?".concat(e),a=n+"/hTrF?".concat(e);r(l),d(a),i.m0?f(a):f(l)}else{let e=n+"/RLy8/bc075980",t=n+"/baCm/dbd68733";r(e),d(t),i.m0?f(t):f(e)}},[i.m0,i.un,e.query]),{appStoreUrl:o,googlePlayUrl:c,activeOsUrl:u}}},13983:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});let l=e=>{let{c:t,af_c_id:n,af_channel:l,af_adset:a,af_adset_id:i,af_ad:s,af_ad_id:o,clickid:r,pid:c,af_sub1:d,af_sub2:u,af_sub3:f,af_sub4:p,af_sub5:h}=e;return t?{c:t,af_c_id:null!=n?n:"",af_channel:null!=l?l:"",af_adset:null!=a?a:"",af_adset_id:null!=i?i:"",af_ad:null!=s?s:"",af_ad_id:null!=o?o:"",clickid:null!=r?r:"",pid:null!=c?c:"",af_sub1:null!=d?d:"",af_sub2:null!=u?u:"",af_sub3:null!=f?f:"",af_sub4:null!=p?p:"",af_sub5:null!=h?h:""}:null}},24920:()=>{},31075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var l=n(37876),a=n(31392);n(14232),n(60668),n(24920);var i="_1pgx1qp1",s=n(88116),o=n(33197),r=n(72684),c=n(14015),d=n(78095),u=n(97722),f=n(55507);let p=e=>{var t;let{illustration:n,headline:p,text:h,button:x,...m}=e,y=(0,c.$)(m,{builderBlock:!0,builderState:!0});return(0,l.jsxs)(a.az,{position:"relative",children:[n&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.az,{display:{mobile:"flex",desktop:"none"},className:i,children:(0,l.jsx)(r.A,{name:null!=n?n:"high-five",color:"almostBlack",width:140,height:140})}),(0,l.jsx)(a.az,{display:{mobile:"none",desktop:"flex"},className:i,children:(0,l.jsx)(r.A,{name:null!=n?n:"high-five",color:"almostBlack",width:200,height:200})})]}),(0,l.jsx)(a.az,{paddingY:"xxxl",position:"relative",style:{width:"100%",height:"100%"},...y,children:(0,l.jsxs)(a.mc,{className:"_1pgx1qp0",children:[(0,l.jsx)("div",{}),(0,l.jsxs)(a.az,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"m",children:[(0,l.jsxs)(a.az,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"xs",children:[(0,l.jsx)(a.DZ,{as:"h3",fontSize:"title_s",marginBottom:"none",textAlign:"center",children:p}),(0,l.jsx)(a.EY,{fontSize:"body_s",fontWeight:"medium",marginBottom:"none",textAlign:"center",children:h})]}),!x.createLink&&(0,l.jsx)(o.N,{href:x.link,target:x.target?"_blank":void 0,onClick:()=>f.Ay.trackConversion(),children:(0,l.jsx)(s.default,{variant:x.type,size:x.size,as:"span",children:x.text})}),x.createLink&&(0,l.jsx)(d.A,{productType:null!=(t=null==x?void 0:x.productType)?t:"book",size:x.size,type:x.type,buttonText:x.text,defaultLocalKey:u.$})]}),(0,l.jsx)("div",{})]})})]})}},78095:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var l=n(37876),a=n(55507),i=n(88116),s=n(14232),o=n(94085),r=n(6609),c=n(89099),d=n(84715),u=n(13869),f=n(33197);let p=e=>{let{productType:t,buttonText:n,defaultLocalKey:p,type:h="primary",size:x="m",children:m,id:y,builderContentId:b,variationId:g}=e,_=(0,c.useRouter)(),{appStoreUrl:j,googlePlayUrl:k}=(0,u.A)(),{cmsOrLokalise:v}=(0,d.j)(),z=v(n,p),A=(0,s.useMemo)(()=>"https://app.onceupon.photo/authentication/signinAnonymously/?productType=".concat(t,"&lang=").concat(_.locale),[t,_.locale]),[w,C]=(0,s.useState)(A);return(0,s.useEffect)(()=>{o.m0?C(k):o.un&&C(j)},[k,j]),(0,l.jsx)(f.N,{href:w,onClick:()=>{(w===k||w===j)&&(0,r.u2)(w),b?a.Ay.track("conversion",{contentId:b,variationId:g}):a.Ay.trackConversion()},id:y,children:(0,l.jsx)(i.default,{as:"span",variant:h,size:x,marginBottom:"xl",children:m||z})})}},97722:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});
1let l="productpage_photobooks_create_button"}}]); 2//# sourceMappingURL=1075.ce33031483544a9c.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.