PageSourceSearch

https://bookings.barasetbarn.co.uk/bookcore/static/js/web-componen…/builds/30.6e9faebe301587b22ec1.chunk.js

js barasetbarn.co.uk collected 2026-10-01 06:44:43 UTC 36,303 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[30],{20771:function(e,t,o){o.r(t);var i,n=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 i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},a.apply(null,arguments)}t.default=function(e){return n.createElement("svg",a({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=n.createElement("path",{d:"M12 0a8 8 0 014.861 14.354l1.13 8.514a1 1 0 01-1.505.99L12 21.165l-4.486 2.691a1 1 0 01-1.505-.989l1.13-8.513A8 8 0 0112 0zm0 16a7.978 7.978 0 01-2.985-.575l-.75 5.65 3.22-1.932a1 1 0 011.03 0l3.22 1.932-.749-5.65A7.978 7.978 0 0112 16zm0-14a6 6 0 103.19 11.082.784.784 0 01.137-.088A6 6 0 0012 2z",fillRule:"evenodd"})))}},51645:function(e,t,o){o.r(t);var i,n=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 i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},a.apply(null,arguments)}t.default=function(e){return n.createElement("svg",a({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=n.createElement("path",{d:"M12 1a6 6 0 016 6v3h1a3 3 0 013 3v7a3 3 0 01-3 3H5a3 3 0 01-3-3v-7a3 3 0 013-3h1V7a6 6 0 015.775-5.996zm7 11H5a1 1 0 00-1 1v7a1 1 0 001 1h14a1 1 0 001-1v-7a1 1 0 00-1-1zm-7-9a4 4 0 00-4 4v3h8V7a4 4 0 00-3.8-3.995z",fillRule:"evenodd"})))}},69946:function(e,t,o){o.r(t);var i,n=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 i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},a.apply(null,arguments)}t.default=function(e){return n.createElement("svg",a({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=n.createElement("path",{d:"M16.5 1a3.5 3.5 0 013.163 5.001L22 6a1 1 0 011 1v5a1 1 0 01-1 1h-1v9a1 1 0 01-.883.993L20 23H4a1 1 0 01-1-1v-9H2a1 1 0 01-1-1V7a1 1 0 011-1l2.337.001A3.5 3.5 0 017.5 1c1.96 0 3.421 1.168 4.439 3.018l.061.118.061-.118c.975-1.772 2.357-2.92 4.196-3.012zM11 13H5v8h6v-8zm8 0h-6v8h6v-8zm-8-5H3v3h8V8zm10 0h-8v3h8V8zM7.5 3a1.5 1.5 0 000 3h3.154l-.14-.347a7.816 7.816 0 00-.328-.671C9.485 3.707 8.602 3 7.5 3zm9 0c-1.102 0-1.985.707-2.686 1.982A8.153 8.153 0 0013.346 6H16.5a1.5 1.5 0 000-3z",fillRule:"evenodd"})))}},49267:function(e,t,o){o.r(t);var i,n=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 i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},a.apply(null,arguments)}t.default=function(e){return n.createElement("svg",a({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=n.createElement("path",{d:"M11.178 1.059a5.915 5.915 0 00-1.862.58 5.99 5.99 0 00-3.121 3.859c-.174.676-.194.958-.194 2.767L6 9.991l-.77.019c-.663.017-.814.033-1.091.116a3.069 3.069 0 00-2.025 2.034l-.094.3v8.08l.094.3a3.086 3.086 0 002.046 2.046l.3.094h15.08l.3-.094a3.086 3.086 0 002.046-2.046l.094-.3v-8.08l-.094-.3a3.089 3.089 0 00-2.025-2.039l-.321-.101L8 9.998V8.346c0-1.821.027-2.127.243-2.719a4.006 4.006 0 012.537-2.438c.652-.204 1.569-.242 2.16-.089a4.116 4.116 0 012.548 1.939c.173.308.266.559.471 1.271.093.322.259.548.469.636.198.083.612.068.88-.032.389-.145.611-.44.612-.814 0-.168-.175-.866-.299-1.196a6.036 6.036 0 00-4.431-3.786c-.53-.11-1.5-.138-2.012-.059zm8.132 11.002c.279.083.546.35.629.629.053.176.061.699.061 3.811 0 3.914.005 3.82-.221 4.117-.061.08-.194.195-.295.254l-.184.108H4.7l-.184-.108a1.051 1.051 0 01-.458-.556c-.089-.254-.087-7.325.003-7.626.079-.269.351-.547.612-.627.291-.089 14.336-.092 14.637-.002z"})))}},2770:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(59414);const n=(e,t,o=!1)=>({code:t,externalLogin:o,name:e,url:"#"}),a=({home_text:e,my_bookings_text:t,my_personal_info_text:o,logout_text:i},{home:a,myBookings:l,personalInfo:r,logout:s})=>[n(e,a),n(t,l,!0),n(o,r,!0),n(i,s)];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,i.hasExternalAuth)(e);let a;return a=n?"EXTERNAL_AUTH":"EXTERNAL_SIGNUP_EXTRA_INFO"===t?t:o?"SIGNUP":t,a},getInitialAuthSection:e=>e?"SIGNIN":"PRE_SIGNUP",getLoyaltyAreaProps:({ADVANTAGES:e,externalLogin:t,isDesktop:o,LOYALTY_ACCOUNT:i,LOYALTY_NAME:n,loyaltyLogo:l,MEMBER_NUMBER_TEXT:r,MEMBER_SINCE_TEXT:s,NOTIFICATIONS:c,onClickBooking:d,onLogout:p,SECTIONS:y,SIGNIN_SUCCESS:u,user:g})=>({advantages:e,bookingButtonText:u.bookingButtonText,bookingsAreaData:{texts:i.booking_area_texts},externalLogin:t,greeting:c.messages.registered.text,isDesktop:o,levelInfo:{discount:i.levelInfo.discount,discountText:i.levelInfo.discountText,info:i.levelInfo.info,level:i.levelInfo.level,levelName:i.levelInfo.levelName,loyaltyName:n},logout:p,member:{loyaltyId:g.loyalty_id,loyaltyLogoAlt:n,loyaltyLogoUrl:l,memberSinceDate:`${g.info_personal?g.info_personal.fecha_alta:g.fecha_alta||""}`,memberNumberText:r,memberSinceText:s,name:`${g.nombre} ${g.apellidos}`},navigation:a(i,y),onClickBooking:d,userInfoAreaData:{texts:i.user_info_area_texts}}),hasToChangePassword:({password:e,passwordRepeat:t,tokenPassword:o,tokenUID:i})=>e===t&&!!o&&!!i,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},36735:function(e,t,o){var i=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o(12873)),a=o(10233),l=o(74848);const r=({errorMessage:e,isDesktop:t,onShowErrorChange:o,textWarning:i})=>{const a={isDesktop:t,onClose:o,text:e,title:i,type:"modal"};return(0,l.jsx)(n.default,{...a})},s=({textTitleOptionConditions:e,optionDescription:t})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h4",{children:e}),(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:t}})]}),c=({conditions:e,freeCancellationUntilText:t,hasFreeCancellationUntilText:o,textTitleConditions:i})=>(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{children:i}),o&&(0,l.jsx)(a.FreeCancellationUntilTextStyles,{children:t}),(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:e}})]}),d=({conditions:e,extraDescription:t,extraDescriptionTitleText:o,freeCancellationUntilText:i,hasFreeCancellationUntilText:r,hasToShowOptionDescription:d,isDesktop:p,onConditionsOpenChange:y,optionDescription:u,optionName:g,slogan:f,textTitleConditions:h,textTitleOptionConditions:x})=>(0,l.jsx)(n.default,{type:"modal",themeVersion:"light",onClose:y,isDesktop:p,children:(0,l.jsxs)(a.DescriptionStyles,{className:"fn-availability-option-conditions-modal",children:[d&&u&&(0,l.jsxs)("div",{children:[(0,l.jsx)(a.OptionTitleDescriptionStyles,{children:g}),f,(0,l.jsx)(s,{textTitleOptionConditions:x,optionDescription:u})]}),e&&(0,l.jsx)(c,{conditions:e,freeCancellationUntilText:i,hasFreeCancellationUntilText:r,textTitleConditions:h}),t&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{children:o}),(0,l.jsx)("p",{children:t})]})]})});t.default=({conditions:e,extraDescription:t,extraDescriptionTitleText:o,freeCancellationUntilText:i,hasFreeCancellationUntilText:a,hasToShowOptionDescription:s,isDesktop:c,onConditionsOpenChange:p,onShowErrorChange:y,option:u,optionDescription:g,optionName:f,slogan:h,textTitleConditions:x,textTitleOptionConditions:m,textWarning:T})=>(0,l.jsxs)(l.Fragment,{children:[u.showConditions&&(0,l.jsx)(d,{conditions:e,extraDescription:t,extraDescriptionTitleText:o,freeCancellationUntilText:i,hasFreeCancellationUntilText:a,hasToShowOptionDescription:s,isDesktop:c,onConditionsOpenChange:p,optionDescription:g,optionName:f,slogan:h,textTitleConditions:x,textTitleOptionConditions:m}),u.showLoader&&(0,l.jsx)(n.default,{}),u.showError&&(0,l.jsx)(r,{isDesktop:c,errorMessage:u.errorMessage,onShowErrorChange:y,textWarning:T})]});e.exports=t.default},77440:function(e,t,o){var i=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AveragePriceNight=void 0;var n=i(o(5556)),a=o(30496),l=i(o(30425)),r=i(o(36735)),s=o(32802),c=i(o(61978)),d=o(61995),p=o(74848);const y=({averagePricePerNight:e,nightText:t,totalNights:o})=>o>1&&(0,p.jsxs)(s.AveragePriceNightStyles,{"data-testid":"fn-average-price-night",children:[e.priceFormatted," / ",t]});t.AveragePriceNight=y;const u=({conditions:e,extraDescription:t,extraDescriptionTitleText:o,freeCancellationUntilText:i,hasFreeCancellationUntilText:n,hasToShowOptionDescription:a,onConditionsOpenChange:l,onShowErrorChange:c,option:d,optionDescription:y,optionName:u,slogan:g,textTitleConditions:f,textTitleOptionConditions:h,textWarning:x})=>(0,p.jsx)(p.Fragment,{children:(a&&y||e)&&(0,p.jsxs)(s.InfoLinkStyles,{onClick:l,"data-testid":"fn-availability-option-conditions-icon",children:[(0,p.jsx)(s.InfoIconStyles,{}),(0,p.jsx)(r.default,{conditions:e,extraDescription:t,extraDescriptionTitleText:o,freeCancellationUntilText:i,hasFreeCancellationUntilText:n,hasToShowOptionDescription:a,onConditionsOpenChange:l,onShowErrorChange:c,option:d,optionDescription:y,optionName:u,slogan:g,textTitleConditions:f,textTitleOptionConditions:h,textWarning:x})]})}),g=({averagePricePerNight:e,conditions:t,extraDescription:o,extraDescriptionTitleText:i,freeCancellationUntilText:n,hasFreeCancellationUntilText:a,hasToShowOnlyAveragePrice:l,hasToShowOptionDescription:r,nightText:c,onConditionsOpenChange:d,onShowErrorChange:g,option:f,optionDescription:h,optionName:x,optionTitle:m,slogan:T,textTitleConditions:v,textTitleOptionConditions:w,textWarning:S,TopFragment:C,totalNights:b})=>{const P=!!C();return(0,p.jsx)(s.OptionHeader,{children:(0,p.jsxs)(s.TitleStyles,{children:[(0,p.jsxs)(s.InfoNameBoardWrapperStyles,{children:[(0,p.jsx)(u,{conditions:t,extraDescription:o,extraDescriptionTitleText:i,freeCancellationUntilText:n,hasFreeCancellationUntilText:a,hasToShowOptionDescription:r,onConditionsOpenChange:d,onShowErrorChange:g,option:f,optionDescription:h,optionName:x,slogan:T,textTitleConditions:v,textTitleOptionConditions:w,textWarning:S}),(0,p.jsxs)(s.TitleAveragePriceWrapperStyles,{children:[(0,p.jsx)(s.BoardTitleStyles,{children:m}),!l&&(0,p.jsx)(y,{averagePricePerNight:e,nightText:c,totalNights:b})]})]}),P&&(0,p.jsx)(C,{})]})})},f=({addButton:e,averagePriceNightText:t,hasToShowOnlyAveragePrice:o,isBookAndJoinPreview:i,isLockedLoyaltyRate:n,lockedLoyaltyDiscount:a,mode:l,price:r,props:d})=>(0,p.jsxs)(s.PriceAndCtaStyles,{children:[(0,p.jsx)(c.default,{averagePriceNightText:t,hasToShowOnlyAveragePrice:o,isBookAndJoinPreview:i,lockedLoyaltyDiscount:a,price:r}),(0,p.jsxs)(s.AddButtonStyles,{as:"a",className:"vwo-add-option-button","data-testid":"fn-add-option-button",onClick:()=>
1e.handleButtonClick(d),version:"B",isLockedLoyaltyRate:n,children:["gift"===l&&(0,p.jsx)(s.GiftIconStyles,{}),e.addText,n&&!i&&(0,p.jsx)(s.LockIconStyles,{"data-testid":"fn-add-option-button-lock-icon"})]})]}),h=({backgroundColor:e,highlightLabel:t})=>(0,p.jsx)(s.HighlightLabelStyles,{"data-testid":"fn-loyalty-highlight-label",backgroundColor:e,children:t}),x=({backgroundColor:e,hasToShowLoyaltyLabel:t,label:o})=>t?(0,p.jsx)(h,{backgroundColor:e,highlightLabel:o}):null,m=({children:e,hasToShowChildren:t})=>t?(0,p.jsx)(s.ChildrenFragmentStyles,{children:e}):null,T=({forcedCurrencyFormat:e,hasToShowLoyaltyLockedButton:t,isLoyalty:o,locale:i,loyaltyLogo:n,loyaltyLogoAlt:a,loyaltyPriceFormatted:r,onClickUnlockButton:s,points:c,priceObject:y,showLoyaltyPrices:u,textPoints:g,unlockPriceText:f,unlockText:h})=>t?(0,p.jsx)(l.default,{forcedCurrencyFormat:e,isDesktop:!1,isLoggedIn:o,locale:i,loyaltyLogoAlt:a,loyaltyLogoUrl:n,loyaltyPriceFormatted:r,onClickUnlockButton:s,points:c,pointText:g,showLoyaltyPrices:(0,d.hasToShowLoyaltyPriceInRate)(y,u),unlockPriceText:f,unlockText:h}):null,v=({addButton:e,averagePriceNightText:t,averagePricePerNight:o,children:i,conditions:n,exclusiveRateLoyaltyProgramText:a,extraDescription:l,extraDescriptionTitleText:r,forcedCurrencyFormat:c,freeCancellationUntilText:y,hasFreeCancellationUntilText:u,hasToShowOnlyAveragePrice:h,hasToShowOptionDescription:v,isBookAndJoinPreview:w,isLockedLoyaltyRate:S,isLoyalty:C,locale:b,lockedLoyaltyDiscount:P,loyaltyLogo:L,loyaltyLogoAlt:k,loyaltyPriceFormatted:_,mode:j,nightText:O,onClickUnlockButton:N,onConditionsOpenChange:I,onShowErrorChange:A,option:D,optionDescription:B,optionName:E,optionTitle:M,points:U,price:F,priceObject:R,props:W,showConditions:z,showLoyaltyPrices:X,slogan:V,textPoints:H,textReadLess:$,textTitleConditions:G,textTitleOptionConditions:Y,textWarning:J,theme:K,TopFragment:q,totalNights:Q,unlockPriceText:Z,unlockText:ee})=>{const te=!!i,oe=(0,d.getBackgroundColor)(K,S),ie=!!W.roomCode;return(0,p.jsxs)(s.OptionStyles,{backgroundColor:oe,className:"fn-availability-option","data-testid":"fn-availability-option",children:[(0,p.jsx)(x,{hasToShowLoyaltyLabel:S,backgroundColor:oe,label:a}),(0,p.jsx)(g,{averagePricePerNight:o,conditions:n,extraDescription:l,extraDescriptionTitleText:r,freeCancellationUntilText:y,hasFreeCancellationUntilText:u,hasToShowOnlyAveragePrice:h,hasToShowOptionDescription:v,nightText:O,onConditionsOpenChange:I,onShowErrorChange:A,option:D,optionDescription:B,optionName:E,optionTitle:M,showConditions:z,slogan:V,textReadLess:$,textTitleConditions:G,textTitleOptionConditions:Y,textWarning:J,TopFragment:q,totalNights:Q}),(0,p.jsx)(m,{hasToShowChildren:te,children:i}),(0,p.jsx)(T,{hasToShowLoyaltyLockedButton:ie,forcedCurrencyFormat:c,isLoyalty:C,locale:b,loyaltyLogoAlt:k,loyaltyLogo:L,loyaltyPriceFormatted:_,onClickUnlockButton:N,points:U,textPoints:H,priceObject:R,showLoyaltyPrices:X,unlockPriceText:Z,unlockText:ee}),(0,p.jsx)(f,{addButton:e,averagePriceNightText:t,hasToShowOnlyAveragePrice:h,isBookAndJoinPreview:w,isLockedLoyaltyRate:S,lockedLoyaltyDiscount:P,mode:j,price:F,props:W})]})};v.displayName="AvailabilityOptionMobileView",y.propTypes={averagePricePerNight:n.default.object,nightText:n.default.string,totalNights:n.default.number},u.propTypes={conditions:n.default.string,extraDescription:n.default.string,extraDescriptionTitleText:n.default.string,freeCancellationUntilText:n.default.string,hasFreeCancellationUntilText:n.default.bool,hasToShowOptionDescription:n.default.bool,onConditionsOpenChange:n.default.func,onShowErrorChange:n.default.func,option:n.default.object,optionDescription:n.default.string,optionName:n.default.string,textTitleConditions:n.default.string,textTitleOptionConditions:n.default.string,textWarning:n.default.string},h.propTypes={backgroundColor:n.default.string,highlightLabel:n.default.string}
1,f.propTypes={addButton:n.default.object,averagePriceNightText:n.default.string,hasToShowOnlyAveragePrice:n.default.bool,isLockedLoyaltyRate:n.default.bool,mode:n.default.string,price:n.default.object,props:n.default.object},g.propTypes={averagePricePerNight:n.default.object,conditions:n.default.string,extraDescription:n.default.string,extraDescriptionTitleText:n.default.string,freeCancellationUntilText:n.default.string,hasFreeCancellationUntilText:n.default.bool,hasToShowOnlyAveragePrice:n.default.bool,hasToShowOptionDescription:n.default.bool,nightText:n.default.string,onConditionsOpenChange:n.default.func,onShowErrorChange:n.default.func,option:n.default.object,optionDescription:n.default.string,optionName:n.default.string,optionTitle:n.default.string,textTitleConditions:n.default.string,textTitleOptionConditions:n.default.string,textWarning:n.default.string,TopFragment:n.default.elementType,totalNights:n.default.number},v.propTypes={addButton:n.default.object,averagePriceNightText:n.default.string,averagePricePerNight:n.default.object,children:n.default.oneOfType([n.default.object,n.default.string,n.default.array]),conditions:n.default.string,exclusiveRateLoyaltyProgramText:n.default.string,extraDescription:n.default.string,extraDescriptionTitleText:n.default.string,forcedCurrencyFormat:n.default.object,freeCancellationUntilText:n.default.string,hasFreeCancellationUntilText:n.default.bool,hasToShowOnlyAveragePrice:n.default.bool,hasToShowOptionDescription:n.default.bool,isLockedLoyaltyRate:n.default.bool,isLoyalty:n.default.bool,locale:n.default.string,loyaltyLogo:n.default.string,loyaltyLogoAlt:n.default.string,loyaltyPriceFormatted:n.default.string,nightText:n.default.string,mode:n.default.string,onClickUnlockButton:n.default.func,onConditionsOpenChange:n.default.func,onShowErrorChange:n.default.func,option:n.default.object,optionDescription:n.default.string,optionName:n.default.string,optionTitle:n.default.string,points:n.default.number,price:n.default.object,priceObject:n.default.object,props:n.default.object,showConditions:n.default.bool,showLoyaltyPrices:n.default.bool,textPoints:n.default.string,textReadLess:n.default.string,textTitleConditions:n.default.string,textTitleOptionConditions:n.default.string,textWarning:n.default.string,theme:n.default.object,TopFragment:n.default.elementType,totalNights:n.default.number,unlockPriceText:n.default.string,unlockText:n.default.string};t.default=(0,a.withTheme)(v)},61978:function(e,t,o){var i=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o(5556)),a=o(93500),l=o(61995),r=o(74848);const s=({oldPrice:e,finalPrice:t,oldPriceFormatted:o})=>e>t&&(0,r.jsx)(a.PriceStrikeThroughStyles,{className:"prices","data-price":e,children:o}),c=({averagePriceNightText:e,hasToShowOnlyAveragePrice:t,isBookAndJoinPreview:o,lockedLoyaltyDiscount:i,price:n})=>(0,r.jsxs)(a.PriceWrapper,{children:[(0,r.jsx)(a.DiscountContainerStyles,{children:n.oldPrice>n.finalPrice&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{finalPrice:n.finalPrice,oldPrice:n.oldPrice,oldPriceFormatted:n.oldPriceFormatted}),(0,r.jsxs)(a.DiscountPercentStyles,{children:["-",(0,l.getDiscount)({finalPrice:n.finalPrice,initialPrice:n.oldPrice,isBookAndJoinPreview:o,lockedLoyaltyDiscount:i}),"%"]})]})}),(0,r.jsx)(a.PriceStyle,{className:"prices","data-price":n.finalPrice,children:n.priceFormatted}),t&&(0,r.jsx)(a.AveragePriceTextStyle,{children:e})]});c.displayName="AvailabilityOptionViewPrice",s.propTypes={oldPrice:n.default.number,finalPrice:n.default.number,oldPriceFormatted:n.default.string},c.propTypes={averagePriceNightText:n.default.string,hasToShowOnlyAveragePrice:n.default.bool,price:n.default.object};t.default=c;e.exports=t.default},10233:function(e,t,o){var i=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,i=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,a,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(n=t?i:o){if(n.has(e))return n.get(e);n.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?n(l,t,a):l[t]=e[t]);return l}(e,t)}(o(30496)),a=i(o(89883));const l=n.default.div.withConfig({displayName:"Conditionstyles__DescriptionStyles",componentId:"sc-je3k4g-0"})(["",""],({theme:e})=>(0,n.css)(["h4{"," font-weight:",";padding-top:",";}p{"," padding:"," 0 ",";white-space:pre-line;}& > :not(:last-child){border-bottom:"," solid ",";}"],a.default.BtoL,e.fontBold,e.r150,a.default.StoB,e.r100,e.r200,e.borderWidthS,e.neutral200)),r=n.default.span.withConfig({displayName:"Conditionstyles__FreeCancellationUntilTextStyles",componentId:"sc-je3k4g-1"})(["",""],({theme:e})=>(0,n.css)([""," padding:"," 0 ",";"],a.default.StoB,e.r100,e.r200)),s=n.default.h3.withConfig({displayName:"Conditionstyles__OptionTitleDescriptionStyles",componentId:"sc-je3k4g-2"})(["",""],({theme:e})=>(0,n.css)(["color:",";letter-spacing:",";font-weight:",";padding:"," 0 "," 0;",""],e.neutral800,e.letterSpacing,e.fontBold,e.r050,e.r150,a.default.LtoXL));t.default={DescriptionStyles:l,FreeCancellationUntilTextStyles:r,OptionTitleDescriptionStyles:s};e.exports=t.default},32802:function(e,t,o){var i=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(o(30496)),a=d(o(69014)),l=i(o(89883)),r=i(o(27140)),s=i(o(69946)),c=i(o(51645));function d(e,t){if("function"==typeof WeakMap)var o=new WeakMap,i=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var n,a,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(n=t?i:o){if(n.has(e))return n.get(e);n.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?n(l,t,a):l[t]=e[t]);return l})(e,t)}const p=(0,n.default)(a.default.Success).withConfig({displayName:"MobileAvailabilityOptionstyles__AddButtonStyles",componentId:"sc-jhntad-0"})(["",""],({theme:e,isLockedLoyaltyRate:t})=>(0,n.css)([""," display:flex;gap:",";&,&:hover,&:visited,&:active{background-color:",";border:",";color:",";}"],l.default.StoB,e.r075,t?e.colorCorporate:e.addRoomButtonBgColor||e.colorMain,t?e.colorCorporate:e.addRoomButtonBorder,e.addRoomButtonColor)),y=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__InfoNameBoardWrapperStyles",componentId:"sc-jhntad-1"})(["align-items:flex-start;display:flex;flex-wrap:nowrap;"]),u=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__TitleAveragePriceWrapperStyles",componentId:"sc-jhntad-2"})(["",""],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;gap:",";"],e.r100)),g=n.default.h4.withConfig({displayName:"MobileAvailabilityOptionstyles__BoardTitleStyles",componentId:"sc-jhntad-3"})(["overflow-wrap:break-word;white-space:normal;word-break:break-word;"]),f=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__TitleStyles",componentId:"sc-jhntad-4"})(["",""],({theme:e})=>(0,n.css)([""," color:",";display:flex;flex-wrap:nowrap;gap:",";justify-content:space-between;line-height:",";margin-bottom:",";z-index:",";"],l.default.StoB,e.neutral700,e.r150,e.lineHeightXS,e.r050,e.zBaseTop)),h=n.default.a.withConfig({displayName:"MobileAvailabilityOptionstyles__InfoLinkStyles",componentId:"sc-jhntad-5"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;display:flex;margin:-"," 0 -"," -",";padding:",";transform:translateY(",");"],e.r150,e.r100,e.r100,e.r100,e.r025)),x=(0,n.default)(r.default).withConfig({displayName:"MobileAvailabilityOptionstyles__InfoIconStyles",componentId:"sc-jhntad-6"})(["",""],({theme:e})=>(0,n.css)(["fill:",";height:",";width:",";"],e.infoRateIconColor||e.colorMain,e.iconsSizeMS,e.iconsSizeMS)),m=()=>(0,n.css)(["",""],({theme:e})=>(0,n.css)(["",";height:",";width:",";"],a.svg,e.iconsSizeS,e.iconsSizeS)),T=(0,n.default)(s.default).withConfig({displayName:"MobileAvailabilityOptionstyles__GiftIconStyles",componentId:"sc-jhntad-7"})(["",";"],m),v=(0,n.default)(c.default).withConfig({displayName:"MobileAvailabilityOptionstyles__LockIconStyles",componentId:"sc-jhntad-8"})(["",";"],m),w=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__OptionHeader",componentId:"sc-jhntad-9"})(["",""],({theme:e})=>(0,n.css)([""," display:flex;flex-direction:column;justify-content:flex-start;padding:"," ",";"],l.default.XStoS,e.r100,e.r150)),S=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__ChildrenFragmentStyles",componentId:"sc-jhntad-10"})(["",";"],({theme:e})=>(0,n.css)([""," padding:",";"],l.default.StoB,e.r100)),C=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__OptionStyles",componentId:"sc-jhntad-11"})(["",";"],({theme:e,backgroundColor:t})=>(0,n.css)([""," border-radius:",";display:grid;padding-bottom:",";&::after{background:",";bottom:0;content:'';display:block;height:",";left:",";position:absolute;width:",";}&:first-child{padding-top:",";}&:last-child{padding-bottom:0;&::after{content:none;}}"],(e=>(0,n.css)(["",""],({theme:t})=>(0,n.css)(["background-color:",";position:relative;",""],e||t.roomCardOptionColorBg||t.colorBg,e&&(0,n.css)(["&::before{background-color:",";border-radius:",";content:'';display:inline-block;height:100%;left:0;position:absolute;top:0;width:100%;}"],"rgba(255, 255, 255, 0.98)",t.roundedCard))))(t),e.roundedCard,e.r100,e.neutral100,e.r010,e.r100,`calc(100% - ${e.r200})`,e.r050)),b=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__PriceAndCtaStyles",componentId:"sc-jhntad-12"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;display:flex;gap:",";justify-content:flex-end;padding:",";position:relative;z-index:",";"],e.r150,e.r150,e.zBaseTop)),P=n.default.div.withConfig({displayName:"MobileAvailabilityOptionstyles__HighlightLabelStyles",componentId:"sc-jhntad-13"})(["",";"],({theme:e,backgroundColor:t})=>(0,n.css)(["background-color:",";border-radius:",";color:",";font-size:",";font-weight:",";line-height:",";margin:0 "," "," ",";padding:",";position:relative;text-align:center;text-transform:uppercase;text-wrap:balance;width:calc(100% - ",");z-index:",";"],t,e.r025,e.neutral000,e.fontXS,e.fontRegular,e.lineHeightXS,e.r100,e.r150,e.r100,e.r050,e.r200,e.zBaseTop)),L=n.default.span.withConfig({displayName:"MobileAvailabilityOptionstyles__AveragePriceNightStyles",componentId:"sc-jhntad-14"})(["",";"],({theme:e})=>(0,n.css)([""," color:",";overflow-wrap:break-word;white-space:normal;word-break:break-word;"],l.default.XStoS,e.neutral400));p.displayName="AddButton",h.displayName="InfoLinkStyles",S.displayName="ChildrenFragmentStyles";t.default={AddButtonStyles:p,AveragePriceNightStyles:L,BoardTitleStyles:g,ChildrenFragmentStyles:S,GiftIconStyles:T,HighlightLabelStyles:P,InfoIconStyles:x,InfoLinkStyles:h,InfoNameBoardWrapperStyles:y,LockIconStyles:v,OptionHeader:w,OptionStyles:C,PriceAndCtaStyles:b,TitleAveragePriceWrapperStyles:u,TitleStyles:f};e.exports=t.default},93500:function(e,t,o){var i=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,i=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,a,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(n=t?i:o){if(n.has(e))return n.get(e);n.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?n(l,t,a):l[t]=e[t]);return l}(e,t)}(o(30496)),a=i(o(89883)),l=o(37039);const r=n.default.span.withConfig({displayName:"Pricesstyles__PriceStrikeThroughStyles",componentId:"sc-1v2ik1k-0"})(["",""],({theme:e})=>(0,n.css)(["background-color:",";color:",";text-decoration:line-through;",""],e.neutral000,e.neutral400,a.default.XStoS)),s=n.default.div.withConfig({displayName:"Pricesstyles__PriceWrapper",componentId:"sc-1v2ik1k-1"})([""," align-items:flex-end;align-self:center;display:flex;flex-direction:column;flex-wrap:wrap;grid-column:span 4;white-space:nowrap;@media ","{grid-column:span 3;}@media ","{grid-column:initial;}"],a.default.LtoXL,l.device.mobileL,l.device.mobileXL),c=n.default.div.withConfig({displayName:"Pricesstyles__DiscountContainerStyles",componentId:"sc-1v2ik1k-2"})(["",""],({theme:e})=>(0,n.css)(["",";align-items:center;display:flex;gap:",";justify-content:space-between;"],a.default.XXStoXS,e.r050)),d=n.default.div.withConfig({displayName:"Pricesstyles__DiscountPercentStyles",componentId:"sc-1v2ik1k-3"})(["",""],({theme:e})=>(0,n.css)(["",";color:",";"],a.default.XXStoXS,e.colorError400)),p=n.default.span.withConfig({displayName:"Pricesstyles__AveragePriceTextStyle",componentId:"sc-1v2ik1k-4"})(["",""],({theme:e})=>(0,n.css)(["color:",";font-size:",";padding-top:",";text-align:right;width:100%;"],e.neutral400,e.fontXS,e.r010)),y=n.default.span.withConfig({displayName:"Pricesstyles__PriceStyle",componentId:"sc-1v2ik1k-5"})(["",""],({theme:e})=>(0,n.css)(["font-size:",";font-weight:",";"],e.fontXXL,e.fontRegular));r.displayName="PriceStrikeThroughStyles",y.displayName="PriceStyle",s.displayName="PriceWrapper";t.default={AveragePriceTextStyle:p,DiscountContainerStyles:c,DiscountPercentStyles:d,PriceStyle:y,PriceStrikeThroughStyles:r,PriceWrapper:s};e.exports=t.default},59414:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const o=e=>{let t,o;return Object.values(e).forEach(e=>{e.external_login&&(t=!0),o=e.external_sign_up}),{isExternalLogin:t,isExternalSignUp:o}};t.default={getExternalLoginData:(e,t="external_login")=>{let o=!1;return Object.values(e).forEach(e=>{e[t]&&(o=e)}),o},hasExternalAuth:e=>{let t,o,i,n;return Object.values(e).forEach(e=>{e.external_login&&(t=!0),o=e.external_sign_up,i=!!e.login_url,n=!!e.signup_url}),{isExternalLogin:t,isExternalSignup:o,hasBothExternalUrls:i&&n,isExternalAuth:t&&o&&i&&n}},hasExternalLoginAndExternalSignUp:e=>{const{isExternalLogin:t,isExternalSignUp:i}=o(e);return t&&i},hasExternalLoginData:o};e.exports=t.default},83494:function(e,t,o){var i=o(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenReaderOnly=t.LoyaltyPriceStyles=t.LoyaltyPointsWrapper=t.LoyaltyPointsText=t.LoyaltyPointsContainer=t.LoyaltyPointsAmount=t.LoyaltyMessageStyles=t.LoyaltyLogoContainerStyles=t.LoyaltyButtonStyles=t.LogoImageStyles=t.LockedIconStyles=t.AwardIconStyles=void 0;var n=i(o(20771)),a=i(o(69014)),l=i(o(49267)),r=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,i=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,a,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(n=t?i:o){if(n.has(e))return n.get(e);n.set(e,l)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((a=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(a.get||a.set)?n(l,t,a):l[t]=e[t]);return l}(e,t)}(o(30496)),s=i(o(89883)),c=o(37039),d=o(94501);t.ScreenReaderOnly=r.default.span.withConfig({displayName:"Viewstyles__ScreenReaderOnly",componentId:"sc-1yang5m-0"})(["",""],({theme:e})=>(0,r.css)(["border:0;clip:rect(0,0,0,0);height:",";margin:-",";overflow:hidden;padding:0;position:absolute;width:",";"],e.r010,e.r010,e.r010));const p=({theme:e})=>e.colorLockedPrice||e.neutral900;t.LoyaltyButtonStyles=(0,r.default)(a.default.RoundedAlt).withConfig({displayName:"Viewstyles__LoyaltyButtonStyles",componentId:"sc-1yang5m-1"})(["",""],({theme:e,isDesktop:t,$availabilityView:o})=>(0,r.css)(["align-items:center;background-color:transparent;border:"," "," solid;color:",";cursor:pointer;display:inline-flex;justify-self:center;margin:",";min-height:",";position:relative;text-align:center;text-decoration:none;",""],e.r010,p,p,t?"inherit":`${e.r150} 0 ${e.r100}`,e.r350,o===d.AvailabilityViewType.DETAILED?(0,r.css)(["border-radius:",";gap:",";min-height:",";min-width:",";padding:"," ",";"],e.r050,e.r100,e.r500,e.r1500,e.r100,e.r150):(0,r.css)(["gap:",";padding:"," ",";"],e.r050,e.r050,e.r100))),t.LoyaltyMessageStyles=r.default.span.withConfig({displayName:"Viewstyles__LoyaltyMessageStyles",componentId:"sc-1yang5m-2"})(["",""],({theme:e,$availabilityView:t})=>(0,r.css)(["align-items:center;background:",";display:flex;font-size:",";gap:",";left:",";line-height:1;padding:0 ",";position:absolute;text-transform:uppercase;top:-",";z-index:",";"],e.neutral000,e.fontXXS,e.r025,t===d.AvailabilityViewType.DETAILED?e.r100:e.r050,e.r025,e.r100,e.zBase)),t.LoyaltyPriceStyles=r.default.span.withConfig({displayName:"Viewstyles__LoyaltyPriceStyles",componentId:"sc-1yang5m-3"})(["",""],({theme:e,$availabilityView:t})=>(0,r.css)(["",";font-weight:",";line-height:",";position:relative;text-align:right;z-index:",";",""],s.default.BtoL,e.fontRegular,e.lineHeightXS,e.zBaseTop,t===d.AvailabilityViewType.DETAILED&&(0,r.css)(["font-size:",";"],e.r180))),t.LogoImageStyles=r.default.img.withConfig({displayName:"Viewstyles__LogoImageStyles",componentId:"sc-1yang5m-4"})(["",""],({theme:e,isLoggedIn:t})=>
1(0,r.css)(["height:",";position:relative;width:auto;z-index:",";"],t?e.loyaltyLockedButtonLoggedInImageHeight||e.r300:e.loyaltyLockedButtonLoggedOutImageHeight||e.r200,e.zBaseTop)),t.LockedIconStyles=(0,r.default)(l.default).withConfig({displayName:"Viewstyles__LockedIconStyles",componentId:"sc-1yang5m-5"})(["",""],({theme:e})=>(0,r.css)(["fill:",";height:",";width:",";"],p,e.r150,e.r150)),t.AwardIconStyles=(0,r.default)(n.default).withConfig({displayName:"Viewstyles__AwardIconStyles",componentId:"sc-1yang5m-6"})(["",""],({theme:e})=>(0,r.css)(["fill:",";height:",";width:",";"],e.neutral800,e.r200,e.r200)),t.LoyaltyLogoContainerStyles=r.default.div.withConfig({displayName:"Viewstyles__LoyaltyLogoContainerStyles",componentId:"sc-1yang5m-7"})(["",""],({theme:e,isDesktop:t})=>(0,r.css)(["align-items:center;display:flex;gap:",";justify-content:center;margin:",";@media ","{gap:",";}"],e.r100,t?"inherit":`${e.r200} 0 ${e.r050}`,c.device.tabletL,e.r200)),t.LoyaltyPointsContainer=r.default.div.withConfig({displayName:"Viewstyles__LoyaltyPointsContainer",componentId:"sc-1yang5m-8"})(["",""],({theme:e})=>(0,r.css)(["align-items:center;background:",";border-radius:0;color:",";display:flex;height:",";padding:"," ",";"],e.neutral100,e.neutral800,e.r350,e.r050,e.r075)),t.LoyaltyPointsWrapper=r.default.div.withConfig({displayName:"Viewstyles__LoyaltyPointsWrapper",componentId:"sc-1yang5m-9"})(["",""],({theme:e})=>(0,r.css)(["align-items:flex-start;display:flex;flex-direction:column;justify-content:center;margin-left:",";"],e.r025)),t.LoyaltyPointsAmount=r.default.strong.withConfig({displayName:"Viewstyles__LoyaltyPointsAmount",componentId:"sc-1yang5m-10"})(["",""],({theme:e})=>(0,r.css)(["font-size:",";font-weight:normal;line-height:",""],s.default.XXStoXS,e.lineHeightXS)),t.LoyaltyPointsText=r.default.span.withConfig({displayName:"Viewstyles__LoyaltyPointsText",componentId:"sc-1yang5m-11"})(["",""],({theme:e})=>(0,r.css)(["",";line-height:",";text-transform:uppercase;"],s.default.XXStoXS,e.lineHeightXS))},44924:function(e,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(98424),n=o(2770),a=o(83494),l=o(74848);const r=({forcedCurrencyFormat:e,locale:t,points:o,pointText:n})=>(0,l.jsxs)(a.LoyaltyPointsContainer,{children:[(0,l.jsx)(a.AwardIconStyles,{}),(0,l.jsxs)(a.LoyaltyPointsWrapper,{children:[(0,l.jsx)(a.LoyaltyPointsAmount,{"data-testid":"fn-loyalty-unlocked-points",children:(0,i.formatPoints)(o,t,e)}),(0,l.jsx)(a.LoyaltyPointsText,{children:n})]})]}),s=({forcedCurrencyFormat:e,isDesktop:t,isLoggedIn:o,locale:i,loyaltyLogoAlt:n,loyaltyLogoUrl:s,points:c,pointText:d})=>(0,l.jsxs)(a.LoyaltyLogoContainerStyles,{isDesktop:t,children:[(0,l.jsx)(a.LogoImageStyles,{alt:n,"data-testid":"fn-loyalty-unlocked-image",isLoggedIn:o,src:s}),o&&!!c&&(0,l.jsx)(r,{"data-testid":"fn-loyalty-unlocked-points",forcedCurrencyFormat:e,locale:i,points:c,pointText:d})]}),c=({availabilityView:e,loyaltyLogoAlt:t,loyaltyLogoUrl:o,loyaltyPriceFormatted:i,isDesktop:r,isLoggedIn:s,onClickUnlockButton:c,unlockPriceText:d,unlockText:p})=>(0,l.jsxs)(a.LoyaltyButtonStyles,{$availabilityView:e,"data-testid":"fn-loyalty-locked-price-button",isDesktop:r,onClick:c,children:[(0,l.jsxs)(a.LoyaltyMessageStyles,{$availabilityView:e,"data-testid":"fn-loyalty-locked-price-text",children:[(0,l.jsx)(a.LockedIconStyles,{}),p]}),(0,l.jsx)(a.ScreenReaderOnly,{children:(0,n.replaceKeys)({html:d,loyaltyName:t})}),(0,l.jsx)(a.LoyaltyPriceStyles,{$availabilityView:e,"data-testid":"fn-loyalty-locked-price",children:i}),(0,l.jsx)(a.LogoImageStyles,{alt:t,"data-testid":"fn-loyalty-unlocked-image",isLoggedIn:s,src:o})]});t.default=({availabilityView:e,forcedCurrencyFormat:t,isDesktop:o,isLoggedIn:i,locale:n,loyaltyLogoAlt:a,loyaltyLogoUrl:r,loyaltyPriceFormatted:d,onClickUnlockButton:p,points:y,pointText:u,showLoyaltyPrices:g,unlockPriceText:f,unlockText:h})=>i||y?(0,l.jsx)(s,{forcedCurrencyFormat:t,isDesktop:o,isLoggedIn:!0,locale:n,loyaltyLogoAlt:a,loyaltyLogoUrl:r,points:y,pointText:u}):g?(0,l.jsx)(c,{availabilityView:e,isDesktop:o,isLoggedIn:!1,loyaltyLogoAlt:a,loyaltyLogoUrl:r,loyaltyPriceFormatted:d,onClickUnlockButton:p,unlockPriceText:f,unlockText:h}):(0,l.jsx)(l.Fragment,{});e.exports=t.default},30425:function(e,t,o){var i=o(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o(44924));t.default=n.default;e.exports=t.default}}]);

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.