PageSourceSearch

https://www.reverencehotels.com/bookcore/static/js/web-components/spa/builds/5.24e63c8d13b8754bfe3f.chunk.js

js reverencehotels.com collected 2026-09-29 14:24:02 UTC 135,519 bytes, 1 lines download raw bytes

1(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[2,5,102],{71334:function(e,t,o){"use strict";o.r(t);var s,n=o(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},i.apply(null,arguments)}t.default=function(e){return n.createElement("svg",i({viewBox:"0 0 164 164",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("g",{fillRule:"nonzero"},n.createElement("path",{d:"M66.207 99.894L47.541 81.227l-6.914 7.605 25.58 25.58 60.148-60.147-6.914-6.914z"}),n.createElement("path",{d:"M82 164c-45.379 0-82-36.621-82-82S36.621 0 82 0s82 36.621 82 82-36.621 82-82 82zm0-8.2c40.84 0 73.8-32.96 73.8-73.8 0-40.84-32.96-73.8-73.8-73.8C41.16 8.2 8.2 41.16 8.2 82c0 40.84 32.96 73.8 73.8 73.8z"}))))}},4722:function(e,t,o){"use strict";o.r(t);var s,n=o(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},i.apply(null,arguments)}t.default=function(e){return n.createElement("svg",i({viewBox:"0 0 1792 1792",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M1664 1504V736q-32 36-69 66-268 206-426 338-51 43-83 67t-86.5 48.5T897 1280h-2q-48 0-102.5-24.5T706 1207t-83-67q-158-132-426-338-37-30-69-66v768q0 13 9.5 22.5t22.5 9.5h1472q13 0 22.5-9.5t9.5-22.5zm0-1051v-24.5l-.5-13-3-12.5-5.5-9-9-7.5-14-2.5H160q-13 0-22.5 9.5T128 416q0 168 147 284 193 152 401 317 6 5 35 29.5t46 37.5 44.5 31.5T852 1143t43 9h2q20 0 43-9t50.5-27.5 44.5-31.5 46-37.5 35-29.5q208-165 401-317 54-43 100.5-115.5T1664 453zm128-37v1088q0 66-47 113t-113 47H160q-66 0-113-47T0 1504V416q0-66 47-113t113-47h1472q66 0 113 47t47 113z"})))}},84118:function(e,t,o){"use strict";o.r(t);var s,n=o(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},i.apply(null,arguments)}t.default=function(e){return n.createElement("svg",i({className:"link_svg__svg-roi link_svg__svg-roi_open",viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M0 0v28h28v-7h-3.5v3.5h-21v-21H7V0H0zm14 0l5.25 5.25L10.5 14l3.5 3.5 8.75-8.75L28 14V0H14z"})))}},80700:function(e,t,o){"use strict";o.r(t);var s,n=o(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},i.apply(null,arguments)}t.default=function(e){return n.createElement("svg",i({viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M2.04 7.06C.937 7.06.044 7.927 0 9.016l12.688 7.609 7.125-4.16c-1.507-1.55-1.616-3.449-1.195-5.403H2.04zM0 10.413l12.376 7.43a.604.604 0 00.623 0 189.218 189.218 0 007.538-4.502c1.435.923 3.048 1.134 4.839.632v7.363c0 1.13-.91 2.039-2.04 2.039H2.04c-1.13 0-2.039-.91-2.039-2.04V10.413zm23.74 2.736a4.26 4.26 0 110-8.522 4.26 4.26 0 010 8.522zm1.182-5.451l-1.44 1.494-.592-.592a.487.487 0 10-.688.69l.942.942c.193.192.506.19.695-.007l1.785-1.851a.487.487 0 10-.702-.676z",fillRule:"nonzero"})))}},15356:function(e,t,o){"use strict";o.r(t);var s,n=o(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},i.apply(null,arguments)}t.default=function(e){return n.createElement("svg",i({viewBox:"0 0 1792 1792",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"})))}},37299:function(e,t,o){"use strict";o.r(t);var s,n,i=o(96540);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var s in o)({}).hasOwnProperty.call(o,s)&&(e[s]=o[s])}return e},a.apply(null,arguments)}t.default=function(e){return i.createElement("svg",a({width:19,height:18,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=i.createElement("g",{clipPath:"url(#chevrons-left_svg__clip0_566_174)",fillRule:"evenodd",clipRule:"evenodd",fill:"#000"},i.createElement("path",{d:"M9.28 4.72a.75.75 0 010 1.06L6.06 9l3.22 3.22a.75.75 0 11-1.06 1.06L4.47 9.53a.75.75 0 010-1.06l3.75-3.75a.75.75 0 011.06 0z"}),i.createElement("path",{d:"M14.53 4.72a.75.75 0 010 1.06L11.31 9l3.22 3.22a.75.75 0 11-1.06 1.06L9.72 9.53a.75.75 0 010-1.06l3.75-3.75a.75.75 0 011.06 0z"}))),n||(n=i.createElement("defs",null,i.createElement("clipPath",{id:"chevrons-left_svg__clip0_566_174"},i.createElement("path",{fill:"#fff",transform:"translate(.5)",d:"M0 0h18v18H0z"})))))}},23212:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=s(o(72382)),r=o(24460),l=o(31925),d=o(51678),c=o(59414),u=o(2770),p=s(o(14926)),g=o(74848);class f extends n.Component{constructor(){super(),this.bindActions()}bindActions(){this.checkSection=this.checkSection.bind(this),this.handleSocialGDPR=this.handleSocialGDPR.bind(this),this.manageExternalAuth=this.manageExternalAuth.bind(this),this.onClickLogoutCallback=this.onClickLogoutCallback.bind(this),this.onClickRegister=this.onClickRegister.bind(this),this.onClickRegisterFromSignIn=this.onClickRegisterFromSignIn.bind(this),this.onLogout=this.onLogout.bind(this),this.bindSignInActions(),this.bindPasswordManagementActions(),this.bindSignUpActions()}bindPasswordManagementActions(){this.passwordChange=this.passwordChange.bind(this),this.passwordCreate=this.passwordCreate.bind(this),this.passwordRecovery=this.passwordRecovery.bind(this)}bindSignInActions(){this.signin=this.signin.bind(this),this.onLoginCallback=this.onLoginCallback.bind(this)}bindSignUpActions(){this.externalSignupExtraInfoSubmit=this.externalSignupExtraInfoSubmit.bind(this),this.handleDialogCheckbox=this.handleDialogCheckbox.bind(this),this.onSignUpTrackings=this.onSignUpTrackings.bind(this),this.signup=this.signup.bind(this),this.signupErrorsManager=this.signupErrorsManager.bind(this),this.signUpHasErrors=this.signUpHasErrors.bind(this),this.signupResponseManager=this.signupResponseManager.bind(this)}componentDidMount(){this.checkUser()}checkUser(){const e={};return(0,r.getUser)(this.props.domain).catch(()=>e).then(e=>{this.props.updateLoyaltyState("user",e,this.checkSection)})}checkSection(){this.props.user.nombre?this.props.setAuthSection("SIGNIN_SUCCESS"):"SIGNIN_SUCCESS"===this.props.activeSection&&this.onClickRegister()}onClickRegister(){const{isExternalLogin:e}=(0,c.hasExternalLoginData)(this.props.socialLoginSettings);e?this.manageExternalAuth("external_login"):this.props.setAuthSection("SIGNIN")}signUpHasErrors(e){this.props.setAuthState({showLoader:!1,hasToShowErrorMessage:!0,errorMessageText:e,isEmailActiveError:!0}),this.props.showErrorMessage(e),this.props.gtm.onSignUpError()}signupResponseManager(e){(0,d.hasObjectData)(e.user)?this.onLoginCallback(e.user):this.props.setAuthSection("SIGNUP_SUCCESS",()=>{this.props.setAuthState({showLoader:!1})}),this.props.gtm.onSignUpSuccess()}signupErrorsManager(e){this.props.showErrorMessage(e.message),this.props.gtm.onSignUpError()}signup(e){this.props.setAuthState({showLoader:!0},()=>(0,r.signup)(e,this.props.domain).then(e=>{200===e.status?this.signupResponseManager(e):this.signUpHasErrors(e.errors)}).catch(this.signupErrorsManager))}onLoginCallback(e){this.props.setAuthState({showLoader:!0},()=>{this.props.updateLoyaltyState("user",e)}),this.props.onLoginCallback(e)}signin(e){return(0,r.signin)(e.email,e.password,this.props.domain).then(this.onLoginCallback).catch(e=>{this.props.showErrorMessage(e.message),this.props.gtm.onSignInError()})}handleDialogCheckbox(e,t){this.props.dialog[e]?this.props.toggleInternalDialog(e):(0,l.genericEndpoint)(t).then(t=>{this.props.toggleInternalDialog(e,{isDesktop:this.props.isDesktop,onClose:()=>this.props.toggleInternalDialog(e),text:t.content,themeVersion:"light",title:t.title,type:"modal"})})}passwordChange(e){const[t,o]=Object.keys(e),s=e[t];if((0,u.hasToChangePassword)({password:s,passwordRepeat:e[o],tokenPassword:this.props.tokenPassword,tokenUID:this.props.tokenUID}))this.props.setAuthState({showLoader:!0,hasToShowErrorMessage:!1}),(0,r.changePassword)({uid:this.props.tokenUID,token:this.props.tokenPassword,userType:this.props.userType,password:s},this.props.domain).then(()=>{this.props.setAuthSection("PASS_RECOVERY_SUCCESS",()=>{this.props.setAuthState({showLoader:!1})})}).catch(e=>this.props.showErrorMessage(e));else{const{errorPasswordsNotEqual:e,errorToken:t}=this.props.PASS_RECOVERY_CHANGE,o=this.props.tokenPassword?e:t;this.props.showErrorMessage(o)}}passwordCreate(e){if(e.password===e.repeatpassword)this.props.setAuthState({showLoader:!0,hasToShowErrorMessage:!1}),(0,r.createPassword)({email:this.props.email,password:e.password,userType:this.props.userType},this.props.domain).then(()=>{this.props.setAuthSection("PASS_RECOVERY_SUCCESS",()=>{this.props.setAuthState({showLoader:!1})})}).catch(e=>this.props.showErrorMessage(e));else{const{errorPasswordsNotEqual:e}=this.props.PASS_RECOVERY_CREATE;this.props.showErrorMessage(e)}}passwordRecovery(e){void 0!==e.email?(this.props.setAuthState({showLoader:!0}),(0,r.passwordRecovery)(e.email,this.props.domain).then(()=>{this.props.setAuthSection("PASS_RECOVERY_EMAIL",()=>{this.props.setAuthState({showLoader:!1})}),this.props.gtm.onPassRecoverySuccess()}).catch(e=>this.props.showErrorMessage(e))):this.props.showErrorMessage(this.props.emailRequireText)}onLogout(){this.props.setAuthState({showLoader:!0}),this.props.onClickLogout({domain:this.props.domain,onClickLogoutCallback:this.onClickLogoutCallback})}onClickLogoutCallback(){this.props.setAuthState({showLoader:!1}),this.props.onCloseModal()}
1manageExternalAuth(e){const{login_url:t,signup_url:o,redirect:s}=(0,c.getExternalLoginData)(this.props.socialLoginSettings,e);s?window.location.href="external_sign_up"===e?o:t:this.props.setAuthState({["external_sign_up"===e?"showExternalSignup":"showExternalLogin"]:!0})}onClickRegisterFromSignIn(){const{isExternalSignUp:e}=(0,c.hasExternalLoginData)(this.props.socialLoginSettings);e?this.manageExternalAuth("external_sign_up"):this.props.externalRegisterLink||this.props.setAuthSection("PRE_SIGNUP",()=>{this.props.setAuthState({hasToShowErrorMessage:!1})})}onSignUpTrackings(e){this.props.gtm.onSignUpValitationSuccess({eLabel:e})}handleSocialGDPR(e){e.preventDefault(),e.stopPropagation(),this.props.submitting||(this.props.allConditionsOK?(this.props.setAuthState({submitting:!0,showLoader:!0}),this.onSignUpTrackings(this.props.socialUserData.integration),this.props.SOCIAL.integrations[this.props.socialUserData.integration].onLogin(this.props.allConditionsOK,this.props.recibir_newsletter)):this.props.setAuthState({showConditionError:!0}))}hasMissingExternalSignupInfo(e,t){return null==e||null==t}externalSignupExtraInfoSubmit(e){const{tipodocumento_blocked:t,ndocumento_blocked:o}=e;if(this.hasMissingExternalSignupInfo(t,o))return this.props.showErrorMessage(this.props.EXTERNAL_SIGNUP_EXTRA_INFO.message),Promise.resolve();const s={emails:[this.props.email],identificacion:o,tipo_id:Number(t)},n=(0,a.default)(s,"");return(0,r.socialSignin)({id_token:n,referrer_hostname:""}).then(e=>{e.success?this.props.onExternalLoggedInSuccessfully(e.data,d.defaultEmptyFunction):Array.isArray(e.error)&&e.error.length>0?(this.props.showErrorMessage(e.error[0]),this.props.onExternalLoggedInFailure(e.error[0])):(this.props.showErrorMessage(e.error?.descripcion),this.props.onExternalLoggedInFailure(e.error))}).catch(e=>{this.props.showErrorMessage(e.message)})}render(){return(0,g.jsx)(p.default,{activeSection:this.props.activeSection,ADVANTAGE_TITLE:this.props.ADVANTAGE_TITLE,ADVANTAGES:this.props.ADVANTAGES,dialog:this.props.dialog,domain:this.props.domain,errorMessageText:this.props.errorMessageText,EXTERNAL_AUTH:this.props.EXTERNAL_AUTH,EXTERNAL_SIGNUP_EXTRA_INFO:this.props.EXTERNAL_SIGNUP_EXTRA_INFO,externalLogin:this.props.externalLogin,externalRegisterLink:this.props.externalRegisterLink,externalSignupExtraInfoSubmit:this.externalSignupExtraInfoSubmit,GDPR:this.props.GDPR,GOOGLE_RECAPTCHA:this.props.GOOGLE_RECAPTCHA,gtm:this.props.gtm,handleDialogCheckbox:this.handleDialogCheckbox,handleExternalSignupExtraInfo:this.handleExternalSignupExtraInfo,handleSocialGDPR:this.handleSocialGDPR,hasToReceiveNewsletter:this.props.recibir_newsletter,hasToShowErrorMessage:this.props.hasToShowErrorMessage,isDesktop:this.props.isDesktop,isEmailActiveError:this.props.isEmailActiveError,LOYALTY_ACCOUNT:this.props.LOYALTY_ACCOUNT,LOYALTY_NAME:this.props.LOYALTY_NAME,loyaltyLogo:this.props.loyaltyLogo,MEMBER_NUMBER_TEXT:this.props.MEMBER_NUMBER_TEXT,MEMBER_SINCE_TEXT:this.props.MEMBER_SINCE_TEXT,NOTIFICATIONS:this.props.NOTIFICATIONS,onClickBooking:this.props.onClickBooking,onClickRegister:this.onClickRegister,onClickRegisterFromSignIn:this.onClickRegisterFromSignIn,onCloseModal:this.props.onCloseModal,onLoginCallback:this.onLoginCallback,onLogout:this.onLogout,onSignUpTrackings:this.onSignUpTrackings,orText:this.props.orText,PASS_RECOVERY_CHANGE:this.props.PASS_RECOVERY_CHANGE,PASS_RECOVERY_CREATE:this.props.PASS_RECOVERY_CREATE,PASS_RECOVERY_EMAIL:this.props.PASS_RECOVERY_EMAIL,PASS_RECOVERY_EXPIRED:this.props.PASS_RECOVERY_EXPIRED,PASS_RECOVERY_SUCCESS:this.props.PASS_RECOVERY_SUCCESS,PASS_RECOVERY:this.props.PASS_RECOVERY,passwordChange:this.passwordChange,passwordCreate:this.passwordCreate,passwordRecovery:this.passwordRecovery,PRE_SIGNUP:this.props.PRE_SIGNUP,removeExternalLoginInstance:this.props.onCloseModal,setAuthSection:this.props.setAuthSection,setAuthState:this.props.setAuthState,showConditionError:this.props.showConditionError,showExternalLogin:this.props.showExternalLogin,showExternalSignup:this.props.showExternalSignup,showLoader:this.props.showLoader,SIGNIN_SUCCESS:this.props.SIGNIN_SUCCESS,SIGNIN:this.props.SIGNIN,signin:this.signin,SIGNUP_SUCCESS:this.props.SIGNUP_SUCCESS,SIGNUP_VALIDATION_
1SUCCESS:this.props.SIGNUP_VALIDATION_SUCCESS,SIGNUP:this.props.SIGNUP,signup:this.signup,SOCIAL_GDPR:this.props.SOCIAL_GDPR,SOCIAL:this.props.SOCIAL,socialLoginSettings:this.props.socialLoginSettings,socialUserData:this.props.socialUserData,subtitle:this.props.subtitle,TEXT_LOGIN_FACEBOOK:this.props.TEXT_LOGIN_FACEBOOK,TEXT_LOGIN_GOOGLE:this.props.TEXT_LOGIN_GOOGLE,type:this.props.type,user:this.props.user,userActive:this.props.userActive})}}t.default=f,f.displayName="AuthController",f.propTypes={activeSection:i.default.oneOf(["EXTERNAL_AUTH","EXTERNAL_SIGNUP_EXTRA_INFO","LOADER","PASS_RECOVERY_CHANGE","PASS_RECOVERY_CREATE","PASS_RECOVERY_EMAIL","PASS_RECOVERY_EXPIRED","PASS_RECOVERY_SUCCESS","PASS_RECOVERY","PRE_SIGNUP","SIGNIN_SUCCESS","SIGNIN","SIGNUP_SUCCESS","SIGNUP_VALIDATION_SUCCESS","SIGNUP","SOCIAL_GDPR"]).isRequired,ADVANTAGE_TITLE:i.default.string,ADVANTAGES:i.default.arrayOf(i.default.object),allConditionsOK:i.default.bool,domain:i.default.string,emailRequireText:i.default.string,externalLogin:i.default.object,GDPR:i.default.object,GOOGLE_RECAPTCHA:i.default.object,gtm:i.default.object,isEmailActiveError:i.default.bool,LOYALTY_NAME:i.default.string,loyaltyLogo:i.default.string,onClickBooking:i.default.func,onCloseModal:i.default.func,onLoginCallback:i.default.func,orText:i.default.string,PASS_RECOVERY_CHANGE:i.default.object,PASS_RECOVERY_EMAIL:i.default.object,PASS_RECOVERY_EXPIRED:i.default.object,PASS_RECOVERY_SUCCESS:i.default.object,PASS_RECOVERY:i.default.object,PRE_SIGNUP:i.default.object,recibir_newsletter:i.default.string,setAuthSection:i.default.func,setAuthState:i.default.func,showErrorMessage:i.default.func,SIGNIN_SUCCESS:i.default.object,SIGNIN:i.default.object,SIGNUP_SUCCESS:i.default.object,SIGNUP_VALIDATION_SUCCESS:i.default.object,SIGNUP:i.default.object,SOCIAL_GDPR:i.default.object,SOCIAL:i.default.object,socialUserData:i.default.object,submitting:i.default.bool,TEXT_LOGIN_FACEBOOK:i.default.string,TEXT_LOGIN_GOOGLE:i.default.string,tokenPassword:i.default.string,tokenUID:i.default.string,updateLoyaltyState:i.default.func,user:i.default.object,userType:i.default.string},f.defaultProps={onLoginCallback:d.defaultEmptyFunction,setAuthSection:d.defaultEmptyFunction,setAuthState:d.defaultEmptyFunction,showErrorMessage:d.defaultEmptyFunction,updateLoyaltyState:d.defaultEmptyFunction},e.exports=t.default},97838:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=o(51678),r=o(2770),l=s(o(23212)),d=o(74848);class c extends n.Component{constructor(e){super();const t=e.SOCIAL_GDPR.form.recibir_newsletter?"false":"";this.state={activeSection:(0,r.getActiveSection)({activeSection:e.activeSection,socialLoginSettings:e.socialLoginSettings}),allConditionsOK:!1,emailActivateMessageText:"",dialog:{},errorMessageText:"",hasToShowErrorMessage:!1,isEmailActiveError:!1,recibir_newsletter:t,showConditionError:!1,showExternalLogin:!1,showExternalSignup:!1,showLoader:!1,submitting:!1,user:e.user},this.bindActions()}bindActions(){this.setAuthState=this.setAuthState.bind(this),this.showErrorMessage=this.showErrorMessage.bind(this),this.toggleInternalDialog=this.toggleInternalDialog.bind(this)}componentDidMount(){this.checkMailIsSharing()}componentDidUpdate(e){const{user:t,activeSection:o}=e,s={user:t,activeSection:o},{user:n,activeSection:i}=this.props,r={user:n,activeSection:i};(0,a.areSimpleObjectsEqual)(s,r)||this.setState(r,()=>this.checkMailIsSharing())}checkMailIsSharing(){if("SOCIAL_GDPR"===this.state.activeSection){const{email:e}=this.props.socialUserData;e||this.props.setAuthSection((0,r.getInitialAuthSection)(this.props.isSignInDefaultView),()=>{this.setAuthState({errorMessageText:this.props.SOCIAL_GDPR.errorText,hasToShowErrorMessage:!0})})}}setAuthState(e,t){this.setState(e,t)}showErrorMessage(e){this.setState({errorMessageText:e,hasToShowErrorMessage:!0,showLoader:!1})}toggleInternalDialog(e,t=null){const o=this.state.dialog[e];this.setState({dialog:{...this.state.dialog,[e]:{dialogProps:t||this.state.dialog[e].dialogProps,showDialog:!o?.showDialog}}})}render(){return(0,d.jsx)(l.default,{...this.props,...this.state,setAuthState:this.setAuthState,showErrorMessage:this.showErrorMessage,subtitle:this.props[this.state.activeSection].subtitle,toggleInternalDialog:this.toggleInternalDialog})}}t.default=c,c.displayName="AuthModel",c.propTypes={activeSection:i.default.oneOf(["EXTERNAL_AUTH","EXTERNAL_SIGNUP_EXTRA_INFO","LOADER","PASS_RECOVERY_CHANGE","PASS_RECOVERY_CREATE","PASS_RECOVERY_EMAIL","PASS_RECOVERY_EXPIRED","PASS_RECOVERY_SUCCESS","PASS_RECOVERY","PRE_SIGNUP","SIGNIN_SUCCESS","SIGNIN","SIGNUP_SUCCESS","SIGNUP_VALIDATION_
1SUCCESS","SIGNUP","SOCIAL_GDPR"]).isRequired,EXTERNAL_SIGNUP_EXTRA_INFO:i.default.object,GDPR:i.default.object,GOOGLE_RECAPTCHA:i.default.object,onClickBooking:i.default.func,onCloseModal:i.default.func,PASS_RECOVERY_CHANGE:i.default.object,PASS_RECOVERY_EMAIL:i.default.object,PASS_RECOVERY_EXPIRED:i.default.object,PASS_RECOVERY_SUCCESS:i.default.object,PASS_RECOVERY:i.default.object,PRE_SIGNUP:i.default.object,setAuthSection:i.default.func,SIGNIN_SUCCESS:i.default.object,SIGNUP_VALIDATION_SUCCESS:i.default.object,SIGNUP:i.default.object,SOCIAL_GDPR:i.default.object,SOCIAL:i.default.object,socialUserData:i.default.object,user:i.default.object},c.defaultProps={setAuthSection:a.defaultEmptyFunction,showErrorMessage:a.defaultEmptyFunction},e.exports=t.default},14926:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(12873)),i=s(o(923)),a=s(o(99234)),r=o(59414),l=s(o(42358)),d=s(o(27070)),c=s(o(8759)),u=s(o(4835)),p=s(o(52798)),g=s(o(22198)),f=s(o(65700)),y=s(o(67160)),h=s(o(43147)),S=s(o(77001)),m=s(o(48381)),_=s(o(61542)),A=s(o(23440)),x=s(o(97883)),E=s(o(41700)),C=s(o(96698)),k=s(o(19308)),v=s(o(51648)),b=o(2770),L=o(54096),I=o(83131),w=o(74848);const M=({activeSection:e,ADVANTAGE_TITLE:t,ADVANTAGES:o,dialog:s,domain:i,errorMessageText:a,EXTERNAL_AUTH:r,EXTERNAL_SIGNUP_EXTRA_INFO:l,externalLogin:d,externalRegisterLink:k,externalSignupExtraInfoSubmit:v,GDPR:b,GOOGLE_RECAPTCHA:L,gtm:I,handleDialogCheckbox:M,handleExternalSignupExtraInfo:T,handleSocialGDPR:N,hasToReceiveNewsletter:O,hasToShowErrorMessage:j,isDesktop:R,isEmailActiveError:P,LOYALTY_NAME:D,loyaltyLogo:B,onClickRegister:U,onClickRegisterFromSignIn:G,onLoginCallback:H,onSignUpTrackings:V,PASS_RECOVERY_CHANGE:Y,PASS_RECOVERY_CREATE:X,PASS_RECOVERY_EMAIL:F,PASS_RECOVERY_EXPIRED:W,PASS_RECOVERY_SUCCESS:z,PASS_RECOVERY:$,passwordChange:q,passwordCreate:K,passwordRecovery:J,PRE_SIGNUP:Z,setAuthSection:Q,setAuthState:ee,showConditionError:te,showLoader:oe,signin:se,SIGNIN:ne,SIGNUP_SUCCESS:ie,SIGNUP_VALIDATION_SUCCESS:ae,signup:re,SIGNUP:le,SOCIAL_GDPR:de,SOCIAL:ce,socialUserData:ue,TEXT_LOGIN_FACEBOOK:pe,TEXT_LOGIN_GOOGLE:ge,toggleInternalDialog:fe,userActive:ye})=>(({EXTERNAL_SIGNUP_EXTRA_INFO:()=>(0,w.jsx)(c.default,{activeSection:e,errorMessageText:a,EXTERNAL_SIGNUP_EXTRA_INFO:l,externalSignupExtraInfoSubmit:v,handleExternalSignupExtraInfo:T,hasToShowErrorMessage:j,onClickRegister:U,onClickRegisterFromSignIn:G}),EXTERNAL_AUTH:()=>(0,w.jsx)(u.default,{EXTERNAL_AUTH:r,onClickRegister:U,onClickRegisterFromSignIn:G}),LOADER:()=>(0,w.jsx)(n.default,{type:"fullloader"}),PASS_RECOVERY_CHANGE:()=>(0,w.jsx)(g.default,{activeSection:e,errorMessageText:a,gtm:I,hasToShowErrorMessage:j,isEmailActiveError:P,PASS_RECOVERY_CHANGE:Y,passwordChange:q}),PASS_RECOVERY_CREATE:()=>(0,w.jsx)(f.default,{dialog:s,errorMessageText:a,handleDialogCheckbox:M,hasToShowErrorMessage:j,isEmailActiveError:P,PASS_RECOVERY_CREATE:X,passwordCreate:K,toggleInternalDialog:fe,userActive:ye}),PASS_RECOVERY_EMAIL:()=>(0,w.jsx)(y.default,{PASS_RECOVERY_EMAIL:F,setAuthSection:Q}),PASS_RECOVERY_EXPIRED:()=>(0,w.jsx)(h.default,{errorMessageText:a,hasToShowErrorMessage:j,isEmailActiveError:P,onClickRegister:U,PASS_RECOVERY_EXPIRED:W,passwordRecovery:J}),PASS_RECOVERY_SUCCESS:()=>(0,w.jsx)(S.default,{errorMessageText:a,hasToShowErrorMessage:j,isEmailActiveError:P,PASS_RECOVERY_SUCCESS:z,signin:se,SIGNIN:ne}),PASS_RECOVERY:()=>(0,w.jsx)(p.default,{activeSection:e,errorMessageText:a,gtm:I,hasToShowErrorMessage:j,isEmailActiveError:P,onClickRegister:U,PASS_RECOVERY:$,passwordRecovery:J}),PRE_SIGNUP:()=>(0,w.jsx)(m.default,{ADVANTAGE_TITLE:t,ADVANTAGES:o,errorMessageText:a,hasToShowErrorMessage:j,isDesktop:R,isEmailActiveError:P,LOYALTY_NAME:D,loyaltyLogo:B,onClickRegister:U,onLoginCallback:H,PRE_SIGNUP:Z,setAuthSection:Q,setAuthState:ee,SOCIAL:ce}),SIGNIN:()=>(0,w.jsx)(_.default,{errorMessageText:a,externalLogin:d,externalRegisterLink:k,hasToShowErrorMessage:j,isEmailActiveError:P,onClickRegisterFromSignIn:G,onLoginCallback:H,setAuthSection:Q,setAuthState:ee,signin:se,SIGNIN:ne,SOCIAL:ce,TEXT_LOGIN_FACEBOOK:pe,TEXT_LOGIN_GOOGLE:ge}),SIGNUP_SUCCESS:()=>(0,w.jsx)(x.default,{SIGNUP_SUCCESS:ie}
1),SIGNUP_VALIDATION_SUCCESS:()=>(0,w.jsx)(E.default,{errorMessageText:a,isEmailActiveError:P,SIGNUP_VALIDATION_SUCCESS:ae,setAuthSection:Q,setAuthState:ee,hasToShowErrorMessage:j,signin:se,onSignUpTrackings:V}),SIGNUP:()=>(0,w.jsx)(A.default,{domain:i,errorMessageText:a,GDPR:b,GOOGLE_RECAPTCHA:L,hasToShowErrorMessage:j,isDesktop:R,isEmailActiveError:P,onClickRegister:U,showLoader:oe,signup:re,SIGNUP:le}),SOCIAL_GDPR:()=>(0,w.jsx)(C.default,{GDPR:b,handleSocialGDPR:N,hasToReceiveNewsletter:O,isDesktop:R,setAuthState:ee,showConditionError:te,SOCIAL_GDPR:de,socialUserData:ue})}[e]||(()=>"")).call()),T=({activeSection:e,ADVANTAGE_TITLE:t,ADVANTAGES:o,dialog:s,domain:i,errorMessageText:a,EXTERNAL_AUTH:r,EXTERNAL_SIGNUP_EXTRA_INFO:l,externalLogin:c,externalRegisterLink:u,externalSignupExtraInfoSubmit:p,GDPR:g,GOOGLE_RECAPTCHA:f,gtm:y,handleDialogCheckbox:h,handleExternalSignupExtraInfo:S,handleSocialGDPR:m,hasToReceiveNewsletter:_,hasToShowErrorMessage:A,isDesktop:x,isEmailActiveError:E,LOYALTY_NAME:C,loyaltyLogo:T,onClickBooking:N,onClickRegister:O,onClickRegisterFromSignIn:j,onLoginCallback:R,onLogout:P,onSignUpTrackings:D,PASS_RECOVERY_CHANGE:B,PASS_RECOVERY_CREATE:U,PASS_RECOVERY_EMAIL:G,PASS_RECOVERY_EXPIRED:H,PASS_RECOVERY_SUCCESS:V,PASS_RECOVERY:Y,passwordChange:X,passwordCreate:F,passwordRecovery:W,PRE_SIGNUP:z,setAuthSection:$,setAuthState:q,showConditionError:K,showLoader:J,SIGNIN_SUCCESS:Z,signin:Q,SIGNIN:ee,SIGNUP_SUCCESS:te,SIGNUP_VALIDATION_SUCCESS:oe,signup:se,SIGNUP:ne,SOCIAL_GDPR:ie,SOCIAL:ae,socialUserData:re,subtitle:le,TEXT_LOGIN_FACEBOOK:de,TEXT_LOGIN_GOOGLE:ce,toggleInternalDialog:ue,userActive:pe})=>(0,w.jsxs)(I.AuthContainerStyles,{id:"roi-auth",children:[(0,w.jsxs)(I.AuthWrapperStyles,{children:[(0,w.jsxs)(I.AuthContentStyles,{children:[C&&(0,w.jsx)(v.default,{html:C}),le&&(0,w.jsx)(k.default,{html:le,loyaltyName:C})]}),(0,w.jsx)(M,{activeSection:e,ADVANTAGE_TITLE:t,ADVANTAGES:o,dialog:s,domain:i,errorMessageText:a,EXTERNAL_AUTH:r,EXTERNAL_SIGNUP_EXTRA_INFO:l,externalLogin:c,externalRegisterLink:u,externalSignupExtraInfoSubmit:p,GDPR:g,GOOGLE_RECAPTCHA:f,gtm:y,handleDialogCheckbox:h,handleExternalSignupExtraInfo:S,handleSocialGDPR:m,hasToReceiveNewsletter:_,hasToShowErrorMessage:A,isDesktop:x,isEmailActiveError:E,LOYALTY_NAME:C,loyaltyLogo:T,onClickBooking:N,onClickRegister:O,onClickRegisterFromSignIn:j,onLoginCallback:R,onLogout:P,onSignUpTrackings:D,PASS_RECOVERY_CHANGE:B,PASS_RECOVERY_CREATE:U,PASS_RECOVERY_EMAIL:G,PASS_RECOVERY_EXPIRED:H,PASS_RECOVERY_SUCCESS:V,PASS_RECOVERY:Y,passwordChange:X,passwordCreate:F,passwordRecovery:W,PRE_SIGNUP:z,setAuthSection:$,setAuthState:q,showConditionError:K,showLoader:J,SIGNIN_SUCCESS:Z,signin:Q,SIGNIN:ee,SIGNUP_SUCCESS:te,SIGNUP_VALIDATION_SUCCESS:oe,signup:se,SIGNUP:ne,SOCIAL_GDPR:ie,SOCIAL:ae,socialUserData:re,TEXT_LOGIN_FACEBOOK:de,TEXT_LOGIN_GOOGLE:ce,toggleInternalDialog:ue,userActive:pe})]}),(0,b.hasToShowAdvantages)(x,e)&&(0,w.jsx)(L.AdvantagesWrapperStyles,{children:(0,w.jsx)(d.default,{ADVANTAGE_TITLE:t,ADVANTAGES:o,LOYALTY_NAME:C,loyaltyLogo:T})}),J&&(0,w.jsx)(n.default,{type:"fullloader"})]}),N=({activeSection:e,ADVANTAGE_TITLE:t,ADVANTAGES:o,dialog:s,domain:d,errorMessageText:c,EXTERNAL_AUTH:u,EXTERNAL_SIGNUP_EXTRA_INFO:p,externalLogin:g,externalRegisterLink:f,externalSignupExtraInfoSubmit:y,GDPR:h,GOOGLE_RECAPTCHA:S,gtm:m,handleDialogCheckbox:_,handleExternalSignupExtraInfo:A,handleSocialGDPR:x,hasToReceiveNewsletter:E,hasToShowErrorMessage:C,isDesktop:k,isEmailActiveError:v,LOYALTY_ACCOUNT:L,LOYALTY_NAME:I,loyaltyLogo:M,MEMBER_NUMBER_TEXT:N,MEMBER_SINCE_TEXT:O,NOTIFICATIONS:j,onClickBooking:R,onClickRegister:P,onClickRegisterFromSignIn:D,onCloseModal:B,onLoginCallback:U,onLogout:G,onSignUpTrackings:H,PASS_RECOVERY_CHANGE:V,PASS_RECOVERY_CREATE:Y,PASS_RECOVERY_EMAIL:X,PASS_RECOVERY_EXPIRED:F,PASS_RECOVERY_SUCCESS:W,PASS_RECOVERY:z,passwordChange:$,passwordCreate:q,passwordRecovery:K,PRE_SIGNUP:J,removeExternalLoginInstance:Z,setAuthSection:Q,setAuthState:ee,showConditionError:te,showExternalLogin:oe,showExternalSignup:se,showLoader:ne,SIGNIN_SUCCESS:ie,signin:ae,SIGNIN:re,SIGNUP_SUCCESS:le,SIGNUP_VALIDATION_
1SUCCESS:de,signup:ce,SIGNUP:ue,SOCIAL_GDPR:pe,SOCIAL:ge,socialLoginSettings:fe,socialUserData:ye,subtitle:he,TEXT_LOGIN_FACEBOOK:Se,TEXT_LOGIN_GOOGLE:me,toggleInternalDialog:_e,type:Ae,user:xe,userActive:Ee})=>{let Ce;if(oe||se){const{height:e,url:t,width:o}=((e,t)=>{const o=e?"external_login":"external_sign_up",{login_url:s,signup_url:n,height:i,redirect:a,width:l}=(0,r.getExternalLoginData)(t,o);return{height:i,url:e?s:n,redirect:a,width:l}})(oe,fe);Ce=(0,w.jsx)(l.default,{height:e,loginURL:t,removeInstance:Z,width:o})}else"SIGNIN_SUCCESS"===e?Ce=(0,w.jsx)(i.default,{...(0,b.getLoyaltyAreaProps)({ADVANTAGES:o,isDesktop:k,LOYALTY_ACCOUNT:L,LOYALTY_NAME:I,loyaltyLogo:M,MEMBER_NUMBER_TEXT:N,MEMBER_SINCE_TEXT:O,NOTIFICATIONS:j,onClickBooking:R,onLogout:G,SECTIONS:i.default.SECTIONS,SIGNIN_SUCCESS:ie,user:xe})}):(Ce=(0,w.jsx)(T,{activeSection:e,ADVANTAGE_TITLE:t,ADVANTAGES:o,dialog:s,domain:d,errorMessageText:c,EXTERNAL_AUTH:u,EXTERNAL_SIGNUP_EXTRA_INFO:p,externalLogin:g,externalRegisterLink:f,externalSignupExtraInfoSubmit:y,GDPR:h,GOOGLE_RECAPTCHA:S,gtm:m,handleDialogCheckbox:_,handleExternalSignupExtraInfo:A,handleSocialGDPR:x,hasToReceiveNewsletter:E,hasToShowErrorMessage:C,isDesktop:k,isEmailActiveError:v,LOYALTY_NAME:I,loyaltyLogo:M,onClickBooking:R,onClickRegister:P,onClickRegisterFromSignIn:D,onLoginCallback:U,onLogout:G,onSignUpTrackings:H,PASS_RECOVERY_CHANGE:V,PASS_RECOVERY_CREATE:Y,PASS_RECOVERY_EMAIL:X,PASS_RECOVERY_EXPIRED:F,PASS_RECOVERY_SUCCESS:W,PASS_RECOVERY:z,passwordChange:$,passwordCreate:q,passwordRecovery:K,PRE_SIGNUP:J,setAuthSection:Q,setAuthState:ee,showConditionError:te,showLoader:ne,SIGNIN_SUCCESS:ie,signin:ae,SIGNIN:re,SIGNUP_SUCCESS:le,SIGNUP_VALIDATION_SUCCESS:de,signup:ce,SIGNUP:ue,SOCIAL_GDPR:pe,SOCIAL:ge,socialUserData:ye,subtitle:he,TEXT_LOGIN_FACEBOOK:Se,TEXT_LOGIN_GOOGLE:me,toggleInternalDialog:_e,user:xe,userActive:Ee}),"modal"===Ae&&(Ce=(0,w.jsx)(a.default,{onClick:B,children:(0,w.jsx)(n.default,{dialogSize:"fit",isDesktop:k,onClose:B,themeHeader:"absolute",themeVersion:"light",type:"modal",children:Ce})})));return Ce};N.displayName="AuthView";t.default=N;e.exports=t.default},2770:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(59414);const n=(e,t,o=!1)=>({code:t,externalLogin:o,name:e,url:"#"}),i=({home_text:e,my_bookings_text:t,my_personal_info_text:o,logout_text:s},{home:i,myBookings:a,personalInfo:r,logout:l})=>[n(e,i),n(t,a,!0),n(o,r,!0),n(s,l)];t.default={buildHashUrl:e=>`${window.location.origin}${window.location.pathname}${e}`,createMarkup:e=>({__html:e}),getActiveSection:({socialLoginSettings:e,activeSection:t})=>{const{isExternalLogin:o,isExternalAuth:n}=(0,s.hasExternalAuth)(e);let i;return i=n?"EXTERNAL_AUTH":"EXTERNAL_SIGNUP_EXTRA_INFO"===t?t:o?"SIGNUP":t,i},getInitialAuthSection:e=>e?"SIGNIN":"PRE_SIGNUP",getLoyaltyAreaProps:({ADVANTAGES:e,externalLogin:t,isDesktop:o,LOYALTY_ACCOUNT:s,LOYALTY_NAME:n,loyaltyLogo:a,MEMBER_NUMBER_TEXT:r,MEMBER_SINCE_TEXT:l,NOTIFICATIONS:d,onClickBooking:c,onLogout:u,SECTIONS:p,SIGNIN_SUCCESS:g,user:f})=>({advantages:e,bookingButtonText:g.bookingButtonText,bookingsAreaData:{texts:s.booking_area_texts},externalLogin:t,greeting:d.messages.registered.text,isDesktop:o,levelInfo:{discount:s.levelInfo.discount,discountText:s.levelInfo.discountText,info:s.levelInfo.info,level:s.levelInfo.level,levelName:s.levelInfo.levelName,loyaltyName:n},logout:u,member:{loyaltyId:f.loyalty_id,loyaltyLogoAlt:n,loyaltyLogoUrl:a,memberSinceDate:`${f.info_personal?f.info_personal.fecha_alta:f.fecha_alta||""}`,memberNumberText:r,memberSinceText:l,name:`${f.nombre} ${f.apellidos}`},navigation:i(s,p),onClickBooking:c,userInfoAreaData:{texts:s.user_info_area_texts}}),hasToChangePassword:({password:e,passwordRepeat:t,tokenPassword:o,tokenUID:s})=>e===t&&!!o&&!!s,hasToShowAdvantages:(e,t)=>(e||"SIGNIN"===t||"SIGNUP_SUCCESS"===t||"SOCIAL_GDPR"===t)&&"EXTERNAL_SIGNUP_EXTRA_INFO"!==t,replaceKeys:({html:e="",loyaltyName:t})=>e.replace("<LOYALTY_NAME>",t)};e.exports=t.default},91667:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(97838));t.default=n.default;e.exports=t.default},54096:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=o(37039),a=o(3912),r=s(o(89883)),l=s(o(71334));const d=n.default.div.withConfig({displayName:"Advantagesstyles__AdvantagesWrapperStyles",componentId:"sc-wblefe-0"})(["",";"],({theme:e})=>(0,n.css)(["border-top:"," solid ",";flex:1;margin-top:",";@media ","{border-top:0;margin-top:0;padding-left:",";position:relative;width:50%;&::before{background:",";content:'';display:block;height:",";height:100%;left:0;position:absolute;top:0;width:",";}}"],e.borderWidthS,e.neutral100,e.r100,i.device.tablet,e.r300,e.neutral400,e.r200,e.r010)),c=n.default.section.withConfig({displayName:"Advantagesstyles__AdvantagesContainerStyles",componentId:"sc-wblefe-1"})(["text-align:center;"]),u=n.default.h5.withConfig({displayName:"Advantagesstyles__AdvantagesIntroStyles",componentId:"sc-wblefe-2"})(["",";"],({theme:e})=>(0,n.css)(["",";color:",";font-weight:",";line-height:",";margin:0;text-align:center;@media ","{text-align:left;}"],r.default.StoB,e.neutral800,e.fontRegular,e.lineHeightS,i.device.tablet)),p=n.default.ul.withConfig({displayName:"Advantagesstyles__AdvantagesListStyles",componentId:"sc-wblefe-3"})(["",";"],({theme:e})=>(0,n.css)(["margin:0 0 ",";padding:0 0 ",";"],e.r150,e.r010)),g=n.default.li.withConfig({displayName:"Advantagesstyles__AdvantagesListIconStyles",componentId:"sc-wblefe-4"})(["",";"],({theme:e})=>(0,n.css)(["",";align-items:flex-start;color:",";display:flex;padding-right:",";padding-top:",";margin-top:",";width:100%;*{line-height:",";}"],r.default.StoB,e.loyaltyAdvColor||e.neutral900,e.r100,e.r150,e.r010,e.lineHeightXS)),f=n.default.span.withConfig({displayName:"Advantagesstyles__AdvantagesItemTextStyles",componentId:"sc-wblefe-5"})([""," text-align:left;"],a.InnerHTMLStyles),y=n.default.img.withConfig({displayName:"Advantagesstyles__AuthLoyaltyLogoStyles",componentId:"sc-wblefe-6"})(["",";"],({theme:e})=>(0,n.css)(["height:",";text-align:center;margin:"," 0 ",";@media ","{margin:0 0 ",";padding:0 0 ",";}"],e.authLoyaltyLogoHeight||e.iconSizeXL,e.r100,e.r300,i.device.tablet,e.r300,e.r025)),h=(0,n.default)(l.default).withConfig({displayName:"Advantagesstyles__CheckIconSVG",componentId:"sc-wblefe-7"})(["",""],({theme:e})=>(0,n.css)(["fill:",";flex-shrink:0;height:",";margin-right:",";width:",";"],e.neutral700,e.iconsSizeB,e.r050,e.iconsSizeB));e.exports={AdvantagesContainerStyles:c,AdvantagesIntroStyles:u,AdvantagesItemTextStyles:f,AdvantagesListIconStyles:g,AdvantagesListStyles:p,AdvantagesWrapperStyles:d,AuthLoyaltyLogoStyles:y,CheckIconSVG:h}},58607:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=o(37039),a=s(o(89883)),r=s(o(80700)),l=s(o(37299));const d=n.default.div.withConfig({displayName:"Commonstyles__AuthAdviceStyles",componentId:"sc-bk656i-0"})(["",";"],({theme:e})=>(0,n.css)(["margin:"," 0 0;"],e.r300)),c=n.default.h4.withConfig({displayName:"Commonstyles__AuthTextStyles",componentId:"sc-bk656i-1"})(["",";"],({theme:e})=>(0,n.css)(["",";color:",";font-weight:",";line-height:",";margin-bottom:0;text-align:center;@media ","{margin:"," 0 0;padding:"," 0 0;text-align:left;}"],a.default.StoB,e.neutral800,e.fontRegular,e.lineHeightS,i.device.tablet,e.r300,e.r025)),u=n.default.a.withConfig({displayName:"Commonstyles__LinkStyles",componentId:"sc-bk656i-2"})(["",";"],({theme:e})=>(0,n.css)(["",";color:",";display:block;margin:"," 0 0;text-align:center;@media ","{text-align:center;text-decoration:underline;}&:first-of-type{margin-top:","};}&:focus{outline:",";}&:hover{text-decoration:none;}"],a.default.XStoS,e.neutral800,e.r100,i.device.tablet,e.r200,e.outline)),p=n.default.div.withConfig({displayName:"Commonstyles__PassRecoveryStyles",componentId:"sc-bk656i-3"})(["",";"],({theme:e})=>(0,n.css)(["margin-bottom:",";"],e.r300)),g=n.default.div.withConfig({displayName:"Commonstyles__AuthSuccesStyles",componentId:"sc-bk656i-4"})(["",";"],({theme:e})=>(0,n.css)(["margin-bottom:",";padding:0 ",";text-align:center;"],e.r300,e.r100)),f=n.default.div.withConfig({displayName:"Commonstyles__PassSuccesStyles",componentId:"sc-bk656i-5"})(["",";"],({theme:e})=>(0,n.css)(["margin-bottom:",";margin-top:",";"],e.r300,e.r300)),y=(0,n.css)(["",""],({theme:e})=>(0,n.css)(["height:",";margin:"," 0;width:100%;"],e.r1000,e.r300)),h=(0,n.default)(r.default).withConfig({displayName:"Commonstyles__MailCheckIconStyles",componentId:"sc-bk656i-6"})(["",";"],({theme:e})=>(0,n.css)(["",";fill:",";"],y,e.neutral600)),S=n.default.a.withConfig({displayName:"Commonstyles__ChevronLinkStyles",componentId:"sc-bk656i-7"})(["",""],({theme:e})=>(0,n.css)(["",";align-items:center;color:",";cursor:pointer;display:flex;justify-content:center;"],a.default.XStoS,e.neutral800)),m=(0,n.css)(["",""],({theme:e})=>(0,n.css)(["fill:",";flex-shrink:0;height:",";width:",";"],e.neutral900,e.iconsSizeB,e.iconsSizeB)),_=(0,n.default)(l.default).withConfig({displayName:"Commonstyles__ChevronsLeftIconSVG",componentId:"sc-bk656i-8"})([""," ",""],m,({theme:e})=>(0,n.css)(["margin-right:",";"],e.r050));e.exports={AuthAdviceStyles:d,AuthSuccesStyles:g,AuthTextStyles:c,ChevronLinkStyles:S,ChevronsLeftIconSVG:_,LinkStyles:u,MailCheckIconStyles:h,PassRecoveryStyles:p,PassSuccesStyles:f}},24627:function(e,t,o){"use strict";var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),n=o(69014);const i=s.default.div.withConfig({displayName:"ExternalAuthstyles__ExternalAuthStyles",componentId:"sc-cdvqye-0"})(["",";"],({theme:e})=>(0,s.css)(["display:flex;flex-direction:column;margin:0 0 ",";padding:0 0 ",";"],e.r300,e.r025)),a=(0,s.default)(n.ButtonBase).withConfig({displayName:"ExternalAuthstyles__ExternalLoginButton",componentId:"sc-cdvqye-1"})([""," ",""],({theme:e})=>(0,s.css)(["&{background-color:",";border-radius:",";border:",";color:",";text-transform:uppercase;margin-bottom:",";}&:visited,&:hover,&:active{","}"],e.ButtonExternalLoginBgColor||e.colorMain,e.buttonRounded||e.round,e.ButtonExternalLoginBorder||`${e.borderWidthS} solid transparent`,e.ButtonExternalLoginColor||e.neutral000,e.r200,(({ButtonExternalLoginBgColorOver:e,colorMain700:t,ButtonExternalLoginBorderOver:o,borderWidthS:n,ButtonExternalLoginColorOver:i,neutral000:a})=>(0,s.css)(["background-color:",";border:",";color:",";"],e||t,o||`${n} solid transparent`,i||a))({ButtonExternalLoginBgColorOver:e.ButtonExternalLoginBgColorOver,colorMain700:e.colorMain700,ButtonExternalLoginBorderOver:e.ButtonExternalLoginBorderOver,borderWidthS:e.borderWidthS,ButtonExternalLoginColorOver:e.ButtonExternalLoginColorOver,neutral000:e.neutral000})),n.focus),r=(0,s.default)(n.ButtonBase).withConfig({displayName:"ExternalAuthstyles__ExternalSignupButton",componentId:"sc-cdvqye-2"})([""," ",""],({theme:e})=>(0,s.css)(["&{background-color:",";border-radius:",";border:",";color:",";text-transform:uppercase;}&:visited,&:hover,&:active{",""],e.ButtonExternalSignUpBgColor||e.neutral000,e.buttonRounded||e.round,e.ButtonExternalSignUpBorder||`${e.borderWidthS} solid ${e.colorMain}`,e.ButtonExternalSignUpColor||e.colorMain,(({ButtonExternalSignUpBgColorOver:e,neutral000:t,ButtonExternalSignUpBorderOver:o,borderWidthS:n,colorMain700:i,ButtonExternalSignUpColorOver:a})=>(0,s.css)(["background-color:",";border:",";color:",";"],e||t,o||`${n} solid ${i}`,a||i))({ButtonExternalSignUpBgColorOver:e.ButtonExternalSignUpBgColorOver,neutral000:e.neutral000,ButtonExternalSignUpBorderOver:e.ButtonExternalSignUpBorderOver,borderWidthS:e.borderWidthS,colorMain700:e.colorMain700,ButtonExternalSignUpColorOver:e.ButtonExternalSignUpColorOver})),n.focus);e.exports={ExternalAuthStyles:i,ExternalLoginButton:a,ExternalSignupButton:r}},50151:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),n=o(37039);const i=s.default.div.withConfig({displayName:"ExternalSignupExtraInfostyles__HeaderStyles",componentId:"sc-481zrl-0"})(["",";"],({theme:e})=>(0,s.css)(["align-items:center;display:flex;justify-content:space-between;margin-bottom:",";"],e.r400)),a=s.default.span.withConfig({displayName:"ExternalSignupExtraInfostyles__TitleStyles",componentId:"sc-481zrl-1"})(["",";"],({theme:e})=>(0,s.css)(["color:",";font-size:",";font-weight:",";line-height:",";"],e.neutral700,e.fontXL,e.fontRegular,e.lineHeightXS)),r=s.default.img.withConfig({displayName:"ExternalSignupExtraInfostyles__LoyaltyLogoStyles",componentId:"sc-481zrl-2"})(["",";"],({theme:e})=>(0,s.css)(["max-width:",";max-height:",";@media ","{max-width:",";max-height:",";}"],e.r1000,e.r500,n.device.tablet,e.r1200,e.r600)),l=s.default.div.withConfig({displayName:"ExternalSignupExtraInfostyles__FormStyles",componentId:"sc-481zrl-3"})(["",";"],({theme:e})=>(0,s.css)(["border:"," solid ",";padding:"," ",";"],e.borderWidthS,e.neutral100,e.r300,e.r200)),d=s.default.p.withConfig({displayName:"ExternalSignupExtraInfostyles__DescriptionStyles",componentId:"sc-481zrl-4"})(["",";"],({theme:e})=>(0,s.css)(["font-size:",";font-weight:",";line-height:",";margin-bottom:",";"],e.fontB,e.fontBold,e.lineHeightS,e.r200)),c=s.default.div.withConfig({displayName:"ExternalSignupExtraInfostyles__SubmitContainerStyles",componentId:"sc-481zrl-5"})(["",";"],({theme:e})=>(0,s.css)(["display:flex;justify-content:center;margin-top:",";"],e.r500));t.default={DescriptionStyles:d,FormStyles:l,HeaderStyles:i,LoyaltyLogoStyles:r,TitleStyles:a,SubmitContainerStyles:c};e.exports=t.default},3261:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(4722));const a=n.default.button.withConfig({displayName:"PreSignUpstyles__EmailButtonStyles",componentId:"sc-kbd0hm-0"})(["",";"],({theme:e})=>(0,n.css)(["align-items:center;background:",";border:"," solid ",";border-radius:.4rem;cursor:pointer;color:",";display:flex;flex-wrap:nowrap;font-size:",";margin:0 auto ",";max-width:31rem;min-height:",";padding:0;text-align:center;width:100%;&:focus{outline:",";}"],e.EmailButtonBg||e.neutral000,e.borderWidthS,e.neutral300,e.EmailButtonColor||e.neutral900,e.fontS,e.r100,e.r400,e.outline)),r=n.default.span.withConfig({displayName:"PreSignUpstyles__EmailButtonIconStyles",componentId:"sc-kbd0hm-1"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;justify-content:center;margin-left:",";min-height:",";width:",";"],e.r100,e.r400,e.r200)),l=n.default.span.withConfig({displayName:"PreSignUpstyles__EmailButtonTextStyles",componentId:"sc-kbd0hm-2"})(["width:100%;"]),d=(0,n.default)(i.default).withConfig({displayName:"PreSignUpstyles__EmailIconStyles",componentId:"sc-kbd0hm-3"})(["",""],({theme:e})=>(0,n.css)(["fill:",";width:",";"],e.EmailButtonColor||e.neutral900,e.iconsSizeM));e.exports={EmailButtonIconStyles:r,EmailButtonStyles:a,EmailButtonTextStyles:l,EmailIconStyles:d}},85264:function(e,t,o){"use strict";const s=o(24994)(o(30496)).default.div.withConfig({displayName:"SignInstyles__SignInStyles",componentId:"sc-69pt7y-0"})(["max-width:31rem;padding:0;"]);e.exports={SignInStyles:s}},55012:function(e,t,o){"use strict";var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496));const n=s.default.div.withConfig({displayName:"SocialGDPRstyles__SocialGdprTextStyles",componentId:"sc-1se94vj-0"})(["",";"],({theme:e})=>(0,s.css)(["margin:"," 0;"],e.r100)),i=s.default.div.withConfig({displayName:"SocialGDPRstyles__SocialGdprUserInfoStyles",componentId:"sc-1se94vj-1"})(["",";"],({theme:e})=>(0,s.css)(["background:",";margin-bottom:",";padding:",";"],e.neutral100,e.r100,e.r100)),a=s.default.span.withConfig({displayName:"SocialGDPRstyles__SocialGdprUserInfoFieldsStyles",componentId:"sc-1se94vj-2"})(["display:block;"]);e.exports={SocialGdprTextStyles:n,SocialGdprUserInfoFieldsStyles:a,SocialGdprUserInfoStyles:i}},31826:function(e,t,o){"use strict";var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),n=o(37039);const i=s.default.h3.withConfig({displayName:"Titlestyles__AuthTitleStyles",componentId:"sc-r3x25d-0"})(["",";"],({theme:e})=>(0,s.css)(["font-size:",";color:",";margin:0;padding:0;text-align:center;text-transform:uppercase;@media ","{font-size:",";text-align:left;text-transform:none;}"],e.iconsSizeXS,e.neutral800,n.device.tablet,e.fontXXL));e.exports={AuthTitleStyles:i}},83131:function(e,t,o){"use strict";var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),n=o(37039);const i=s.default.div.withConfig({displayName:"Viewstyles__AuthContainerStyles",componentId:"sc-1sf5kxj-0"})(["*{box-sizing:border-box;}",";@media ","{display:flex;max-width:80rem;width:100%;}"],({theme:e})=>(0,s.css)(["padding:"," "," 0;"],e.r100,e.r150),n.device.tablet),a=s.default.div.withConfig({displayName:"Viewstyles__AuthWrapperStyles",componentId:"sc-1sf5kxj-1"})(["",";"],({theme:e})=>(0,s.css)(["flex:1;@media ","{padding-right:",";width:50%;}"],n.device.tablet,e.r300)),r=s.default.div.withConfig({displayName:"Viewstyles__AuthContentStyles",componentId:"sc-1sf5kxj-2"})(["",";"],({theme:e})=>(0,s.css)(["margin-bottom:",";padding-bottom:",";width:100%;"],e.r300,e.r025));e.exports={AuthContainerStyles:i,AuthContentStyles:r,AuthWrapperStyles:a}},27070:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(2770),n=o(54096),i=o(74848);const a=({ADVANTAGE_TITLE:e})=>e&&(0,i.jsx)(n.AdvantagesIntroStyles,{"data-testid":"fn-auth-advantages-title",children:e}),r=({ADVANTAGES:e})=>e.length&&(0,i.jsx)(n.AdvantagesListStyles,{children:e.map(e=>(0,i.jsxs)(n.AdvantagesListIconStyles,{children:[(0,i.jsx)(n.CheckIconSVG,{}),(0,i.jsx)(n.AdvantagesItemTextStyles,{dangerouslySetInnerHTML:(0,s.createMarkup)(e.title)})]},e.title))});t.default=({ADVANTAGE_TITLE:e,ADVANTAGES:t,LOYALTY_NAME:o,loyaltyLogo:s})=>(t.length||e)&&(0,i.jsxs)(n.AdvantagesContainerStyles,{"data-testid":"fn-auth-advantages",children:[s&&(0,i.jsx)(n.AuthLoyaltyLogoStyles,{alt:o,src:s}),(0,i.jsx)(a,{ADVANTAGE_TITLE:e}),(0,i.jsx)(r,{ADVANTAGES:t})]});e.exports=t.default},62959:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(94458)),i=o(74848);t.default=({isEmailActiveError:e,text:t})=>(0,i.jsx)(n.default,{timeToShow:0,title:t,type:e?"warning":"error",versionMessageRedesign:"B"});e.exports=t.default},4835:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(24627),n=o(74848);t.default=({EXTERNAL_AUTH:e,onClickRegister:t,onClickRegisterFromSignIn:o})=>(0,n.jsxs)(s.ExternalAuthStyles,{"data-testid":"fn-external-auth",children:[(0,n.jsx)(s.ExternalLoginButton,{"data-testid":"fn-external-auth-signin",onClick:t,children:e.signinButtonText}),(0,n.jsx)(s.ExternalSignupButton,{"data-testid":"fn-external-auth-signup",onClick:o,children:e.signupButtonText})]});e.exports=t.default},8759:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(69014)),a=s(o(62959)),r=o(50151),l=o(74848);t.default=({errorMessageText:e,EXTERNAL_SIGNUP_EXTRA_INFO:t,externalSignupExtraInfoSubmit:o,hasToShowErrorMessage:s,isDesktop:d})=>{const{buttonText:c,loyaltyLogoAlt:u,loyaltyLogoUrl:p,description:g,form:f,selectPlaceholderText:y,title:h}=t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r.HeaderStyles,{children:[(0,l.jsx)(r.TitleStyles,{children:h}),(0,l.jsx)(r.LoyaltyLogoStyles,{alt:u,src:p})]}),(0,l.jsxs)(r.FormStyles,{children:[(0,l.jsx)(r.DescriptionStyles,{children:g}),(0,l.jsx)(n.default,{action:"",form:f,id:"externalSignupExtraInfoForm",isDesktop:d,message:(0,l.jsx)(a.default,{text:e}),method:"POST",onClickSubmit:o,selectPlaceholderText:y,showMessage:s,children:(0,l.jsx)(r.SubmitContainerStyles,{children:(0,l.jsx)(i.default.Primary,{"data-testid":"fn-external-signup-extra-info-submit",mods:["large"],children:c})})})]})]})};e.exports=t.default},24862:function(e,t,o){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(2770),n=o(58607),i=o(74848);t.default=({linkText:e,onClickRegister:t})=>(0,i.jsx)(n.LinkStyles,{"data-testid":"fn-auth-login",href:(0,s.buildHashUrl)("#login"),onClick:e=>{e.preventDefault(),t()},children:e});e.exports=t.default},4957:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(2770),n=o(74848);t.default=({html:e,Component:t})=>(0,n.jsx)(t,{dangerouslySetInnerHTML:(0,s.createMarkup)(e)});e.exports=t.default},52798:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(94458)),a=s(o(62959)),r=s(o(24862)),l=o(58607),d=o(74848);t.default=({activeSection:e,errorMessageText:t,gtm:o,hasToShowErrorMessage:s,isEmailActiveError:c,onClickRegister:u,PASS_RECOVERY:p,passwordRecovery:g})=>{const{advice:f,buttonText:y,form:h,gotoLogin:S}=p;return(0,d.jsxs)(l.PassRecoveryStyles,{children:[(0,d.jsx)(n.default,{buttonText:y,form:h,id:"passRecoverForm",message:(0,d.jsx)(a.default,{isEmailActiveError:c,text:t}),onClickSubmit:g,onPassRecoveryEmail:o.onPassRecoveryEmail,showMessage:s,state:e}),(0,d.jsx)(l.AuthAdviceStyles,{children:(0,d.jsx)(i.default,{title:f,type:"warning"})}),(0,d.jsx)(r.default,{linkText:S,onClickRegister:u})]})};e.exports=t.default},22198:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(62959)),a=s(o(19308)),r=o(74848);t.default=({activeSection:e,errorMessageText:t,gtm:o,hasToShowErrorMessage:s,isEmailActiveError:l,PASS_RECOVERY_CHANGE:d,passwordChange:c})=>{const{buttonText:u,form:p,formTitle:g}=d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{html:g}),(0,r.jsx)(n.default,{buttonText:u,form:p,id:"changePassword",message:(0,r.jsx)(i.default,{isEmailActiveError:l,text:t}),onClickSubmit:c,onPassRecoveryChange:o.onPassRecoveryChange,showMessage:s,state:e})]})};e.exports=t.default},65700:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(94458)),a=o(94501),r=s(o(12873)),l=s(o(62959)),d=s(o(19308)),c=o(74848);t.default=({dialog:e,errorMessageText:t,handleDialogCheckbox:o,hasToShowErrorMessage:s,isEmailActiveError:u,PASS_RECOVERY_CREATE:p,passwordCreate:g,userActive:f})=>{const{bookAndJoinCondition:y,buttonText:h,description:S,form:m,message:_}=p;return(0,c.jsxs)(c.Fragment,{children:[e.bookAndJoinCondition?.showDialog&&(0,c.jsx)(r.default,{...e.bookAndJoinCondition.dialogProps}),(0,c.jsx)(i.default,{timeToShow:0,title:_,type:a.MessageTypes.INFO,versionMessageRedesign:"B"}),(0,c.jsx)(d.default,{html:`${S}:`}),(0,c.jsx)(n.default,{buttonText:h,form:{...m,...!f&&{bookAndJoinCondition:{...y,handleCheckbox:()=>o("bookAndJoinCondition",y.links[0].endpoint)}}},id:"passRecoveryCreate",message:(0,c.jsx)(l.default,{isEmailActiveError:u,text:t}),onClickSubmit:g,showMessage:s})]})};e.exports=t.default},67160:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(94458)),i=o(58607),a=o(74848);t.default=({PASS_RECOVERY_EMAIL:e,setAuthSection:t})=>(0,a.jsxs)(i.AuthSuccesStyles,{children:[(0,a.jsx)(i.AuthAdviceStyles,{children:(0,a.jsx)(n.default,{title:e.text,type:"warning"})}),(0,a.jsx)(i.MailCheckIconStyles,{"aria-hidden":"true"}),(0,a.jsxs)(i.ChevronLinkStyles,{onClick:()=>t("PASS_RECOVERY"),children:[(0,a.jsx)(i.ChevronsLeftIconSVG,{}),e.goBackText]})]});e.exports=t.default},43147:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(62959)),a=s(o(24862)),r=s(o(4957)),l=o(58607),d=o(74848);t.default=({errorMessageText:e,hasToShowErrorMessage:t,isEmailActiveError:o,onClickRegister:s,PASS_RECOVERY_EXPIRED:c,passwordRecovery:u})=>{const{advice:p,buttonText:g,form:f,gotoLogin:y}=c;return(0,d.jsxs)(l.PassSuccesStyles,{children:[(0,d.jsx)(n.default,{id:"passwordExpired",onClickSubmit:u,buttonText:g,showMessage:t,message:(0,d.jsx)(i.default,{isEmailActiveError:o,text:e}),form:f}),(0,d.jsx)(r.default,{Component:l.LinkStyles,html:p}),(0,d.jsx)(a.default,{linkText:y,onClickRegister:s})]})};e.exports=t.default},77001:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=o(94501),a=s(o(94458)),r=s(o(62959)),l=s(o(19308)),d=o(58607),c=o(74848);t.default=({errorMessageText:e,hasToShowErrorMessage:t,isEmailActiveError:o,PASS_RECOVERY_SUCCESS:s,signin:u,SIGNIN:p})=>{const{formTitle:g,message:f}=s,{buttonText:y,form:h}=p;return(0,c.jsxs)(d.PassSuccesStyles,{children:[(0,c.jsx)(a.default,{timeToShow:0,title:f,type:i.MessageTypes.SUCCESS,versionMessageRedesign:"B"}),(0,c.jsx)(l.default,{html:g}),(0,c.jsx)(n.default,{buttonText:y,form:h,id:"loginForm",message:(0,c.jsx)(r.default,{isEmailActiveError:o,text:e}),onClickSubmit:u,showMessage:t})]})};e.exports=t.default},48381:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(57858)),i=s(o(27070)),a=s(o(62959)),r=s(o(24862)),l=o(3261),d=o(74848);t.default=({ADVANTAGE_TITLE:e,ADVANTAGES:t,errorMessageText:o,hasToShowErrorMessage:s,isDesktop:c,isEmailActiveError:u,LOYALTY_NAME:p,loyaltyLogo:g,onClickRegister:f,onLoginCallback:y,PRE_SIGNUP:h,setAuthSection:S,setAuthState:m,SOCIAL:_})=>{const{buttonText:A,gotoLogin:x}=h;return(0,d.jsxs)(d.Fragment,{children:[!c&&(0,d.jsx)(i.default,{ADVANTAGE_TITLE:e,ADVANTAGES:t,LOYALTY_NAME:p,loyaltyLogo:g}),s&&(0,d.jsx)(a.default,{isEmailActiveError:u,text:o}),(0,d.jsx)(n.default,{..._,onLoginCallback:y}),(0,d.jsxs)(l.EmailButtonStyles,{"aria-label":A,"data-testid":"fn-auth-email-button",onClick:()=>{S("SIGNUP",()=>{m({hasToShowErrorMessage:!1})})},children:[(0,d.jsx)(l.EmailButtonIconStyles,{children:(0,d.jsx)(l.EmailIconStyles,{})}),(0,d.jsx)(l.EmailButtonTextStyles,{children:A})]}),(0,d.jsx)(r.default,{linkText:x,onClickRegister:f})]})};e.exports=t.default},61542:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(57858)),a=o(2770),r=s(o(62959)),l=o(58607),d=o(85264),c=o(74848);t.default=({errorMessageText:e,externalRegisterLink:t,hasToShowErrorMessage:o,isEmailActiveError:s,onClickRegisterFromSignIn:u,onLoginCallback:p,setAuthSection:g,setAuthState:f,SIGNIN:y,signin:h,SOCIAL:S,TEXT_LOGIN_FACEBOOK:m,TEXT_LOGIN_GOOGLE:_})=>{const{buttonText:A,forgetPassword:x,form:E,newRegister:C}=y;return(0,c.jsxs)(d.SignInStyles,{children:[(0,c.jsx)(i.default,{...S,onLoginCallback:p,textLoginFacebook:m,textLoginGoogle:_}),(0,c.jsx)(n.default,{action:"",buttonText:A,form:E,id:"loginForm",message:(0,c.jsx)(r.default,{isEmailActiveError:s,text:e}),method:"POST",onClickSubmit:h,showMessage:o}),(0,c.jsx)(l.LinkStyles,{"data-testid":"fn-auth-forget",href:(0,a.buildHashUrl)("#recover"),onClick:e=>{e.preventDefault(),g("PASS_RECOVERY",()=>{f({hasToShowErrorMessage:!1})})},children:x}),(0,c.jsx)(l.LinkStyles,{"data-testid":"fn-auth-login",href:t||(0,a.buildHashUrl)("#register"),onClick:e=>{t||e.preventDefault(),u()},target:t&&"_blank",children:C})]})};e.exports=t.default},23440:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=s(o(62959)),a=s(o(24862)),r=o(74848);t.default=({domain:e,errorMessageText:t,GDPR:o,GOOGLE_RECAPTCHA:s,hasToShowErrorMessage:l,isDesktop:d,isEmailActiveError:c,onClickRegister:u,signup:p,SIGNUP:g,showLoader:f})=>{const{buttonText:y,form:h,gotoLogin:S,selectPlaceholderText:m,textRequired:_}=g;return(0,r.jsxs)("div",{"data-testid":"fn-auth-signup",children:[(0,r.jsx)(n.default,{action:"",blockSubmitButton:f,buttonText:y,domain:e,form:h,gdpr:o,hasConditions:!0,id:"registerForm",isDesktop:d,message:(0,r.jsx)(i.default,{isEmailActiveError:c,text:t}),method:"POST",onClickSubmit:p,recaptcha:s,selectPlaceholderText:m,showMessage:l,textRequired:_}),(0,r.jsx)(a.default,{linkText:S,onClickRegister:u})]})};e.exports=t.default},97883:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(94458)),i=o(58607),a=o(74848);t.default=({SIGNUP_SUCCESS:e})=>(0,a.jsxs)(i.AuthSuccesStyles,{children:[(0,a.jsx)(i.AuthAdviceStyles,{children:(0,a.jsx)(n.default,{title:e.text,type:"warning"})}),(0,a.jsx)(i.MailCheckIconStyles,{"aria-hidden":"true"})]});e.exports=t.default},41700:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(78152),i=s(o(18077)),a=o(94501),r=s(o(94458)),l=s(o(62959)),d=s(o(19308)),c=o(2770),u=o(58607),p=o(74848);t.default=({errorMessageText:e,hasToShowErrorMessage:t,isEmailActiveError:o,onSignUpTrackings:s,setAuthSection:g,setAuthState:f,signin:y,SIGNUP_VALIDATION_SUCCESS:h})=>{s(n.loyaltyActionNames.LoyaltyIntegrationFormType);const{buttonText:S,forgetPassword:m,form:_,formTitle:A,message:x}=h;return(0,p.jsxs)(u.PassSuccesStyles,{children:[(0,p.jsx)(r.default,{timeToShow:0,title:x,type:a.MessageTypes.INFO,versionMessageRedesign:"B"}),(0,p.jsx)(d.default,{html:A}),(0,p.jsx)(i.default,{buttonText:S,form:_,id:"loginForm",message:(0,p.jsx)(l.default,{isEmailActiveError:o,text:e}),onClickSubmit:y,showMessage:t}),(0,p.jsx)(u.LinkStyles,{href:(0,c.buildHashUrl)("#recover"),onClick:e=>{e.preventDefault(),g("PASS_RECOVERY",()=>{f({hasToShowErrorMessage:!1})})},children:m})]})};e.exports=t.default},96698:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(69014)),i=s(o(8935)),a=o(65652),r=s(o(4957)),l=o(55012),d=o(74848);const c=({hasToReceiveNewsletter:e,setAuthState:t,SOCIAL_GDPR:o})=>{const{label:s,name:n}=o.form.recibir_newsletter;return(0,d.jsx)(a.CheckBox,{isChecked:"true"===e,LabelFragment:()=>s,name:n,onChange:e=>t({recibir_newsletter:e.target.checked?"true":"false"})},n)};t.default=({GDPR:e,handleSocialGDPR:t,hasToReceiveNewsletter:o,isDesktop:s,setAuthState:a,showConditionError:u,SOCIAL_GDPR:p,socialUserData:g})=>(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.default,{Component:l.SocialGdprTextStyles,html:p.text}),(0,d.jsxs)(l.SocialGdprUserInfoStyles,{children:[(0,d.jsx)(l.SocialGdprUserInfoFieldsStyles,{children:`${p.field_name}: ${g.first_name} ${g.last_name}`}),(0,d.jsx)(l.SocialGdprUserInfoFieldsStyles,{children:`${p.field_email}: ${g.email}`})]}),p.form.recibir_newsletter&&(0,d.jsx)(c,{hasToReceiveNewsletter:o,setAuthState:a,SOCIAL_GDPR:p}),(0,d.jsx)(i.default,{...e,isDesktop:s,setHasAllRequiredCheckboxesChecked:e=>a({allConditionsOK:e}),showConditionError:u}),(0,d.jsx)(n.default.Primary,{"data-testid":"fn-social-gdpr-button",mods:["rounded"],onClick:t,children:p.buttonText})]});e.exports=t.default},19308:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(2770),n=o(58607),i=o(74848);t.default=({html:e,loyaltyName:t})=>(0,i.jsx)(n.AuthTextStyles,{dangerouslySetInnerHTML:(0,s.createMarkup)((0,s.replaceKeys)({html:e,loyaltyName:t})),id:"auth__text"});e.exports=t.default},51648:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(2770),n=o(31826),i=o(74848);t.default=({html:e})=>e&&(0,i.jsx)(n.AuthTitleStyles,{dangerouslySetInnerHTML:(0,s.createMarkup)(e)});e.exports=t.default},8502:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(8808)),a=s(o(44634)),r=o(74848);t.default=({bookings:e,bookingsFetched:t,currentPage:o,fetchBookingsHandler:s,isDesktop:l,nextPage:d,texts:c})=>{(0,n.useEffect)(()=>{if(!(o&&!d)){s(d||1)}},[]);const u=l?i.default:a.default;return(0,r.jsx)(u,{bookings:e,bookingsFetched:t,texts:c})};e.exports=t.default},77423:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=o(11368),a=s(o(8502)),r=o(74848);t.default=({isDesktop:e=!1,texts:t})=>{const[o,s]=(0,n.useState)([]),[l,d]=(0,n.useState)(!1),[c,u]=(0,n.use
1State)({});return(0,r.jsx)(a.default,{bookings:o,bookingsFetched:l,currentPage:c.currentPage,fetchBookingsHandler:e=>{const t={page:e};(0,i.getUserLoggedBookings)(t).then(e=>{s(o.concat(e.result)),d(!0),u({currentPage:e.current_page,nextPage:e.next_page,numPages:e.num_pages,prevPage:e.prev_page,totalCount:e.count})})},isDesktop:e,nextPage:c.nextPage,texts:t})};e.exports=t.default},10978:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=({from:e,to:t})=>e===t?e:`${e} - ${t}`;e.exports=t.default},51660:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(77423));t.default=n.default;e.exports=t.default},47076:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SectionTitle=t.BookingsNotFound=t.BookingsList=t.BookingState=void 0;var s=o(74848);t.SectionTitle=({SectionTitleStyle:e,title:t})=>(0,s.jsx)(e,{children:t});t.BookingsList=({bookings:e,viewBooking:t,BookingComponent:o})=>(0,s.jsx)(s.Fragment,{children:e.map((e,n)=>(0,s.jsx)(o,{...e,viewBookingText:t},n))});t.BookingsNotFound=({text:e,LoyaltyAreaBookingsInfoStyles:t})=>(0,s.jsx)(t,{children:e});t.BookingState=({BookingStateStyle:e,BookingStateIconConsStyle:t,state:o,stateText:n,isConsumed:i})=>(0,s.jsxs)(e,{canc:o.toLowerCase(),children:[n,i?(0,s.jsx)(t,{"data-testid":"fn-loyalty-area-bookings-icon-confirm"}):null]})},8808:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Booking=void 0;var n=o(73611),i=o(47076),a=s(o(10978)),r=o(74848);const l=({isConsumed:e,state:t,stateText:o,hotel:s,checkin:l,checkout:d,url:c,viewBookingText:u})=>(0,r.jsxs)(n.DesktopLoyaltyAreaBookingsRowStyles,{role:"rowgroup",children:[(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"cell",children:s}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"cell",children:(0,a.default)({from:l,to:d})}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"cell",children:(0,r.jsx)(i.BookingState,{BookingStateStyle:n.DesktopLoyaltyAreaBookingsBookStateStyles,BookingStateIconConsStyle:n.DesktopLoyaltyAreaBookingsStateIconConsStyles,state:t,stateText:o,isConsumed:e})}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"cell",children:(0,r.jsx)(n.DesktopLoyaltyAreaBookingsLinkStyles,{href:c,title:u,target:"_blank",rel:"noopener noreferrer","data-testid":"fn-loyalty-area-bookings-link",children:(0,r.jsx)(n.DesktopLoyaltyAreaBookingsOpenIconStyles,{})})})]});t.Booking=l;const d=({title:e,state:t,hotel:o,stay:s,bookings:a,viewBooking:d})=>(0,r.jsxs)(n.DesktopLoyaltyAreaBookingsStyles,{role:"table","aria-label":e,children:[(0,r.jsxs)(n.DesktopLoyaltyAreaBookingsRowHeaderStyles,{role:"rowgroup",children:[(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"columnheader",children:o}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"columnheader",children:s}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"columnheader",children:t}),(0,r.jsx)(n.DesktopLoyaltyAreaBookingsColStyles,{role:"columnheader"})]}),(0,r.jsx)(i.BookingsList,{bookings:a,viewBooking:d,BookingComponent:l})]}),c=({title:e,state:t,hotel:o,stay:s,viewBooking:a,bookingsNotFoundText:l,bookings:c})=>(0,r.jsx)(r.Fragment,{children:c.length?(0,r.jsx)(d,{title:e,state:t,hotel:o,stay:s,viewBooking:a,bookings:c}):(0,r.jsx)(i.BookingsNotFound,{LoyaltyAreaBookingsInfoStyles:n.DesktopLoyaltyAreaBookingsInfoStyles,text:l})});t.default=({bookingsFetched:e,bookings:t,texts:o})=>(0,r.jsxs)(n.DesktopLoyaltyAreaBookingsStyles,{"data-testid":"fn-loyalty-area-bookings",children:[(0,r.jsx)(i.SectionTitle,{SectionTitleStyle:n.DesktopLoyaltyAreaBookingsTitleStyles,title:o.title}),e&&(0,r.jsx)(c,{bookings:t,...o})]})},44634:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Booking=void 0;var n=o(27983),i=o(47076),a=s(o(10978)),r=o(74848);const l=({isConsumed:e,checkin:t,checkout:o,state:s,stateText:l,hotel:d,url:c,viewBookingText:u})=>(0,r.jsxs)(n.MobileLoyaltyAreaBookingsStylesLink,{href:c,title:u,children:[(0,r.jsxs)(n.MobileLoyaltyAreaBookingsStylesBookingInfo,{children:[(0,r.jsx)(n.MobileLoyaltyAreaBookingsStylesBookingDate,{children:(0,a.default)({from:t,to:o})}),(0,r.jsx)(n.MobileLoyaltyAreaBookingsStylesHotelName,{children:d}),(0,r.jsx)(i.BookingState,{BookingStateStyle:n.MobileLoyaltyAreaBookingsStylesBookingState,BookingStateIconConsStyle:n.MobileLoyaltyAreaBookingsStylesStateIconCons,state:s,stateText:l,isConsumed:e})]}),(0,r.jsx)(n.MobileLoyaltyAreaBookingsStylesOpenIcon,{})]});t.Booking=l;const d=({viewBooking:e,bookingsNotFoundText:t,bookings:o})=>(0,r.jsx)(r.Fragment,{children:o.length?(0,r.jsx)(i.BookingsList,{bookings:o,viewB
1ooking:e,BookingComponent:l}):(0,r.jsx)(i.BookingsNotFound,{LoyaltyAreaBookingsInfoStyles:n.MobileLoyaltyAreaBookingsStylesInfo,text:t})});t.default=({bookingsFetched:e,bookings:t,texts:o})=>(0,r.jsxs)(n.MobileLoyaltyAreaBookingsStyles,{"data-testid":"fn-loyalty-area-bookings",children:[(0,r.jsx)(i.SectionTitle,{SectionTitleStyle:n.MobileLoyaltyAreaBookingsStylesTitle,title:o.title}),e&&(0,r.jsx)(d,{bookings:t,...o})]})},73611:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.DesktopLoyaltyAreaBookingsTitleStyles=t.DesktopLoyaltyAreaBookingsStyles=t.DesktopLoyaltyAreaBookingsStateIconConsStyles=t.DesktopLoyaltyAreaBookingsRowStyles=t.DesktopLoyaltyAreaBookingsRowHeaderStyles=t.DesktopLoyaltyAreaBookingsOpenIconStyles=t.DesktopLoyaltyAreaBookingsLinkStyles=t.DesktopLoyaltyAreaBookingsInfoStyles=t.DesktopLoyaltyAreaBookingsColStyles=t.DesktopLoyaltyAreaBookingsBookStateStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039),r=s(o(71334)),l=s(o(84118));t.DesktopLoyaltyAreaBookingsStyles=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsStyles",componentId:"sc-1g89kf9-0"})([""," display:flex;flex-direction:column;width:100%;"],i.default.StoB),t.DesktopLoyaltyAreaBookingsTitleStyles=n.default.h2.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsTitleStyles",componentId:"sc-1g89kf9-1"})(["",""],({theme:e})=>(0,n.css)(["display:none;@media ","{"," color:",";display:inherit;font-weight:",";margin-bottom:",";margin-top:0;padding:0;text-align:left;text-transform:uppercase;}"],a.device.tablet,i.default.StoB,e.neutral900,e.fontBold,e.r150));const d=(0,n.css)(["background:none;border-bottom:",";display:flex;flex-direction:column;padding:",";position:relative;width:100%;&:first-of-type{border-top:",";@media ","{border-top:0;}}@media ","{flex-direction:row;padding:0;}"],({theme:e})=>`${e.borderWidthS} solid ${e.neutral100}`,({theme:e})=>`${e.r100} 0`,({theme:e})=>`${e.borderWidthS} solid ${e.neutral100}`,a.device.tablet,a.device.tablet);t.DesktopLoyaltyAreaBookingsRowStyles=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsRowStyles",componentId:"sc-1g89kf9-2"})(["",""],d),t.DesktopLoyaltyAreaBookingsRowHeaderStyles=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsRowHeaderStyles",componentId:"sc-1g89kf9-3"})(["",""],({theme:e})=>(0,n.css)([""," display:none;@media ","{border-bottom-width:",";color:",";display:flex;font-size:",";text-transform:uppercase;}"],d,a.device.tablet,e.borderWidthM,e.neutral500,e.fontXXS)),t.DesktopLoyaltyAreaBookingsColStyles=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsColStyles",componentId:"sc-1g89kf9-4"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;color:",";display:flex;padding:",";@media ","{padding:",";}&:nth-child(1),&:nth-child(2),&:nth-child(3){padding-left:0;width:calc(100% - 2rem);}&:nth-child(1),&:nth-child(2){@media ","{width:35%;}}&:nth-child(3){@media ","{width:20%;}}&:nth-child(4){padding-right:0;position:absolute;right:0;top:50%;transform:translateY(-50%);width:2rem;@media ","{justify-content:flex-end;position:relative;right:inherit;top:inherit;transform:inherit;width:10%;}}"],e.neutral900,e.r025,a.device.tablet,`${e.r100} ${e.r050}`,a.device.tablet,a.device.tablet,a.device.tablet)),t.DesktopLoyaltyAreaBookingsBookStateStyles=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsBookStateStyles",componentId:"sc-1g89kf9-5"})(["",""],({theme:e,canc:t})=>(0,n.css)(["align-items:center;display:inline-flex;",""],"canc"===t&&(0,n.css)(["color:",";"],e.colorError))),t.DesktopLoyaltyAreaBookingsStateIconConsStyles=(0,n.default)(r.default).withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsStateIconConsStyles",componentId:"sc-1g89kf9-6"})(["",""],({theme:e})=>(0,n.css)(["flex-shrink:0;height:",";margin-left:",";width:",";fill:",";"],e.iconsSizeM,e.r100,e.iconsSizeM,e.neutral800)),t.DesktopLoyaltyAreaBookingsOpenIconStyles=(0,n.default)(l.default).withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsOpenIconStyles",componentId:"sc-1g89kf9-7"})(["",""],({theme:e})=>(0,n.css)(["flex-shrink:0;fill:",";height:",";transition:",";width:",";&:hover{fill:",";}"],e.neutral500,e.iconsSizeS,`${e.animationTimeS} ease-in-out all`,e.iconsSizeS,e.neutral900)),t.DesktopLoyaltyAreaBookingsLinkStyles=n.default.a.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsLinkStyles",componentId:"sc-1g89kf9-8"})(["display:inline-flex;"]),t.DesktopLoyaltyAreaBookingsInfoStyles=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaBookingsstyles__DesktopLoyaltyAreaBookingsInfoStyles",componentId:"sc-1g89kf9-9"})(["",""],({theme:e})=>(0,n.css)([""," color:",";"],i.default.StoB,e.neutral900))},27983:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.MobileLoyaltyAreaBookingsStylesTitle=t.MobileLoyaltyAreaBookingsStylesStateIconCons=t.MobileLoyaltyAreaBookingsStylesOpenIcon=t.MobileLoyaltyAreaBookingsStylesLink=t.MobileLoyaltyAreaBookingsStylesInfo=t.MobileLoyaltyAreaBookingsStylesHotelName=t.MobileLoyaltyAreaBookingsStylesBookingState=t.MobileLoyaltyAreaBookingsStylesBookingInfo=t.MobileLoyaltyAreaBookingsStylesBookingDate=t.MobileLoyaltyAreaBookingsStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=s(o(71334)),r=s(o(84118));t.MobileLoyaltyAreaBookingsStyles=n.default.div.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStyles",componentId:"sc-70j2m5-0"})([""," flex:1;padding:0;"],i.default.XStoS),t.MobileLoyaltyAreaBookingsStylesTitle=n.default.h2.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesTitle",componentId:"sc-70j2m5-1"})(["",""],({theme:e})=>(0,n.css)([""," color:",";font-weight:",";letter-spacing:",";margin-top:0;padding:",";text-align:center;text-transform:uppercase;"],i.default.XStoS,e.neutral800,e.fontBold,e.letterSpacingS,e.r150)),t.MobileLoyaltyAreaBookingsStylesInfo=n.default.div.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesInfo",componentId:"sc-70j2m5-2"})(["",""],({theme:e})=>(0,n.css)([""," color:",";padding:",";"],i.default.XStoS,e.neutral800,`0 ${e.r300}`)),t.MobileLoyaltyAreaBookingsStylesLink=n.default.a.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesLink",componentId:"sc-70j2m5-3"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;border-top:",";color:",";display:flex;justify-content:space-between;padding:",";&:last-of-type{border-bottom:",";}"],`${e.borderWidthM} solid ${e.neutral500}`,e.neutral900,e.r100,`${e.borderWidthM} solid ${e.neutral500}`)),t.MobileLoyaltyAreaBookingsStylesBookingInfo=n.default.div.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesBookingInfo",componentId:"sc-70j2m5-4"})(["display:flex;flex-direction:column;"]),t.MobileLoyaltyAreaBookingsStylesBookingDate=n.default.span.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesBookingDate",componentId:"sc-70j2m5-5"})(["",""],({theme:e})=>(0,n.css)([""," align-items:center;display:inline-flex;font-weight:",";margin-right:",";"],i.default.XStoS,e.fontBold,e.r050)),t.MobileLoyaltyAreaBookingsStylesHotelName=n.default.span.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesHotelName",componentId:"sc-70j2m5-6"})(["",""],({theme:e})=>(0,n.css)([""," padding-bottom:",";"],i.default.StoB,e.r050)),t.MobileLoyaltyAreaBookingsStylesBookingState=n.default.div.withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesBookingState",componentId:"sc-70j2m5-7"})(["",""],({theme:e,canc:t})=>(0,n.css)(["align-items:center;display:inline-flex;",""],"canc"===t&&(0,n.css)(["color:",";"],e.colorError))),t.MobileLoyaltyAreaBookingsStylesStateIconCons=(0,n.default)(a.default).withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesStateIconCons",componentId:"sc-70j2m5-8"})(["",""],({theme:e})=>(0,n.css)(["margin-left:",";height:",";width:",";"],e.r050,e.iconsSizeS,e.iconsSizeS)),t.MobileLoyaltyAreaBookingsStylesOpenIcon=(0,n.default)(r.default).withConfig({displayName:"MobileLoyaltyAreaBookingsstyles__MobileLoyaltyAreaBookingsStylesOpenIcon",componentId:"sc-70j2m5-9"})(["",""],({theme:e})=>(0,n.css)(["flex-shrink:0;fill:",";height:",";transition:",";width:",";&:hover{fill:",";}"],e.neutral900,e.iconsSizeS,`${e.animationTimeS} ease-in-out all`,e.iconsSizeS,e.neutral900))},62657:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(77707)),i=s(o(98207)),a=o(74848);t.default=({advantages:e,bookingButtonText:t,greeting:o,isDesktop:s=!1,onClickBooking:r})=>s?(0,a.jsx)(n.default,{advantages:e,greeting:o}):(0,a.jsx)(i.default,{advantages:e,bookingButtonText:t,greeting:o,onClickBooking:r});e.exports=t.default},37292:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(51197),n=o(86047);t.default=function(e){let t;return t=e?{AdvantagesItemStyles:s.DesktopLoyaltyAreaHomeStylesAdvantagesItem,AdvantagesItemTextStyles:s.DesktopLoyaltyAreaHomeStylesAdvantagesItemText,AdvantageCheckIconStyles:s.DesktopLoyaltyAreaHomeStylesCheckIcon}:{AdvantagesItemStyles:n.MobileLoyaltyAreaHomeStylesAdvantagesItem,AdvantagesItemTextStyles:n.MobileLoyaltyAreaHomeStylesAdvantagesItemText,AdvantageCheckIconStyles:n.MobileLoyaltyAreaHomeStylesCheckIcon},t};e.exports=t.default},59975:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.Greeting=t.Advantages=t.Advantage=void 0;var n=s(o(37292)),i=o(74848);function a(e){return{__html:e}}t.Greeting=({GreetingStyle:e,greeting:t})=>(0,i.jsx)(e,{dangerouslySetInnerHTML:a(t)});const r=({advantage:e,AdvantagesItemStyles:t,AdvantagesItemTextStyles:o,AdvantageCheckIconStyles:s})=>(0,i.jsxs)(t,{"data-testid":"fn-loyalty-area-home-advantage",children:[(0,i.jsx)(s,{}),(0,i.jsx)(o,{dangerouslySetInnerHTML:a(e)})]});t.Advantage=r;t.Advantages=({AdvantagesStyle:e,advantages:t,isDesktop:o})=>(0,i.jsx)(e,{children:t.map((e,t)=>(0,i.jsx)(r,{advantage:e.title,...(0,n.default)(o)},t))})},77707:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;
1var s=o(51197),n=o(59975),i=o(74848);t.default=({greeting:e,advantages:t})=>(0,i.jsxs)(s.DesktopLoyaltyAreaHomeStyles,{children:[(0,i.jsx)(n.Greeting,{GreetingStyle:s.DesktopLoyaltyAreaHomeStylesGreeting,greeting:e}),(0,i.jsx)(n.Advantages,{AdvantagesStyle:s.DesktopLoyaltyAreaHomeStylesAdvantagesList,advantages:t,isDesktop:!0})]});e.exports=t.default},98207:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(86047),n=o(59975),i=o(74848);const a=({bookingButtonText:e,onClickBooking:t})=>(0,i.jsx)(s.MobileLoyaltyAreaHomeStylesButton,{"data-testid":"fn-loyalty-area-home-button-action",onClick:t,children:e});t.default=({greeting:e,advantages:t,bookingButtonText:o,onClickBooking:r})=>(0,i.jsxs)(s.MobileLoyaltyAreaHomeStyles,{children:[(0,i.jsx)(n.Greeting,{GreetingStyle:s.MobileLoyaltyAreaHomeStylesGreeting,greeting:e}),(0,i.jsx)(n.Advantages,{AdvantagesStyle:s.MobileLoyaltyAreaHomeStylesAdvantagesList,advantages:t,isDesktop:!1}),(0,i.jsx)(a,{bookingButtonText:o,onClickBooking:r})]});e.exports=t.default},51197:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039),r=o(3912),l=s(o(71334));const d=n.default.section.withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStyles",componentId:"sc-11r6e5q-0"})([""," width:100%;"],i.default.StoB),c=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStylesGreeting",componentId:"sc-11r6e5q-1"})(["",""],({theme:e})=>(0,n.css)(["color:",";display:block;padding-bottom:",";"],e.neutral900,e.r200)),u=n.default.ul.withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStylesAdvantagesList",componentId:"sc-11r6e5q-2"})(["",""],({theme:e})=>(0,n.css)(["color:",";display:flex;flex-direction:column;list-style:none;margin:0;padding:0;@media ","{background:",";}"],e.neutral900,a.device.tablet,e.neutral000)),p=n.default.li.withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStylesAdvantagesItem",componentId:"sc-11r6e5q-3"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;display:flex;padding:",";@media ","{padding:",";&:nth-child(even){background:",";}&:nth-child(odd){background:",";}}"],`${e.r100} 0`,a.device.tablet,`${e.r100} ${e.r600}`,e.neutral000,e.neutral050)),g=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStylesAdvantagesItemText",componentId:"sc-11r6e5q-4"})(["",""],r.InnerHTMLStyles),f=(0,n.default)(l.default).withConfig({displayName:"DesktopLoyaltyAreaHomestyles__DesktopLoyaltyAreaHomeStylesCheckIcon",componentId:"sc-11r6e5q-5"})(["",""],({theme:e})=>(0,n.css)(["fill:",";flex-shrink:0;height:",";margin-right:",";width:",";"],e.neutral900,e.iconsSizeM,e.r100,e.iconsSizeM));t.default={DesktopLoyaltyAreaHomeStyles:d,DesktopLoyaltyAreaHomeStylesAdvantagesItem:p,DesktopLoyaltyAreaHomeStylesAdvantagesItemText:g,DesktopLoyaltyAreaHomeStylesAdvantagesList:u,DesktopLoyaltyAreaHomeStylesCheckIcon:f,DesktopLoyaltyAreaHomeStylesGreeting:c};e.exports=t.default},86047:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=o(3912),a=s(o(89883)),r=s(o(71334)),l=s(o(69014));const d=n.default.div.withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStyles",componentId:"sc-w46m1w-0"})(["",""],({theme:e})=>(0,n.css)([""," padding:",";width:100%;"],a.default.XStoS,e.r150)),c=n.default.div.withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesGreeting",componentId:"sc-w46m1w-1"})(["",""],({theme:e})=>(0,n.css)(["color:",";display:block;margin-bottom:",";"],e.neutral900,e.r200)),u=n.default.ul.withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesAdvantagesList",componentId:"sc-w46m1w-2"})(["",""],({theme:e})=>(0,n.css)(["color:",";display:flex;flex-direction:column;"],e.neutral900)),p=n.default.li.withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesAdvantagesItem",componentId:"sc-w46m1w-3"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;display:flex;padding:",";"],`${e.r100} 0`)),g=n.default.span.withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesAdvantagesItemText",componentId:"sc-w46m1w-4"})(["",""],i.InnerHTMLStyles),f=(0,n.default)(r.default).withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesCheckIcon",componentId:"sc-w46m1w-5"})(["",""],({theme:e})=>(0,n.css)(["fill:",";flex-shrink:0;height:",";margin-right:",";width:",";"],e.colorMain,e.iconsSizeM,e.r100,e.iconsSizeM)),y=(0,n.default)(l.default.Rounded).withConfig({displayName:"MobileLoyaltyAreaHomestyles__MobileLoyaltyAreaHomeStylesButton",componentId:"sc-w46m1w-6"})(["",""],({theme:e})=>(0,n.css)(["box-shadow:",";margin:",";width:100%;"],e.boxShadowBottom2,`${e.r200} 0 0`));t.default={MobileLoyaltyAreaHomeStyles:d,MobileLoyaltyAreaHomeStylesAdvantagesItem:p,MobileLoyaltyAreaHomeStylesAdvantagesItemText:g,MobileLoyaltyAreaHomeStylesAdvantagesList:u,MobileLoyaltyAreaHomeStylesButton:y,MobileLoyaltyAreaHomeStylesCheckIcon:f,MobileLoyaltyAreaHomeStylesGreeting:c};e.exports=t.default},66423:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=o(51678),r=s(o(62657)),l=s(o(51660)),d=s(o(84098)),c=s(o(91425)),u=s(o(909)),p=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(10571)),g=o(74848);class f extends n.Component{getCurrentSectionComponent(){return{[p.home]:r.default,[p.myBookings]:l.default,[p.personalInfo]:d.default}[this.props.currentSectionCode]||a.defaultEmptyElementType}renderDesktop(){return(0,g.jsx)(c.default,{...this.props,SectionComponent:this.getCurrentSectionComponent()})}renderMobile(){return(0,g.jsx)(u.default,{...this.props,SectionComponent:this.getCurrentSectionComponent()})}render(){return this.props.isDesktop?this.renderDesktop():this.renderMobile()}}t.default=f,f.displayName="LoyaltyAreaManagerController",f.propTypes={advantages:i.default.array,bookingButtonText:i.default.string,bookingsAreaData:i.default.object,currentSectionCode:i.default.string,currentSectionName:i.default.string,displayActions:i.default.bool,externalLogin:i.default.object,greeting:i.default.string,isDesktop:i.default.bool,logo:i.default.object,logout:i.default.func,member:i.default.object,navigation:i.default.array,onClickBooking:i.default.func,onMenuItemClick:i.default.func,toggleActionsButton:i.default.func,userInfoAreaData:i.default.object},f.defaultProps={isDesktop:!1,logout:a.defaultEmptyFunction,onClickBooking:a.defaultEmptyFunction,onMenuItemClick:a.defaultEmptyFunction,toggleActionsButton:a.defaultEmptyFunction},e.exports=t.default},47126:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(66423)),a=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(10571)),r=o(87284),l=o(74848);class d extends n.Component{static get SECTIONS(){return a}constructor(e){super(e);const t=(0,r.getCurrenMenuItemCode)(e.navigation),o=(0,r.getCurrenMenuItemName)(t,e.navigation);this.state={currentSectionCode:t,currentSectionName:o,displayActions:!this.constructor.isResponsive()},this.actionsRef=(0,n.createRef)(),this.bindActions()}componentDidMount(){this.shouldDisplayActions(),this.addListeners()}componentWillUnmount(){this.removeListeners()}bindActions(){this.addListeners=this.addListeners.bind(this),this.handleMenuItemClick=this.handleMenuItemClick.bind(this),this.handleOutsideClick=this.handleOutsideClick.bind(this),this.removeListeners=this.removeListeners.bind(this),this.shouldDisplayActions=this.shouldDisplayActions.bind(this),this.toggleActionsButton=this.toggleActionsButton.bind(this)}addListeners(){window.addEventListener("resize",this.shouldDisplayActions),document.addEventListener("click",this.handleOutsideClick),window.addEventListener("popstate",()=>this.handleMenuItemClick((0,r.getCurrenMenuItemCode)(this.props.navigation)))}removeListeners(){window.removeEventListener("resize",this.shouldDisplayActions),document.removeEventListener("click",this.handleOutsideClick),window.removeEventListener("popstate",this.handleMenuItemClick)}static isResponsive(){return window.innerWidth<768}handleOutsideClick(e){if(this.state.displayActions){const t=this.actionsRef.current;t&&t.contains(e.target)||this.shouldDisplayActions()}}handleMenuItemClick(e){e===d.SECTIONS.logout?this.props.logout():(this.setState({currentSectionCode:e,currentSectionName:(0,r.getCurrenMenuItemName)(e,this.props.navigation)}),window.location.hash=e,this.shouldDisplayActions())}shouldDisplayActions(){this.setState({displayActions:!this.constructor.isResponsive()})}toggleActionsButton(){this.setState({displayActions:!this.state.displayActions})}render(){return(0,l.jsx)(i.default,{...this.props,...this.state,actionsRef:this.actionsRef,onMenuItemClick:this.handleMenuItemClick,toggleActionsButton:this.toggleActionsButton})}}d.displayName="LoyaltyAreaManagerModel";t.default=d;e.exports=t.default},87284:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const o=(e,t)=>t.find(t=>t.code===e);t.default={getCurrenMenuItemCode:e=>{let t=e[0].code;if(window.location.hash){const s=o(window.location.hash.substring(1),e);s&&(t=s.code)}return t},getCurrenMenuItemName:(e,t)=>{const s=o(e,t);return s?.name}};e.exports=t.default},923:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(47126));t.default=n.default;e.exports=t.default},91425:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(30037)),i=o(21693),a=o(93548),r=o(74848);const l=({actionsRef:e,currentSectionCode:t,currentSectionName:o,displayActions:s,externalLogin:a,isDesktop:l,navigation:d,onMenuItemClick:c,toggleActionsButton:u})=>(0,r.jsxs)(i.ActionStyles,{ref:e,children:[(0,r.jsxs)(i.ActionButtonStyles,{"data-testid":"fn-loyalty-area-manager-action-button",onClick:u,children:[(0,r.jsx)(i.ActionButtonIconStyles,{}),(0,r.jsx)(i.ActionButtonIconTextStyles,{children:o})]}),s&&(0,r.jsx)(n.default,{currentSectionCode:t,externalLogin:a,isDesktop:l,navigation:d,onMenuItemClick:c})]});t.default=({actionsRef:e,advantages:t,bookingsAreaData:o,currentSectionCode:s,currentSectionName:n,displayActions:d,externalLogin:c,greeting:u,isDesktop:p,levelInfo:g,member:f,navigation:y,onMenuItemClick:h,SectionComponent:S,toggleActionsButton:m,userInfoAreaData:_})=>(0,r.jsxs)(i.ContainerStyles,{children:[(0,r.jsx)(a.Member,{...c,...g,...f}),(0,r.jsxs)(i.ContentStyles,{children:[(0,r.jsx)(i.SidebarStyles,{children:(0,r.jsx)(l,{actionsRef:e,currentSectionCode:s,currentSectionName:n,displayActions:d,externalLogin:c,isDesktop:p,navigation:y,onMenuItemClick:h,toggleActionsButton:m})}),(0,r.jsx)(i.SectionStyles,{"data-testid":"fn-loyalty-area-manager",children:S&&(0,r.jsx)(S,{advantages:t,greeting:u,isDesktop:p,userInfoTexts:_.texts,...o})})]})]});e.exports=t.default},93548:function(e,t,o){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Member=void 0;var s=o(51678),n=o(21693),i=o(25408),a=o(74848);const r=({discount:e,discountText:t,externalLogin:o,level:r,levelName:l,loyaltyId:d,loyaltyLogoAlt:c,loyaltyLogoUrl:u,memberNumberText:p,memberSinceDate:g,memberSinceText:f,name:y})=>(0,a.jsxs)(n.MemberStyles,{level:r,children:[(0,a.jsx)(n.LogoStyles,{alt:c,"data-testid":"fn-loyalty-area-manager-logo",src:u}),(0,a.jsxs)(n.UserStyles,{children:[(0,a.jsxs)(n.NameWrapStyles,{children:[(0,a.jsx)(n.UserNameStyles,{"data-testid":"fn-loyalty-area-manager-user-name",children:y}),"·",(0,a.jsx)(n.LevelNameStyles,{children:l})]}),d&&(0,a.jsxs)(n.UserIdStyles,{children:[(0,a.jsxs)(n.UserIdStylesText,{children:[p,":"]}),(0,a.jsx)(n.UserIdStylesValue,{children:d})]}),!(0,s.hasObjectData)(o)&&(0,a.jsxs)(n.SinceStyles,{"data-testid":"fn-loyalty-area-manager-member-since",children:[(0,a.jsxs)(n.SinceStylesText,{children:[f,":"]}),(0,a.jsx)(n.SinceStylesDate,{children:g})]})]}),e>0&&(0,a.jsxs)(i.LevelDiscountStyles,{"data-testid":"fn-loyalty-area-manager-level-discount",children:[(0,a.jsxs)(i.LevelDiscountAmountStyles,{children:[e,"%"]}),(0,a.jsx)(i.LevelDiscountTextStyles,{children:t})]})]});t.Member=r;t.default=r},9e4:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Member=void 0;var s=o(51678),n=o(179),i=o(25408),a=o(74848);const r=({discount:e,discountText:t,externalLogin:o,level:r,levelName:l,loyaltyId:d,loyaltyLogoAlt:c,loyaltyLogoUrl:u,memberNumberText:p,memberSinceDate:g,memberSinceText:f,name:y})=>(0,a.jsxs)(n.MemberStyles,{level:r,children:[(0,a.jsx)(n.LogoStyles,{alt:c,"data-testid":"fn-loyalty-area-manager-logo",src:u}),(0,a.jsxs)(n.UserStyles,{children:[(0,a.jsxs)(n.NameWrapStyles,{children:[(0,a.jsx)(n.UserNameStyles,{"data-testid":"fn-loyalty-area-manager-user-name",children:y}),"·",(0,a.jsx)(n.LevelNameStyles,{children:l})]}),d&&(0,a.jsxs)(n.UserIdStyles,{children:[(0,a.jsxs)(n.UserIdStylesText,{children:[p,":"]}),(0,a.jsx)(n.UserIdStylesValue,{children:d})]}),!(0,s.hasObjectData)(o)&&(0,a.jsxs)(n.SinceStyles,{"data-testid":"fn-loyalty-area-manager-member-since",children:[(0,a.jsxs)(n.SinceStylesText,{children:[f,":"]}),(0,a.jsx)(n.SinceStylesDate,{children:g})]})]}),e>0&&(0,a.jsxs)(i.LevelDiscountStyles,{"data-testid":"fn-loyalty-area-manager-level-discount",children:[(0,a.jsxs)(i.LevelDiscountAmountStyles,{children:[e,"%"]}),(0,a.jsx)(i.LevelDiscountTextStyles,{children:t})]})]});t.Member=r;t.default=r},909:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(179),n=o(9e4),i=o(74848);t.default=({advantages:e,bookingButtonText:t,bookingsAreaData:o,externalLogin:a,greeting:r,isDesktop:l,levelInfo:d,member:c,onClickBooking:u,SectionComponent:p,userInfoAreaData:g})=>(0,i.jsxs)(s.ContainerStyles,{children:[(0,i.jsx)(n.Member,{...a,...d,...c}),(0,i.jsx)(s.ContentStyles,{"data-testid":"fn-loyalty-area-manager",children:(0,i.jsx)(p,{advantages:e,bookingButtonText:t,greeting:r,isDesktop:l,onClickBooking:u,userInfoTexts:g.texts,...o})})]});e.exports=t.default},25408:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496));const n=s.default.div.withConfig({displayName:"CommonLoyaltyAreaManagerstyles__LevelDiscountStyles",componentId:"sc-j7fbl8-0"})(["",""],({theme:e})=>(0,s.css)(["align-items:center;background:",";border-radius:50%;color:",";display:flex;flex-direction:column;height:",";justify-content:center;padding:",";position:absolute;right:",";top:50%;transform:translateY(-50%);width:",";"],e.neutral000,e.neutral900,e.r800,e.r100,e.r100,e.r800)),i=s.default.span.withConfig({displayName:"CommonLoyaltyAreaManagerstyles__LevelDiscountAmountStyles",componentId:"sc-j7fbl8-1"})(["",""],({theme:e})=>(0,s.css)(["font-size:",";font-weight:",";"],e.fontB,e.fontBold)),a=s.default.span.withConfig({displayName:"CommonLoyaltyAreaManagerstyles__LevelDiscountTextStyles",componentId:"sc-j7fbl8-2"})(["",""],({theme:e})=>(0,s.css)(["font-size:",";text-transform:uppercase;"],e.fontXXS));t.default={LevelDiscountAmountStyles:i,LevelDiscountStyles:n,LevelDiscountTextStyles:a};e.exports=t.default},21693:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039),r=s(o(68959)),l=s(o(93837));const d="22rem",c=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__MemberStyles",componentId:"sc-skpbeu-0"})(["",""],({theme:e,level:t})=>(0,n.css)([""," align-items:flex-start;display:flex;flex-direction:column;padding:",";position:relative;@media ","{align-items:flex-end;flex-direction:row}"],(0,r.default)(t),e.r200,a.device.tablet)),u=n.default.section.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ContainerStyles",componentId:"sc-skpbeu-1"})(["",""],({theme:e})=>(0,n.css)(["background:",";border:",";border-radius:",";max-width:1000rem;width:100%;"],e.colorBgDrawerDesktop||e.colorBgDrawer||e.neutral000,e.borderColorDrawerDesktop||e.borderColorDrawer||`${e.borderWidthS} solid ${e.neutral100}`,e.roundedDrawer)),p=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__UserStyles",componentId:"sc-skpbeu-2"})(["",""],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;font-size:",";"],e.fontS)),g=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__UserNameStyles",componentId:"sc-skpbeu-3"})(["",""],({theme:e})=>(0,n.css)(["margin-right:",";"],e.r050)),f=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__UserIdStylesText",componentId:"sc-skpbeu-4"})(["",""],({theme:e})=>(0,n.css)(["opacity:",";"],e.opacity090)),y=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__UserIdStylesValue",componentId:"sc-skpbeu-5"})(["",""],({theme:e})=>(0,n.css)(["margin:0 ",";"],e.r050)),h=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__UserIdStyles",componentId:"sc-skpbeu-6"})(["",""],({theme:e})=>(0,n.css)(["display:flex;font-weight:",";"],e.fontRegular)),S=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__NameWrapStyles",componentId:"sc-skpbeu-7"})(["",""],({theme:e})=>(0,n.css)(["font-weight:",";"],e.fontBold)),m=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__LevelNameStyles",componentId:"sc-skpbeu-8"})(["",""],({theme:e})=>(0,n.css)(["margin-left:",";"],e.r050)),_=n.default.img.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__LogoStyles",componentId:"sc-skpbeu-9"})(["",""],({theme:e})=>(0,n.css)(["height:5rem;margin-bottom:",";margin-right:",";@media ","{margin-bottom:0;}"],e.r100,e.r200,a.device.tablet)),A=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ContentStyles",componentId:"sc-skpbeu-10"})(["",""],({theme:e})=>(0,n.css)(["align-items:flex-start;border-top:",";display:flex;flex-wrap:wrap;@media ","{padding:",";}"],e.borderColorDrawerDesktop||e.borderColorDrawer||`${e.borderWidthS} solid ${e.neutral100}`,a.device.tablet,e.r200)),x=n.default.section.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__SidebarStyles",componentId:"sc-skpbeu-11"})(["width:100%;@media ","{width:",";}"],a.device.tablet,d),E=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__SinceStyles",componentId:"sc-skpbeu-12"})(["",""],({theme:e})=>(0,n.css)(["display:flex;font-weight:",";"],e.fontRegular)),C=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__SinceStylesText",componentId:"sc-skpbeu-13"})(["",""],({theme:e})=>(0,n.css)(["opacity:",";"],e.opacity090)),k=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__SinceStylesDate",componentId:"sc-skpbeu-14"})(["",""],({theme:e})=>(0,n.css)(["margin:0 ",";"],e.r050)),v=n.default.section.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__SectionStyles",componentId:"sc-skpbeu-15"})(["",""],({theme:e})=>(0,n.css)(["padding:",";width:100%;@media ","{margin-left:",";padding:0;width:",";}"],e.r200,a.device.tablet,e.r200,`calc(100% - ${d} - ${e.r200})`)),b=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ActionStyles",componentId:"sc-skpbeu-16"})(["",""],({theme:e})=>(0,n.css)(["background:",";padding:",";position:relative;"],e.neutral050,e.r200)),L=n.default.button.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ActionButtonStyles",componentId:"sc-skpbeu-17"})(["",""],({theme:e})=>(0,n.css)(["background:transparent;&:focus{outline:",";outline-offset:",";}align-items:center;border:0;cursor:pointer;display:flex;padding:0;position:relative;@media ","{display:none;}"],`${e.borderWidthS} solid transparent`,e.r050,a.device.tablet)),I=(0,n.default)(l.default).withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ActionButtonIconStyles",componentId:"sc-skpbeu-18"})(["",""],({theme:e})=>(0,n.css)(["fill:",";height:",";width:",";"],e.neutral900,e.iconsSizeML,e.iconsSizeML)),w=n.default.span.withConfig({displayName:"DesktopLoyaltyAreaManagerstyles__ActionButtonIconTextStyles",componentId:"sc-skpbeu-19"})(["",""],({theme:e})=>(0,n.css)([""," color:",";font-weight:",";padding-left:",";"],i.default.StoB,e.neutral900,e.fontBold,e.r100));t.default={ActionButtonIconStyles:I,ActionButtonIconTextStyles:w,ActionButtonStyles:L,ActionStyles:b,ContainerStyles:u,ContentStyles:A,LevelNameStyles:m,LogoStyles:_,MemberStyles:c,NameWrapStyles:S,SectionStyles:v,SidebarStyles:x,SinceStyles:E,SinceStylesDate:k,SinceStylesText:C,UserIdStyles:h,UserIdStylesText:f,UserIdStylesValue:y,UserNameStyles:g,UserStyles:p};e.exports=t.default},179:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039),r=s(o(68959)),l=o(25408);const d=n.default.div.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__ContentStyles",componentId:"sc-18wu9e3-0"})(["align-items:flex-start;display:flex;flex-wrap:wrap;"]),c=n.default.div.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__MemberStyles",componentId:"sc-18wu9e3-1"})(["",""],({theme:e,level:t})=>(0,n.css)([""," align-items:flex-start;display:flex;flex-direction:column;margin-bottom:",";padding:",";position:relative;@media ","{align-items:flex-end;flex-direction:row;}"],(0,r.default)(t),e.r200,e.r200,a.device.tablet)),u=n.default.div.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__UserStyles",componentId:"sc-18wu9e3-2"})(["display:flex;flex-direction:column;"]),p=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__UserNameStyles",componentId:"sc-18wu9e3-3"})(["",""],({theme:e})=>(0,n.css)(["margin-right:",";"],e.r050)),g=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__UserIdStyles",componentId:"sc-18wu9e3-4"})(["",""],({theme:e})=>(0,n.css)([""," display:flex;font-weight:",";"],i.default.XXStoXS,e.fontRegular)),f=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__UserIdStylesText",componentId:"sc-18wu9e3-5"})(["",""],({theme:e})=>(0,n.css)(["opacity:",";"],e.opacity090)),y=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__UserIdStylesValue",componentId:"sc-18wu9e3-6"})(["",""],({theme:e})=>(0,n.css)(["margin:0 ",";"],e.r050)),h=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__NameWrapStyles",componentId:"sc-18wu9e3-7"})(["",""],({theme:e})=>(0,n.css)(["font-weight:",";"],e.fontBold)),S=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__SinceStyles",componentId:"sc-18wu9e3-8"})([""," ",""],i.default.XXStoXS,({theme:e})=>(0,n.css)(["display:flex;font-weight:",";"],e.fontRegular)),m=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__SinceStylesText",componentId:"sc-18wu9e3-9"})(["",""],({theme:e})=>(0,n.css)(["opacity:",";"],e.opacity090)),_=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__SinceStylesDate",componentId:"sc-18wu9e3-10"})(["",""],({theme:e})=>(0,n.css)(["margin:0 ",";"],e.r050)),A=n.default.span.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__LevelNameStyles",componentId:"sc-18wu9e3-11"})(["",""],({theme:e})=>(0,n.css)(["margin-left:",";"],e.r050)),x=n.default.img.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__LogoStyles",componentId:"sc-18wu9e3-12"})(["",""],({theme:e})=>(0,n.css)(["height:5rem;margin-bottom:",";margin-right:",";@media ","{margin-bottom:0;}"],e.r100,e.r200,a.device.tablet)),E=n.default.div.withConfig({displayName:"MobileLoyaltyAreaManagerstyles__ContainerStyles",componentId:"sc-18wu9e3-13"})(["",""],({theme:e})=>(0,n.css)([""," "," @media ","{padding:",";}"],i.default.StoB,l.LoyaltyLevelDiscount,a.device.tablet,e.r200));t.default={ContainerStyles:E,ContentStyles:d,LevelNameStyles:A,LogoStyles:x,MemberStyles:c,NameWrapStyles:h,SinceStyles:S,SinceStylesDate:_,SinceStylesText:m,UserIdStyles:g,UserIdStylesText:f,UserIdStylesValue:y,UserNameStyles:p,UserStyles:u};e.exports=t.default},30037:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=s(o(64484)),r=s(o(11039)),l=s(o(47675)),d=o(74848);class c extends n.Component{constructor(e){super(e),this.classNameStructure=(0,a.default)(this.props.type)}renderDesktop(){return(0,d.jsx)(r.default,{classNameStructure:this.classNameStructure,currentSectionCode:this.props.currentSectionCode,externalLogin:this.props.externalLogin,isDesktop:this.props.isDesktop,logo:this.props.logo,navigation:this.props.navigation,onMenuItemClick:this.props.onMenuItemClick,privateZoneUrlTarget:this.props.privateZoneUrlTarget,type:this.props.type})}renderMobile(){return(0,d.jsx)(l.default,{classNameStructure:this.classNameStructure,currentSectionCode:this.props.currentSectionCode,isDesktop:this.props.isDesktop,logo:this.props.logo,navigation:this.props.navigation,onMenuItemClick:this.props.onMenuItemClick,type:this.props.type})}render(){return this.props.isDesktop?this.renderDesktop():this.renderMobile()}}t.default=c;c.propTypes={isDesktop:i.default.bool,type:i.default.string},c.defaultProps={isDesktop:!1,type:"default"},e.exports=t.default},64484:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t="loyalty-area-menu",o="brand"===e?`${t}-${e}`:t;return{block:o,logo:`${o}__logo`,list:`${o}__list`,item:`${o}__item`,link:`${o}__link`,linkActive:`${o}__link--active`,linkLast:`${o}__link--last`}},e.exports=t.default},50483:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>`fn-loyalty-area-menu-nav-item-${t}${e?"-active":""}`;e.exports=t.default},21955:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(73037),i=o(50983),a=s(o(50483)),r=o(74848);const l=({isCurrent:e,isDesktop:t,isLast:o,navitem:s,onClick:l,privateZoneUrlTarget:d,type:c})=>{const u=t?n.ItemDesktopStyles:i.ItemMobileStyles,p=t?n.LinkDesktopStyles:i.LinkMobileStyles;return(0,r.jsx)(u,{children:(0,r.jsx)(p,{"data-testid":(0,a.default)(e,s.code),href:s.url,isCurrent:e,isLast:o,rel:"_blank"===d?"noopener noreferrer":void 0,target:d,type:c,onClick:e=>{"#"===s.url&&e.preventDefault(),l(s.code)},children:s.name})})};t.default={NavItem:l,Menu:({currentSectionCode:e,isDesktop:t,navitems:o,onMenuItemClick:s,privateZoneUrlTarget:a,type:d="default"})=>{const c=t?n.ListDesktopStyles:i.ListMobileStyles;return(0,r.jsx)(c,{type:d,children:o.map((n,i)=>(0,r.jsx)(l,{isCurrent:e===n.code,isDesktop:t,isLast:i===o.length-1,navitem:n,onClick:s,privateZoneUrlTarget:a,type:d},i))})}};e.exports=t.default},11039:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(73037),n=o(21955),i=o(74848);const a=({logo:e})=>(0,i.jsx)(s.LogoStyles,{alt:e.loyaltyLogoAlt,src:e.loyaltyLogoUrl});t.default=({currentSectionCode:e,externalLogin:t,isDesktop:o,logo:r,navigation:l,onMenuItemClick:d,privateZoneUrlTarget:c,type:u})=>(0,i.jsxs)(s.DesktopLoyaltyAreaMenuStyles,{"data-testid":"fn-loyalty-area-menu-nav",type:u,children:["brand"===u?(0,i.jsx)(a,{"data-testid":"fn-loyalty-area-menu-logo",logo:r,type:u}):null,(0,i.jsx)(n.Menu,{currentSectionCode:e,externalLogin:t,isDesktop:o,navitems:l,onMenuItemClick:d,privateZoneUrlTarget:c,type:u})]});e.exports=t.default},47675:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(50983),n=o(21955),i=o(74848);t.default=({currentSection:e,externalLogin:t,isDesktop:o,logo:a,navigation:r,onMenuItemClick:l})=>(0,i.jsxs)(s.MobileLoyaltyAreaMenuStyles,{"data-testid":"fn-loyalty-area-menu-nav",children:[(0,i.jsx)(s.LogoStyles,{alt:a.loyaltyLogoAlt,src:a.loyaltyLogoUrl}),(0,i.jsx)(n.Menu,{currentSection:e,externalLogin:t,isDesktop:o,navitems:r,onMenuItemClick:l})]});e.exports=t.default},73037:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039);const r=(0,n.css)(["",""],({theme:e,isCurrent:t})=>(0,n.css)(["display:block;font-size:",";line-height:",";text-align:left;text-decoration:none;text-transform:none;transition:"," ease-in-out all;width:100%;"," &:focus,&:hover{background:",";font-weight:",";text-decoration:none;}&:focus{outline:"," solid transparent;}"],e.fontB,e.lineHeightS,e.animationTimeS,t&&(0,n.css)(["background:",";font-weight:",";text-decoration:none;"],e.neutral000,e.fontBold),e.neutral000,e.fontBold,e.borderWidthS)),l=n.default.nav.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__DesktopLoyaltyAreaMenuStyles",componentId:"sc-o9tb0g-0"})([""," ",""],i.default.StoB,({theme:e,type:t})=>(0,n.css)([""," ",""],"default"===t&&(0,n.css)(["background:",";display:block;left:0;padding:",";position:absolute;top:7rem;width:22rem;z-index:",";@media ","{padding:0;position:relative;top:inherit;width:100%;}"],e.neutral050,e.r200,e.zBaseTopMid,a.device.tablet),"brand"===t&&(0,n.css)(["background:",";display:flex;flex-direction:column;height:inherit;padding:",";width:",";"],e.tooltipBg||e.neutral000,e.r200,e.r2500))),d=n.default.img.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__LogoStyles",componentId:"sc-o9tb0g-1"})(["",""],({theme:e})=>(0,n.css)(["align-self:flex-start;margin:0 0 ",";max-height:",";max-width:calc(100% - ",");width:auto;"],e.r150,e.r400,e.iconDefaultSize)),c=n.default.ul.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__ListDesktopStyles",componentId:"sc-o9tb0g-2"})(["",""],({type:e})=>(0,n.css)([""," ",""],"default"===e&&(0,n.css)(["display:flex;flex-direction:column;justify-content:center;list-style:none;margin:0;padding-left:0;"]),"brand"===e&&(0,n.css)(["background:transparent;display:flex;flex-direction:column;height:inherit;justify-content:center;list-style:none;margin:0;padding:0;position:static;top:auto;"]))),u=n.default.li.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__ItemDesktopStyles",componentId:"sc-o9tb0g-3"})(["float:none;margin:0;"]),p=n.default.a.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__LinkDesktopStyles",componentId:"sc-o9tb0g-4"})([""," ",""],({theme:e,type:t})=>(0,n.css)(["",""],"default"===t&&(0,n.css)([""," color:",";padding:"," ",";"],r,e.neutral900,e.r100,e.r150)),({theme:e,isLast:t,type:o})=>(0,n.css)(["",""],"brand"===o&&(0,n.css)(["",";color:",";padding:"," ",";&:focus,&:hover{background-color:transparent;color:",";text-decoration:underline;}&::after,&::before{content:none;}",""],r,e.tooltipColor||e.neutral900,e.r050,e.r025,e.tooltipColor||e.neutral900,t&&(0,n.css)(["padding-bottom:0;"]))));e.exports={DesktopLoyaltyAreaMenuStyles:l,ItemDesktopStyles:u,LinkDesktopStyles:p,ListDesktopStyles:c,LogoStyles:d}},50983:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883));const a=n.default.nav.withConfig({displayName:"MobileLoyaltyAreaMenustyles__MobileLoyaltyAreaMenuStyles",componentId:"sc-17lv76r-0"})(["",""],({theme:e})=>(0,n.css)(["background:",";display:block;justify-content:center;padding:0;width:100%;"],e.neutral800)),r=n.default.img.withConfig({displayName:"MobileLoyaltyAreaMenustyles__LogoStyles",componentId:"sc-17lv76r-1"})(["",""],({theme:e})=>(0,n.css)(["height:4rem;margin-left:",";width:auto;"],e.r200)),l=n.default.ul.withConfig({displayName:"MobileLoyaltyAreaMenustyles__ListMobileStyles",componentId:"sc-17lv76r-2"})(["",""],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;justify-content:center;margin-top:",";"],e.r200)),d=n.default.li.withConfig({displayName:"MobileLoyaltyAreaMenustyles__ItemMobileStyles",componentId:"sc-17lv76r-3"})(["",""],({theme:e})=>(0,n.css)(["border-top:"," solid ",";&:last-of-type{border-bottom:$"," solid ",";}"],e.borderWidthS,e.neutral700,e.borderWidthS,e.neutral700)),c=n.default.a.withConfig({displayName:"MobileLoyaltyAreaMenustyles__LinkMobileStyles",componentId:"sc-17lv76r-4"})(["",""],({theme:e,isLast:t})=>(0,n.css)([""," color:",";display:block;font-weight:",";padding:",";text-decoration:none;text-transform:uppercase;transition:"," ease-in-out all;width:100%;",""],i.default.LtoXL,e.neutral050,e.fontLight,e.r200,e.animationTimeS,t&&(0,n.css)(["text-transform:none;"])));e.exports={ItemMobileStyles:d,LinkMobileStyles:c,ListMobileStyles:l,LogoStyles:r,MobileLoyaltyAreaMenuStyles:a}},63508:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=s(o(69858)),r=s(o(30480)),l=o(74848);class d extends n.Component{componentDidMount(){this.props.fetchUserInfoHandler()}renderDesktop(){let e=null;return Object.entries(this.props.fields).length&&(e=(0,l.jsx)(a.default,{buttonText:this.props.texts.save,fields:this.props.fields,message:this.props.message,selectPlaceholderText:this.props.texts.selectPlaceholderText,showMessage:this.props.showMessage,submitHandler:this.props.submitHandler,textRequired:this.props.texts.textRequired,title:this.props.texts.title})),e}renderMobile(){let e=null;return Object.entries(this.props.fields).length&&(e=(0,l.jsx)(r.default,{buttonText:this.props.texts.save,fields:this.props.fields,message:this.props.message,selectPlaceholderText:this.props.texts.selectPlaceholderText,showMessage:this.props.showMessage,submitHandler:this.props.submitHandler,textRequired:this.props.texts.textRequired,title:this.props.texts.title})),e}render(){return this.props.isDesktop?this.renderDesktop():this.renderMobile()}}t.default=d,d.propTypes={isDesktop:i.default.bool,fields:i.default.object,fetchUserInfoHandler:i.default.func.isRequired,errorMessage:i.default.node,showErrorMessage:i.default.bool,texts:i.default.object.isRequired},d.defaultProps={isDesktop:!1,fields:{},showErrorMessage:!1,errorMessage:null},e.exports=t.default},13087:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=o(11368),r=s(o(94458)),l=s(o(63508)),d=o(74848);class c extends n.Component{constructor(e){super(e),this.state={fields:{}},this.fetchUserInfo=this.fetchUserInfo.bind(this),this.submitHandler=this.submitHandler.bind(this)}fetchUserInfo(){(0,a.getUserInfo)().then(e=>{this.setState({fields:e})})}submitHandler(e){this.setState({showMessage:!1,message:null});const{updateDataSuccessText:t}=this.props.userInfoTexts;(0,a.updateUserInfo)(e).then(e=>{const o=e.errors?Object.values(e.errors)[0]:null;this.setState({showMessage:!0,messageType:e.modificado?"success":"error",message:e.modificado?t:o})})}renderMessage(){const{messageType:e,message:t}=this.state;return(0,d.jsx)(r.default,{title:t,type:e,timeToHide:5e3})}render(){return(0,d.jsx)(l.default,{...this.props,...this.state,fetchUserInfoHandler:this.fetchUserInfo,submitHandler:this.submitHandler,showMessage:this.state.showMessage,message:this.renderMessage(),texts:this.props.userInfoTexts})}}c.propTypes={isDesktop:i.default.bool,userInfoTexts:i.default.object.isRequired},c.defaultProps={isDesktop:!1};t.default=c;e.exports=t.default},84098:function(e,t,o){"use strict";var s=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(13087));t.default=n.default;e.exports=t.default},69858:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=o(46738),a=o(74848);t.default=({fields:e,submitHandler:t,buttonText:o,title:s,showMessage:r,message:l,selectPlaceholderText:d,textRequired:c})=>(0,a.jsxs)("section",{children:[(0,a.jsx)(i.DesktopLoyaltyAreaUserInfoTitleStyles,{children:s}),(0,a.jsx)(i.DesktopLoyaltyAreaUserInfoContentStyles,{"data-testid":"fn-loyalty-area-user-info-fields",children:(0,a.jsx)(n.default,{buttonText:o,form:e,id:"userInfoForm",message:l,onClickSubmit:t,selectPlaceholderText:d,showMessage:r,textRequired:c})})]});e.exports=t.default},30480:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(18077)),i=o(88662),a=o(74848);t.default=({fields:e,submitHandler:t,showMessage:o,message:s,buttonText:r,selectPlaceholderText:l,title:d,textRequired:c})=>(0,a.jsxs)(i.MobileLoyaltyAreaUserInfoStyles,{children:[(0,a.jsx)(i.MobileLoyaltyAreaUserInfoTitleStyles,{children:d}),(0,a.jsx)(i.MobileLoyaltyAreaUserInfoContentStyles,{children:(0,a.jsx)(n.default,{buttonText:r,form:e,id:"userInfoForm",message:s,onClickSubmit:t,selectPlaceholderText:l,showMessage:o,textRequired:c})})]});e.exports=t.default},46738:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883)),a=o(37039);const r=n.default.h2.withConfig({displayName:"DesktopLoyaltyAreaUserInfostyles__DesktopLoyaltyAreaUserInfoTitleStyles",componentId:"sc-q1vt6d-0"})(["",";"],({theme:e})=>(0,n.css)([""," display:none;@media ","{color:",";display:inherit;font-weight:",";margin-bottom:",";margin-top:0;padding:0;text-align:left;text-transform:uppercase;}"],i.default.StoB,a.device.tablet,e.neutral900,e.fontBold,e.r150)),l=n.default.div.withConfig({displayName:"DesktopLoyaltyAreaUserInfostyles__DesktopLoyaltyAreaUserInfoContentStyles",componentId:"sc-q1vt6d-1"})(["",";"],({theme:e})=>(0,n.css)(["padding-top:",";@media ","{max-width:40rem;}"],e.r100,a.device.tablet));e.exports={DesktopLoyaltyAreaUserInfoTitleStyles:r,DesktopLoyaltyAreaUserInfoContentStyles:l}},88662:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(89883));const a=n.default.section.withConfig({displayName:"MobileLoyaltyAreaUserInfostyles__MobileLoyaltyAreaUserInfoStyles",componentId:"sc-7jcdrq-0"})(["width:100%;"]),r=n.default.h2.withConfig({displayName:"MobileLoyaltyAreaUserInfostyles__MobileLoyaltyAreaUserInfoTitleStyles",componentId:"sc-7jcdrq-1"})(["",";"],({theme:e})=>(0,n.css)([""," color:",";font-weight:",";letter-spacing:",";margin-top:0;padding:",";text-align:center;text-transform:uppercase;"],i.default.XStoS,e.neutral800,e.fontBold,e.letterSpacingS,e.r150)),l=n.default.div.withConfig({displayName:"MobileLoyaltyAreaUserInfostyles__MobileLoyaltyAreaUserInfoContentStyles",componentId:"sc-7jcdrq-2"})(["",";"],({theme:e})=>(0,n.css)(["padding:",";"],`0 ${e.r150} ${e.r150}`));e.exports={MobileLoyaltyAreaUserInfoContentStyles:l,MobileLoyaltyAreaUserInfoStyles:a,MobileLoyaltyAreaUserInfoTitleStyles:r}},4393:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(5556)),i=o(51678),a=s(o(29143)),r=o(93775),l=o(96540),d=o(74848);const c=({integrations:e={},loginTextFacebook:t,loginTextGoogle:o,onLoginCallback:s=i.defaultEmptyFunction})=>(0,d.jsx)("div",{id:"roi-social-login",children:(0,d.jsx)(r.SocialLoginContainerStyles,{"data-testid":"fn-social-login-container",children:Object.keys(e).map((n,i)=>(0,l.createElement)(a.default,{...e[n],integrationCode:n,key:i,loginTextButton:"google"===n?o:t,onLoginCallback:s}))})});t.default=c;c.propTypes={integrations:n.default.object,loginTextFacebook:n.default.string,loginTextGoogle:n.default.string,onLoginCallback:n.default.func},e.exports=t.default},93775:function(e,t,o){"use strict";var s=o(24994),n=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;
1if(n=t?s:o){if(n.has(e))return n.get(e);n.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(a,t,i):a[t]=e[t]);return a}(e,t)}(o(30496)),i=s(o(15356));const a=(0,n.css)(["",""],({theme:e})=>(0,n.css)(["align-items:center;border-radius:.4rem;cursor:pointer;display:flex;flex-wrap:nowrap;font-size:",";margin:0 0 ",";max-width:31rem;min-height:",";padding:0;text-align:center;width:100%;&:focus{outline:",";}"],e.fontS,e.r100,e.r400,e.outline)),r=(0,n.default)(i.default).withConfig({displayName:"Viewstyles__FacebookIconStyles",componentId:"sc-gma9vp-0"})(["",""],({theme:e})=>(0,n.css)(["width:",";fill:",";"],e.iconsSizeM,e.neutral000)),l=n.default.div.withConfig({displayName:"Viewstyles__SocialLoginContainerStyles",componentId:"sc-gma9vp-1"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%;"]),d=n.default.div.withConfig({displayName:"Viewstyles__GoogleButtonContainerStyles",componentId:"sc-gma9vp-2"})(["",";"],({theme:e})=>(0,n.css)(["margin-bottom:",";"],e.r100)),c=n.default.span.withConfig({displayName:"Viewstyles__SocialLoginTextStyles",componentId:"sc-gma9vp-3"})(["width:100%;"]),u=n.default.span.withConfig({displayName:"Viewstyles__SocialLoginIconStyles",componentId:"sc-gma9vp-4"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;justify-content:center;margin-left:",";min-height:",";width:",";"],e.r100,e.r400,e.r200)),p=n.default.button.withConfig({displayName:"Viewstyles__SocialLoginButtonStyles",componentId:"sc-gma9vp-5"})(["",";"],({theme:e,integrationCode:t})=>(0,n.css)([""," border:"," solid ",";",""],a,e.borderWidthS,e.neutral300,"facebook"===t&&(0,n.css)(["background:",";color:",";"],"#4267b2",e.neutral000)));e.exports={FacebookIconStyles:r,GoogleButtonContainerStyles:d,SocialLoginButtonStyles:p,SocialLoginContainerStyles:l,SocialLoginIconStyles:u,SocialLoginTextStyles:c}},57858:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(4393));t.default=n.default;e.exports=t.default},29143:function(e,t,o){"use strict";var s=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(96540),i=s(o(5556)),a=o(51678),r=s(o(12873)),l=o(93775),d=o(74848);const c=({renderButton:e})=>((0,n.useEffect)(()=>{e()},[e]),(0,d.jsx)(l.GoogleButtonContainerStyles,{id:"googleButton","data-testid":"google-button"})),u=({apiIsLoaded:e=!1,integrationCode:t,isLoggedIn:o=!1,loginTextButton:s,logoutTextButton:n,onLogin:i=a.defaultEmptyFunction,onLogout:u=a.defaultEmptyFunction,renderButton:p=a.defaultEmptyFunction})=>{let g;if(e){g=(({handleClick:e,textButton:t,integrationCode:o,renderButton:s})=>"google"===o?(0,d.jsx)(c,{renderButton:s}):(0,d.jsxs)(l.SocialLoginButtonStyles,{"data-testid":"fn-social-login-logout",integrationCode:o,onClick:e,children:[(0,d.jsx)(l.SocialLoginIconStyles,{integrationCode:o,children:(0,d.jsx)(l.FacebookIconStyles,{})}),(0,d.jsx)(l.SocialLoginTextStyles,{children:t})]}))({handleClick:o?u:i,textButton:o?n:s,integrationCode:t,renderButton:p})}else g=(0,d.jsx)(r.default,{type:"inlineloader"});return g};u.propTypes={apiIsLoaded:i.default.bool,isLoggedIn:i.default.bool,loginTextButton:i.default.string,logoutTextButton:i.default.string,onLogin:i.default.func,onLogout:i.default.func,renderButton:i.default.func};t.default=u;e.exports=t.default},68959:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(30496),n=o(43827);t.default=e=>(0,s.css)(["",""],({theme:t})=>(0,s.css)(["background-color:",";color:",";"],t[(0,n.getLevelBgColor)(e)]||t[(0,n.getLevelNeutralBgColor)(e)],t[(0,n.getLevelColor)(e)]||(e<4?t.neutral000:t.neutral800)));e.exports=t.default},43827:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLevelNeutralBgColor=t.getLevelColor=t.getLevelBgColor=void 0;t.getLevelBgColor=e=>`LoyaltyLevel${e}ColorBackground`;t.getLevelColor=e=>`LoyaltyLevel${e}Color`;t.getLevelNeutralBgColor=e=>{const t=800-100*e;return t>0?`neutral${t}`:"neutral000"}},72382:function(e,t,o){const s=o(39093),n={alg:"HS256",typ:"JWT"};function i(e){return s.enc.Base64.stringify(e).replace(/=+$/,"").replace(/\+/g,"-").replace(/\//g,"_")}function a(e){return i(s.enc.Utf8.parse(JSON.stringify(e)))}
vendor: 7,408 bytes, line 1
1e.exports=function(e,t,o={}){const r=Object.assign(n,o);if("HS256"!==r.alg&&"JWT"!==r.typ)throw new Error("jwt-encode only support the HS256 algorithm and the JWT type of hash");const l=a(r),d=a(e);let c=`${l}.${d}`;return c=s.HmacSHA256(c,t),c=i(c),`${l}.${d}.${c}`}},39093:function(e,t){var o,s,n=n||function(e){var t={},o=t.lib={},s=function(){},n=o.Base={extend:function(e){s.prototype=this;var t=new s;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=o.WordArray=n.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||r).stringify(this)},concat:function(e){var t=this.words,o=e.words,s=this.sigBytes;if(e=e.sigBytes,this.clamp(),s%4)for(var n=0;n<e;n++)t[s+n>>>2]|=(o[n>>>2]>>>24-n%4*8&255)<<24-(s+n)%4*8;else if(65535<o.length)for(n=0;n<e;n+=4)t[s+n>>>2]=o[n>>>2];else t.push.apply(t,o);return this.sigBytes+=e,this},clamp:function(){var t=this.words,o=this.sigBytes;t[o>>>2]&=4294967295<<32-o%4*8,t.length=e.ceil(o/4)},clone:function(){var e=n.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var o=[],s=0;s<t;s+=4)o.push(4294967296*e.random()|0);return new i.init(o,t)}}),a=t.enc={},r=a.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var o=[],s=0;s<e;s++){var n=t[s>>>2]>>>24-s%4*8&255;o.push((n>>>4).toString(16)),o.push((15&n).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,o=[],s=0;s<t;s+=2)o[s>>>3]|=parseInt(e.substr(s,2),16)<<24-s%8*4;return new i.init(o,t/2)}},l=a.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var o=[],s=0;s<e;s++)o.push(String.fromCharCode(t[s>>>2]>>>24-s%4*8&255));return o.join("")},parse:function(e){for(var t=e.length,o=[],s=0;s<t;s++)o[s>>>2]|=(255&e.charCodeAt(s))<<24-s%4*8;return new i.init(o,t)}},d=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},c=o.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var o=this._data,s=o.words,n=o.sigBytes,a=this.blockSize,r=n/(4*a);if(t=(r=t?e.ceil(r):e.max((0|r)-this._minBufferSize,0))*a,n=e.min(4*t,n),t){for(var l=0;l<t;l+=a)this._doProcessBlock(s,l);l=s.splice(0,t),o.sigBytes-=n}return new i.init(l,n)},clone:function(){var e=n.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});o.Hasher=c.extend({cfg:n.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){c.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,o){return new e.init(o).finalize(t)}},_createHmacHelper:function(e){return function(t,o){return new u.HMAC.init(e,o).finalize(t)}}});var u=t.algo={};return t}(Math);!function(e){for(var t=n,o=(i=t.lib).WordArray,s=i.Hasher,i=t.algo,a=[],r=[],l=function(e){return 4294967296*(e-(0|e))|0},d=2,c=0;64>c;){var u;e:{u=d;for(var p=e.sqrt(u),g=2;g<=p;g++)if(!(u%g)){u=!1;break e}u=!0}u&&(8>c&&(a[c]=l(e.pow(d,.5))),r[c]=l(e.pow(d,1/3)),c++),d++}var f=[];i=i.SHA256=s.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var o=this._hash.words,s=o[0],n=o[1],i=o[2],a=o[3],l=o[4],d=o[5],c=o[6],u=o[7],p=0;64>p;p++){if(16>p)f[p]=0|e[t+p];else{var g=f[p-15],y=f[p-2];f[p]=((g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3)+f[p-7]+((y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10)+f[p-16]}g=u+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&d^~l&c)+r[p]+f[p],y=((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+(s&n^s&i^n&i),u=c,c=d,d=l,l=a+g|0,a=i,i=n,n=s,s=g+y|0}o[0]=o[0]+s|0,o[1]=o[1]+n|0,o[2]=o[2]+i|0,o[3]=o[3]+a|0,o[4]=o[4]+l|0,o[5]=o[5]+d|0,o[6]=o[6]+c|0,o[7]=o[7]+u|0},_doFinalize:function(){var t=this._data,o=t.words,s=8*this._nDataBytes,n=8*t.sigBytes;return o[n>>>5]|=128<<24-n%32,o[14+(n+64>>>9<<4)]=e.floor(s/4294967296),o[15+(n+64>>>9<<4)]=s,t.sigBytes=4*o.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(i),t.HmacSHA256=s._createHmacHelper(i)}(Math),s=(o=n).enc.Utf8,o.algo.HMAC=o.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var o=e.blockSize,n=4*o;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),r=i.words,l=a.words,d=0;d<o;d++)r[d]^=1549556828,l[d]^=909522486;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}}),function(){var e=n,t=e.lib.WordArray;e.enc.Base64={stringify:function(e){var t=e.words,o=e.sigBytes,s=this._map;e.clamp(),e=[];for(var n=0;n<o;n+=3)for(var i=(t[n>>>2]>>>24-n%4*8&255)<<16|(t[n+1>>>2]>>>24-(n+1)%4*8&255)<<8|t[n+2>>>2]>>>24-(n+2)%4*8&255,a=0;4>a&&n+.75*a<o;a++)e.push(s.charAt(i>>>6*(3-a)&63));if(t=s.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(e){var o=e.length,s=this._map;(n=s.charAt(64))&&(-1!=(n=e.indexOf(n))&&(o=n));for(var n=[],i=0,a=0;a<o;a++)if(a%4){var r=s.indexOf(e.charAt(a-1))<<a%4*2,l=s.indexOf(e.charAt(a))>>>6-a%4*2;n[i>>>2]|=(r|l)<<24-i%4*8,i++}return t.create(n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(e){for(var t=n,o=(i=t.lib).WordArray,s=i.Hasher,i=t.algo,a=[],r=[],l=function(e){return 4294967296*(e-(0|e))|0},d=2,c=0;64>c;){var u;e:{u=d;for(var p=e.sqrt(u),g=2;g<=p;g++)if(!(u%g)){u=!1;break e}u=!0}u&&(8>c&&(a[c]=l(e.pow(d,.5))),r[c]=l(e.pow(d,1/3)),c++),d++}var f=[];i=i.SHA256=s.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var o=this._hash.words,s=o[0],n=o[1],i=o[2],a=o[3],l=o[4],d=o[5],c=o[6],u=o[7],p=0;64>p;p++){if(16>p)f[p]=0|e[t+p];else{var g=f[p-15],y=f[p-2];f[p]=((g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3)+f[p-7]+((y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10)+f[p-16]}g=u+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&d^~l&c)+r[p]+f[p],y=((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+(s&n^s&i^n&i),u=c,c=d,d=l,l=a+g|0,a=i,i=n,n=s,s=g+y|0}o[0]=o[0]+s|0,o[1]=o[1]+n|0,o[2]=o[2]+i|0,o[3]=o[3]+a|0,o[4]=o[4]+l|0,o[5]=o[5]+d|0,o[6]=o[6]+c|0,o[7]=o[7]+u|0},_doFinalize:function(){var t=this._data,o=t.words,s=8*this._nDataBytes,n=8*t.sigBytes;return o[n>>>5]|=128<<24-n%32,o[14+(n+64>>>9<<4)]=e.floor(s/4294967296),o[15+(n+64>>>9<<4)]=s,t.sigBytes=4*o.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(i),t.HmacSHA256=s._createHmacHelper(i)}(Math),t.enc={Base64:n.enc.Base64,Utf8:n.enc.Utf8,Latin1:n.enc.Latin1},n.SHA256,t.HmacSHA256=n.HmacSHA256}}]);

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.