1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1330],{36886:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return U}});var r=n(11246),i=n(90849),o=(n(27378),n(3514)),a=n(86107),l=n(34707),s=n.n(l),c=n(22278),u=n(90888),d=n(40937),m=n(14334),g=n(41605),p=function(e){return{type:d.QT,data:e}},v=function(e){return{type:d.Zt,data:e}},b=function(e){return{type:d.lv,data:e}},f=function(){return{type:d.u$}},h=[function(e){return{type:d.q$,data:e}}],x=s().mark(j),y=s().mark(_),w=s().mark(N);function j(e){var t,n,r;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,n=null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.slug,i.next=4,(0,c.RE)(m.Z.fetch,"".concat(g.Y9z.unsubscribeFormPage,"/").concat(n),e);case 4:return r=i.sent,i.next=7,(0,c.gz)(p(r));case 7:i.next=13;break;case 9:return i.prev=9,i.t0=i.catch(0),i.next=13,(0,c.gz)((0,u.PU)(i.t0));case 13:case"end":return i.stop()}}),x,null,[[0,9]])}function _(e){var t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,t=e.data,r.next=4,(0,c.gz)({type:d.Qf});case 4:return r.next=6,(0,c.RE)(m.Z.fetch,"".concat(g.Y9z.formSubmit),e,{method:"POST",data:t});case 6:if(null===(n=r.sent)||void 0===n||!n.error){r.next=14;break}return r.next=10,(0,c.gz)(b(n));case 10:return r.next=12,(0,c.gz)(f());case 12:r.next=20;break;case 14:return r.next=16,(0,c.gz)(v(n));case 16:return r.next=18,(0,c.gz)(f());case 18:return r.next=20,(0,c.gz)({type:d.Zi});case 20:r.next=30;break;case 22:return r.prev=22,r.t0=r.catch(0),r.next=26,(0,c.gz)((i=r.t0,{type:d.an,error:i}));case 26:return r.next=28,(0,c.gz)((0,u.PU)(r.t0));case 28:return r.next=30,(0,c.gz)(f());case 30:case"end":return r.stop()}var i}),y,null,[[0,22]])}function N(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.Fm)(d.q$,j);case 3:return e.next=5,(0,c.Fm)(d.bP,_);case 5:e.next=11;break;case 7:return e.prev=7,e.t0=e.catch(0),e.next=11,(0,c.gz)((0,u.PU)(e.t0));case 11:case"end":return e.stop()}}),w,null,[[0,7]])}var I=n(21194),P=n(62557),S=n(41408),O=n(83030),k=S.ZP.div.withConfig({componentId:"sc-1oosm51-0"})(["&.unsubscribe_form{.row > div:first-child{display:flex;}.imageWrapper{display:none;@media ","{display:flex;align-self:stretch;align-items:center;justify-content:center;margin-bottom:10px;}}h4{&::after{display:none;}}.input{margin-bottom:25px;}.title{margin-bottom:20px;line-height:1.2;&_unsubscribe{text-align:center;line-height:1.2;}}.thankyou-page{.title{text-align:center;}}.subTitle{padding-bottom:30px;&_unsubscribe{text-align:center;}}.button-wrapper{display:flex;justify-content:center;margin-top:15px;}.react-select-searchable{margin-bottom:15px;}.text_agreement_label{font-size:",";color:",";.agreement_labels{line-height:",";a{color:",";&:hover{color:",";}}}}.error-message{color:",";}.captcha{margin:10px 0;line-height:",";padding-left:0;text-align:left;font-size:",";color:",";}.discriptiontxt{margin-bottom:40px;p{text-align:center;white-space:initial;&._unsubscribe{text-align:left;}}}.banner-padding{padding:20px 36px;}p.error{line-height:1;}.centerAlign{text-align:center;&.homeBtn{margin-top:10px;}}.input-language{.select__control{border:none;}.select__value-container{padding:0;}.select__single-value{margin:0;}}.container{padding:30px;margin:auto;}.actions_container{display:flex;justify-content:center;.actions{display:flex;flex-direction:column;width:fit-content;.a-anchorButton{display:flex;}}}@media ","{div.input-firstName,div.input-lastName,div.input-language,.country-dropdown{display:inline-block;width:48%;float:left;}div.input-firstName,.country-dropdown{margin-right:2%;}div.input-lastName,div.input-language{width:50%;& + div{clear:both;}}.country-dropdown,.input-topics,.text_agreement_label,.input-agreementToTermsAndConditions,.captcha{clear:both;}}.country-dropdown{input.country-field{width:100%;margin-left:0;}.country-flag img{display:none;}.input-country{.flag-select{padding-bottom:5px;width:calc(100% - 12px);.arrow-down::after{height:12px;width:100%;position:static;}.flag-options{width:100%;}}}}}"],(function(e){return e.theme.mediaQuery.medium}),(function(e){return(0,O.hO)(e.theme.fonts.fontSize.body.small.quinary)}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,O.hO)(e.theme.fonts.lineHeight.custom.custom_5)}),(function(e){return e.theme.colors.GREY5}),(function(e){return e.theme.colors.BlACK}),(function(e){return e.theme.colors.RED}),(function(e){return(0,O.hO)(e.theme.fonts.lineHeight.custom.custom_5)}),(function(e){return(0,O.hO)(e.theme.fonts.fontSize.body.small.quinary)}),(function(e){return e.theme.colors.GREY5}),(function(e){return e.theme.mediaQuery.small})),C=n(71377),E=n(31357),D=n(79341),T=n(92471),z=n(81365),Z=n(71250),F=n(68154),L=n(17995),R=n(50813),A=n(21318),B=n(24246);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?H(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=(0,P.Z)((function(e){var t=e.unsubscribeFormData,n=e.locale,i=e.country,l=e.router,s=e.showBtnLoader,c=e.isFormSubmitted,u=e.className,m=e.formCaptchaValidationFailed,p=e.isLowerCaseEmailCampaign,v=e.isError,b=e.errorTitle,f=e.formSubmitRequest,h=e.globalData;return(0,B.jsxs)(a.Z,{showHeader:!0,showSupportingNav:!1,hasParallax:!0,pageType:R.Hao.UNSUBSCRIBE,children:[function(){var e=null===t||void 0===t?void 0:t.get("seo"),n=(0,Z.Kc)(e,l),i=((null===e||void 0===e?void 0:e.toJS())||{}).includeNoIndexMetaTag;if(n){var a=(0,r.Z)(n,2),s=a[0],c=a[1],u=(0,Z.L5)({localizedSlugs:null,localizedKeys:null,currentPath:l.asPath,globalData:h}),d=q(q({},s),{},{alternate:u});return(0,B.jsx)(o.Z,q(q({},d),{},{schemas:c.schemaInfo,includeNoIndexMetaTag:i}))}return null}(),function(){var e=null===t||void 0===t?void 0:t.getIn(["formHero","backgroundImage","media","defaultAssetUrl"]),r=null===t||void 0===t?void 0:t.getIn(["formHero","backgroundImage","media","altText"]),o=null===t||void 0===t?void 0:t.getIn(["confirmationHero","item",0,"callToAction"]),a=null===t||void 0===t?void 0:t.getIn(["confirmationHero","item",0,"title"]),l=null===t||void 0===t?void 0:t.getIn(["confirmationHero","item",0,"subtitle"]),h=null===o||void 0===o?void 0:o.get("title"),x=null===t||void 0===t?void 0:t.get("formFields"),y=null===t||void 0===t?void 0:t.get("discountId"),w=null===t||void 0===t?void 0:t.get("discountRuleName"),j=null===t||void 0===t?void 0:t.get("couponLink"),_=y&&w&&j,N=_?null===t||void 0===t?void 0:t.get("titleInCaseOfVoucher"):null===t||void 0===t?void 0:t.get("title"),I=_?null===t||void 0===t?void 0:t.get("subtitleInCaseOfVoucher"):null===t||void 0===t?void 0:t.get("subTitle"),P=null===t||void 0===t?void 0:t.get("description"),S=null===t||void 0===t?void 0:t.get("descriptionRichText"),O=null===t||void 0===t?void 0:t.get("submitButtonText"),H=null===o||void 0===o?void 0:o.get("ariaLabel"),U=null===o||void 0===o?void 0:o.get("url"),V=(null===o||void 0===o?void 0:o.get("theme"))||"secondary",G=null===o||void 0===o?void 0:o.get("buttonColor"),Q={href:U&&(0,Z.LK)({pathname:U,query:{language:n,country:null===i||void 0===i?void 0:i.toLowerCase()}}),target:U&&((0,F.httpUrlCheck)(U)?"_blank":"_self"),ariaLabel:H,variant:V,buttonColor:G},Y={isButton:!0,variant:"submit",className:"button",slnId:"newsletter_submit_button",labelText:O,type:"submit",wrapperClass:"button-wrapper",showBtnLoader:s};return c?(0,B.jsx)(k,{className:"".concat(u," unsubscribe_form"),children:(0,B.jsx)(C.Z,{children:(0,B.jsxs)("div",{className:"row thankyou-page",children:[(0,B.jsx)("div",{className:"col-xs-12 col-md-6",children:(0,B.jsx)("div",{className:"imageWrapper",children:(0,B.jsx)(E.Z,{size:E.Z.SIZES.LARGE,src:e,alt:r,ratio:[1,1]})})}),(0,B.jsxs)("div",{className:"col-xs-12 col-md-5 container",children:[(0,B.jsx)("h2",{className:"title_unsubscribe h3",children:a}),(0,B.jsx)("div",{className:"discriptiontxt",children:(0,B.jsx)("p",{children:l})}),(0,B.jsx)("div",{className:"centerAlign",children:(0,B.jsx)(z.Z,q(q({cta:Q},Q),{},{labelText:h}))})]})]})})}):(0,B.jsx)(k,{className:"".concat(u," unsubscribe_form"),children:(0,B.jsx)(C.Z,{children:(0,B.jsxs)("div",{className:"row",children:[(0,B.jsx)("div",{className:"col-xs-12 col-md-6",children:(0,B.jsx)("div",{className:"imageWrapper",children:(0,B.jsx)(E.Z,{size:E.Z.SIZES.LARGE,src:e,alt:r,ratio:[1,1],noDefaultClass:!0})})}),(0,B.jsxs)("div",{className:"col-xs-12 col-md-1 col-md-5 container",children:[(0,B.jsx)("h4",{className:"title",children:N}),I&&(0,B.jsx)("p",{className:"subTitle",children:I}),(0,B.jsxs)("div",{className:"discriptiontxt",children:[(0,B.jsxs)("p",{className:"_unsubscribe",children:[" ",P]}),S&&(0,B.jsx)(D.Z,{data:S})]}),m&&function(){var e=null===x||void 0===x?void 0:x.filter((function(e){return(null===e||void 0===e?void 0:e.get("type"))===(null===L.sf||void 0===L.sf?void 0:L.sf.captcha)}));return e&&e.size>0?(0,B.jsx)("div",{className:"row captcha-error",children:e.getIn(["0","inValiderrorMessage"])||g.DVF}):(0,B.jsx)("div",{className:"row captcha-error",children:g.DVF})}(),(0,B.jsx)(T.Z,{formName:d.se,slnId:"atm_unsubscribe_form",formFields:x,formType:"newsletter-form",buttonProps:Y,formSubmitHandler:function(e){var r=e.token,o=(0,Z.ej)("homeCountry");delete e.token;var a=null===t||void 0===t?void 0:t.get("id"),l=null===t||void 0===t?void 0:t.get("slug"),s={entity:a,locale:n,contact:q(q({},e),{},{language:null===e||void 0===e?void 0:e.language,country:e.country||i}),token:r,slug:l};s.contact.country===g.SMZ&&(s.contact.country=o),f(s);var c={event:R.cHh,eventCategory:R.Sgb,eventAction:R.yF0,eventLabel:"".concat(R.Sgb,":").concat(l)};(0,A.q8)(c)},checkBoxProps:{tabIndex:"0"},namedProps:{language:{isPreFilledDropdown:!0},reasonForUnsubscribe:{isPreFilledDropdown:!0}},dropDownProps:{isSearchable:!1},isDisabled:s,isLowerCaseEmailCampaign:p}),v&&(0,B.jsx)("p",{className:"error-message","aria-live":"assertive",role:"alert","aria-atomic":"true",children:b})]})]})})})}()]})}),{saga:N,reducer:I.Z,mapStateToProps:function(e){return{unsubscribeFormData:null===e||void 0===e?void 0:e.getIn(["unsubscribe","unsubscribeFormData"]),isFormSubmitted:null===e||void 0===e?void 0:e.getIn(["unsubscribe","unsubscribeSubmitSuccess","isFormSubmitted"]),showBtnLoader:null===e||void 0===e?void 0:e.getIn(["unsubscribe","showLoader"]),isError:null===e||void 0===e?void 0:e.getIn(["unsubscribe","isError"]),errorTitle:null===e||void 0===e?void 0:e.getIn(["global","cmsData","Global","errorTitle"]),locale:null===e||void 0===e?void 0:e.getIn(["global","globalData","userlanguage"]),country:null===e||void 0===e?void 0:e.getIn(["global","globalData","country"]),globalData:null===e||void 0===e?void 0:e.getIn(["global","globalData"]),isLowerCaseEmailCampaign:null===e||void 0===e?void 0:e.getIn(["global","header","loginAPI","lowerEmailAddressOnFormPages"]),formCaptchaValidationFailed:e.getIn(["unsubscribe","formCaptchaValidationFailed"])}},mapDispatchToProps:function(e){return{formSubmitRequest:function(t){return e(function(e){return{type:d.bP,data:e}}(t))}}},initialActions:h,key:"unsubscribe",useQuery:!0,cdnCached:!0,critical
1State:[["unsubscribe","unsubscribeFormData"]]})},69906:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[language]/[country]/unsubscribe/[slug]",function(){return n(36886)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=69906,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.