"use strict";(self["b-property-web-property-page__LOADABLE_LOADED_CHUNKS__"]=self["b-property-web-property-page__LOADABLE_LOADED_CHUNKS__"]||[]).push([["db46a508"],{"9851f383":(e,t,i)=>{i.d(t,{Z:()=>a});const a=e=>e&&e.propertyDetails?{paragraphs:e.propertyDetails.finePrints,licenseData:e.propertyDetails.licenseData}:{paragraphs:[],licenseData:{numbers:[],phrases:[]}}},"119a8107":(e,t,i)=>{i.d(t,{Z:()=>a});const a=e=>{var t;return null!==e&&void 0!==e&&null!==(t=e.propertyFullExtended)&&void 0!==t&&null!==(t=t.translation)&&void 0!==t&&t.finePrint?e.propertyFullExtended.translation.finePrint.split("\n").filter((e=>e.length>0&&"\n"!==e)):null}},b4d10f4f:(e,t,i)=>{i.d(t,{a:()=>l});var a=i("dc6d28ff"),n=i("077c7f8b"),r=i("9851f383"),o=i("119a8107");function l(e){const t=(0,a.getRequestContext)(),i=(0,n.z)(t.getBasePageUrl().searchParams),l=(0,r.Z)(e),s=(0,o.Z)(e);if(!i&&(s||l)){var c;return[s,null===l||void 0===l?void 0:l.paragraphs,null===l||void 0===l||null===(c=l.licenseData)||void 0===c?void 0:c.phrases].filter((e=>!!e)).flat().length>0}return!1}},bb3c1694:(e,t,i)=>{i.r(t),i.d(t,{default:()=>b});var a=i("ead71eb0"),n=i.n(a),r=i("abab1afe"),o=i("c44dcb0c"),l=i("dc6d28ff"),s=i("b4d10f4f"),c=i("50a96039"),u=i("c9a2562a");let d=function(e){return e.overview="overview",e.availability="availability",e.facilities="facilities",e.policies="policies",e.fine_print="fine_print",e.reviews="reviews",e}({});const h=e=>function(t){if(null!==t&&void 0!==t&&t.propertyFullExtended){var i,a,n,o,h,p;const _=(0,l.getRequestContext)().getVisitorCountry(),v=null===(i=t.propertyFullExtended.basicPropertyData)||void 0===i?void 0:i.accommodationTypeId,f=null===(a=t.propertyFullExtended.basicPropertyData)||void 0===a?void 0:a.id,b=null===(n=t.propertyFullExtended.propertyReview)||void 0===n||null===(n=n.totalScore)||void 0===n?void 0:n.reviewsCount,g=null===(o=t.propertyFullExtended.propertyReview)||void 0===o||null===(o=o.totalScore)||void 0===o?void 0:o.score,m=null===(h=t.propertyFullExtended.bookingHomeFlags)||void 0===h?void 0:h.isBH8,k=(0,s.a)(t),E=!(null!==(p=t.propertyDetails)&&void 0!==p&&p.isTpiExclusiveProperty),w=t.propertyFullExtended.isNewlyOpened;let y,T,C;switch(v){case 213:y=e.trans((0,r.t)("hotel_quick_links_available_villas"));break;case 220:y=e.trans((0,r.t)("hotel_quick_links_available_holidayhomes"));break;case 201:y=e.trans((0,r.t)("hotel_quick_links_available_apartments"));break;case 211:y=e.trans((0,r.t)("hotel_quick_links_available_bungalow"));break;case 224:y=e.trans((0,r.t)("hotel_quick_links_available_tented_camp"));break;default:y=e.trans((0,r.t)("dh_pp_info_and_price_quick_link_tab"))}if(T="us"===_?e.trans((0,r.t)("hp_amenities_quick_link")):e.trans((0,r.t)("hp_facilities_quick_link")),b>0){const t=(0,c.u)(b,e.language,0),i={num_exception:b,variables:{num_reviews:t,start_bold:"",end_bold:""}};C=e.trans((0,r.t)("hp_tab_num_reviews_end",i))}else C=m&&w?e.trans((0,r.t)("vr_hp_headings_newest_prop")):e.trans((0,r.t)("bh_pp_no_reviews_yet"));const I=[];return I.push({id:d.overview,href:"#hotelTmpl",attributes:{"data-tab-link":!0,"data-scroll":"a[name=overview]"},text:e.trans((0,r.t)("pp_web_navigation_overview"))}),I.push({id:d.availability,text:y,href:"#availability",attributes:{"data-tab-link":!0,"data-scroll":"a[name=availability]"}}),I.push({id:d.facilities,text:T,href:"#hp_facilities_box",attributes:{"data-tab-link":!0,"data-scroll":"a[name=HotelFacilities]"}}),I.push({id:d.policies,text:e.trans((0,r.t)("hp_quick_link_house_rules")),href:"#policies",attributes:{"data-tab-link":!0,"data-scroll":"a[name=policies]"}}),k&&I.push({id:d.fine_print,text:e.trans((0,r.t)("hp_the_fine_print_quick_link",{variables:{nbsp:" "}})),href:"#important_info",attributes:{"data-tab-link":!0,"data-scroll":"a[name=important_info]"}}),E&&I.push({id:d.reviews,text:C,href:"#blockdisplay4",attributes:{"data-tab-link":!0,"data-target":"hp-reviews-sliding","data-component":"core/sliding-panel-trigger","data-google-track":"Click/Action: hotel/review_link_inline_v1",rel:"reviews",role:"button","aria-controls":"hp-reviews-sliding"}}),{navItems:I,onClickItem:e=>{if(e===d.reviews&&t){const e={[u.h.REVIEW_SUMMARY]:{[u.h.PRODUCT_TYPE]:u.h.TYPE_ACCOMMODATION,[u.h.PRODUCT_ID]:null===f||void 0===f?void 0:f.toString(),[u.h.REVIEW_NUMBER]:b,[u.h.REVIEW_SCORE]:g}};u.Z.trackBehavior("ugc__hp_top_bar_review_cta_clicked","1.0.x",e)}}}}return null};var p=i("d16c4768"),_=i("6222292b");const v="ab7faa9c78",f=e=>{let{navItems:t,fillEqually:i=!1,tabAriaLabel:a,moreAriaLabel:r="More",onClickItem:o}=e;return t.length?n().createElement(_.Tab,{fillEqually:i,className:v,moreLabel:r,onTabChange:o??void 0,attributes:{"aria-label":a??""}},n().createElement(_.Tab.TriggerList,null,t.map((e=>n().createElement(_.Tab.Trigger,{native:!0,key:e.id,id:e.id,text:e.text,href:e.href,linkAttributes:{role:"tab","data-testid":`Property-Header-Nav-Tab-Trigger-${e.id}`,...e.attributes}}))))):null};function b(){const e=(0,o.useI18n)(),t=(0,p.Z)(),i=h(e)(t);return i?n().createElement(f,{navItems:i.navItems,fillEqually:!0,moreAriaLabel:e.trans((0,r.t)("pp_web_navigation_more_button")),tabAriaLabel:e.trans((0,r.t)("a11y_pp_in_page_navigation")),onClickItem:i.onClickItem}):null}},"50a96039":(e,t,i)=>{i.d(t,{u:()=>o});const a={ar:1,bg:1,en:1,"en-gb":1,"en-us":1,"es-mx":1,he:1,ja:1,ko:1,ms:1,th:1,tl:1,zh:1,"zh-cn":1,"zh-tw":1},n={bg:1,cs:1,et:1,fi:1,fr:1,hu:1,lv:1,lt:1,no:1,pl:1,"pt-pt":1,ru:1,sk:1,sr:1,sv:1,uk:1},r=/(\d)(?=(\d{3})+(?!\d))/g;function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(isNaN(e))return"";const o=t in a,l=o?".":",";let s=o?",":".";t in n&&(s=" ");const c=Math.pow(10,i),u=(Math.round(e*c)/c).toFixed(i),d=u.split(".")[0],h=u.split(".")[1];return d.replace(r,`$1${s}`)+(h?l+h:"")}},c9a2562a:(e,t,i)=>{i.d(t,{Z:()=>l,h:()=>o});var a=i("8ebac256"),n=i("43a4d203"),r=i("dc6d28ff");const o={REVIEW_SUMMARY:"travel_product_review_summary",TRAVEL_PRODUCT_REVIEW:"travel_product_review",PRODUCT_TYPE:"travel_product_type",PRODUCT_ID:"travel_product_id",PRODUCT_ITEM_ID:"travel_product_item_id",PRODUCT_ITEM_TYPE:"travel_product_item_type",REVIEW_ID:"review_id",REVIEW_NUMBER:"review_number",REVIEW_SCORE:"review_score",SORT_VALUE:"sort_value",SHOWN_TOPICS_ORDER:"shown_topics_order",FILTER_NAME:"filter_name",FILTER_VALUES:"filter_values",PAGE_NUMBER:"page_number",TYPE_ACCOMMODATION:"accommodation",TOPIC_ID:"topic_id",TYPE_ROOM:"room",PHOTO_ID:"photo_id"};const l=new class{constructor(){var e;const t=(0,r.getRequestContext)(),i=t.getBPlatformEnvironment(),o={lang:t.getLanguage(),aid:String(null===(e=t.getAffiliate())||void 0===e?void 0:e.id),isDev:!i||"dev"===i||"dqs"===i,platform:t.getSiteType()===n.SiteType.WWW?"ddot":"mdot"};"undefined"!==typeof window&&(a.Z.init(o),this.tracker=a.Z)}trackBehavior(e,t,i){var a;if(!e||!t)return!1;const n={action_name:e,action_version:t,content:i};return null===(a=this.tracker)||void 0===a?void 0:a.sendEvent(n)}}},"077c7f8b":(e,t,i)=>{function a(e){return!!e.get("rmhotel")}i.d(t,{z:()=>a})},"8ebac256":(e,t,i)=>{i.d(t,{Z:()=>s});function a(e,t,i,a){return new(i||(i=Promise))((function(n,r){function o(e){try{s(a.next(e))}catch(t){r(t)}}function l(e){try{s(a.throw(e))}catch(t){r(t)}}function s(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,l)}s((a=a.apply(e,t||[])).next())}))}Object.create;Object.create;class n{constructor(e){this.config=e,this.headers=this.config.API.HEADERS}get(e,t){return new Promise(((i,n)=>a(this,void 0,void 0,(function*(){try{const a=yield fetch(e,{method:"GET",headers:(null===t||void 0===t?void 0:t.withHeaders)?this.headers:void 0,credentials:!1===(null===t||void 0===t?void 0:t.withCredentials)?"omit":"include"}),n=yield a.text();i(n?JSON.parse(n):null)}catch(a){return n(a)}}))))}post(e,t,i){return new Promise(((n,r)=>a(this,void 0,void 0,(function*(){try{const a=yield fetch(e,{method:"POST",headers:(null===i||void 0===i?void 0:i.withHeaders)?this.headers:void 0,credentials:!1===(null===i||void 0===i?void 0:i.withCredentials)?"omit":"include",body:JSON.stringify(t)}),r=yield a.text();n(r?JSON.parse(r):null)}catch(a){return r(a)}}))))}}var r=new class{init(e){this.client=new n(e)}get(e){return a(this,void 0,void 0,(function*(){return this.client.get(e)}))}post(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a(this,void 0,void 0,(function*(){return this.client.post(e,t,i)}))}};const o=e=>{var t=void 0;e.platform||(e.platform=""),e.platform=e.platform.toLowerCase(),"mdot"==e.platform&&(t=2),"ddot"!=e.platform&&"www"!=e.platform||(t=1);return{"Content-Type":"application/json","X-Booking-Platform":e.platform,"X-Booking-SiteType-Id":t,"X-Booking-Pageview-Id":e.pageviewId,"X-Booking-Session-Id":e.sessionId,"X-Booking-ET-Seed":e.etSeed,"X-Booking-AID":e.aid,"X-Booking-Label":e.label,"X-Booking-CSRF":e.csrfToken,"X-Booking-Language-Code":e.lang}};class l{constructor(e,t,i){this.batchSize=e,this.queueLimit=t,this.queue=[],this.timeoutId=null,this.sendBatchFn=i}enqueue(e){this.queue.push(e),this.queue.length>=this.batchSize?this.flush():1!==this.queue.length||this.timeoutId||(this.timeoutId=setTimeout((()=>{this.processQueue()}),this.queueLimit))}flush(e){clearTimeout(this.timeoutId),this.processQueue(e)}processQueue(e){let t=[];t=this.queue.length>=this.queueLimit?this.queue.splice(0):this.queue.splice(0,this.batchSize),this.sendBatchFn(t),this.queue.length>0?this.processQueue():this.timeoutId=null}}const s=new class{constructor(){this.trackBatch=e=>a(this,void 0,void 0,(function*(){this.track({events:e.map((e=>function(e,t,i){const a={local:{currency:t.currency,language:t.language},page:{},web:{}};"undefined"!=typeof window&&(a.page={page_referrer:document.referrer,page_url:window.location.href,page_title:document.title},a.web={browser_language:window.navigator.language});const n={tracker_name:"C360ReactTracker",tracker_type:"Client",tracker_version:"0.1.0"};return i&&(n.tracker_version="0.1.1"),Object.assign(Object.assign({},e),{context:a,tracker:n})}(e,this.c360Config,!0)))})}))}init(e){this.c360Config=(e=>{const t=e.hostname||(e.isDev?"app.dqs.booking.com":"www.booking.com");return{IS_DEV:Boolean(e.isDev),API:{HEADERS:o(e)},TRACK_BASE_URL:`https://${t}/c360/v1/track`,language:e.lang,currency:e.currency}})(e),this.httpClient=r,this.c360url=this.c360Config.TRACK_BASE_URL,this.props=e,this.batchQueue=this.batchQueue||new l(10,1e3,this.trackBatch),r.init(this.c360Config)}track(e){return a(this,void 0,void 0,(function*(){this.httpClient.post(this.c360url,e,{withHeaders:!0}).catch((e=>{this.props.onErrorCallback&&this.props.onErrorCallback(new Error(e))}))}))}sendEvent(e,t){return a(this,void 0,void 0,(function*(){this.batchQueue.enqueue(e),t&&this.batchQueue.flush()}))}}}}]); //# sourceMappingURL=https://istatic.booking.com/internal-static/capla/static/js/db46a508.c6b9d182.chunk.js.map