1(window.webpackJsonp=window.webpackJsonp||[]).push([[86],{Xgef:function(e,t,a){"use strict";t.a=function(){"undefined"!=typeof window&&window.scrollBy(0,2)}},csT6:function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n),i=a("17x9"),r=a.n(i),c=a("JLNj"),s=a("TJpk"),l=a("L8xJ"),f=a("j+Go"),u=a("Edpg"),d=a("Xgef"),p=a("0xPM");function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var h=new c.Parser,g=function(e){function t(e){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?y(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),v.call(y(a)),a.state={visible:6},a.loadMore=a.loadMore.bind(y(a)),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),function(e,t,a){t&&b(e.prototype,t),a&&b(e,a)}(t,[{key:"componentDidMount",value:function(){this.fetchFaqsData(this.props)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.layout.metaInfo&&e.layout.metaInfo&&this.props.layout.metaInfo.destination!==e.layout.metaInfo.destination&&this.fetchFaqsData(e)}},{key:"loadMore",value:function(){this.setState(function(e){return{visible:e.visible+3}})}},{key:"render",value:function(){var e=this,t=this.props,a=t.data,n=t.config,i=t.layout,r=t.forHeading,c=t.isFaqSchema;if(!a.faqs||!a.faqs.length)return null;var d=c?Object(l.a)({questions:a.faqs.map(function(e){return{question:e.question,answer:e.answer}})},"faqPage"):null;return o.a.createElement("div",{className:"clearfix faqs at_faq_section",style:Object(p.e)(n.variant,n.order)},d&&o.a.createElement(s.Helmet,null,o.a.createElement("script",{type:"application/ld+json"},JSON.stringify(d))),o.a.createElement("div",null,o.a.createElement("div",{className:"clearfix mb8"},o.a.createElement(f.a,{data:{title:n.title||a.title,heading:n.heading?"".concat(n.heading," ").concat(i.metaInfo.destination.split(",")[0]):a.heading,forHeading:r}})),o.a.createElement("div",{className:"clearfix"},a.faqs.slice(0,this.state.visible).map(function(t,a){return o.a.createElement("div",{className:"clearfix bb faqBox at_faq_questions ".concat(a<e.state.visible?"show":""),key:t.id},o.a.createElement("input",{type:"checkbox",id:"faq".concat(a),defaultChecked:0===a,className:"question-faq_trigger absolute l0 r0 t0 z1 block cursorP wfull",onChange:function(){return e.onFaqSelection(a,t.id)}}),o.a.createElement("div",{className:"faq-heading relative f14 fwb cursorP"},o.a.createElement("h3",{className:"f14 fw7 m0 flexFull mr8 break-word"},t.question),o.a.createElement("span",{className:"arrowDownFaq absolute-center-v block"},o.a.createElement(u.n,{className:"smooth block"}))),o.a.createElement("div",{className:"answer-box-faq smooth f14 dynamicTextInherit break-word"},o.a.createElement("div",null,h.parse(t.answer))))}),this.state.visible<a.faqs.length?o.a.createElement("div",{className:"flex relative alignCenter justifyCenter p8 faqLoadMoreContainer"},o.a.createElement("button",{onClick:this.loadMore,className:"btn-sec pl64 pr64"},"Load More")):null)))}}]),t}(),v=function(){var e=this;this.fetchFaqsData=function(e){var t=e.config,a=e.layout,n=e.fetchFaqsData;if(t&&t.csr){var o=a.metaInfo.destination.split(",")[0];n({destination:o,queryParams:{accountable_type:"DestinationScheme",destination:o,tab:"overview"}})}},this.onFaqSelection=function(t,a){Object(d.a)();var n=e.props,o=n.config;(0,n.trackSegmentEvent)({object:"FAQ/".concat(a),cta:"Read More",miscId1:t,miscType1:"Question Index",miscId2:e.props.data.faqs.length,miscType2:"Total Questions"},o)}};g.propTypes={data:r.a.object.isRequired,layout:r.a.object,config:r.a.object,loaded:r.a.bool,errors:r.a.array,fetchFaqsData:r.a.func,trackSegmentEvent:r.a.func,forHeading:r.a.string,isFaqSchema:r.a.bool},g.defaultProps={layout:{},config:{variant:"FULL",order:11},loaded:!1,fetchFaqsData:function(){},trackSegmentEvent:function(){},isFaqSchema:!0}
1,t.a=g},e18l:function(e,t,a){"use strict";a.r(t);a("q1tI");var n=a("/MKj"),o=a("Ty5D"),i=a("xiDf"),r=a("79MY"),c=a("csT6"),s=Object(o.i)(Object(n.c)(function(e){return{data:Object(i.d)(e),loaded:e.faqs.loaded,layout:e.layoutReducer.data.data,errors:e.faqs.errors}},{fetchFaqsData:r.d})(c.a)),l=Object(o.i)(Object(n.c)(function(e){return{data:Object(i.b)(e)}})(c.a)),f=Object(o.i)(Object(n.c)(function(e){return{data:Object(i.c)(e)}})(c.a));t.default={container:s,hlpContainer:l,pdpContainer:f,actions:{fetchFaqsData:r.d},defaultAction:r.d}},"j+Go":function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n),i=a("17x9"),r=a.n(i),c=(a("5D9J"),function(e){var t=e.data,a=e.title,n=e.heading,i=e.styleHeading,r=e.styleSubHeading,c=e.type;return o.a.createElement("div",{className:"clearfix relative mb15"},"main-heading"==c?o.a.createElement("h2",{style:i,className:"text-capitalize f24 sfcb fw7 m0"},t.title||a,t.forHeading?" for ".concat(t.forHeading):null):o.a.createElement("h2",{style:i,className:"at_similarHotels f20 pfc3 fw9 m0"},t.title||a,t.forHeading?" for ".concat(t.forHeading):null),o.a.createElement("p",{style:r,className:"f14 m0 pt4 pfc4"},t.heading||n))});c.propTypes={data:r.a.object,type:r.a.string,title:r.a.string,heading:r.a.string,styleHeading:r.a.object,styleSubHeading:r.a.object},c.defaultProps={data:{},type:"",title:"",heading:"",styleHeading:{},styleSubHeading:{}},t.a=c}}]); 2//# sourceMappingURL=faqs-21d5142ea1e1cbf9f34e.js.map
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.