1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5887],{5809:function(e){var t=Math.floor,a=Math.random;e.exports=function(e,r){return e+t(a()*(r-e+1))}},62349:function(e,t,a){var r=a(5809),s=a(82406),n=a(5707),i=parseFloat,o=Math.min,l=Math.random;e.exports=function(e,t,a){if(a&&"boolean"!=typeof a&&s(e,t,a)&&(t=a=void 0),void 0===a&&("boolean"==typeof t?(a=t,t=void 0):"boolean"==typeof e&&(a=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=n(e),void 0===t?(t=e,e=0):t=n(t)),e>t){var c=e;e=t,t=c}if(a||e%1||t%1){var d=l();return o(e+d*(t-e+i("1e-"+((d+"").length-1))),t)}return r(e,t)}},53121:function(e,t,a){"use strict";a.d(t,{Z:function(){return _}});var r=a(68685),s=a(23712),n=a(72779),i=a.n(n),o=a(49613),l=a(39097),c=a(2784),d=a(54741),u=a(26772),b=a(43877),f=a(10956),g=function(){return{display:"block",textAlign:"center","&.disabled":{cursor:"not-allowed"},a:{display:"flex",width:"100%",textDecoration:"none",justifyContent:"center",alignItems:"center"}}},x=a(28165),m=["text","isWide","secondary","hasArrow","isLoading","disabled"],w=["href","isWide","className","onClick","disabled"],C=(0,c.forwardRef)((function(e,t){var a=e.text,n=e.isWide,l=void 0!==n&&n,g=e.secondary,w=void 0!==g&&g,C=e.hasArrow,_=void 0!==C&&C,p=e.isLoading,L=void 0!==p&&p,S=e.disabled,v=(0,s.Z)(e,m),I=(0,d.y)(o.$),h=i()({secondary:w,wide:l,disabled:S,hasArrow:_},"no-select"),N=(0,c.useMemo)((function(){return _?(0,x.jsx)(React.Fragment,null,(0,x.jsx)("span",{className:"button-text"},a),(0,x.jsx)(b.J,{className:"button-arrow",name:"os-backward-arrow-large",size:u.EA.a20})):a}),[a,_]);return(0,x.jsx)("a",(0,r.Z)({css:I,className:h,ref:t},v),L?(0,x.jsx)(f.T,{className:"loader",white:!0}):N)})),_=function(e){var t=e.href,a=e.isWide,n=e.className,o=e.onClick,c=e.disabled,u=(0,s.Z)(e,w),b=(0,d.y)(g),f=i()(n,{wide:a},{disabled:c},"no-select");return(0,x.jsx)("span",{css:b,className:f,onClick:o},(0,x.jsx)(l.default,{href:t,passHref:!0},(0,x.jsx)(C,(0,r.Z)({href:t,isWide:a,disabled:c},u))))}},50925:function(e,t,a){"use strict";var r;a.d(t,{J:function(){return r}}),function(e){e.SUBSCRIBER_EMAIL="SUBSCRIBER_EMAIL"}(r||(r={}))},5887:function(e,t,a){"use strict";a.r(t);var r=a(2784),s=a(55837),n=a(53121),i=a(50925),o=a(6474),l=a(44279),c=a(33831),d=a(64123),u=a(81082),b=a(59635),f=a(1381),g=a(28165),x=(0,l.P3)(),m=(0,o.CH)(),w=(0,o.UN)(),C=(0,o.r)();t.default=function(){var e=(0,c.$)(),t=(0,s.v9)(x),a=(0,s.v9)(m),o=(0,s.v9)(w),l=(0,s.v9)(C),_=(0,r.useMemo)((function(){return t===i.J.SUBSCRIBER_EMAIL}),[]),p=(0,f.n)(),L=p.goToRoutes,S=p.goToLogIn,v=p.closeCard,I=(0,r.useMemo)((function(){return{startExploringSubscriberLabel:e("teaserCard.button.startExploringSubscriber"),whatsNewLabel:e("teaserCard.button.whatsNew"),startExploringLabel:e("teaserCard.button.startExploring"),quickStartGuidesLabel:e("teaserCard.button.quickStartGuides"),logInLabel:e("teaserCard.button.logIn"),signUpForATrialLabel:e("teaserCard.button.signUpForATrial")}}),[e]),h=(0,r.useMemo)((function(){return{whatsNew:"".concat((0,u.j$)("NEXT_PUBLIC_OS_MAPS_URL"),"/new-os-maps-web"),faq:"".concat((0,u.j$)("NEXT_PUBLIC_OS_MAPS_URL"),"/help/guides"),subscribe:"".concat((0,u.j$)("NEXT_PUBLIC_OS_MAPS_URL"),"/subscribe")}}),[]);return _?(0,g.jsx)(r.Fragment,null,(0,g.jsx)(b.z,{onClick:v,text:I.startExploringSubscriberLabel,"aria-label":I.startExploringSubscriberLabel,className:"teaser-card__button",hasArrow:!0,isWide:!0}),(0,g.jsx)(n.Z,{href:h.whatsNew,target:"_blank",text:I.whatsNewLabel,"aria-label":I.whatsNewLabel,className:"teaser-card__button",isWide:!0,secondary:!0})):a?(0,g.jsx)(r.Fragment,null,(0,g.jsx)(b.z,{onClick:L,text:I.startExploringLabel,"aria-label":I.startExploringLabel,className:"teaser-card__button",hasArrow:!0,isWide:!0}),(0,g.jsx)(n.Z,{href:h.faq,target:"_blank",text:I.quickStartGuidesLabel,"aria-label":I.quickStartGuidesLabel,className:"teaser-card__button",isWide:!0,secondary:!0})):(0,g.jsx)(r.Fragment,null,(0,g.jsx)(b.z,{onClick:S,text:I.logInLabel,"aria-label":I.logInLabel,isLoading:o||l===d.J.loading,className:"teaser-card__button",isWide:!0}),(0,g.jsx)(n.Z,{href:h.subscribe,target:"_blank",text:I.signUpForATrialLabel,"aria-label":I.signUpForATrialLabel,isLoading:o||l===d.J.loading,className:"teaser-card__button",isWide:!0,secondary:!0}))}},1381:function(e,t,a){"use strict";a.d(t,{n:function(){return h}});var r=a(62349),s=a.n(r),n=a(2784),i=a(55837),o=a(59766),l=a(76712),
1c=a(50925),d=a(60986),u=a(30561),b=a(51778),f=a(6474),g=a(47506),x=a(44279),m=a(47191),w=a(69193),C=a(33831),_=a(40616),p="IS_FIRST_VISIT",L="IS_FIRST_VISIT_AS_USER",S=(0,f.CH)(),v=(0,x.P3)(),I=(0,m.d)(),h=function(){var e=(0,i.I0)(),t=(0,C.$)(),a=(0,b.k)().logAmplitudeEvent,r=(0,o.U)().navigate,f=(0,i.v9)(S),x=(0,i.v9)(v),m=(0,i.v9)(I),h=(0,d.V)(),N=(0,n.useMemo)((function(){return x===c.J.SUBSCRIBER_EMAIL}),[]),E="HIDDEN"!==m,k=(0,n.useCallback)((function(){return e(g.s.togglePageInterface())}),[]),A=(0,n.useCallback)((function(){e(g.s.toggleMenuInterface()),r({card:l.AW.ROUTES})}),[]),j=(0,n.useMemo)((function(){var e={name:f&&f.firstName?" ".concat(f.firstName):""},a="",r="",n="",i=(0,_.L6)()?window.localStorage.getItem(p):"",o=(0,_.L6)()?window.localStorage.getItem(L):"";if(N)a=t("teaserCard.welcomeSubscriber"),r=t("teaserCard.tips.subscriber.title"),n=t("teaserCard.tips.subscriber.text");else if(i)if(f&&!o)a=t("teaserCard.welcomeFreshUser",e),r=t("teaserCard.tips.firstVisit.title"),n=t("teaserCard.tips.firstVisit.text"),window.localStorage.setItem(L,"1");else{var l=s()(0,9),c=t("teaserCard.tips.secondVisit.".concat(l,".title")),d=t("teaserCard.tips.secondVisit.".concat(l,".text"));a=f?t("teaserCard.welcomeOldUser",e):t("teaserCard.welcomeOldGuest"),r="".concat(t("teaserCard.tips.prefix"),": ").concat(c),n=d}else a=t("teaserCard.welcomeFreshGuest"),r=t("teaserCard.tips.firstVisit.title"),n=t("teaserCard.tips.firstVisit.text");return window.localStorage.setItem(p,"1"),{contentHeader:r,contentText:n,cardHeader:a}}),[f,null===f||void 0===f?void 0:f.firstName,N]);return{cardHeader:j.cardHeader,contentHeader:j.contentHeader,contentText:j.contentText,isBannerVisible:E,bannerProps:(0,n.useMemo)((function(){return{iconName:"os-user-03",title:t("onboarding.banner.title"),text:t("onboarding.banner.text"),ctaLabel:t("onboarding.banner.ctaLabel"),ctaHandler:function(){a(u.Pq),e(w.q.setOnboardingVisibility("MODAL_VISIBLE"))}}}),[t,a,e]),goToRoutes:A,goToLogIn:h,closeCard:k}}}}]);
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.