(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{1269:function(e,t,a){var i=a(1858);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,a(567).default)("a26c50ba",i,!0,{})},1270:function(e,t,a){var i=a(1860);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,a(567).default)("abbde728",i,!0,{})},1857:function(e,t,a){"use strict";a(1269)},1858:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".fade-enter-active[data-v-7d5b50d6]{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-leave-active[data-v-7d5b50d6]{-webkit-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.fade-enter[data-v-7d5b50d6],.fade-leave-to[data-v-7d5b50d6]{opacity:0}.fade-in-down-enter-active[data-v-7d5b50d6],.fade-in-up-enter-active[data-v-7d5b50d6]{-webkit-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);-o-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);transition:all .25s cubic-bezier(0.4, 0, 0.2, 1)}.fade-in-down-leave-active[data-v-7d5b50d6],.fade-in-up-leave-active[data-v-7d5b50d6]{-webkit-transition:all .2s cubic-bezier(0.4, 0, 1, 1);-o-transition:all .2s cubic-bezier(0.4, 0, 1, 1);transition:all .2s cubic-bezier(0.4, 0, 1, 1)}.fade-in-down-enter[data-v-7d5b50d6],.fade-in-down-leave-to[data-v-7d5b50d6],.fade-in-up-enter[data-v-7d5b50d6],.fade-in-up-leave-to[data-v-7d5b50d6]{opacity:0}.fade-in-down-enter[data-v-7d5b50d6],.fade-in-down-leave-to[data-v-7d5b50d6]{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.fade-in-up-enter[data-v-7d5b50d6],.fade-in-up-leave-to[data-v-7d5b50d6]{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}@media (max-width: 550px){.media-gallery-carousel[data-v-7d5b50d6]{padding-bottom:109%;position:relative}.media-gallery-carousel .slick-slider[data-v-7d5b50d6]{text-align:center;width:100%;height:100%;position:absolute !important;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%}}.media-gallery-carousel[data-v-7d5b50d6]{position:relative;text-align:center;height:100%}.media-gallery-carousel .slick-dots li button[data-v-7d5b50d6]:before{font-size:14px}.media-carousel-space[data-v-7d5b50d6]{margin-bottom:-25px}.promo-label-text[data-v-7d5b50d6]{position:relative;bottom:35px;left:0;right:0;color:#ffffff !important;padding:5px 0;font-size:1rem;font-weight:500;opacity:0.80}@media (max-width: 1024px){.promo-label-text[data-v-7d5b50d6]{font-size:0.8rem}}@media (max-width: 767px){.promo-label-text[data-v-7d5b50d6]{display:none}}.promo-label-text-mobile[data-v-7d5b50d6]{position:relative;bottom:35px;left:0;right:0;color:#ffffff !important;padding:5px 0;font-size:1rem;font-weight:500;opacity:0.80}@media (min-width: 768px){.promo-label-text-mobile[data-v-7d5b50d6]{display:none}}.media-gallery-carousel .zoom-in[data-v-7d5b50d6]{position:absolute;right:0px;background:#eaeaea;bottom:100px}.media-gallery-carousel .bg-cl-secondary[data-v-7d5b50d6]{background:#ffffff}.zoom-in[data-v-7d5b50d6]{position:absolute;bottom:0;right:0}.image[data-v-7d5b50d6]{opacity:1;will-change:opacity;-webkit-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1);-o-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1)}.image[data-v-7d5b50d6]:hover{opacity:0.9}.video-container[data-v-7d5b50d6]{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}figure[data-v-7d5b50d6]{display:block;margin:0px}figure a[data-v-7d5b50d6]{display:block;height:100%}figure img[data-v-7d5b50d6]{width:100%}figure a[data-v-7d5b50d6]:after{display:none !important}@media (min-width: 768px) and (max-width: 1199px){.mini-pdp #media-gallery-carousel[data-v-7d5b50d6]{width:89%}}@media (min-width: 768px){.mini-pdp #media-gallery-carousel figure[data-v-7d5b50d6]{width:93.21%}}@media (min-width: 768px) and (max-width: 1199px){.mini-pdp #media-gallery-carousel figure[data-v-7d5b50d6]{width:100%}}@media (min-width: 768px){.mini-pdp #media-gallery-carousel figure.carousel-figure img[data-v-7d5b50d6]{width:100%;max-width:100%}}@media (max-width: 767px){.mini-pdp #media-gallery-carousel[data-v-7d5b50d6]{margin-top:0}.mini-pdp #media-gallery-carousel figure[data-v-7d5b50d6]{width:95.86%}}.mini-pdp button.VueCarousel-navigation-button.VueCarousel-navigation-next[data-v-7d5b50d6]{display:none}.mini-pdp button.VueCarousel-navigation-button.VueCarousel-navigation-prev.VueCarousel-navigation--disabled[data-v-7d5b50d6]{display:none}.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active[data-v-7d5b50d6]{background-color:#28ADEF !important;width:7px !important;height:7px !important;padding:0 !important;border:none}\n",""])},1859:function(e,t,a){"use strict";a(1270)},1860:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,"#tap-to-expand{pointer-events:none;position:absolute;z-index:1;bottom:12%;background-color:transparent;-webkit-transition:opacity .4s ease,z-index .4s ease;-o-transition:opacity .4s ease,z-index .4s ease;transition:opacity .4s ease,z-index .4s ease;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}#tap-to-expand #tap-to-expand-inner{display:inline-block;background:rgba(49,51,61,0.7);border-radius:2em;padding:0.4em 1.1em 0.4em 1.1em;color:#FFFFFF;font-size:13px}.remove-div{opacity:0;-webkit-transition:1s;-o-transition:1s;transition:1s}.pswp__caption{position:unset}.pswp__caption__center,#double-tap{background:rgba(49,51,61,0.2);border-radius:2em;padding:.7em 1.1em;color:#FFFFFF;font-size:13px;pointer-events:none;position:absolute;top:50%;background-color:transparent;-webkit-transition:opacity .4s ease,z-index .4s ease;-o-transition:opacity .4s ease,z-index .4s ease;transition:opacity .4s ease,z-index .4s ease;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:rgba(49,51,61,0.7);border-radius:2em;padding:.7em 1.1em;color:#FFFFFF;font-size:13px;z-index:1000}@media (min-width: 375px){.pswp__caption__center,#double-tap{font-size:15px}}.choose_strip_position{position:absolute;top:0;left:0;width:150px}@media (max-width: 767px){.choose_strip_position{position:absolute;top:0;left:0;width:120px !important}}@media (max-width: 767px){.mini-pdp .media-gallery-carousel .VueCarousel-pagination,.mini-pdp .media-zoom-carousel .VueCarousel-pagination{display:block !important;bottom:-16px}}.bt-product-gallery .media-gallery{margin-bottom:5px}@media (min-width: 767px){.media-gallery-carousel .slick-dots{display:none !important}}.media-gallery-carousel .slick-dots li button:before{font-size:17px;color:#8678a9 !important}.media-gallery-carousel .VueCarousel-pagination,.media-zoom-carousel .VueCarousel-pagination{position:absolute;bottom:-35px}@media (max-width: 767px){.media-gallery-carousel .VueCarousel-pagination,.media-zoom-carousel .VueCarousel-pagination{display:none}}.media-gallery-carousel .VueCarousel-navigation-button,.media-zoom-carousel .VueCarousel-navigation-button{margin:10px;-webkit-transform:translateY(-50%) !important;-ms-transform:translateY(-50%) !important;transform:translateY(-50%) !important;display:none}.media-gallery-carousel .VueCarousel-slide,.media-zoom-carousel .VueCarousel-slide{-webkit-backface-visibility:unset;backface-visibility:unset}.media-gallery-carousel .VueCarousel-navigation,.media-zoom-carousel .VueCarousel-navigation{opacity:0}.media-gallery-carousel .VueCarousel-navigation--disabled,.media-zoom-carousel .VueCarousel-navigation--disabled{display:none}.media-gallery-carousel .VueCarousel-dot,.media-zoom-carousel .VueCarousel-dot{padding:8px !important}.media-gallery-carousel .VueCarousel-dot button,.media-zoom-carousel .VueCarousel-dot button{border:2px solid #828282}.media-gallery-carousel:hover .VueCarousel-navigation,.media-zoom-carousel:hover .VueCarousel-navigation{opacity:0.9}.media-gallery-carousel:hover .VueCarousel-navigation-button,.media-zoom-carousel:hover .VueCarousel-navigation-button{-webkit-transition:opacity 3s;-o-transition:opacity 3s;transition:opacity 3s}.media-gallery-carousel:hover .VueCarousel-navigation-button:after,.media-zoom-carousel:hover .VueCarousel-navigation-button:after{background-color:transparent}.media-gallery-carousel .product-image__thumb{top:43%}.product-detail-inner .prod-gallery-thumbnails-carousel{padding-top:0px;padding-bottom:0px}@media (max-width: 767px){.product-detail-inner .prod-gallery-thumbnails-carousel{margin-top:10px}}.prod-gallery-thumbnails-carousel img.block{height:100px}.product-thumbnails ul li img{width:100px}.border-green{border:2px solid #00998c}.border-grey-light{border:2px solid #2e525a6e}.product-thumbnails ul{list-style:none;display:block;padding:0px;overflow-x:hidden;overflow-y:hidden;white-space:nowrap;width:85%;margin:auto}.product-thumbnails ul li{display:inline-block;padding:0 10px}button#slideLeft{background:none;border:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;left:-30px}button#slideLeft .pointer{color:#8678a9;font-size:60px;padding:0}button#slideRight{background:none;border:0;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);right:-30px}button#slideRight .pointer{color:#8678a9;font-size:60px;padding:0}.product-thumbnails{position:relative;padding:10px 0}@media (min-width: 767px){.bt-product-gallery .VueCarousel-pagination{display:none}.bt-product-gallery .VueCarousel-navigation{display:none}}.product-similar-listing-carousel .VueCarousel-navigation{display:block;position:relative}.product-similar-listing-carousel .VueCarousel-navigation button{top:-100px;width:auto;padding:0}.cart-popup .VueCarousel-navigation button{top:-78px !important;width:0;padding:0}.product-similar-listing-carousel .VueCarousel-navigation button i{color:#54575b;font-size:40px}.product-similar-listing-carousel .VueCarousel-navigation button.VueCarousel-navigation-prev{left:11px}.product-similar-listing-carousel .VueCarousel-navigation button.VueCarousel-navigation-next{right:8px}.product-similar-listing-carousel .VueCarousel-navigation button:focus{border:0;outline:0}.prod-gallery-thumbnails-carousel img.block{width:100px;display:inline-block;padding:1px}.prod-gallery-thumbnails-carousel .VueCarousel-navigation{display:block}.prod-gallery-thumbnails-carousel .VueCarousel-navigation button i{color:#8678a9;font-size:40px;padding:0;width:0}.prod-gallery-thumbnails-carousel .VueCarousel-navigation button:focus{border:0;outline:0}.prod-gallery-thumbnails-carousel .VueCarousel-navigation button{width:0px;padding:0px !important;margin:0 0 0 0 !important}.prod-gallery-thumbnails-carousel .VueCarousel-navigation button.VueCarousel-navigation-prev{left:-14px}.prod-gallery-thumbnails-carousel .VueCarousel-navigation button.VueCarousel-navigation-next{right:2px}.product-similar-listing-carousel .VueCarousel-navigation button:focus{border:0;outline:0}.recently-viewed-items-container .VueCarousel-navigation{display:block}.recently-viewed-items-container .VueCarousel-navigation button i{color:#8678a9;font-size:60px;padding:0;width:0}.recently-viewed-items-container .VueCarousel-navigation button:focus{border:0;outline:0}.recently-viewed-items-container{padding-top:25px;padding-bottom:25px}.recently-viewed-items-container .VueCarousel-navigation button{width:0px;padding:0px !important;margin:0 0 0 0 !important}.recently-viewed-items-container .VueCarousel-navigation button.VueCarousel-navigation-prev{left:-70px}.recently-viewed-items-container .VueCarousel-navigation button.VueCarousel-navigation-next{right:-10px}.recently-viewed-items-container .VueCarousel-navigation button:focus{border:0;outline:0}@media (max-width: 1100px) and (min-width: 768px){.recently-viewed-items-container .VueCarousel-navigation button.VueCarousel-navigation-next{right:55px}.recently-viewed-items-container .VueCarousel-navigation button.VueCarousel-navigation-prev{left:0}}@media (max-width: 767px){.bt-product-gallery .VueCarousel-pagination{display:block}.bt-product-gallery .VueCarousel-navigation{display:none}.bt-product-gallery .VueCarousel-pagination button{background-color:#a8a8a8 !important;height:15px !important;width:15px !important;margin-top:0px !important}.bt-product-gallery .VueCarousel-pagination button:focus{outline:none}.bt-product-gallery .VueCarousel-pagination button.VueCarousel-dot--active{background-color:#8678a9 !important;height:15px !important;width:15px !important}.bt-product-gallery .media-gallery-carousel .VueCarousel-pagination{display:inline-block;position:absolute;left:0;width:100%;bottom:-65px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.bt-product-gallery .media-gallery-carousel .VueCarousel-pagination .VueCarousel-dot-container{margin-top:0px !important}.bt-product-gallery{padding-right:0 !important}.recently-viewed-items-container.container{width:100%}.saving-price-detail-div{display:block !important;padding-left:0px !important}.recently-viewed-items-container.container{width:100%}.recently-inner-container{padding:0 0 0 0 !important}.recently-viewed-items-container.container{padding-bottom:0;border-bottom:10px solid #626161}.product-recent-listing-carousel .VueCarousel img{max-width:80% !important}.bt-product-gallery .media-gallery{margin-bottom:-20px}.media-gallery-carousel{margin-top:0}.product-similar-listing-carousel .VueCarousel-navigation button{top:-130px}.cart-popup .VueCarousel-navigation button{top:-225px !important}}.comes-with-main .product-image{width:auto !important}.comes-with-main .VueCarousel-slide.mb-1.bg-grey-lighter.VueCarousel-slide-active{margin-right:15px}.comes-with-main .comeproimage:hover{border-bottom:5px solid #dddd}.comes-with-main .border_green{border-bottom:5px solid #0f988b}.comes-with-main .border_green:hover{border-bottom:5px solid #0f988b}.comes-with-main .prod-gallery-thumbnails-carousel{padding-top:15px;padding-bottom:15px}.comes-with-main .prod-gallery-thumbnails-carousel .VueCarousel-slide{margin:0px 15px 0px 15px}.comes-with-main span{font-weight:600;font-size:16px;color:#54575b}.video-wrapper #iframe_container{width:70% !important;height:60% !important}@media (max-width: 767px){.video-wrapper #iframe_container{width:100% !important;height:36% !important}}#iframe_container{position:absolute;top:0px;bottom:0px;right:0px;left:0px;margin:auto}@media (max-width: 1320px){#iframe_container{width:76% !important;height:50% !important}}@media (max-width: 1320px){#iframe_container{width:76% !important;height:50% !important}}@media (max-width: 767px){.bt-product-gallery .media-gallery-carousel .zoom-in{display:none}.comes-with-main .prod-gallery-thumbnails-carousel .VueCarousel-slide{margin:0px}}@media (min-width: 767px) and (max-width: 1023px){.product-detail-inner .prod-gallery-thumbnails-carousel{padding-top:30px;padding-bottom:0px}}.videoDiv{position:relative;z-index:-1;cursor:pointer}@media (min-width: 1200px){.videoDiv{margin-top:70px}}@media (max-width: 1199px){.videoDiv{width:355px;height:290px}}@media (max-width: 991px){.videoDiv{width:270px;height:290px}}@media (max-width: 766px){.videoDiv{width:521px !important;height:480px !important}}@media (max-width: 550px){.videoDiv{width:395px !important;height:390px !important}}@media (max-width: 425px){.videoDiv{width:350px !important;height:350px !important}}.mini-pdp .media-gallery{text-align:unset;padding-left:8px}@media (max-width: 767px){.mini-pdp .media-gallery{padding:0}}.mini-pdp .media-gallery-carousel{height:100%;text-align:unset}.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active{background-color:#28ADEF !important;border:1px solid #28ADEF !important;width:16px !important;height:16px !important;padding:0 !important;padding:0 !important;border:none}@media (max-width: 1199px){.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active{width:15px !important;height:15px !important}}@media (max-width: 992px){.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active{width:12px !important;height:12px !important}}@media (max-width: 767px){.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active{width:8px !important;height:8px !important}}@media (max-width: 350px){.mini-pdp .media-gallery-carousel button.VueCarousel-dot.VueCarousel-dot--active{margin-left:0 !important}}.mini-pdp button.VueCarousel-dot{background-color:#FFFFFF !important;border:1px solid #707070;width:16px !important;height:16px !important;padding:0 !important;margin:0 0 0 9px}@media (max-width: 1199px){.mini-pdp button.VueCarousel-dot{width:15px !important;height:15px !important}}@media (max-width: 992px){.mini-pdp button.VueCarousel-dot{width:12px !important;height:12px !important;margin:0 0 0 6px !important}}@media (max-width: 767px){.mini-pdp button.VueCarousel-dot{width:8px !important;height:8px !important;margin:0 0 0 5px !important}}.mini-pdp .VueCarousel-dot-container{display:-ms-flexbox;display:flex;margin:0 !important;-ms-flex-pack:center;justify-content:center;width:93.4%}@media (max-width: 1199px){.mini-pdp .VueCarousel-dot-container{margin-top:-29px !important}}@media (max-width: 767px){.mini-pdp .VueCarousel-dot-container{margin-top:0 !important}}@media (max-width: 767px){.media-gallery-carousel .slick-slider .slick-prev{left:2px;color:#00bbaa;z-index:2}.media-gallery-carousel .slick-slider .slick-next{right:5px;color:#00bbaa}.media-gallery-carousel .slick-slider .slick-prev:before,.media-gallery-carousel .slick-slider .slick-next:before{color:#00bbaa;font-size:24px}}.saleLabelPdt{position:absolute;top:0;left:0;z-index:1;background-color:#c92414;border-radius:0px 0px 4px 0px;padding:6px 12px}@media (max-width: 767px){.saleLabelPdt{padding:6px 8px}}.saleLabelPdt span{font-size:16px;color:#fff;font-weight:700}\n",""])},2027:function(e,t,a){"use strict";a.r(t);var i=a(1),o=a(255),n=a(587),r=a(977),l=a(1997),s=a(782),d=a(1848),p=a.n(d),u=a(1849),c=a.n(u),m=(a(1850),a(1852),a(597)),g=a.n(m),b=(a(601),a(663),{name:"SagePayment",methods:{sagebuttonClick:function(){console.log("Click sagebuttonClick");var e={method:"POST",headers:{Authorization:"Basic ODFEbllva1FONjA0RWViWDhLaGUyYlRNc0o5WHpZTkFYR3F0OHFRNDhzV3lGcXpHVDY6alhoVUJsUlJ1bkF5cTBTZ21PdE9zQ3BCSjdwdjdlN3B6WmNGdWVFSG5ZbG5kbXBqc09Ob3FuNlQza0NsOXdudVo=","Cache-Control":"no-cache","Content-Type":"application/json"},body:JSON.stringify({vendorName:"capitoltiles"})};fetch("https://pi-test.sagepay.com/api/v1/merchant-session-keys",e).then((function(e){return e.json()})).then((function(e){return console.log(e)}))}}}),h=a(123);function v(e,t,a,i,o,n,r){try{var l=e[n](r),s=l.value}catch(e){return void a(e)}l.done?t(s):Promise.resolve(s).then(i,o)}var f={name:"ProductGalleryCarousel",components:{SagePayment:Object(h.a)(b,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"sagepayemnt-container"},[t("button",{on:{click:this.sagebuttonClick}},[this._v("\n SagePayment\n ")])])}),[],!1,null,"1486dd18",null).exports,Carousel:o.Carousel,Slide:o.Slide,ProductImage:n.a,ProductVideo:r.a,VueSlickCarousel:g.a},props:{gallery:{type:Array,required:!0},productName:{type:String,default:""},parentProduct:{type:Boolean,default:!1},configuration:{type:Object,required:!0},options:{default:function(){return{}},type:Object},singleThumbnail:{type:Boolean,default:!1},galleryZoom:{type:Array,required:!0},showLabel:{type:Boolean,default:!1},promoLabel:{type:String,default:""},promoLabelMobile:{type:String,default:""},promoLabelHexColor:{type:String,default:""},showSale:{type:Boolean,default:!1}},data:function(){return{carouselTransition:!0,carouselTransitionSpeed:0,currentColor:0,currentPage:0,hideImageAtIndex:null,pswp:null,popUpShownOnce:!0,angle:0,classDynamicP2:"",promoLabelBgColor1:this.promoLabelHexColor?"#"+this.promoLabelHexColor:i.promoLabelBgColor,onetimeCall:"",saleLabel:"SALE"}},beforeMount:function(){this.$bus.$on("filter-changed-product",this.selectVariant),this.$bus.$on("product-after-load",this.selectVariant)},mounted:function(){var e=this;if(document.querySelector(".promo-label-text")&&(document.querySelector(".promo-label-text").style.backgroundColor=this.promoLabelBgColor1,document.querySelector(".promo-label-text-mobile").style.backgroundColor=this.promoLabelBgColor1),setTimeout((function(){e.swipeInitFunction()}),500),this.selectVariant(),this.initPopUp(),this.configuration.color){var t=this.configuration.color;this.currentColor=t.id}this.$emit("loaded")},beforeDestroy:function(){this.$bus.$off("filter-changed-product",this.selectVariant),this.$bus.$off("product-after-load",this.selectVariant)},computed:{isMobile:function(){var e;return null===(e=this.$device)||void 0===e?void 0:e.isMobile}},methods:{initPopUp:function(e){this.onetimeCall||(console.log("calld first time"),this.onetimeCall=e,this.swipeInitFunction())},getEmbedUrlNoJsApi:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.video.url;return a=a.includes("youtu.be")||a.includes("youtu.be")?(a=a.split("/"))[a.length-1]:(a=a.split("="))[1],t?"https://www.youtube.com/embed/".concat(a,"?enablejsapi=1"):"https://www.youtube.com/embed/".concat(a)},gotoSlideOne:function(){this.$refs.carousel.goTo(0)},getImageFullSize:function(e){return this.getThumbnail(e,i.galleryZoomImageSize.width,i.galleryZoomImageSize.height)},swipeInitFunction:function(){var e=this,t=document.getElementById("media-gallery-carousel");if(t){var a,i,o,n,r,l;if(this.classDynamicP2=null===(a=t.childNodes[0])||void 0===a||null===(i=a.childNodes[1])||void 0===i||null===(o=i.childNodes[0])||void 0===o?void 0:o.classList[0],!this.classDynamicP2)this.classDynamicP2=null===(n=t.childNodes[0])||void 0===n||null===(r=n.childNodes[0])||void 0===r||null===(l=r.childNodes[0])||void 0===l?void 0:l.classList[0];!function(t){for(var a=function(e){if(!(e.target.classList.length>0)){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1;var t=function e(t,a){return t&&(a(t)?t:e(t.parentNode,a))}(e.target||e.srcElement,(function(e){return e.tagName&&"FIGURE"===e.tagName.toUpperCase()}));if(t){t.parentNode.parentNode;for(var a,o=t.parentNode.parentNode.parentNode.parentNode.childNodes,n=o.length,r=0,l=0;l<n;l++)1===o[l].nodeType&&(o[l].childNodes[0].childNodes[0].childNodes[0]===t&&(a=r),r++);return a>=0&&i(a,t.parentNode),!1}}},i=function(t,a,i,o){document.getElementById("tap-to-expand")&&document.getElementById("tap-to-expand").classList.add("remove-div");if(console.log("pswp__caption__center",document.getElementsByClassName("pswp__caption__center")),document.getElementsByClassName("pswp__caption__center")){var n=document.getElementById("double-tap");setTimeout((function(){null==n||n.classList.add("remove-div")}),2e3)}var r,l,s,d=document.querySelectorAll(".pswp")[0];if(s=function(e){for(var t,a,i,o,n=e.childNodes,r=e.parentNode,l=(n.length,e.parentNode.parentNode.parentNode.childNodes.length),s=[],d=0;d<l;d++)if(1===(t=r.parentNode.parentNode.childNodes[d].childNodes[0].childNodes[0].childNodes[0]).nodeType){var p;if(a=t.children[0],console.log("linkEl",a,t),i=a.getAttribute("data-size").split("x"),"video"===a.childNodes[0].getAttribute("data-type"))o={html:a.childNodes[0].getAttribute("data-video")};else o={src:null===(p=a)||void 0===p?void 0:p.getAttribute("href"),w:parseInt(i[0],10),h:parseInt(i[1],10),html:"<span>Double tap to zoom</span>"};t.children.length>1&&(o.title=t.children[1].innerHTML),a.children.length>0&&(o.msrc=a.children[0].getAttribute("src")),o.el=t,console.log("This is my Item ",o),s.push(o)}return s}(a),l={history:!1,shareEl:!1,closeOnScroll:!1,closeOnVerticalDrag:!1,closeElClasses:[],hideAnimationDuration:0,galleryUID:a.getAttribute("data-pswp-uid"),clickToCloseNonZoomable:!1,getThumbBoundsFn:function(e){var t=document.getElementById("iframe_container");t&&t.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"),document.getElementsByClassName("pswp__ui--hidden")[0]||(document.getElementsByTagName("body")[0].style.overflow="scroll",document.getElementsByTagName("body")[0].style.overflowX="auto");var a=s[e].el.getElementsByTagName("img")[0]?s[e].el.getElementsByTagName("img")[0]:s[e].el.getElementsByTagName("iframe")[0],i=window.pageYOffset||document.documentElement.scrollTop,o=a.getBoundingClientRect();return{x:o.left,y:o.top+i,w:o.width}}},o)if(l.galleryPIDs){for(var u=0;u<s.length;u++)if(s[u].pid==t){l.index=u;break}}else l.index=parseInt(t,10)-1;else l.index=parseInt(t,10);isNaN(l.index)||(i&&(l.showAnimationDuration=0),(r=new p.a(d,c.a,s,l)).listen("resize",(function(){document.getElementsByTagName("body")[0].style.overflow="hidden";var e,t=document.getElementsByClassName("promotion-wrapper-whole-mobile");if(t&&"null"!==t&&"undefined"!==t)for(e=0;e<t.length;e++)t[e].style.pointerEvents="none"})),r.listen("close",(function(){e.$bus.$emit("dimensionclose"),document.getElementsByTagName("body")[0].style.overflow="scroll",document.getElementsByTagName("body")[0].style.overflowX="auto",setTimeout((function(){var e,t=document.getElementsByClassName("promotion-wrapper-whole-mobile");if(t&&"null"!==t&&"undefined"!==t)for(e=0;e<t.length;e++)t[e].style.pointerEvents=null}),100)})),r.init())},o=document.querySelectorAll(t),n=0,r=o.length;n<r;n++)o[n].setAttribute("data-pswp-uid",n+1),o[n].onclick=a;var l=function(){var e=window.location.hash.substring(1),t={};if(e.length<5)return t;for(var a=e.split("&"),i=0;i<a.length;i++)if(a[i]){var o=a[i].split("=");o.length<2||(t[o[0]]=o[1])}return t.gid&&(t.gid=parseInt(t.gid,10)),t}();l.pid&&l.gid&&i(l.pid,o[l.gid-1],!0,!0)}("."+this.classDynamicP2)}},navigate:function(e){this.$refs.carousel&&this.$refs.carousel.goTo(e)},selectVariant:function(){var e=this;if(i.products.gallery.mergeConfigurableChildren){var t=Object(l.a)(Object(s.a)(this.configuration,"attribute_code"),(function(t,a){return t[a]=e.configuration[a].id,t}),{});if(t){var a=this.gallery.findIndex((function(e){return e.id&&Object.entries(e.id).toString()===Object.entries(t).toString()}),t);a<0&&(a=this.gallery.findIndex((function(e){return e.id&&e.id.color===t.color})))}}this.$emit("close")},openOverlay:function(){var e=this.$refs.carousel.currentPage;this.$emit("toggle",e)},switchCarouselSpeed:function(){var e=this.configuration.color;e&&this.currentColor!==e.id?(this.currentColor=e.id,this.carouselTransitionSpeed=0):this.carouselTransitionSpeed=500},pageChange:function(e){this.currentPage=e,this.hideImageAtIndex=null,this.$emit("pageChange",e)}},watch:{$route:function(e,t){var a,i=this;return(a=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:document.getElementById("tap-to-expand")&&document.getElementById("tap-to-expand").classList.remove("remove-div"),document.getElementById("double-tap")&&(null==(t=document.getElementById("double-tap"))||t.classList.remove("remove-div")),i.gotoSlideOne(),document.querySelector(".promo-label-text")&&(document.querySelector(".promo-label-text").style.backgroundColor=i.promoLabelBgColor1,document.querySelector(".promo-label-text-mobile").style.backgroundColor=i.promoLabelBgColor1);case 4:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(i,o){var n=a.apply(e,t);function r(e){v(n,i,o,r,l,"next",e)}function l(e){v(n,i,o,r,l,"throw",e)}r(void 0)}))})()}}},x=(a(1857),a(1859),Object(h.a)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{attrs:{id:"tap-to-expand"}},[a("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile,expression:"isMobile"}],attrs:{id:"tap-to-expand-inner"}},[e._v("Tap to expand")])]),e._v(" "),a("div",{staticClass:"pdp-cls"},[e.showSale?a("div",{staticClass:"saleLabelPdt"},[a("span",[e._v(e._s(e.saleLabel))])]):e._e(),e._v(" "),a("div",{staticClass:"media-gallery-carousel",class:e.showLabel?"media-carousel-space":"",attrs:{id:"media-gallery-carousel"}},[a("VueSlickCarousel",{ref:"carousel",attrs:{"per-page":1,"mouse-drag":!1,infinite:!1,"navigation-enabled":!0,"pagination-active-color":"#828282","pagination-color":"transparent","navigation-next-label":"<i class='material-icons p15 cl-bg-tertiary pointer'>keyboard_arrow_right</i>","navigation-prev-label":"<i class='material-icons p15 cl-bg-tertiary pointer'>keyboard_arrow_left</i>",speed:e.carouselTransitionSpeed},on:{pageChange:e.pageChange}},e._l(e.gallery,(function(t,i){return a("div",{key:t.src},[a("figure",{directives:[{name:"show",rawName:"v-show",value:0===i||!e.singleThumbnail,expression:"index === 0 || !singleThumbnail"}],ref:"figure",refInFor:!0,staticClass:"carousel-figure",attrs:{itemscope:"",src:e.galleryZoom[i]?e.getImageFullSize(e.galleryZoom[i].image):t.src},on:{click:function(t){return e.initPopUp("called")}}},[a("a",{attrs:{href:e.galleryZoom[i]?e.getImageFullSize(e.galleryZoom[i].image):t.src,"data-size":"2100x2100"}},[t.video?a("iframe",{ref:"iframe",refInFor:!0,staticClass:"videoDiv",attrs:{"data-type":"video",align:"center","data-video":'<div class="wrapper"><div class="video-wrapper"><iframe ref="iframes" id="iframe_container" class="pswp__video" style="width:70%; height:70%" src="'+e.getEmbedUrlNoJsApi(t,!0)+'" frameborder="0" allowfullscreen></iframe></div></div>',width:"480",height:"315",loading:"lazy",src:e.getEmbedUrlNoJsApi(t),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):a("img",{attrs:{src:t.src,alt:e.productName}})])]),e._v(" "),e.showLabel&&i<1?a("div",{staticClass:"promo-label-text"},[e._v("\n "+e._s(e.promoLabel)+"\n ")]):e._e(),e._v(" "),e.showLabel&&i<1?a("div",{staticClass:"promo-label-text-mobile"},[e._v("\n "+e._s(e.promoLabelMobile)+"\n ")]):e._e()])})),0)],1)]),e._v(" "),a("div",{staticClass:"pswp",attrs:{tabindex:"-1",role:"dialog","aria-hidden":"true"}},[a("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile,expression:"isMobile"}],attrs:{id:"double-tap"}},[e._v("Double tap to zoom")]),e._v(" "),a("div",{staticClass:"pswp__bg"}),e._v(" "),e._m(0)])])}),[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pswp__scroll-wrap"},[a("div",{staticClass:"pswp__container"},[a("div",{staticClass:"pswp__item"}),e._v(" "),a("div",{staticClass:"pswp__item"}),e._v(" "),a("div",{staticClass:"pswp__item"})]),e._v(" "),a("div",{staticClass:"pswp__ui pswp__ui--hidden"},[a("div",{staticClass:"pswp__top-bar"},[a("div",{staticClass:"pswp__counter"}),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--close",attrs:{title:"Close (Esc)"}}),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--share",attrs:{title:"Share"}}),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--fs",attrs:{title:"Toggle fullscreen"}}),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--zoom",attrs:{title:"Zoom in/out"}}),e._v(" "),a("div",{staticClass:"pswp__preloader"},[a("div",{staticClass:"pswp__preloader__icn"},[a("div",{staticClass:"pswp__preloader__cut"},[a("div",{staticClass:"pswp__preloader__donut"})])])])]),e._v(" "),a("div",{staticClass:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},[a("div",{staticClass:"pswp__share-tooltip"})]),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--arrow--left",attrs:{title:""}}),e._v(" "),a("button",{staticClass:"pswp__button pswp__button--arrow--right",attrs:{title:""}}),e._v(" "),a("div",{staticClass:"pswp__caption"},[a("div",{staticClass:"pswp__caption__center"})])])])}],!1,null,"7d5b50d6",null));t.default=x.exports},771:function(e,t,a){var i=a(958);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,a(567).default)("72e4109f",i,!0,{})},772:function(e,t,a){var i=a(960);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,a(567).default)("5f8ac072",i,!0,{})},957:function(e,t,a){"use strict";a(771)},958:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".loader-container[data-v-e999325e]{z-index:1001;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,0.65)}.loader-inner-container[data-v-e999325e]{left:50%;top:50%;-webkit-transform:translateY(-50%) translateX(-50%);-ms-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%)}.loader-message-container[data-v-e999325e]{background-color:rgba(77,186,135,0.75);border-radius:50px;letter-spacing:0.5px}.spinner[data-v-e999325e]{width:40px;height:40px;margin:0 auto}.double-bounce1[data-v-e999325e],.double-bounce2[data-v-e999325e]{height:100%;opacity:0.6;top:0;left:0;-webkit-animation:sk-bounce-data-v-e999325e 2s infinite ease-in-out;animation:sk-bounce-data-v-e999325e 2s infinite ease-in-out}.double-bounce2[data-v-e999325e]{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-bounce-data-v-e999325e{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce-data-v-e999325e{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}\n",""])},959:function(e,t,a){"use strict";a(772)},960:function(e,t,a){(e.exports=a(566)(!1)).push([e.i,".product-video[data-v-0fa4f0be]{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.product-video .gallery-video[data-v-0fa4f0be]{top:0}.product-video .gallery-video>.material-icons[data-v-0fa4f0be]{left:0;right:0;color:#fff;font-size:120px;top:calc( 50% - 60px);-webkit-transition:-webkit-transform ease 0.3s;transition:-webkit-transform ease 0.3s;-o-transition:transform ease 0.3s;transition:transform ease 0.3s;transition:transform ease 0.3s, -webkit-transform ease 0.3s}.product-video .gallery-video[data-v-0fa4f0be]:hover{cursor:pointer}.product-video .gallery-video:hover>.material-icons[data-v-0fa4f0be]{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.product-video .iframe-wrapper[data-v-0fa4f0be]{left:0}.product-video .iframe-wrapper .iframe-container[data-v-0fa4f0be]{padding-top:56.25%}.product-video .iframe-wrapper .iframe-container iframe[data-v-0fa4f0be]{top:0;left:0;border:none}\n",""])},977:function(e,t,a){"use strict";var i={name:"LoaderScoped"},o=(a(957),a(123)),n={components:{LoaderScoped:Object(o.a)(i,(function(){var e=this.$createElement;this._self._c;return this._m(0)}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"loader-container absolute"},[t("div",{staticClass:"loader-inner-container absolute"},[t("div",{staticClass:"spinner relative"},[t("div",{staticClass:"double-bounce1 absolute w-100 brdr-circle bg-cl-th-success"}),this._v(" "),t("div",{staticClass:"double-bounce2 absolute w-100 brdr-circle bg-cl-th-success"})])])])}],!1,null,"e999325e",null).exports},mixins:[{name:"ProductVideo",props:{url:{type:String,required:!0},id:{type:String,required:!0},type:{type:String,required:!0},index:{type:Number,required:!1,default:0}},data:function(){return{videoStarted:!1,iframeLoaded:!1}},methods:{initVideo:function(){this.videoStarted=!0,this.$emit("video-started",this.index)},iframeIsLoaded:function(){this.iframeLoaded=!0}},computed:{embedUrl:function(){switch(this.type){case"youtube":return"https://www.youtube.com/embed/"+this.id+"?autoplay=1";case"vimeo":return"https://player.vimeo.com/video/"+this.id+"?autoplay=1"}}}}]},r=(a(959),Object(o.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"product-video absolute w-100 h-100 flex"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.videoStarted,expression:"!videoStarted"}],staticClass:"gallery-video absolute w-100 h-100",on:{click:e.initVideo}},[a("i",{staticClass:"material-icons absolute"},[e._v("play_circle_outline")])]),e._v(" "),e.videoStarted?a("div",{staticClass:"iframe-wrapper absolute w-100"},[e.iframeLoaded?e._e():a("LoaderScoped"),e._v(" "),a("div",{staticClass:"iframe-container w-100"},[a("iframe",{staticClass:"absolute w-100 h-100",attrs:{src:e.embedUrl,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",webkitallowfullscreen:"",mozallowfullscreen:"",allowfullscreen:""},on:{load:function(t){return e.iframeIsLoaded()}}})])],1):e._e()])}),[],!1,null,"0fa4f0be",null));t.a=r.exports}}]); //# sourceMappingURL=vsf-product-gallery-carousel.56c1b3df03a7533fb193.js.map