(window.webpackJsonp=window.webpackJsonp||[]).push([[31,9,12],{423:function(t,e,o){"use strict";var n=o(2),r=o(82).findIndex,l=o(146),c="findIndex",d=!0;c in[]&&Array(1)[c]((function(){d=!1})),n({target:"Array",proto:!0,forced:d},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),l(c)},435:function(t,e,o){"use strict";var n=o(2),r=o(28),l=o(13),c=o(9),path=o(247),d=o(5),_=o(111),f=o(14),m=o(177),v=o(68),h=o(110),x=o(246),y=o(6),C=o(98).f,w=o(46).f,k=o(26).f,I=o(436),S=o(437).trim,O="Number",L=c[O],N=path[O],E=L.prototype,j=c.TypeError,P=d("".slice),B=d("".charCodeAt),T=function(t){var e,o,n,r,l,c,d,code,_=x(t,"number");if(h(_))throw new j("Cannot convert a Symbol value to a number");if("string"==typeof _&&_.length>2)if(_=S(_),43===(e=B(_,0))||45===e){if(88===(o=B(_,2))||120===o)return NaN}else if(48===e){switch(B(_,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+_}for(c=(l=P(_,2)).length,d=0;d<c;d++)if((code=B(l,d))<48||code>r)return NaN;return parseInt(l,n)}return+_},F=_(O,!L(" 0o1")||!L("0b1")||L("+0x1")),A=function(t){var e,o=arguments.length<1?0:L(function(t){var e=x(t,"number");return"bigint"==typeof e?e:T(e)}(t));return v(E,e=this)&&y((function(){I(e)}))?m(Object(o),this,A):o};A.prototype=E,F&&!r&&(E.constructor=A),n({global:!0,constructor:!0,wrap:!0,forced:F},{Number:A});var M=function(t,source){for(var e,o=l?C(source):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0;o.length>n;n++)f(source,e=o[n])&&!f(t,e)&&k(t,e,w(source,e))};r&&N&&M(path[O],N),(F||r)&&M(path[O],L)},436:function(t,e,o){"use strict";var n=o(5);t.exports=n(1..valueOf)},437:function(t,e,o){"use strict";var n=o(5),r=o(39),l=o(17),c=o(438),d=n("".replace),_=RegExp("^["+c+"]+"),f=RegExp("(^|[^"+c+"])["+c+"]+$"),m=function(t){return function(e){var o=l(r(e));return 1&t&&(o=d(o,_,"")),2&t&&(o=d(o,f,"$1")),o}};t.exports={start:m(1),end:m(2),trim:m(3)}},438:function(t,e,o){"use strict";t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},439:function(t,e,o){"use strict";o.r(e);o(42),o(62),o(423);var n=o(0),r=o(424),l={components:{VueSlickCarousel:o.n(r).a},props:{images:{type:Array,required:!0}},data:function(){return{lightboxIndex:null,isOpen:!1,videoId:"",mousePosition:Object(n.reactive)({x:0,y:0})}},methods:{showLightbox:function(t){this.lightboxIndex=this.images.findIndex((function(image){return image.id===t})),console.log(this.lightboxIndex),this.$refs.popup.goTo(this.lightboxIndex,!0),this.isOpen=!0,this.change(this.lightboxIndex)},closeLightbox:function(){this.videoId="",this.isOpen=!1},change:function(t){this.videoId="",this.images[t].video&&(this.videoId=this.$youtube.getIdFromURL(this.images[t].video))},zoom:function(t){var e=t.currentTarget;this.mousePosition.x=t.offsetX/e.offsetWidth*100,this.mousePosition.y=t.offsetY/e.offsetHeight*100,e.style.backgroundSize="200% 200%",e.style.backgroundPosition=this.mousePosition.x+"% "+this.mousePosition.y+"%"},reset:function(t){t.currentTarget.style.backgroundSize="0 0"}},mounted:function(){console.log(this.images)}},c=o(20),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return t.images&&t.images.length>0?e("div",{staticClass:"feature-slider"},[e("VueSlickCarousel",{attrs:{arrows:!1,autoplay:!0,autoplaySpeed:5e3}},t._l(t.images,(function(image,o){return e("div",{key:"slide-"+image.id,staticClass:"lightbox"},[e("div",{staticClass:"lightbox-area",on:{click:function(e){return t.showLightbox(image.id)}}},[e("img",{staticClass:"open open-slider",attrs:{src:"/images/lightbox.svg"},on:{click:function(e){return t.showLightbox(image.id)}}}),t._v(" "),null!=image&&image.thumb?e("div",{staticClass:"video relative"},[e("img",{attrs:{src:null==image?void 0:image.thumb,alt:""}}),t._v(" "),e("img",{staticClass:"cursor-pointer absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 play-btn",attrs:{src:"/images/play.svg",alt:""},on:{click:function(e){return t.showLightbox(image.id)}}})]):e("img",{attrs:{src:image.preview,alt:""}})]),t._v(" "),e("caption",[image.sliderdesc?e("p",[t._v(t._s(null==image?void 0:image.sliderdesc))]):e("p",[t._v(t._s(null==image?void 0:image.description))]),t._v(" "),e("p",[t._v(t._s(o+1)+"/"+t._s(t.images.length))])])])})),0),t._v(" "),e("div",{staticClass:"lightbox-popup",class:{open:t.isOpen}},[e("div",{staticClass:"close button",on:{click:t.closeLightbox}},[e("img",{attrs:{src:"/images/close-btn.svg"}})]),t._v(" "),t.images&&t.images.length>0?e("VueSlickCarousel",{ref:"popup",attrs:{swipe:!0,infinite:!0,slidesToShow:1},on:{afterChange:t.change}},[e("template",{slot:"prevArrow"},[e("img",{staticClass:"prev button",attrs:{src:"/images/arrow-left.svg"}})]),t._v(" "),e("template",{slot:"nextArrow"},[e("img",{staticClass:"next button",attrs:{src:"/images/arrow-right.svg"}})]),t._v(" "),t._l(t.images,(function(image,o){return e("div",{key:"slide-"+o},[e("div",{staticClass:"content-box"},[image.video?e("div",{staticClass:"video-lightbox"},[e("youtube",{attrs:{"video-id":t.videoId,"player-width":"1080","player-height":"720"}})],1):e("div",{staticClass:"zoom",style:"background: url('"+image.src+"') no-repeat;",on:{mousemove:t.zoom,mouseleave:t.reset}},[e("img",{attrs:{src:image.src,alt:""}})]),t._v(" "),e("caption",[e("h6",[t._v(t._s(null==image?void 0:image.title))]),t._v(" "),e("div",{staticClass:"flex justify-between"},[e("p",[t._v(t._s(null==image?void 0:image.description))]),t._v(" "),e("p",{staticClass:"mt-1"},[t._v(t._s(o+1)+"/"+t._s(t.images.length))])])])])])}))],2):t._e()],1)],1):t._e()}),[],!1,null,null,null);e.default=component.exports},440:function(t,e,o){"use strict";o.r(e);o(435);var n={props:{tag:{type:String,default:"div"},maxHeight:{type:Number,default:270}},data:function(){return{expanded:!0,expandable:!0,normalHeight:null}},mounted:function(){var t=this.$refs.expandable.scrollHeight;this.normalHeight=t,this.expanded=!1,this.normalHeight<=this.maxHeight&&(this.expandable=!1)},methods:{toggle:function(){this.expanded=!this.expanded}}},r=o(20),component=Object(r.a)(n,(function(){var t=this;return(0,t._self._c)(t.tag,{ref:"expandable",tag:"component",staticClass:"expandable",class:{active:t.expanded}},[t._t("default",null,null,{toggle:t.toggle,expanded:t.expanded,expandable:t.expandable,normalHeight:t.normalHeight,maxHeight:t.maxHeight})],2)}),[],!1,null,null,null);e.default=component.exports},451:function(t,e,o){var content=o(460);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(44).default)("53e8a0c6",content,!0,{sourceMap:!1})},459:function(t,e,o){"use strict";o(451)},460:function(t,e,o){var n=o(43)((function(i){return i[1]}));n.push([t.i,"",""]),n.locals={},t.exports=n},497:function(t,e,o){"use strict";o.r(e);o(60),o(57),o(19);var n=o(25),r=o(145),l=o(22),c=o(7),d=(o(38),o(47),o(48),o(58),o(42),o(62),o(252),o(253),o(254),o(255),o(256),o(257),o(258),o(259),o(260),o(261),o(262),o(263),o(264),o(265),o(266),o(267),o(268),o(83),o(84),o(54),o(248),o(33),o(96),o(59),o(80),o(81),o(0)),_=o(424),f=o.n(_),m=o(32),v=o(439),filter=o(442),h=o(417);function x(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function y(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?x(Object(o),!0).forEach((function(e){Object(n.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var C={components:{VueSlickCarousel:f.a,LightboxSlider:v.default},mixins:[h.a],asyncData:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var o,n,r,c,data,d,_,f,v,h,x,y,C;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.params,t.store,n=t.error,e.prev=1,e.next=4,Promise.all([m.a.getTopCategoryDetail(o.categorySlug),m.a.getCategoriesByParentSlug(o.categorySlug),m.a.getBoatListByParentCategory(o.categorySlug),m.a.getBoatListByAltParentCategory(o.categorySlug)]);case 4:return r=e.sent,c=Object(l.a)(r,4),data=c[0],d=c[1],_=c[2],f=c[3],v=[],(h=data.data[0]).pins&&(v=h.pins.map((function(image){return{id:image.id,src:m.a.assetServer+image.custom_images_id.image+"?fit=cover&width=1300&height=580",video:image.custom_images_id.video,products:[{id:1,title:image.custom_images_id.pin_title_1,top:image.custom_images_id.pin_top_1,left:image.custom_images_id.pin_left_1,showContent:!1},{id:2,title:image.custom_images_id.pin_title_2,top:image.custom_images_id.pin_top_2,left:image.custom_images_id.pin_left_2,showContent:!1},{id:3,title:image.custom_images_id.pin_title_3,top:image.custom_images_id.pin_top_3,left:image.custom_images_id.pin_left_3,showContent:!1},{id:4,title:image.custom_images_id.pin_title_4,top:image.custom_images_id.pin_top_4,left:image.custom_images_id.pin_left_4,showContent:!1},{id:5,title:image.custom_images_id.pin_title_5,top:image.custom_images_id.pin_top_5,left:image.custom_images_id.pin_left_5,showContent:!1},{id:6,title:image.custom_images_id.pin_title_6,top:image.custom_images_id.pin_top_6,left:image.custom_images_id.pin_left_6,showContent:!1}]}}))),x=[{title:"Home",url:"/"},{title:"Boats",url:"/boats"}],(y=data.data[0])&&x.push({title:y.title,url:"/boats/".concat(y.slug,"/")}),C=(C=h.gallery?h.gallery:[]).map((function(image){return{id:image.directus_files_id.id,title:image.directus_files_id.title,description:image.directus_files_id.description,src:m.a.assetServer+image.directus_files_id.id+"/"+image.directus_files_id.filename_download,video:null==image?void 0:image.video_url,preview:m.a.assetServer+image.directus_files_id.id+"/"+image.directus_files_id.filename_download+"?fit=cover&width=750&height=500&format=webp",thumb:image.video_url?m.a.assetServer+image.directus_files_id.id+"/"+image.directus_files_id.filename_download+"?fit=cover&width=750&height=500&format=webp":null}})),e.abrupt("return",{assetServer:m.a.assetServer,page:data?data.data[0]:null,categories:d.data,boats:_.data,altBoats:f.data,images:v,breadcrumbs:x,gallery:C,pageName:"categorySlug"});case 21:e.prev=21,e.t0=e.catch(1),n(e.t0);case 24:case"end":return e.stop()}}),e,null,[[1,21]])})))()},data:function(){return{uniqueCategoryIds:new Set,boatList:[],mainList:[],altBoatList:[],filter:this.filtersStore.getFilters?this.filtersStore.getFilters:"featured",page:null,gallery:[],images:[],slideIndex:0,transitioning:!1,loading:!1,isFeaturedEmpty:!1,activeProductId:null}},computed:{filteredItems:function(){var t=this;return"all"===this.filter?this.boatList:"featured"===this.filter?this.boatList.filter((function(t){return t.featured})):this.boatList.filter((function(e){return e.altCategoryId.includes(t.filter)}))},isCTANull:function(){var t,e=null===(t=this.page)||void 0===t?void 0:t.calltoaction;return!e||[e.first_box_heading,e.first_box_subheading,e.first_box_link_text,e.second_box_heading,e.second_box_subheading,e.second_box_link_text].some((function(t){return null!==t}))}},mounted:function(){var t=this;console.log(this.page),this.loading=!1,this.categories.forEach((function(e){t.uniqueCategoryIds.add(e.id)})),this.mainList=this.transformBoats(this.boats),this.altBoatList=this.transformBoats(this.altBoats);var e=[].concat(Object(r.a)(this.mainList),Object(r.a)(this.altBoatList)).reduce((function(t,e){return t.some((function(t){return t.title===e.title}))||t.push(e),t}),[]);this.boatList=e,this.isFeaturedEmpty=this.boatList.filter((function(t){return t.featured})).length<=0,this.isFeaturedEmpty&&(this.filter="all"),this.page.items.forEach((function(t){Object(d.set)(t,"isOpen",!1)})),console.log(this.mainList,this.altBoatList)},methods:{generateUrl:function(t){var e=this;if("featured"!==this.filter&&"all"!==this.filter){var o=t.altCategoryUrls.find((function(t){return t.id===e.filter}));return o?o.url:t.boatUrl}return t.boatUrl},filterItems:function(t){this.filtersStore.setFilters(t),this.filter=this.filtersStore.getFilters},isCategoryInSet:function(t){return this.uniqueCategoryIds.has(t)},onSlideChange:function(t){this.transitioning=!1,this.slideIndex=t,this.images.forEach((function(image){image.products.forEach((function(t){t.showContent=!1}))}))},convertFileSize:function(t){if(0===t)return"0 Byte";var i=parseInt(Math.floor(Math.log(t)/Math.log(1024)));return Math.round(t/Math.pow(1024,i),2)+" "+["Bytes","KB","MB","GB","TB"][i]},replaceSpan:function(t){var e=t.split("<br>");return e.length>1?"".concat(e[0],"<br><span>").concat(e[1],"</span></h3>").replace(/<\/?p>/g,""):t.replace(/<\/?p>/g,"")},transformBoats:function(t){var e=this;return t.map((function(t){var o,n=[],r=[];return n.push(t.category.id),t.alt_category&&t.alt_category.forEach((function(o){if(console.log("this.uniqueCategoryIds.has(item.categories_id.id)",t.title,e.uniqueCategoryIds,o.categories_id.id,e.uniqueCategoryIds.has(o.categories_id.id)),e.uniqueCategoryIds.has(o.categories_id.id)){n.push(o.categories_id.id);var l={id:o.categories_id.id,url:"/boats/".concat(o.categories_id&&o.categories_id.parent_category?o.categories_id.parent_category.slug:null,"/").concat(o.categories_id?o.categories_id.slug:null,"/").concat(t.slug)};r.push(l)}})),y(y({},t),{},{featured:t.featured?t.featured:null,listingImageUrl:t.listing_image?e.assetServer+t.listing_image.id+"/"+(null===(o=t.listing_image)||void 0===o?void 0:o.filename_download):"/images/rr-3.jpg",categoryTitle:t.category?t.category.title:null,categoryId:t.category?t.category.id:null,categorySlug:t.category?t.category.slug:null,altCategoryId:n,parentCategoryId:t.category?t.category.parent_category.id:null,altCategoryUrls:r,boatUrl:"/boats/".concat(t.category?t.category.parent_category.slug:null,"/").concat(t.category?t.category.slug:null,"/").concat(t.slug)})}))},toggleContent:function(t){var e=this;this.activeProductId===t?this.activeProductId=null:this.activeProductId=t,this.images.forEach((function(image){image.products.forEach((function(t){t.showContent=t.id===e.activeProductId}))}))},toggleFaq:function(t){var e=this.page.items.find((function(e){return e.id===t}));e&&Object(d.set)(e,"isOpen",!e.isOpen)},getYoutubeVideoId:function(t){return/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?(.+)/g.exec(t)[1]}},setup:function(){return{filtersStore:Object(filter.a)()}}},w=(o(459),o(20)),component=Object(w.a)(C,(function(){var t,e,o,n,r=this,l=r._self._c;return l("main",{staticClass:"main page-boats"},[l("TitleModuleBig",{attrs:{title:r.page.title,subtitle:r.page.lead_copy?r.formatNewline(r.page.lead_copy):"","desktop-image":r.page.desktop_banner?r.assetServer+r.page.desktop_banner.id+"/"+r.page.desktop_banner.filename_download:"/images/hero-banner.png","mobile-image":r.page.mobile_banner?r.assetServer+r.page.mobile_banner.id+"/"+r.page.mobile_banner.filename_download:r.assetServer+r.page.desktop_banner.id+"/"+r.page.desktop_banner.filename_download,breadcrumbs:r.breadcrumbs}}),r._v(" "),"catalyst"===r.page.template?l("div",{attrs:{id:"body"}},[l("div",{staticClass:"content catalyst"},[l("div",{staticClass:"content-max-width flex flex-wrap xl:gap-[130px] md:gap-[60px] gap-[40px]"},[l("div",{staticClass:"sidebar"},[l("h3",{domProps:{innerHTML:r._s(r.formatTextHighlight(null!==(t=r.page)&&void 0!==t&&t.side_text?r.page.side_text:""))}}),r._v(" "),l("a",{staticClass:"button black",attrs:{href:null===(e=r.page)||void 0===e?void 0:e.side_button_link}},[r._v("\n            "+r._s(null===(o=r.page)||void 0===o?void 0:o.side_button_text)+"\n            "),l("img",{staticClass:"mt-[4px]",attrs:{src:"/images/button-arrow-white.svg",alt:""}})])]),r._v(" "),l("div",{staticClass:"wysiwyg"},[l("h4",[r._v(r._s(r.page.heading))]),r._v(" "),l("h6",[r._v(r._s(r.page.content))]),r._v(" "),r._l(r.page.downloads,(function(t){return l("a",{key:t.id,staticClass:"download-row",attrs:{href:r.assetServer+t.directus_files_id.id+"/"+t.directus_files_id.filename_download,target:"_blank"}},[l("div",{staticClass:"title"},[l("h6",[r._v("\n                "+r._s(t.directus_files_id.title)+"\n              ")]),r._v(" "),l("p",[r._v(r._s(r.convertFileSize(t.directus_files_id.filesize)))])]),r._v(" "),r._m(0,!0)])})),r._v(" "),l("LightboxSlider",{attrs:{images:r.gallery}})],2)])])]):r._e(),r._v(" "),"catalyst"===r.page.template?l("div",{staticClass:"catalyst-slider"},[l("div",{staticClass:"content-max-width"},[r.loading?r._e():l("div",{staticClass:"feature-slider"},[r._l(r.images,(function(image,t){return l("div",{key:"overlay-"+image.id},[image.video?r._e():l("div",{directives:[{name:"show",rawName:"v-show",value:r.slideIndex==t&&!r.transitioning,expression:"slideIndex == index && !transitioning"}],staticClass:"overlay absolute top-0 left-0 w-full h-full z-10"},r._l(image.products,(function(t){return l("div",{key:"product-"+t.id,staticClass:"tag absolute",style:"top: ".concat(t.top,"%; left: ").concat(t.left,"%;")},[t.title?l("div",[l("button",{on:{click:function(e){return r.toggleContent(t.id)}}},[l("img",{attrs:{src:t.showContent?"/images/collapse-info.svg":"/images/expand-info.svg",alt:""}})]),r._v(" "),t.showContent?l("div",{staticClass:"content-area absolute",class:t.top>50?"bottom":"top"},[r._v("\n                    "+r._s(t.title)+"\n                  ")]):r._e()]):r._e()])})),0)])})),r._v(" "),l("VueSlickCarousel",{attrs:{arrows:!0},on:{afterChange:function(t){return r.onSlideChange(t)},beforeChange:function(t){r.transitioning=!0}}},r._l(r.images,(function(image){return l("article",{key:"slide-"+image.id},[image.video?l("div",{staticClass:"video-container-custom"},[l("iframe",{attrs:{width:"100%",height:"100%",src:"https://www.youtube.com/embed/".concat(r.getYoutubeVideoId(image.video),"?playsinline=1&controls=0&showinfo=0&modestbranding=1&enablejsapi=1&widgetid=1"),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""}})]):l("img",{attrs:{src:image.src,alt:""}})])})),0)],2)])]):r._e(),r._v(" "),r.categories.length>0?l("div",{staticClass:"feature-list",attrs:{id:"body"}},[l("div",{staticClass:"content-max-width"},r._l(r.categories,(function(t){var e;return l("div",{key:t.id,staticClass:"feature-row flex flex-wrap justify-between"},[l("div",{staticClass:"text"},[l("NuxtLink",{attrs:{to:"/boats/".concat(r.page.slug,"/").concat(t.slug)}},[l("h3",[r._v(r._s(t.title))])]),r._v(" "),l("div",{staticClass:"wysiwyg"},[l("h6",[r._v(r._s(r.formatBlogDesc(null!==(e=t.summary)&&void 0!==e?e:"",450)))])]),r._v(" "),l("NuxtLink",{staticClass:"link flex gap-[7px] items-center",attrs:{to:"/boats/".concat(r.page.slug,"/").concat(t.slug)}},[l("p",{staticClass:"h5"},[r._v("\n              Discover\n            ")]),r._v(" "),l("img",{staticClass:"mt-[3px]",attrs:{src:"/images/button-arrow-dark.svg",alt:""}})])],1),r._v(" "),l("NuxtLink",{staticClass:"image",attrs:{to:"/boats/".concat(r.page.slug,"/").concat(t.slug)}},[l("figure",{staticClass:"image-animation-container"},[l("div",{staticClass:"image-animation-hover"},[l("img",{attrs:{src:t.listing_image?r.assetServer+t.listing_image.id+"/"+t.listing_image.filename_download+"?fit=cover&format=webp":"/images/news.jpeg",alt:""}})])])])],1)})),0)]):r._e(),r._v(" "),r.boatList.length>0?l("div",{staticClass:"choices",attrs:{id:"body"}},[l("div",{staticClass:"content-max-width"},[l("div",{staticClass:"sort"},[l("h5",[r._v("Browse our boats")]),r._v(" "),l("div",{staticClass:"filters flex flex-wrap gap-[10px]"},[r.isFeaturedEmpty?r._e():l("div",{staticClass:"button",class:{active:"featured"===r.filter},on:{click:function(t){return r.filterItems("featured")}}},[r._v("\n            Featured\n          ")]),r._v(" "),l("div",{staticClass:"button",class:{active:"all"===r.filter},on:{click:function(t){return r.filterItems("all")}}},[r._v("\n            Show all\n          ")]),r._v(" "),r._l(r.categories,(function(t,e){return l("div",{key:e},[r.isCategoryInSet(t.id)?l("div",{key:e,staticClass:"button",class:{active:r.filter===t.id},on:{click:function(e){return r.filterItems(t.id)}}},[r._v("\n              "+r._s(t.title)+"\n            ")]):r._e()])}))],2)]),r._v(" "),l("div",{staticClass:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-[20px] gap-y-[30px]"},r._l(r.filteredItems,(function(t){return l("article",{key:t.id},[l("NuxtLink",{staticClass:"image",attrs:{to:r.generateUrl(t)}},[l("figure",{staticClass:"image-animation-container"},[l("div",{staticClass:"image-animation-hover"},[l("img",{attrs:{src:t.listingImageUrl+"?fit=cover&format=webp",alt:t.title}})])])]),r._v(" "),l("NuxtLink",{attrs:{to:r.generateUrl(t)}},[l("h4",[r._v("\n              "+r._s(t.title)+"\n            ")])]),r._v(" "),l("NuxtLink",{staticClass:"button-link",attrs:{to:r.generateUrl(t)}},[l("h5",[r._v("View details")]),r._v(" "),l("img",{staticClass:"mt-[3px]",attrs:{src:"/images/button-arrow-dark.svg",alt:""}})])],1)})),0)])]):r._e(),r._v(" "),"custom-super-yacht"===r.page.template&&(null===(n=r.page)||void 0===n?void 0:n.items.length)>0?l("div",{staticClass:"faqs"},[l("div",{staticClass:"content-max-width"},[l("div",{staticClass:"flex flex-wrap lg:gap-[130px] md:gap-[60px] gap-[40px] items-start"},[r._m(1),r._v(" "),l("div",{staticClass:"faq-list"},r._l(r.page.items,(function(t){return l("div",{key:t.id,staticClass:"faq-row",on:{click:function(e){return r.toggleFaq(t.id)}}},[l("div",{staticClass:"header"},[l("h6",[r._v(r._s(t.category_faqs_id.title))]),r._v(" "),t.isOpen?l("img",{staticClass:"minus",attrs:{src:"/images/faq-minus.svg",alt:""}}):l("img",{staticClass:"plus",attrs:{src:"/images/faq-plus.svg",alt:""}})]),r._v(" "),l("div",{staticClass:"body",class:{show:t.isOpen}},[l("div",{staticClass:"wysiwyg"},[l("div",{staticClass:"h6",domProps:{innerHTML:r._s(t.category_faqs_id.content)}})])])])})),0)])])]):r._e(),r._v(" "),r.isCTANull?l("div",{staticClass:"two-col-section"},[l("CallToAction",{attrs:{"left-title":r.page.calltoaction?r.page.calltoaction.first_box_heading:"","left-subtitle":r.page.calltoaction?r.page.calltoaction.first_box_subheading:"","left-button":r.page.calltoaction?r.page.calltoaction.first_box_link_text:"","left-button-url":r.page.calltoaction?r.page.calltoaction.first_box_link_url:"","right-title":r.page.calltoaction?r.page.calltoaction.second_box_heading:"","right-subtitle":r.page.calltoaction?r.page.calltoaction.second_box_subheading:"","right-button":r.page.calltoaction?r.page.calltoaction.second_box_link_text:"","right-button-url":r.page.calltoaction?r.page.calltoaction.second_box_link_url:"","right-image":r.page.calltoaction.second_box_image,"left-theme":r.page.calltoaction?r.page.calltoaction.first_box_is_dark_theme?"dark":"light":"","right-theme":r.page.calltoaction?r.page.calltoaction.second_box_is_dark_theme?"dark":"light":""}})],1):r._e(),r._v(" "),l("div",{staticClass:"bottom-text"},[l("div",{staticClass:"content-max-width"},[l("ExpandMore",{scopedSlots:r._u([{key:"default",fn:function(t){var e,o,n=t.toggle,c=t.expanded,d=t.expandable,_=t.maxHeight;return[r.page.bottom_content?l("div",{staticClass:"wysiwyg",style:"max-height: ".concat(c?"none":_+"px","; overflow: ").concat(c?"visible":"hidden"),domProps:{innerHTML:r._s(null===(e=r.page)||void 0===e?void 0:e.bottom_content)}}):r._e(),r._v(" "),r.countBottomText(null===(o=r.page)||void 0===o?void 0:o.bottom_content)?l("div",[d?l("div",{staticClass:"button-link",on:{click:n}},[r._v("\n              "+r._s(c?"Show less":"Read more")+"\n              "),l("img",c?{attrs:{src:"/images/expand_less.svg",alt:""}}:{attrs:{src:"/images/expand_more.svg",alt:""}})]):r._e()]):r._e()]}}])})],1)])],1)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"download-link"},[e("p",[t._v("Download")]),t._v(" "),e("img",{attrs:{src:"/images/download.svg",alt:""}})])},function(){var t=this,e=t._self._c;return e("h3",[t._v("\n          Custom superyacht\n          "),e("span",[t._v("tender FAQs")])])}],!1,null,null,null);e.default=component.exports;installComponents(component,{TitleModuleBig:o(418).default,LightboxSlider:o(439).default,CallToAction:o(245).default,ExpandMore:o(440).default})}}]);