1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4993],{87340:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(77810),a=n(10189),s=n(84479),c=n(68066),i=n(64965),r=n(18624);const l=e=>{const{locale:t}=(0,c.A)(),[n,l]=(0,o.useState)(!1),u=(0,i.useLocation)(),{getHost:d}=(0,r.A)();return(0,o.useEffect)((()=>{var n;if(e)if(null!==a.S&&void 0!==a.S&&a.S[e]&&(null===a.S||void 0===a.S||null===(n=a.S[e])||void 0===n?void 0:n.salesForceLocale)!==t.alias){var o;const t=d(),n=(0,s.zo)(u.pathname),c=`${t}/${null===a.S||void 0===a.S||null===(o=a.S[e])||void 0===o?void 0:o.salesForceLocale}${n}${u.search}`;window.location.href=c}else l(!0)}),[e]),{check:n,doCheck:l}}},40609:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var o=n(64180),a=n(77810),s=n(75826),c=n.n(s),i=n(90503),r=n(73352),l=n(86400),u=n(40133),d=n(75712),f=n(64194),m=n(14893),g=n(41863),h=n(25635),p=n(87916),E=n(64965),v=n(87340),_=n(14905);const A=()=>{const{gigyaObject:e}=(0,i.ve)(),t=(0,r.Vl)("Login"),n=(0,E.useLocation)(),s=new URLSearchParams(n.search);let c=s.get("lang");const A="newsDlDE"===s.get("subscriptions")?"de":"it",{check:S}=(0,v.A)(c||A);return(0,a.useEffect)((()=>{}),[e]),S?a.createElement(l.B,t.confContainer,a.createElement(h.CheckIcon,t.ovalCheck),a.createElement(l.B,t.confTextContainer,a.createElement(u.E,t.confTitle,a.createElement(g.A,{defaultMessage:[{type:0,value:"Thank you for subscribing"}],id:"subscriptions_confirmation.heading.thank_you"})),a.createElement(u.E,t.confMessage,a.createElement(g.A,{defaultMessage:[{type:0,value:"Your confirmations was successfully processed, and you will now receive updates and promotions from De'Longhi"}],id:"subscriptions_confirmation.heading.message"}))),a.createElement(d.c,t.dividerRule),a.createElement(f.z,t.confButtons,a.createElement(m.$,(0,o.A)({variant:"secondary"},t.confButton,{as:p.A,to:"/"}),a.createElement(g.A,{defaultMessage:[{type:0,value:"Continue shopping"}],id:"subscriptions_confirmation.message.continue_shopping"})))):a.createElement(_.A,{wrapperStyles:{height:"100vh"}})};A.getTemplateName=()=>"registration",A.propTypes={match:c().object};const S=A}}]); 2//# sourceMappingURL=pages-subscription-confirmation.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.