(window.webpackJsonp=window.webpackJsonp||[]).push([[119],{1083:function(e,t,r){"use strict";r(871)},1084:function(e,t,r){var l=r(8)((function(i){return i[1]}));l.push([e.i,".container-width[data-v-fdba0132]{margin:0 15px}@media screen and (min-width: 1024px){.container-width[data-v-fdba0132]{margin:0 auto}}",""]),l.locals={},e.exports=l},1148:function(e,t,r){"use strict";r.r(t);r(63);var l={props:{userReviews:{type:Object,default:null},userRating:{type:Object,default:null},productName:{type:String,default:null},sku:{type:String,default:null}}},n=r(14),o=r(526),d=r(776),c={name:"wr-travel-reviews-default",components:{wrTrustpilotGeneralRating:r(657).a,wrTrustpilotReviewsSlider:d.a},mixins:[n.a,o.a,l]},f=(r(1083),r(0)),component=Object(f.a)(c,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.userReviews&&e.userRating?r("div",{staticClass:"wr-travel-reviews wr-travel-reviews-default pt-[30px]",attrs:{id:e.componentId}},[r("div",{staticClass:"container-width"},[r("div",{staticClass:"rounded-2xl border border-gray-300 pt-[30px] lg:pt-0"},[e.userRating?r("wr-trustpilot-general-rating",e._b({staticClass:"block lg:hidden"},"wr-trustpilot-general-rating",e.userRating,!1)):e._e(),e._v(" "),r("div",{staticClass:"mx-[20px] mt-[30px] block border-b border-gray-300 lg:mx-[30px] lg:hidden"}),e._v(" "),e.userReviews&&e.userRating?r("wr-trustpilot-reviews-slider",e._b({attrs:{"border-boxed":!1,"show-logo":!1,"enable-link":""}},"wr-trustpilot-reviews-slider",Object.assign({},e.userRating,e.userReviews),!1)):e._e()],1)])]):e._e()}),[],!1,null,"fdba0132",null);t.default=component.exports},526:function(e,t,r){"use strict";t.a={props:{pageType:{type:String,default:"travel"}},computed:{isTravel(){return"travel"===this.pageType},isTour(){return"tour"===this.pageType}}}},528:function(e,t,r){"use strict";var l=r(101),n=r(174),o=r(173),d={name:"wr-trustpilot-rating-minimal",components:{wrTrustpilotRatingStars:n.a,wrTrustpilotRatingLogo:o.a},mixins:[l.a],props:{logoType:{type:String,default:"light"},alignment:{type:String,default:"start"}}},c=r(0),component=Object(c.a)(d,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative inline-block w-full"},[r("div",{staticClass:"relative flex w-full items-end gap-2 md:mr-3",class:{"text-gray-900":"light"!==e.logoType,"text-white":"light"===e.logoType,"justify-start":"start"===e.alignment,"justify-center":"center"===e.alignment,"justify-end":"end"===e.alignment}},[e.showLogo?r("span",{staticClass:"mr-2 w-[100px] leading-none"},[r("wr-trustpilot-rating-logo",{attrs:{"logo-type":e.logoType}})],1):e._e(),e._v(" "),r("div",{staticClass:"relative flex items-center justify-center gap-2"},[r("div",{staticClass:"flex items-center justify-center leading-none"},[r("wr-trustpilot-rating-stars",{attrs:{value:e.ratingPercent,size:e.size,"base-color":"#D7D7E2","highlight-color":e.color}}),e._v(" "),e.showRatingNumber?r("div",{staticClass:"ml-2 leading-none"},[r("span",{staticClass:"font-bold"},[e._v(e._s(e.rating))])]):e._e()],1),e._v(" "),e.showReviewsNumber&&e.count?r("span",{staticClass:"ml-3 block text-sm font-semibold leading-none"},[e._v(e._s(e.count)+" "+e._s(e.$i18n.t("REVIEWS")))]):e._e()]),e._v(" "),e.enableLink?r("a",{staticClass:"absolute left-0 top-0 size-full",attrs:{href:e.generalUrl,target:"_blank",rel:"noopener nofollow","aria-label":"Trustpilot"}}):e._e()])])}),[],!1,null,null,null);t.a=component.exports},529:function(e,t,r){"use strict";var l=r(547),n={name:"wr-carousel",components:{vueSlickCarousel:r.n(l).a},props:{name:{type:String,required:!0},dotsOver:{type:Boolean,default:!1},dotsLight:{type:Boolean,default:!1},accessibility:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!1},autoplaySpeed:{type:Number,default:2e3},centerMode:{type:Boolean,default:!1},pauseOnDotsHover:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!1},dots:{type:Boolean,default:!0},lazyLoad:{type:String,default:"ondemand"},centerPadding:{type:String,default:""},focusOnSelect:{type:Boolean,default:!0},edgeFriction:{type:Number,default:.35},infinite:{type:Boolean,default:!1},speed:{type:Number,default:500},slidesToShow:{type:Number,default:1},slidesToScroll:{type:Number,default:1},slidesPerRow:{type:Number,default:1},draggable:{type:Boolean,default:!0},rows:{type:Number,default:1},arrows:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},responsive:{type:Array,default:()=>[]},dataLength:{type:Number,default:null},initialSlide:{type:Number,default:0}},data:()=>({areResponsiveSettingsApplied:!1,responsiveSettings:[]}),computed:{canChangeSlide(){return!this.loading&&this.arrows},computedSlidesToShow(){return this.dataLength?this.dataLength>=this.slidesToShow?this.slidesToShow:this.dataLength:this.slidesToShow}},methods:{beforeChange(e,t){this.$emit("before-change",{previousIndex:e,nextIndex:t})},afterChange(e){this.$emit("after-change",e)},next(){var e=this.getRef(this.name);e&&e.next()},goTo(e){var t=this.getRef(this.name);t&&t.goTo(e)},getRef(e){return this.$refs["".concat(e,"_slick_carousel")]},initHandler(){this.areResponsiveSettingsApplied||this.applyResponsiveSettings()},applyResponsiveSettings(){this.responsiveSettings=this.responsive,this.areResponsiveSettingsApplied=!0}}},o=r(0),component=Object(o.a)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wr-slider-container",class:{"dots-over":e.dotsOver,"dots-light":e.dotsLight,"no-dots":!e.dots}},[r("vue-slick-carousel",{ref:"".concat(e.name,"_slick_carousel"),attrs:{"lazy-load":e.lazyLoad,"autoplay-speed":e.autoplaySpeed,dots:e.dots,"pause-on-dots-hover":e.pauseOnDotsHover,"pause-on-hover":e.pauseOnHover,arrows:e.canChangeSlide,"focus-on-select":e.focusOnSelect,"auto-play":e.autoPlay,"edge-friction":e.edgeFriction,"pause-on-focus":e.pauseOnFocus,infinite:e.infinite,speed:e.speed,"center-padding":e.centerPadding,rows:e.rows,draggable:e.draggable,"slides-to-show":e.computedSlidesToShow,"slides-to-scroll":e.slidesToScroll,"slides-per-row":e.slidesPerRow,responsive:e.responsiveSettings,accessibility:e.accessibility,"center-mode":e.centerMode,"initial-slide":e.initialSlide},on:{init:e.initHandler,beforeChange:e.beforeChange,afterChange:e.afterChange}},[e._t("default")],2)],1)}),[],!1,null,null,null);t.a=component.exports},637:function(e,t,r){var content=r(747);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(9).default)("c1baffe2",content,!0,{sourceMap:!1})},657:function(e,t,r){"use strict";var l=r(101),n=r(173),o=r(174),d={name:"wr-trustpilot-general-rating",components:{wrTrustpilotRatingLogo:n.a,wrTrustpilotRatingStars:o.a},mixins:[l.a]},c=r(0),component=Object(c.a)(d,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a",{staticClass:"flex flex-col items-center justify-center md:flex-row",attrs:{href:e.generalUrl?e.generalUrl:null,target:"_blank"}},[r("div",{staticClass:"flex flex-col items-center justify-center text-gray-700 md:flex-row",attrs:{name:"block"}},[r("span",{staticClass:"relative mb-2 mr-0 flex flex-col items-center leading-tight md:mb-0 md:mr-2 md:flex-row"},[r("span",{staticClass:"text-md mr-2"},[e._v(e._s(e.$i18n.t("trustpilot.TITLE")))]),e._v(" "),r("span",{staticClass:"text-base font-bold"},[e._v(e._s(e.evaluation))])]),e._v(" "),r("wr-trustpilot-rating-stars",{staticClass:"mb-2 md:mb-0",attrs:{value:e.ratingPercent,size:"24px","base-color":"#D7D7E2","highlight-color":e.color}})],1),e._v(" "),r("div",{staticClass:"xs:mt-3 flex flex-col items-center justify-start md:flex-row",attrs:{name:"block"}},[r("div",{staticClass:"text-md relative mx-2 flex items-center text-gray-700"},[r("div",[r("span",{staticClass:"font-bold"},[e._v(e._s(e.rating))]),e._v(" "+e._s(e.$i18n.t("trustpilot.SCORE"))+" "),r("span",{staticClass:"font-bold"},[e._v(e._s(e.count))]),e._v(" "+e._s(e.$i18n.t("trustpilot.REVIEWS")))])]),e._v(" "),r("div",{staticClass:"relative mb-[2px] mt-2 w-28 md:mt-0"},[r("div",{staticClass:"relative h-0 w-full",staticStyle:{padding:"0px 0px 26.6032%"}},[r("wr-trustpilot-rating-logo")],1)])])])}),[],!1,null,null,null);t.a=component.exports},746:function(e,t,r){"use strict";r(637)},747:function(e,t,r){var l=r(8)((function(i){return i[1]}));l.push([e.i,".wr-trustpilot-general+div+.wr-trustpilot-review-slider-container .container[data-v-60d5fcb2]{padding:0}.review-text[data-v-60d5fcb2]{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.slider-rounded[data-v-60d5fcb2]{border-radius:1rem;padding:30px 20px}@media screen and (min-width: 1024px){.slider-rounded[data-v-60d5fcb2]{padding:40px 30px}.wr-slider-container[data-v-60d5fcb2]{padding-bottom:0}}",""]),l.locals={},e.exports=l},776:function(e,t,r){"use strict";var l=r(101),n=r(529),o=r(528),d=r(173),c=r(174),f={name:"wr-trustpilot-reviews-slider",components:{wrCarousel:n.a,wrTrustpilotRatingMinimal:o.a,wrTrustpilotRatingLogo:d.a,wrTrustpilotRatingStars:c.a},mixins:[l.a],props:{inGrid:{type:Boolean,default:!0},borderBoxed:{type:Boolean,default:!0},showLogo:{type:Boolean,default:!0},backgroundColor:{type:String,default:""},reviews:{type:Array,default:null}},data(){return{isLengthOne:this.reviews&&1===this.reviews.length,slidesToShow:3,carouselSettings:{infinite:!1,centerPadding:"0",responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}},{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,arrows:!1}}]}}},computed:{userReviewsLength(){return this.reviews?this.reviews.length:0}}},v=(r(746),r(0)),component=Object(v.a)(f,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.userReviewsLength>0?r("div",{staticClass:"wr-trustpilot-review-slider-container container",class:e.borderBoxed?"mt-[30px]":"",style:{"background-color":e.backgroundColor}},[r("div",{staticClass:"slider-rounded",class:e.borderBoxed?"border border-gray-300":null},[r("div",{staticClass:"flex flex-col items-start justify-between gap-12 lg:flex-row"},[r("a",{staticClass:"hidden lg:block",attrs:{href:e.enableLink&&e.generalUrl?e.generalUrl:null}},[r("div",{staticClass:"flex w-full flex-none flex-col items-center justify-start gap-2 border-b border-gray-100 pb-8 pr-0 lg:w-auto lg:border-b-0 lg:pb-0"},[r("span",{staticClass:"text-bl text-2xl font-semibold leading-none text-gray-700"},[e._v(e._s(e.evaluation))]),e._v(" "),r("div",{staticClass:"flex flex-col items-center justify-center text-gray-700"},[r("wr-trustpilot-rating-stars",{attrs:{value:e.ratingPercent,size:"30px","base-color":"#D7D7E2","highlight-color":e.color}}),e._v(" "),r("div",{staticClass:"mt-1 flex items-center justify-start",attrs:{name:"block"}},[r("div",{staticClass:"text-md relative mr-2 mt-3 flex items-center text-gray-700"},[r("div",[r("span",{staticClass:"font-bold underline"},[e._v(e._s(e.count)+" "+e._s(e.$i18n.t("trustpilot.REVIEWS")))])])])]),e._v(" "),r("div",{staticClass:"relative mt-3 w-[100px]"},[r("wr-trustpilot-rating-logo")],1)],1)])]),e._v(" "),r("div",{class:{"w-full":e.inGrid}},[r("div",{staticClass:"wr-slider",class:{"mono-slide":e.isLengthOne}},[r("wr-carousel",e._b({attrs:{name:"trustpilot-review_carousel","slides-to-show":e.slidesToShow,infinite:!1,"dots-over":!1,"data-length":e.userReviewsLength,"focus-on-select":!1}},"wr-carousel",e.carouselSettings,!1),e._l(e.reviews,(function(t,i){return r("a",{key:i,staticClass:"wr-slide lg:px-[20px]",class:{"lg:px-[20px]":e.isLengthOne},attrs:{href:t.url,target:"_blank",rel:"noopener nofollow"}},[t.rating?r("wr-trustpilot-rating-minimal",e._b({staticClass:"mb-[15px]",attrs:{size:"20px","show-rating-number":!1,"enable-link":!1,"show-reviews-number":!1,"product-name":e.productName,sku:e.sku,"merchant-identifier":e.merchantIdentifier}},"wr-trustpilot-rating-minimal",t,!1)):e._e(),e._v(" "),t.review?r("span",{staticClass:"review-text block text-sm leading-relaxed text-gray-700"},[e._v("\n                "+e._s(t.review)+"\n              ")]):e._e(),e._v(" "),t.author?r("span",{staticClass:"review-author my-[5px] block text-base font-bold text-gray-700 lg:mt-[10px]"},[e._v(e._s(t.author))]):e._e(),e._v(" "),t.date?r("span",{staticClass:"review-date mt-[5px] block text-sm text-gray-500"},[e._v(e._s(e.$i18n.formatDayMonthYear(t.date)))]):e._e()],1)})),0),e._v(" "),r("span",{staticClass:"review-text block pt-8 text-center text-sm leading-relaxed text-gray-600 md:text-left lg:pl-[20px]"},[e._v("\n            "+e._s(e.$i18n.t("trustpilot.SLIDER_BOTTOM"))+"\n          ")])],1)])])])]):e._e()}),[],!1,null,"60d5fcb2",null);t.a=component.exports},871:function(e,t,r){var content=r(1084);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(9).default)("35e640d2",content,!0,{sourceMap:!1})}}]);