1"use strict";(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[2],{30037:function(e,t,o){var n=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(96540),i=n(o(5556)),l=n(o(64484)),r=n(o(11039)),a=n(o(47675)),u=o(74848);class p extends s.Component{constructor(e){super(e),this.classNameStructure=(0,l.default)(this.props.type)}renderDesktop(){return(0,u.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,u.jsx)(a.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=p;p.propTypes={isDesktop:i.default.bool,type:i.default.string},p.defaultProps={isDesktop:!1,type:"default"},e.exports=t.default},64484:function(e,t){Object.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){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){var n=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=o(73037),i=o(50983),l=n(o(50483)),r=o(74848);const a=({isCurrent:e,isDesktop:t,isLast:o,navitem:n,onClick:a,privateZoneUrlTarget:u,type:p})=>{const c=t?s.ItemDesktopStyles:i.ItemMobileStyles,d=t?s.LinkDesktopStyles:i.LinkMobileStyles;return(0,r.jsx)(c,{children:(0,r.jsx)(d,{"data-testid":(0,l.default)(e,n.code),href:n.url,isCurrent:e,isLast:o,rel:"_blank"===u?"noopener noreferrer":void 0,target:u,type:p,onClick:e=>{"#"===n.url&&e.preventDefault(),a(n.code)},children:n.name})})};t.default={NavItem:a,Menu:({currentSectionCode:e,isDesktop:t,navitems:o,onMenuItemClick:n,privateZoneUrlTarget:l,type:u="default"})=>{const p=t?s.ListDesktopStyles:i.ListMobileStyles;return(0,r.jsx)(p,{type:u,children:o.map((s,i)=>(0,r.jsx)(a,{isCurrent:e===s.code,isDesktop:t,isLast:i===o.length-1,navitem:s,onClick:n,privateZoneUrlTarget:l,type:u},i))})}};e.exports=t.default},11039:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(73037),s=o(21955),i=o(74848);const l=({logo:e})=>(0,i.jsx)(n.LogoStyles,{alt:e.loyaltyLogoAlt,src:e.loyaltyLogoUrl});t.default=({currentSectionCode:e,externalLogin:t,isDesktop:o,logo:r,navigation:a,onMenuItemClick:u,privateZoneUrlTarget:p,type:c})=>(0,i.jsxs)(n.DesktopLoyaltyAreaMenuStyles,{"data-testid":"fn-loyalty-area-menu-nav",type:c,children:["brand"===c?(0,i.jsx)(l,{"data-testid":"fn-loyalty-area-menu-logo",logo:r,type:c}):null,(0,i.jsx)(s.Menu,{currentSectionCode:e,externalLogin:t,isDesktop:o,navitems:a,onMenuItemClick:u,privateZoneUrlTarget:p,type:c})]});e.exports=t.default},47675:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(50983),s=o(21955),i=o(74848);t.default=({currentSection:e,externalLogin:t,isDesktop:o,logo:l,navigation:r,onMenuItemClick:a})=>(0,i.jsxs)(n.MobileLoyaltyAreaMenuStyles,{"data-testid":"fn-loyalty-area-menu-nav",children:[(0,i.jsx)(n.LogoStyles,{alt:l.loyaltyLogoAlt,src:l.loyaltyLogoUrl}),(0,i.jsx)(s.Menu,{currentSection:e,externalLogin:t,isDesktop:o,navitems:r,onMenuItemClick:a})]});e.exports=t.default},73037:function(e,t,o){var n=o(24994),s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,n=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var s,i,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(s=t?n:o){if(s.has(e))return s.get(e);s.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?s(l,t,i):l[t]=e[t]);return l}(e,t)}(o(30496)),i=n(o(89883)),l=o(37039);const r=(0,s.css)(["",""],({theme:e,isCurrent:t})=>(0,s.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,s.css)(["background:",";font-weight:",";text-decoration:none;"],e.neutral000,e.fontBold),e.neutral000,e.fontBold,e.borderWidthS)),a=s.default.nav.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__DesktopLoyaltyAreaMenuStyles",componentId:"sc-o9tb0g-0"})([""," ",""],i.default.StoB,({theme:e,type:t})=>(0,s.css)([""," ",""],"default"===t&&(0,s.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,l.device.tablet),"brand"===t&&(0,s.css)(["background:",";display:flex;flex-direction:column;height:inherit;padding:",";width:",";"],e.tooltipBg||e.neutral000,e.r200,e.r2500))),u=s.default.img.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__LogoStyles",componentId:"sc-o9tb0g-1"})(["",""],({theme:e})=>(0,s.css)(["align-self:flex-start;margin:0 0 ",";max-height:",";max-width:calc(100% - ",");width:auto;"],e.r150,e.r400,e.iconDefaultSize)),p=s.default.ul.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__ListDesktopStyles",componentId:"sc-o9tb0g-2"})(["",""],({type:e})=>(0,s.css)([""," ",""],"default"===e&&(0,s.css)(["display:flex;flex-direction:column;justify-content:center;list-style:none;margin:0;padding-left:0;"]),"brand"===e&&(0,s.css)(["background:transparent;display:flex;flex-direction:column;height:inherit;justify-content:center;list-style:none;margin:0;padding:0;position:static;top:auto;"]))),c=s.default.li.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__ItemDesktopStyles",componentId:"sc-o9tb0g-3"})(["float:none;margin:0;"]),d=s.default.a.withConfig({displayName:"DesktopLoyaltyAreaMenustyles__LinkDesktopStyles",componentId:"sc-o9tb0g-4"})([""," ",""],({theme:e,type:t})=>(0,s.css)(["",""],"default"===t&&(0,s.css)([""," color:",";padding:"," ",";"],r,e.neutral900,e.r100,e.r150)),({theme:e,isLast:t,type:o})=>(0,s.css)(["",""],"brand"===o&&(0,s.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,s.css)(["padding-bottom:0;"]))));e.exports={DesktopLoyaltyAreaMenuStyles:a,ItemDesktopStyles:c,LinkDesktopStyles:d,ListDesktopStyles:p,LogoStyles:u}},50983:function(e,t,o){var n=o(24994),s=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,n=new WeakMap;
1return function(e,t){if(!t&&e&&e.__esModule)return e;var s,i,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(s=t?n:o){if(s.has(e))return s.get(e);s.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?s(l,t,i):l[t]=e[t]);return l}(e,t)}(o(30496)),i=n(o(89883));const l=s.default.nav.withConfig({displayName:"MobileLoyaltyAreaMenustyles__MobileLoyaltyAreaMenuStyles",componentId:"sc-17lv76r-0"})(["",""],({theme:e})=>(0,s.css)(["background:",";display:block;justify-content:center;padding:0;width:100%;"],e.neutral800)),r=s.default.img.withConfig({displayName:"MobileLoyaltyAreaMenustyles__LogoStyles",componentId:"sc-17lv76r-1"})(["",""],({theme:e})=>(0,s.css)(["height:4rem;margin-left:",";width:auto;"],e.r200)),a=s.default.ul.withConfig({displayName:"MobileLoyaltyAreaMenustyles__ListMobileStyles",componentId:"sc-17lv76r-2"})(["",""],({theme:e})=>(0,s.css)(["display:flex;flex-direction:column;justify-content:center;margin-top:",";"],e.r200)),u=s.default.li.withConfig({displayName:"MobileLoyaltyAreaMenustyles__ItemMobileStyles",componentId:"sc-17lv76r-3"})(["",""],({theme:e})=>(0,s.css)(["border-top:"," solid ",";&:last-of-type{border-bottom:$"," solid ",";}"],e.borderWidthS,e.neutral700,e.borderWidthS,e.neutral700)),p=s.default.a.withConfig({displayName:"MobileLoyaltyAreaMenustyles__LinkMobileStyles",componentId:"sc-17lv76r-4"})(["",""],({theme:e,isLast:t})=>(0,s.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,s.css)(["text-transform:none;"])));e.exports={ItemMobileStyles:u,LinkMobileStyles:p,ListMobileStyles:a,LogoStyles:r,MobileLoyaltyAreaMenuStyles:l}}}]);
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.