(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[236],{B4Tn:function(t,e,i){"use strict";i("FF1E")},FF1E:function(t,e,i){var s=i("LboF"),n=i("c9tC");"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[t.i,n,""]]);var r={insert:"head",singleton:!1};s(n,r);t.exports=n.locals||{}},c9tC:function(t,e,i){"use strict";i.r(e);var s=i("JPst"),n=i.n(s)()(!1);n.push([t.i,".tb-w-slider[data-v-7278316a]{\n  position:static\n}\n.tb-w-slider__prev[data-v-7278316a],.tb-w-slider__next[data-v-7278316a]{\n  display:none;\n  position:absolute;\n  top:50%;\n  padding:.5rem;\n  border-radius:50%;\n  background-color:#fff;\n  border:1px solid #DEE1E8;\n  z-index:1\n}\n.medium .tb-w-slider__prev[data-v-7278316a],.medium .tb-w-slider__next[data-v-7278316a]{\n  display:block\n}\n.tb-w-slider__prev.swiper-button-disabled[data-v-7278316a],.tb-w-slider__next.swiper-button-disabled[data-v-7278316a]{\n  display:none\n}\n.tb-w-slider__prev[data-v-7278316a]{\n  left:0;\n  right:auto;\n  transform:translate(-50%, -50%)\n}\n.tb-w-slider__next[data-v-7278316a]{\n  left:auto;\n  right:0;\n  transform:translate(50%, -50%)\n}",""]),e.default=n},qV7p:function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return n}));const s={xs:382,sm:608,md:736,lg:992,xl:1248},n={xs:375,sm:640,md:768,lg:1024,xl:1280}},uZfI:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"relative"},[i("swiper",{ref:"mySwiper",staticClass:"tb-w-slider",class:{small:t.$eq.small,medium:t.$eq.medium,large:t.$eq.large,"tb-w-slider--large":"large"===t.itemSize},attrs:{options:t.swiperOptions}},[t._t("default"),t._v(" "),t.showButtons?i("div",{staticClass:"tb-w-slider__prev",attrs:{slot:"button-prev"},slot:"button-prev"},[i("tb-w-icon-button",{attrs:{icon:"chevron-left",size:"1",color:"gray-600",disabled:t.swiper.isBeginning},on:{click:function(e){return t.swiper.slidePrev()}}})],1):t._e(),t._v(" "),t.showButtons?i("div",{staticClass:"tb-w-slider__next",attrs:{slot:"button-next"},slot:"button-next"},[i("tb-w-icon-button",{attrs:{icon:"chevron-right",size:"1",color:"gray-600",disabled:t.swiper.isEnd},on:{click:function(e){return t.swiper.slideNext()}}})],1):t._e()],2)],1)};s._withStripped=!0;var n=i("qV7p"),r={name:"TbWSlider",components:{Swiper:i("chKg").Swiper},props:{itemSize:{type:String,default:"medium"}},eq:{breakpoints:{small:{minWidth:n.a.xs},medium:{minWidth:n.a.md},large:{minWidth:n.a.lg}}},data:()=>({swiper:null,numberOfSlides:0,swiperOptions:{slidesPerView:"auto",spaceBetween:16,watchOverflow:!0,observer:!0}}),created(){const t=this;this.swiperOptions.on={init(){t.onSwiperInit(this)},observerUpdate(){t.updateNumberOfSlides(this)}}},methods:{onSwiperInit(t){this.swiper=t,this.updateNumberOfSlides(t)},updateNumberOfSlides(t){this.numberOfSlides=t.slidesGrid.length}},computed:{showButtons(){return this.numberOfSlides>3}}},a=(i("B4Tn"),i("KHd+")),o=Object(a.a)(r,s,[],!1,null,"7278316a",null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-slider.vue";e.default=o.exports}}]);