(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{1233:function(e,t,a){var r=a(1778);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("cd6814cc",r,!0,{})},1234:function(e,t,a){var r=a(1780);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("60b8964b",r,!0,{})},1235:function(e,t,a){var r=a(1782);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("6068ed69",r,!0,{})},1777:function(e,t,a){"use strict";a(1233)},1778:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,'.blog-page[data-v-6d2268a2]{font-family:"Poppins",sans-serif;color:#54575B}.blog-page h1[data-v-6d2268a2],.blog-page h2[data-v-6d2268a2],.blog-page h3[data-v-6d2268a2],.blog-page h4[data-v-6d2268a2],.blog-page h5[data-v-6d2268a2]{font-family:"Poppins",serif;font-weight:700;line-height:1.3}.blog-page h1[data-v-6d2268a2]{font-size:28px}.blog-page h2[data-v-6d2268a2]{font-size:24px}.blog-page h3[data-v-6d2268a2]{font-size:28px}.blog-page h4[data-v-6d2268a2]{font-size:22px}.blog-page h5[data-v-6d2268a2]{font-size:16px}.blog-page p[data-v-6d2268a2]{line-height:1.45}.blog-page .blog-page--preview-date[data-v-6d2268a2]{margin:0 0 6px;color:#fff;font-family:"Poppins",sans-serif;font-size:12px;letter-spacing:1.25px}.blog-page .blog-page--preview-excerpt[data-v-6d2268a2]{margin:0;color:#a5bde8;font-size:17px;font-family:"Poppins",sans-serif;letter-spacing:0.55px}.blog-page .blog-page--preview-link[data-v-6d2268a2]{margin:20px 0 0;color:#588bef;display:inline-block;text-decoration:none;font-family:"Poppins",serif;font-weight:700;width:auto;padding-bottom:3px}.blog-page .blog-page--preview-large[data-v-6d2268a2]{background-position:center;background-size:cover;position:relative;margin:30px 0;border-radius:5px;min-height:360px;-webkit-box-shadow:0 2px 10px 1px rgba(65,64,64,0.2);box-shadow:0 2px 10px 1px rgba(65,64,64,0.2)}.blog-page .blog-page--preview-large[data-v-6d2268a2]:before{content:\'\';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(17,28,68,0.8);z-index:0;border-radius:5px}.blog-page .blog-page--preview-large .blog-page--preview-large-inner[data-v-6d2268a2]{position:relative;z-index:1;padding:60px 75px}.blog-page .blog-page--preview-large.blog-page--preview-large-hero-merge[data-v-6d2268a2]{margin-top:-175px}.blog-page .row--entries[data-v-6d2268a2]{margin-right:-20px;margin-left:-20px}.blog-page .row--entries>.col[data-v-6d2268a2]{padding-left:15px;padding-right:15px;padding-bottom:22px}@media (max-width: 768px){.blog-page .row--entries>.col[data-v-6d2268a2]{padding-bottom:10px}}.blog-page .blog-page--preview-small .blog-page--preview-small-bg[data-v-6d2268a2]{display:block}.blog-page .blog-page--preview-small .blog-page--preview-small-bg[data-v-6d2268a2]::after{content:unset}.blog-page .blog-page--preview-small .blog-page--preview-small-inner .blog-page--preview-img img[data-v-6d2268a2]{width:623px;-o-object-fit:cover;object-fit:cover;height:311px;vertical-align:bottom;max-width:100%}@media (min-width: 992px){.blog-page .blog-page--preview-small .blog-page--preview-small-inner .blog-page--preview-img img[data-v-6d2268a2]{height:340px}}.blog-page .blog-page--preview-small .blog-page--preview-small-inner .blog-page--preview-title[data-v-6d2268a2]{font-weight:700;font-size:16px;line-height:24px;color:#54575B;font-family:\'Poppins\', sans-serif;text-align:center;margin-top:22px}@media (min-width: 768px){.blog-page .blog-page--preview-small .blog-page--preview-small-inner .blog-page--preview-title[data-v-6d2268a2]{font-size:20px}}.blog-page .blog-page--preview-small .blog-page--preview-small-inner .related-blog-title.blog-page--preview-title[data-v-6d2268a2]{font-size:16px}@media (min-width: 768px){.blog-page .blog-page--preview-small .blog-page--preview-small-inner .related-blog-title.blog-page--preview-title[data-v-6d2268a2]{font-size:20px}}.blog-page .blog-page--preview-small .blog-page--preview-date[data-v-6d2268a2]{color:#333;margin:0 0 3px}.blog-page .blog-page--preview-small .blog-page--preview-excerpt[data-v-6d2268a2]{color:#909098;word-break:break-all}.blog-page .blog-page--entries[data-v-6d2268a2]{margin:10px 0}@media (max-width: 768px){.blog-page .blog-page--entries[data-v-6d2268a2]{padding:0 6px}}.blog-page .blog-page--pager-container[data-v-6d2268a2]{text-align:center;margin-bottom:70px}.blog-page .blog-page--pager[data-v-6d2268a2]{list-style:none;padding:0}.blog-page .blog-page--pager li[data-v-6d2268a2]{display:inline-block;font-size:16px;border:thin transparent solid;border-radius:0;text-align:center;-webkit-transition:all 0.35s;-o-transition:all 0.35s;transition:all 0.35s;border:1px solid #464646;padding:0.5% 1%}@media (min-width: 600px){.blog-page .blog-page--pager li[data-v-6d2268a2]{font-size:20px}}.blog-page .blog-page--pager li span[data-v-6d2268a2]{cursor:pointer;text-transform:none;text-decoration:none;display:block;line-height:1;padding:8px 20px}.blog-page .blog-page--pager li.dots[data-v-6d2268a2]{letter-spacing:3px}.blog-page .blog-page--pager li.first[data-v-6d2268a2]{margin-right:4px}.blog-page .blog-page--pager li.last[data-v-6d2268a2]{margin-left:4px}.blog-page .slide-right[data-v-6d2268a2]{-webkit-animation:slide-right-data-v-6d2268a2 1.2s cubic-bezier(0.6, -0.28, 0.735, 0.045) infinite alternate both;animation:slide-right-data-v-6d2268a2 1.2s cubic-bezier(0.6, -0.28, 0.735, 0.045) infinite alternate both;display:inline-block;margin-left:2px}@-webkit-keyframes slide-right-data-v-6d2268a2{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(4px);transform:translateX(4px)}}@keyframes slide-right-data-v-6d2268a2{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(4px);transform:translateX(4px)}}.usp-bar[data-v-6d2268a2]{background:#f1f1f1;border-bottom:1px solid #f1f1f1;margin:0}@media (min-width: 768px){.usp-bar[data-v-6d2268a2]{background:#fff !important}}.blog-page-posts-index .blog-page--hero[data-v-6d2268a2]{font-family:\'Poppins\', sans-serif;padding-top:65px;margin-bottom:70px}.blog-page-posts-index .blog-page--hero h1[data-v-6d2268a2]{color:#54575B;font-size:20px;font-family:\'Poppins\', sans-serif;font-weight:600;margin:0 auto;text-align:center;margin-bottom:34px}.blog-page-posts-index .blog-page--hero .categoryCarousel[data-v-6d2268a2]{width:800px;max-width:100%;margin:0 auto}@media (max-width: 768px){.blog-page-posts-index .blog-page--hero .categoryCarousel[data-v-6d2268a2]{width:95%}}\n',""])},1779:function(e,t,a){"use strict";a(1234)},1780:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".categoryCarousel .slick-list .slick-slide{background:#F5F7FA !important;border-radius:5px;margin:0 15px;padding:9px 0}@media (max-width: 767px){.categoryCarousel .slick-list .slick-slide{margin:0 7px}}.categoryCarousel .slick-list .slick-slide a{font-weight:400;padding:10px;font-size:15px}@media (max-width: 600px){.categoryCarousel .slick-list .slick-slide a{font-size:14px}}\n",""])},1781:function(e,t,a){"use strict";a(1235)},1782:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Always export scoped styles to not break the app */\n",""])},2022:function(e,t,a){"use strict";a.r(t);var r=a(154),i=a(597),s=a.n(i),o=a(589),n=(a(217),a(1));function p(e,t,a,r,i,s,o){try{var n=e[s](o),p=n.value}catch(e){return void a(e)}n.done?t(p):Promise.resolve(p).then(r,i)}function l(e){return function(){var t=this,a=arguments;return new Promise((function(r,i){var s=e.apply(t,a);function o(e){p(s,r,i,o,n,"next",e)}function n(e){p(s,r,i,o,n,"throw",e)}o(void 0)}))}}function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){u(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function u(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var g={name:"PostsIndex",components:{VueSlickCarousel:s.a,UspBar:o.a},data:function(){return{loadingPosts:!1,bottomScrollCount:0,settings:{dots:!1,arrows:!1,infinite:!1,draggable:!0,swipe:!0,touchMove:!0,variableWidth:!0,speed:500,slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,responsive:[{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:2}}]},totalCategories:[]}},metaInfo:function(){var e,t,a,r;return null!=n&&null!==(e=n.wordpress)&&void 0!==e&&null!==(t=e.canonicalUrl)&&void 0!==t&&t.blogUrl?{link:[{rel:"canonical",href:null==n||null===(a=n.wordpress)||void 0===a||null===(r=a.canonicalUrl)||void 0===r?void 0:r.blogUrl}],titleTemplate:"Inspiration & Advice | Bathroom Mountain"}:"undefined"!=typeof window?{link:[{rel:"canonical",href:window.location.href}],titleTemplate:"Inspiration & Advice | Bathroom Mountain"}:void 0},computed:c(c({},Object(r.c)({categories:"wordpress/categories",posts:"wordpress/posts",postsTotal:"wordpress/postsTotal"})),{},{postList:function(){return this.posts},featuredPost:function(){return this.posts.slice(0,1)[0]}}),beforeMount:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("wordpress/loadCategories",{first:100});case 2:e.totalCategories=t.sent;case 3:case"end":return t.stop()}}),t)})))()},mounted:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.posts.length||e.fetchPosts(),e.categories.length){t.next=5;break}return t.next=4,e.fetchCategories();case 4:e.totalCategories=t.sent;case 5:case"end":return t.stop()}}),t)})))()},methods:{fetchPosts:function(){return this.$store.dispatch("wordpress/loadPosts",{first:18,route:this.$router})},prevPagePosts:function(e){this.updatePathParams(this.$router,{p_page:e},"startCursor"),setTimeout((function(){var e=document.getElementsByClassName("header")[0],t=document.getElementsByClassName("usp-bar")[0],a=parseFloat(e.offsetHeight)-parseFloat(t.offsetHeight);window.pageYOffset<a||window.scrollTo({top:a,behavior:"smooth"})}),1e3)},nextPagePosts:function(e){this.updatePathParams(this.$router,{page:e},"endCursor"),setTimeout((function(){var e=document.getElementsByClassName("header")[0],t=document.getElementsByClassName("usp-bar")[0],a=parseFloat(e.offsetHeight)-parseFloat(t.offsetHeight);window.pageYOffset<a||window.scrollTo({top:a,behavior:"smooth"})}),1e3)},updatePathParams:function(e,t,a){var r=c(c({},e.currentRoute.query),t);""===t[a]&&delete r[a],console.log("selectedFilterCode ",a),console.log("mergeQueryParams",r),"startCursor"===a&&delete r.page,"endCursor"===a&&delete r.p_page,this.$router.push({path:e.currentRoute.path,query:r})},getPostImage:function(e){return null!=e.featuredImage&&null!=e.featuredImage.node&&null!=e.featuredImage.node.sourceUrl?e.featuredImage.node.sourceUrl:"/assets/placeholder.svg"},fetchCategories:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("wordpress/loadCategories",{first:100});case 2:return a=t.sent,t.abrupt("return",a);case 4:case"end":return t.stop()}}),t)})))()}},filters:{truncate:function(e,t,a){return e.length>0?e.substring(0,t)+a:""},prettyDate:function(e){return new Date(e).toLocaleDateString("en-GB",{weekday:"long",year:"numeric",month:"long",day:"numeric"})}}},b=(a(1777),a(1779),a(123));function f(e,t,a,r,i,s,o){try{var n=e[s](o),p=n.value}catch(e){return void a(e)}n.done?t(p):Promise.resolve(p).then(r,i)}var m={name:"PostsPageIndex",components:{PostsIndex:Object(b.a)(g,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("UspBar"),e._v(" "),a("div",{staticClass:"blog-page blog-page-posts-index"},[a("div",{staticClass:"blog-page--hero"},[a("h1",{staticClass:"blog-page--page-title"},[e._v("\n        Inspiration and Advice\n      ")]),e._v(" "),e.totalCategories.length>0?a("div",{staticClass:"categoryCarousel"},[a("VueSlickCarousel",e._b({},"VueSlickCarousel",e.settings,!1),[e._l(e.totalCategories,(function(t,r){return["dGVybTox"!=t.id?a("div",{key:r,staticClass:"cat-cont"},[a("div",{staticClass:"cat-pills"},[a("router-link",{attrs:{to:e.localizedRoute("/categories/"+t.slug)}},[a("span",[e._v(" "+e._s(t.name)+" ")])])],1)]):e._e()]}))],2)],1):e._e()]),e._v(" "),e.posts&&e.posts.length>0?a("div",[a("div",{staticClass:"blog-page--entries"},[a("div",{staticClass:"container"},[a("div",{staticClass:"row row--entries",attrs:{id:"posts-collection-container"}},e._l(e.postList,(function(t){return a("div",{key:t.id+"-",staticClass:"col col-md-6 col-lg-6"},[a("div",{staticClass:"blog-page--preview-small"},[a("router-link",{staticClass:"blog-page--preview-small-bg",attrs:{to:e.localizedRoute("/inspiration-and-advice/"+t.slug)}},[a("div",{staticClass:"blog-page--preview-small-inner"},[a("div",{staticClass:"blog-page--preview-img"},[a("img",{attrs:{src:e.getPostImage(t),alt:""}})]),e._v(" "),a("h3",{staticClass:"blog-page--preview-title"},[a("span",{domProps:{innerHTML:e._s(t.title)}})])])])],1)])})),0)])]),e._v(" "),a("div",{staticClass:"blog-page--pager-container"},[e.postsTotal?a("ul",{staticClass:"blog-page--pager"},[e.postsTotal.hasPreviousPage?a("li",{staticClass:"first"},[a("span",{attrs:{"data-startCursor":e.postsTotal.startCursor},on:{click:function(t){return e.prevPagePosts(e.postsTotal.startCursor)}}},[e._v("Load Previous")])]):e._e(),e._v(" "),e.postsTotal.hasNextPage?a("li",{staticClass:"last"},[a("span",{attrs:{"data-endCursor":e.postsTotal.endCursor},on:{click:function(t){return e.nextPagePosts(e.postsTotal.endCursor)}}},[e._v("Load Next")])]):e._e()]):e._e()])]):e._e()])],1)}),[],!1,null,"6d2268a2",null).exports},asyncData:function(e){return(t=regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.store,r=e.route,e.context,t.next=3,a.dispatch("wordpress/loadPosts",{first:18,route:r});case 3:case"end":return t.stop()}}),t)})),function(){var e=this,a=arguments;return new Promise((function(r,i){var s=t.apply(e,a);function o(e){f(s,r,i,o,n,"next",e)}function n(e){f(s,r,i,o,n,"throw",e)}o(void 0)}))})();var t}},x=(a(1781),Object(b.a)(m,(function(){var e=this.$createElement;return(this._self._c||e)("posts-index")}),[],!1,null,"5f5f943c",null));t.default=x.exports},572:function(e,t,a){var r=a(581);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("6c6c379e",r,!0,{})},574:function(e,t,a){"use strict";var r=a(3);t.a={data:function(){return{productPageRoutes:["product","virtual-product","bundle-product","simple-product","downloadable-product","grouped-product","configurable-product"],isProductPage:!1,isCategoryPage:!1,isCheckoutPage:!1,isOldCheckoutPage:!1}},watch:{"$route.name":function(){this.setCurrentPage()}},computed:{canGoBack:function(){return!this.isHistoryEmpty()&&this.isProductPage}},created:function(){this.setCurrentPage()},methods:{setCurrentPage:function(){this.isCategoryPage=!this.$route.params.parentSku&&!!this.$route.params.slug,this.isProductPage=!!this.$route.params.parentSku,this.isCheckoutPage="/checkout"===this.$route.path,this.isOldCheckoutPage="/checkout2"===this.$route.path},isHistoryEmpty:function(){return!r.h&&window.history.length<=1}}}},575:function(e,t,a){var r=a(592);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("89eaef04",r,!0,{})},576:function(e,t,a){var r=a(594);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("2c881ac6",r,!0,{})},577:function(e,t,a){var r=a(596);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,a(567).default)("7225694a",r,!0,{})},579:function(e,t,a){"use strict";var r=a(3),i={name:"CmsBlock",props:{id:{type:Number,default:null,required:!1},identifier:{type:String,default:null,required:!1},sync:{type:Boolean,default:!1,required:!1}},serverPrefetch:function(){return this.fetchCmsBlock()},created:function(){r.h||this.fetchCmsBlock()},methods:{fetchCmsBlock:function(){var e="",t="";if(this.id?(e="id",t=this.id):this.identifier&&(e="identifier",t=this.identifier),e&&t)return this.$store.dispatch("cmsBlock/single",{key:e,value:t})}},computed:{getCmsData:function(){return this.id?this.$store.getters["cmsBlock/getCmsBlockById"](this.id):this.identifier?this.$store.getters["cmsBlock/getCmsBlockByIdentifier"](this.identifier):null}}},s=(a(580),a(123)),o=Object(s.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return this.getCmsData?t("div",{class:["cms-content",{container:this.sync}],domProps:{innerHTML:this._s(this.getCmsData.content)}}):this._e()}),[],!1,null,null,null);t.a=o.exports},580:function(e,t,a){"use strict";a(572)},581:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,"#category .usp-bar,#cms-page .usp-bar,.contact-page-main .usp-bar{background:#ffffff;margin:0px 0px;border-bottom:1px solid #f1f1f1}.mainProduct .usp-bar{background:#ffffff;margin:8px 0px;border-bottom:1px solid #f1f1f1}@media (min-width: 991px) and (max-width: 1200px){.usp-bar .usp-bar-inner .usp-bar-box p{font-size:12px !important}}@media (min-width: 767px) and (max-width: 991px){.usp-bar .usp-bar-inner .usp-bar-box p{font-size:9px !important}}@media (min-width: 768px){.usp-bar{background:#f1f1f1;margin:15px 0px}.usp-bar .usp-bar-inner{background:#fff;padding:8px 0px}.usp-bar .usp-bar-inner .usp-bar-box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.usp-bar .usp-bar-inner .usp-bar-box img,.usp-bar .usp-bar-inner .usp-bar-box p{float:left}.usp-bar .usp-bar-inner .usp-bar-box p{font-size:14px;color:#4a4d51;margin:3px 0px 0 8px}.usp-bar .usp-bar-inner .usp-bar-box p span{color:#00bbaa;font-weight:600}.usp-bar .usp-bar-inner .usp-bar-box-delivery img{display:block;margin-top:1px;width:33px;height:25px}.usp-bar .usp-bar-inner .usp-bar-box-stars img{display:block;margin-top:5px;height:20px;width:77px}.usp-bar .usp-bar-inner .usp-bar-box-pricing img{height:25px;width:25px}}@media (max-width: 767px){.usp-bar .usp-bar-inner .mobile-view{display:none}.usp-bar .usp-bar-inner .usp-bar-box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.usp-bar .usp-bar-inner .usp-bar-box img{float:left;width:33px;height:25px}.usp-bar .usp-bar-inner .usp-bar-box p{float:left;font-size:14px;color:#4a4d51;margin:4px 0px 0 8px}.usp-bar .usp-bar-inner .usp-bar-box p span{color:#00bbaa;font-weight:600}#category .usp-bar,#cms-page .usp-bar,.contact-page-main .usp-bar{background:#f1f1f1;margin:0px 0px 0px 0px;border-bottom:1px solid transparent}.mainProduct .usp-bar{background:#f1f1f1;margin:8px 0px;border-bottom:1px solid transparent}}\n",""])},589:function(e,t,a){"use strict";var r=a(579),i=a(574),s=a(590),o={mixins:[i.a],components:{UspBarCmsBlock:s.a,CmsBlock:r.a},props:{isHomePage:{type:Boolean,default:!1}},computed:{isMobile:function(){var e;return null===(e=this.$device)||void 0===e?void 0:e.isMobile}}},n=(a(595),a(123)),p=Object(n.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"usp-bar",class:e.isHomePage?"changeBg":""},[a("div",{class:e.isMobile?"":"container"},[a("div",{staticClass:"usp-bar-inner"},[e.isCategoryPage||e.isProductPage?e._e():a("h1",{staticClass:"fs-headline1 ow-break-word mb8 flex--item fl1"},[e._v("\n        Bathroom\n        Mountain\n      ")]),e._v(" "),e._m(0),e._v(" "),a("UspBarCmsBlock",{staticClass:"usp-bar-content",class:e.isHomePage?"changeMt":"",attrs:{identifier:"usp-bar"}})],1)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"usp-bar-placeholder"},[t("img",{attrs:{src:"/assets/images/homepage/free-delivery.png"}}),this._v(" "),t("p",[this._v(" Free Next Day Delivery over £399* ")])])}],!1,null,"2f966da8",null);t.a=p.exports},590:function(e,t,a){"use strict";var r=a(586),i=a(3),s=a(597),o=a.n(s),n=(a(601),{name:"CmsBlock",mixins:[r.a],components:{VueSlickCarousel:o.a},data:function(){return{settings:{slidesToShow:3,responsive:[{breakpoint:767,settings:{slidesToShow:1}}]}}},props:{id:{type:Number,default:null,required:!1},identifier:{type:String,default:null,required:!1},sync:{type:Boolean,default:!1,required:!1}},serverPrefetch:function(){return this.fetchCmsBlock()},created:function(){i.h||this.fetchCmsBlock()},methods:{fetchCmsBlock:function(){var e="",t="";if(this.id?(e="id",t=this.id):this.identifier&&(e="identifier",t=this.identifier),e&&t)return this.$store.dispatch("cmsBlock/single",{key:e,value:t})}},computed:{getCmsData:function(){return this.id?this.$store.getters["cmsBlock/getCmsBlockById"](this.id):this.identifier?this.$store.getters["cmsBlock/getCmsBlockByIdentifier"](this.identifier):null},singleBlockUspData:function(){return this.data?this.parsedContent.querySelectorAll(".usp-bar-box").map((function(e){var t,a;return{img:e.querySelector("img").attributes.src,text:null===(t=e.querySelector("p"))||void 0===t?void 0:t.innerHTML,link:null===(a=e.querySelector("a"))||void 0===a?void 0:a.attributes.href}})):[]}},mounted:function(){window.addEventListener("load",(function(){var e=document.querySelector(".usp-bar-placeholder"),t=document.querySelector(".usp-bar-content");null==e||e.remove(),null==t||t.classList.add("show")}))},beforeDestroy:function(){var e=document.querySelector(".usp-bar-placeholder");null==e||e.remove();var t=document.querySelector(".usp-bar-content");null==t||t.classList.add("show")}}),p=(a(591),a(593),a(123)),l=Object(p.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.getCmsData?a("div",{class:["cms-content",{container:e.sync}]},[a("VueSlickCarousel",e._b({staticClass:"AllPagesCarousel row",attrs:{arrows:!1,dots:!1,autoplay:!0}},"VueSlickCarousel",e.settings,!1),e._l(e.singleBlockUspData,(function(t,r){return a("div",{key:r,staticClass:"col-lg-4 col-md-4 col-sm-12 col-xs-12 carousel-inner-two"},[a("div",{staticClass:"carousel-inner-one"},[a("div",{staticClass:"usp-bar-box usp-bar-box-delivery"},[t.link?[a("router-link",{attrs:{to:e.localizedRoute(t.link)}},[a("img",{staticClass:"usp-bar-delivery",attrs:{src:t.img,alt:"Free Delivery"}}),e._v(" "),a("p",{staticClass:"usp-bar-delivery",domProps:{innerHTML:e._s(t.text)}})])]:[a("img",{staticClass:"usp-bar-delivery",attrs:{src:t.img,alt:"Free Delivery"}}),e._v(" "),a("p",{staticClass:"usp-bar-delivery",domProps:{innerHTML:e._s(t.text)}})]],2)])])})),0)],1):e._e()}),[],!1,null,null,null);t.a=l.exports},591:function(e,t,a){"use strict";a(575)},592:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,"#category .usp-bar,#cms-page .usp-bar,.contact-page-main .usp-bar{background:#ffffff;margin:0px 0px;border-bottom:1px solid #f1f1f1}.mainProduct .usp-bar{background:#ffffff;margin:8px 0px;border-bottom:1px solid #f1f1f1}@media (min-width: 991px) and (max-width: 1200px){.usp-bar .usp-bar-inner .usp-bar-box p{font-size:12px !important}}@media (min-width: 767px) and (max-width: 991px){.usp-bar .usp-bar-inner .usp-bar-box p{font-size:9px !important}}@media (min-width: 768px){.usp-bar .usp-bar-inner .usp-bar-box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-height:30px}.usp-bar .usp-bar-inner .usp-bar-box a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.usp-bar .usp-bar-inner .usp-bar-box img,.usp-bar .usp-bar-inner .usp-bar-box p{float:left}.usp-bar .usp-bar-inner .usp-bar-box p{font-size:14px;color:#4a4d51;margin:3px 0px 0 8px}.usp-bar .usp-bar-inner .usp-bar-box p span{color:#00bbaa;font-weight:600}.usp-bar .usp-bar-inner .usp-bar-box-delivery img{display:block;margin-top:1px;width:33px;height:25px}.usp-bar .usp-bar-inner .usp-bar-box-delivery a:hover:after{width:unset}.usp-bar .usp-bar-inner .usp-bar-box-delivery p{float:left;font-size:14px;color:#4a4d51;margin:4px 0px 0 8px}.usp-bar .usp-bar-inner .usp-bar-box-delivery p span{font-weight:600}.usp-bar .usp-bar-inner .usp-bar-box-stars img{display:block;margin-top:5px;height:20px;width:77px}.usp-bar .usp-bar-inner .usp-bar-box-pricing img{height:25px;width:25px}}@media (max-width: 767px){.usp-bar .usp-bar-inner .mobile-view{display:none}.usp-bar .usp-bar-inner .usp-bar-box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:52px}.usp-bar .usp-bar-inner .usp-bar-box a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.usp-bar .usp-bar-inner .usp-bar-box img{float:left;width:auto !important;height:25px}.usp-bar .usp-bar-inner .usp-bar-box a{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.usp-bar .usp-bar-inner .usp-bar-box p{float:left;font-size:14px;color:#4a4d51;margin:3px 0px 0 8px}.usp-bar .usp-bar-inner .usp-bar-box p span{color:#00bbaa;font-weight:600;padding-right:3px}#category .usp-bar,#cms-page .usp-bar,.contact-page-main .usp-bar{background:#f1f1f1;margin:0px 0px 0px 0px;border-bottom:1px solid transparent}.mainProduct .usp-bar{background:#f1f1f1;margin:8px 0 0 0 !important;border-bottom:1px solid transparent}}\n",""])},593:function(e,t,a){"use strict";a(576)},594:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".AllPagesCarousel .slick-slide{text-align:center;padding:0px 0px;margin-bottom:-5px}@media (max-width: 767px){.AllPagesCarousel .slick-slide{background:#efefef}}@media (min-width: 768px){.AllPagesCarousel .slick-slide .carousel-inner-two{max-width:-webkit-fit-content !important;max-width:-moz-fit-content !important;max-width:fit-content !important}.AllPagesCarousel .slick-slide .carousel-inner-two img{width:auto !important;height:auto !important}.AllPagesCarousel .slick-slide .carousel-inner-two p{margin:unset !important;margin-left:6px !important}}@media (max-width: 767px){.AllPagesCarousel .slick-slide .carousel-inner-two img{height:auto !important}.AllPagesCarousel .slick-slide .carousel-inner-two p{margin:unset !important;margin-left:5px !important}}.usp-bar-delivery{-ms-flex-pack:center;justify-content:center}\n",""])},595:function(e,t,a){"use strict";a(577)},596:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".usp-bar-placeholder[data-v-2f966da8]{display:none !important}@media (max-width: 767px){.usp-bar-placeholder.hide[data-v-2f966da8]{opacity:0}.usp-bar-content.show[data-v-2f966da8]{opacity:1}.changeMt[data-v-2f966da8]{margin-bottom:-3px !important}.usp-bar-content[data-v-2f966da8]{opacity:0}.usp-bar-inner[data-v-2f966da8]{position:relative;width:100%}.usp-bar-inner .usp-bar-placeholder[data-v-2f966da8]{display:-ms-flexbox !important;display:flex !important;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:48px;background-color:transparent}.usp-bar-inner .usp-bar-placeholder p[data-v-2f966da8]{font-size:14px;color:#4a4d51;margin-left:5px}.usp-bar-inner .usp-bar-placeholder img[data-v-2f966da8]{width:33px;height:25px}}.usp-bar-inner h1[data-v-2f966da8]{display:none}.changeBg[data-v-2f966da8]{background-color:#ffffff !important}@media (min-width: 767px){.changeBg[data-v-2f966da8]{margin:0px !important}}\n",""])}}]);
//# sourceMappingURL=vsf-wp-posts-index.56c1b3df03a7533fb193.js.map