<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window.webpackJsonp=window.webpackJsonp||[]).push([[102],{595:function(t,e,s){},597:function(t,e,s){var a=s(5),r=s(44),i=s(25),o=/"/g,n=a("".replace);t.exports=function(t,e,s,a){var c=i(r(t)),d="&lt;"+e;return""!==s&amp;&amp;(d+=" "+s+'="'+n(i(a),o,"&amp;quot;")+'"'),d+"&gt;"+c+"&lt;/"+e+"&gt;"}},598:function(t,e,s){var a=s(4);t.exports=function(t){return a((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length&gt;3}))}},602:function(t,e,s){"use strict";s(595)},604:function(t,e,s){"use strict";s.r(e);s(97),s(39),s(26),s(21),s(17),s(15),s(29),s(18),s(30);var a=s(1),r=s(7),i=(s(16),s(6),s(68),s(96),s(95)),o=s(559),n=s(593),c=s(594);function d(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&amp;&amp;(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t){for(var e=1;e&lt;arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?d(Object(s),!0).forEach((function(e){Object(r.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):d(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var u={components:{btnLoader:o.default,CheckStock:n.default,StockStatus:c.default},props:{grid:{default:!0,type:Boolean},data:{type:Object,required:!0},favourite:{type:Boolean,default:!1}},data:function(){return{disabled:!1,showPoPup:!1,amount:1,swiperOption:{centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0,bulletClass:"bullet-product",bulletActiveClass:"bullet-product-active"}},availableToAdd:10,renderSlider:!0}},computed:l(l({},Object(i.c)({getBasket:"cart/getProducts",getFavourites:"favourite/getFavProducts",getCompare:"compare/getProducts"})),{},{inCompare:function(){var t=this;return this.getCompare.some((function(e){return e.slug===t.data.slug}))},inFavourite:function(){var t=this;return this.getFavourites.some((function(e){return e.product.slug===t.data.slug}))}}),watch:{grid:function(t){t&amp;&amp;this.updateManually()},getBasket:function(){this.setAmountAvailToAdd()}},mounted:function(){this.setAmountAvailToAdd()},methods:l(l(l({},Object(i.d)({addToCompareList:"compare/addProduct",removeFromCompare:"compare/deleteProduct",addProductPopUp:"cart/addProductPopUp"})),Object(i.b)({addToFavouriteList:"favourite/addProductToFavourite",addToCartList:"cart/addProduct",removeFromFavourite:"favourite/removeFromFavourite"})),{},{setAmountAvailToAdd:function(){var t=this,e=this.getBasket.find((function(e){return e.id===t.data.id}));this.availableToAdd=e?this.data.balance-e.count:this.data.balance},addToCompare:function(){this.inCompare?this.removeFromCompare(this.data):this.addToCompareList(this.data)},addToFavourite:function(){var t=this;return Object(a.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.inFavourite){e.next=5;break}return e.next=3,t.removeFromFavourite(JSON.parse(JSON.stringify(t.data)));case 3:e.next=7;break;case 5:return e.next=7,t.addToFavouriteList(JSON.parse(JSON.stringify(t.data)));case 7:case"end":return e.stop()}}),e)})))()},addToCart:function(){var t=this;return Object(a.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return dataLayer.push({event:"click_buton_adauga_in_cos",page:window.location.href}),t.amount=0,t.total=0,t.disabled=!0,e.next=6,t.addToCartList(JSON.parse(JSON.stringify(t.data)));case 6:t.disabled=!1,t.addProductPopUp(t.data);case 8:case"end":return e.stop()}}),e)})))()},updateManually:function(){var t=this;this.renderSlider=!1,setTimeout((function(){t.renderSlider=!0}),100)},closePopup:function(){this.showPoPup=!1},selectLabel:function(t){t.url&amp;&amp;(document.location.href=t.url)}})},p=(s(602),s(60)),v=Object(p.a)(u,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-card",class:{list:!t.grid,noStock:!t.data.is_stock}},[t.grid?[e("div",{staticClass:"inner"},[t.favourite?t._e():e("div",{staticClass:"labels"},t._l(t.data.label.slice().sort((function(t,e){return t.sort-e.sort})),(function(s){return e("div",{staticClass:"product-card__badge",style:{color:s.font_color,background:s.bg_color,"font-size":"".concat(s.font,"px")},on:{click:function(e){return t.selectLabel(s)}}},[t._v("\n          "+t._s(s.name)+"\n        ")])})),0),t._v(" "),e("div",{staticClass:"product-card__icons",class:{center:t.favourite}},[e("div",{staticClass:"icon compare",class:{active:t.inCompare},on:{click:t.addToCompare}},[e("img",{attrs:{src:"/icons/scales".concat(t.inCompare?"-white":"",".svg"),alt:""}})]),t._v(" "),e("div",{staticClass:"icon favourite",class:{active:t.inFavourite},on:{click:t.addToFavourite}},[e("img",{attrs:{src:"/icons/heart".concat(t.inFavourite?"-white":"",".svg"),alt:""}})])]),t._v(" "),e("div",{on:{mouseover:function(e){return t.$emit("sliderHover",!0)},mouseleave:function(e){return t.$emit("sliderHover",!1)}}},[t.renderSlider?e("swiper",{staticClass:"swiper",attrs:{options:t.swiperOption}},[t._l(t.data.product_gallery.length&amp;&amp;t.data.product_gallery||[{image:"/images/product-placeholder.png",id:1}],(function(s){return e("swiper-slide",{key:s.id},[e("nuxt-link",{staticClass:"product-card__img",attrs:{to:t.localePath("/produs/".concat(t.data.slug))}},[e("img",{attrs:{src:s.image,alt:""}})])],1)})),t._v(" "),t.data.product_gallery.length&gt;1?e("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}):t._e()],2):t._e()],1),t._v(" "),e("div",{staticClass:"text-black-12 product-card__code"},[t._v("\n        "+t._s(t.$t("code"))+": "+t._s(t.data.code)+"\n      ")]),t._v(" "),t.data.cashback?e("div",{staticClass:"text-black-12--bold"},[t._v("\n        Cashback "+t._s(t.data.cashback)+" "+t._s(t.$t("currency"))+"\n      ")]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"product-card__description",attrs:{to:t.localePath("/produs/".concat(t.data.slug))}},[t._v("\n        "+t._s(t.data.name)+"\n      ")]),t._v(" "),e("div",{staticClass:"product-card__footer"},[e("div",{staticClass:"product-card__stock"},[e("stock-status",{attrs:{product:t.data}}),t._v(" "),e("check-stock",{attrs:{data:t.data}},[e("button",{staticClass:"btn btn--grey-outline check-stock"},[t._v(t._s(t.$t("productPage.avaliability")))])])],1),t._v(" "),e("div",{staticClass:"product-card__price-action"},[e("div",{staticClass:"product-card__price"},[t.data.promotion_price?e("div",{staticClass:"sale"},[e("div",{staticClass:"priceold"},[t._v("\n                "+t._s(t._f("numFormat")(t.data.price))+" "+t._s(t.$t("currency"))+"\n              ")]),t._v(" "),e("div",{staticClass:"badge badge--dark-grey"},[t._v("\n                - "+t._s(t._f("numFormat")(t.data.price-t.data.promotion_price))+"\n                "+t._s(t.$t("currency"))+"\n              ")])]):t._e(),t._v(" "),t.data.is_stock?e("span",[t._v(t._s(t._f("numFormat")(t.data.promotion_price||t.data.price))+"\n              "+t._s(t.$t("currency")))]):e("span",{staticClass:"no_stock"},[t._v("\n              "+t._s(t.$t("productPage.outStock"))+"\n            ")])]),t._v(" "),e("button",{staticClass:"product-card__add",attrs:{disabled:t.disabled||!t.data.is_stock||t.availableToAdd&lt;=0},on:{click:t.addToCart}},[t.disabled?e("btnLoader"):e("img",{attrs:{src:"/icons/add-cart.svg",alt:""}})],1)])])],1)]:[e("div",{staticClass:"col col-left"},[e("nuxt-link",{staticClass:"product-card__img",attrs:{to:t.localePath("/produs/".concat(t.data.slug))}},[e("img",{attrs:{src:t.data.product_gallery[0].image||"/images/product-placeholder.png",alt:""}})]),t._v(" "),e("div",{staticClass:"product-card__details"},[e("nuxt-link",{staticClass:"name",attrs:{to:t.localePath("/produs/".concat(t.data.slug))}},[t._v("\n        "+t._s(t.data.name)+"\n        ")]),t._v(" "),e("div",{staticClass:"text-black-12 list-code",staticStyle:{"margin-top":"1em"}},[t._v("\n        "+t._s(t.$t("code"))+": "+t._s(t.data.code)+"\n      ")]),t._v(" "),t.data.product_attributes?e("div",{staticClass:"list-items"},t._l(t.$options.filters.generalAttrs(t.data.product_attributes),(function(s){return e("div",{key:s.propetry_name.name,staticClass:"list-item"},[e("div",{staticClass:"detail"},[t._v(t._s(s.propetry_name.name))]),t._v(" "),e("div",{staticClass:"value"},[t._v("\n              "+t._s(s.propetry_values[0].attribute_value__name)+"\n            ")])])})),0):t._e()],1)],1),t._v(" "),e("div",{staticClass:"col col-right"},[t.data.cashback?e("div",{staticClass:"text-black-12--bold cashback"},[t._v("\n        Cashback "+t._s(t.data.cashback)+" "+t._s(t.$t("currency"))+"\n      ")]):t._e(),t._v(" "),e("div",{staticClass:"product-card__price"},[t.data.promotion_price?e("div",{staticClass:"sale"},[e("div",{staticClass:"amount"},[t._v("\n            "+t._s(t._f("numFormat")(t.data.price))+" "+t._s(t.$t("currency"))+"\n          ")]),t._v(" "),e("div",{staticClass:"badge"},[t._v("\n            - "+t._s(t._f("numFormat")(t.data.price-t.data.promotion_price))+"\n            "+t._s(t.$t("currency"))+"\n          ")])]):t._e(),t._v(" "),t.data.is_stock?e("div",{staticClass:"prc"},[t._v("\n          "+t._s(t._f("numFormat")(t.data.promotion_price||t.data.price))),e("span",{staticClass:"unit"},[t._v(t._s(t.$t("currency")))])]):e("span",{staticClass:"no_stock"},[t._v("\n            "+t._s(t.$t("productPage.outStock"))+"\n          ")])]),t._v(" "),e("div",{staticClass:"product-card__actions"},[e("div",{staticClass:"icon",on:{click:t.addToCompare}},[e("img",{attrs:{src:"/icons/scales.svg",alt:""}})]),t._v(" "),e("div",{staticClass:"icon",on:{click:t.addToFavourite}},[e("img",{attrs:{src:"/icons/heart.svg",alt:""}})]),t._v(" "),e("button",{staticClass:"btn btn--yellow",attrs:{disabled:t.disabled||!t.data.is_stock||t.availableToAdd&lt;=0},on:{click:t.addToCart}},[e("img",{attrs:{src:"/icons/cart-add.svg",alt:""}}),t._v(" "),e("span",[t._v(t._s(t.$t("buttons.addToCart")))])])])])],t._v(" "),e("transition",{attrs:{name:"fade"}})],2)}),[],!1,null,"11a028ea",null);e.default=v.exports},630:function(t,e,s){},631:function(t,e,s){},653:function(t,e,s){"use strict";s(630)},654:function(t,e,s){"use strict";s(631)},691:function(t,e,s){},711:function(t,e,s){"use strict";s.r(e);s(6),s(35),s(34);var a={components:{ProductCard:function(){return Promise.resolve().then(s.bind(null,604))}},props:{title:{type:String,required:!0},products:{type:Array,required:!0},fluid:{type:Boolean,default:!1},btnLink:{type:String,required:!0},showByStatus:{type:Boolean,default:!1}},data:function(){return{swiperOption:{spaceBetween:24,freeMode:!0,navigation:{nextEl:".product-button-next",prevEl:".product-button-prev"},Observer:!0,ObserveParents:!0,allowTouchMove:!0,breakpoints:{1461:{slidesPerView:this.fluid?5:4,spaceBetween:8},1152:{slidesPerView:this.fluid?4:3,spaceBetween:8},768:{slidesPerView:3,spaceBetween:8},576:{slidesPerView:2,spaceBetween:8},0:{slidesPerView:1,spaceBetween:8}}}}},computed:{},methods:{handleSliderSwipe:function(t){this.mySwiper.allowTouchMove=!t}}},r=(s(653),s(60)),i=Object(r.a)(a,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"product-carousel",class:{marginBottom:t.products.length&lt;=6}},[e("div",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),e("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],ref:"mySwiper",staticClass:"swiper",attrs:{"auto-destroy":!1}},[e("div",{staticClass:"swiper-wrapper"},t._l(t.products,(function(s,a){return e("div",{key:a,staticClass:"swiper-slide"},[!t.showByStatus||t.showByStatus&amp;&amp;s.is_active?e("ProductCard",{attrs:{data:s.product||s},on:{sliderHover:t.handleSliderSwipe}}):t._e()],1)})),0),t._v(" "),e("div",{staticClass:"product-button-next",attrs:{slot:"button-next"},slot:"button-next"},[e("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",[e("rect",{attrs:{width:"48",height:"48",rx:"24",fill:"#181818"}}),t._v(" "),e("path",{attrs:{d:"M21.625 17.25L28.375 24L21.625 30.75",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),t._v(" "),e("div",{staticClass:"product-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[e("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",[e("rect",{attrs:{width:"48",height:"48",rx:"24",fill:"#181818"}}),t._v(" "),e("path",{attrs:{d:"M26.375 17.25L19.625 24L26.375 30.75",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])])]),t._v(" "),t.products.length&gt;6?e("div",{staticClass:"row end mt-12"},[e("nuxt-link",{staticClass:"btn btn--yellow",attrs:{to:t.localePath(t.btnLink)}},[t._v("\n      "+t._s(t.$t("buttons.showMore"))+"\n    ")])],1):t._e()])}),[],!1,null,null,null);e.default=i.exports;installComponents(i,{ProductCard:s(604).default})},712:function(t,e,s){"use strict";s.r(e);s(39);var a={props:{title:{type:String,required:!0},products:{type:Array,required:!0},fluid:{type:Boolean,default:!1},showByStatus:{type:Boolean,default:!1}},data:function(){return{swiperOption:{spaceBetween:24,freeMode:!0,navigation:{nextEl:".product-button-next",prevEl:".product-button-prev"},Observer:!0,ObserveParents:!0,allowTouchMove:!0,breakpoints:{1461:{slidesPerView:this.fluid?6:5,spaceBetween:8},1152:{slidesPerView:this.fluid?5:4,spaceBetween:8},768:{slidesPerView:4,spaceBetween:8},576:{slidesPerView:3,spaceBetween:8},370:{slidesPerView:2,spaceBetween:8},0:{slidesPerView:1,spaceBetween:8}}}}},computed:{},methods:{handleSliderSwipe:function(t){this.mySwiper.allowTouchMove=!t}}},r=(s(654),s(60)),i=Object(r.a)(a,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"product-carousel",class:{marginBottom:t.products.length&lt;=6}},[t.products.length?e("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),e("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],ref:"mySwiper",staticClass:"swiper",attrs:{"auto-destroy":!1}},[e("div",{staticClass:"swiper-wrapper"},t._l(t.products.slice(0,15),(function(s,a){return e("div",{key:a,staticClass:"swiper-slide"},[!t.showByStatus||t.showByStatus&amp;&amp;s.is_active?e("ProductCard",{attrs:{data:s.accessory||s},on:{sliderHover:t.handleSliderSwipe}}):t._e()],1)})),0),t._v(" "),e("div",{staticClass:"product-button-next",attrs:{slot:"button-next"},slot:"button-next"},[e("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",[e("rect",{attrs:{width:"48",height:"48",rx:"24",fill:"#181818"}}),t._v(" "),e("path",{attrs:{d:"M21.625 17.25L28.375 24L21.625 30.75",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),t._v(" "),e("div",{staticClass:"product-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[e("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",[e("rect",{attrs:{width:"48",height:"48",rx:"24",fill:"#181818"}}),t._v(" "),e("path",{attrs:{d:"M26.375 17.25L19.625 24L26.375 30.75",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])])])])}),[],!1,null,null,null);e.default=i.exports;installComponents(i,{ProductCard:s(604).default})},756:function(t,e,s){"use strict";var a=s(3),r=s(597);a({target:"String",proto:!0,forced:s(598)("anchor")},{anchor:function(t){return r(this,"a","name",t)}})},757:function(t,e,s){"use strict";s(691)},825:function(t,e,s){"use strict";s.r(e);s(26),s(33),s(17),s(47),s(15),s(6),s(63),s(205),s(31),s(21),s(29),s(18),s(30);var a=s(7),r=s(1),i=(s(16),s(35),s(34),s(97),s(756),s(39),s(161),s(95));function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&amp;&amp;(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function n(t){for(var e=1;e&lt;arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?o(Object(s),!0).forEach((function(e){Object(a.a)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var c={name:"Produs",components:{ViewedProductsSlider:function(){return Promise.resolve().then(s.bind(null,663))},ProductCarouselAcces:function(){return Promise.resolve().then(s.bind(null,712))},ImagesSlider:function(){return s.e(15).then(s.bind(null,836))},BuyOptions:function(){return s.e(115).then(s.bind(null,777))},ProductCarousel:function(){return Promise.resolve().then(s.bind(null,711))}},asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var s,a,r,i,o,n,c,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=t.app,a=t.params,r=t.error,e.prev=1,e.next=4,s.$api.$get("shop/product/".concat(a.pathMatch,"/"));case 4:(i=e.sent).product_balance.sort((function(t,e){return t.store.sorted-e.store.sorted})),e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(1),e.abrupt("return",r({statusCode:404,message:e.t0}));case 12:return n=(o=i).category,c=o.subcategory,d=o.subsubcategory,e.abrupt("return",{product:i,category:n,subcategory:c,subsubcategory:d});case 14:case"end":return e.stop()}}),e,null,[[1,8]])})))()},data:function(){return{section:"description",catPath:"",catName:"",buyOptionsMounted:!1}},head:function(){var t,e,s,a,r,i;return{title:"".concat(null===(t=this.product)||void 0===t?void 0:t.name," - VOLTA.MD"),meta:[{hid:"description",name:"description",content:null===(e=this.product)||void 0===e?void 0:e.meta_description},{hid:"og:title",property:"og:title",content:"".concat(null===(s=this.product)||void 0===s?void 0:s.name," - VOLTA.MD")},{hid:"og:type",property:"og:type",content:"website"},{hid:"og:url",property:"og:url",content:"https://volta.md"+this.$route.fullPath},{hid:"og:image",property:"og:image",content:null===(a=this.product)||void 0===a||null===(r=a.product_gallery[0])||void 0===r?void 0:r.image},{hid:"og:description",property:"og:description",content:null===(i=this.product)||void 0===i?void 0:i.meta_description}]}},jsonld:function(){var t,e,s,a,r,i,o={"@context":"http://schema.org","@graph":[{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:0,item:{"@id":"https://volta.md/",name:"Home"}},{"@type":"ListItem",position:1,item:{"@id":"https://volta.md/categorie-produs/",name:"ru"==this.$i18n.locale?"Каталог":"Catalog"}}]},{"@type":"Product",name:this.product.name,image:this.product.product_gallery.map((function(t){return t.image})),description:this.product.description,sku:this.product.code,mpn:this.product.code,brand:{"@type":"Brand",name:null===(t=this.product)||void 0===t||null===(e=t.brand)||void 0===e?void 0:e.name},offers:{"@type":"Offer",url:"https://volta.md".concat(this.$route.fullPath),priceCurrency:"MDL",price:this.product.promotion_price||this.product.price,availability:"https://schema.org/InStock",seller:{"@type":"Organization",name:"VOLTA"}}}]},n=o["@graph"][0].itemListElement,c=o["@graph"][1];return this.category&amp;&amp;n.push({"@type":"ListItem",position:n.length,item:{"@id":"https://volta.md/categorie-produs/".concat(this.category.slug,"/"),name:this.category.name}}),this.subcategory&amp;&amp;n.push({"@type":"ListItem",position:n.length,item:{"@id":"https://volta.md/categorie-produs/".concat(this.category.slug,"/").concat(this.subcategory.slug,"/"),name:this.subcategory.name}}),this.subsubcategory&amp;&amp;n.push({"@type":"ListItem",position:n.length,item:{"@id":"https://volta.md/categorie-produs/".concat(this.category.slug,"/").concat(this.subcategory.slug,"/").concat(this.subsubcategory.slug),name:this.subsubcategory.name}}),n.push({"@type":"ListItem",position:n.length,item:{"@id":"https://volta.md/produs/".concat(null===(s=this.$route)||void 0===s||null===(a=s.params)||void 0===a?void 0:a.pathMatch),name:null===(r=this.product)||void 0===r?void 0:r.name}}),this.product.rating&amp;&amp;(c.aggregateRating={"@type":"AggregateRating",ratingValue:"5",reviewCount:this.product.rating}),null!==(i=this.product)&amp;&amp;void 0!==i&amp;&amp;i.reviews.length&amp;&amp;(c.review=this.product.reviews.map((function(t){return{"@type":"Review",author:t.name,datePublished:t.date_creation,reviewBody:t.text,reviewRating:{"@type":"Rating",ratingValue:t.stars}}}))),o},computed:n({},Object(i.c)({categories:"category/getCategories"})),watch:{categories:function(){this.setCatPath()}},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return window.addEventListener("scroll",t.handleAnchor),t.setCatPath(),e.next=4,t.addViewedProduct(t.product);case 4:t.addViewForProduct(),(s=t.$refs.breadcrumbs).scrollLeft=s.scrollWidth;case 7:case"end":return e.stop()}}),e)})))()},beforeDestroy:function(){window.removeEventListener("scroll",this.handleAnchor)},methods:n(n({onCalltoPhone:function(t){dataLayer.push({event:"phone",page:window.location.href}),window.location.href="tel://"+t}},Object(i.b)({addViewedProduct:"products/addViewedProducts"})),{},{handleAnchor:function(){var t=window.pageYOffset+220;for(var e in this.$refs)t&gt;this.$refs[e].offsetTop-220&amp;&amp;(this.section=e);var s=this.$refs.anchor;s.offsetTop-t==160?s.classList.add("stick"):s.classList.remove("stick")},addViewForProduct:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.$post("main/add_views_to_product",{product_id:t.product.id});case 2:case"end":return e.stop()}}),e)})))()},setCatPath:function(){if(this.product.category.id){var t=this.categories[this.getCatIndex(this.product.category.id)];this.catName=t.name,this.catPath+=t.slug+"/"}if(this.product.subcategory&amp;&amp;this.product.subcategory.id){var e=this.categories[this.getCatIndex(this.product.category.id)].category_in_subcategory[this.getSubCatIndex(this.getCatIndex(this.product.category.id),this.product.subcategory.id)];this.catName=e.name,this.catPath+=e.slug+"/"}if(this.product.subsubcategory&amp;&amp;this.product.subsubcategory.id){var s=this.categories[this.getCatIndex(this.product.category.id)].category_in_subcategory[this.getSubCatIndex(this.getCatIndex(this.product.category.id),this.product.subcategory.id)].subsubcategory_in_subcategory[this.getSubSubCatIndex(this.getCatIndex(this.product.category.id),this.getSubCatIndex(this.getCatIndex(this.product.category.id),this.product.subcategory.id),this.product.subsubcategory.id)];this.catName=s.name,this.catPath+=s.slug}this.catPath=this.catPath.slice(0,this.catPath.length)},leaveReview:function(){this.$modal.show("review",{productId:this.product.id})},getCatIndex:function(t){return this.categories.findIndex((function(e){return e.id===t}))},getSubCatIndex:function(t,e){return this.categories[t].category_in_subcategory.findIndex((function(t){return t.id===e}))},getSubSubCatIndex:function(t,e,s){return this.categories[t].category_in_subcategory[e].subsubcategory_in_subcategory.findIndex((function(t){return t.id===s}))}})},d=(s(757),s(60)),l=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-page container",attrs:{typeof:"schema:Product"}},[e("div",{ref:"breadcrumbs",staticClass:"breadcrumbs"},[e("nuxt-link",{staticClass:"breadcrumbs__home",attrs:{to:t.localePath("/")}},[e("img",{attrs:{src:"/icons/home.svg",alt:""}})]),t._v(" "),t.category?e("nuxt-link",{staticClass:"breadcrumbs__item",attrs:{to:t.localePath("/categorie-produs/".concat(t.category.slug,"/"))}},[e("img",{attrs:{src:"/icons/point.svg",alt:""}}),t._v(" "),e("span",[t._v(t._s(t.category.name))])]):t._e(),t._v(" "),t.subcategory?e("nuxt-link",{staticClass:"breadcrumbs__item",attrs:{to:t.localePath("/categorie-produs/".concat(t.category.slug,"/").concat(t.subcategory.slug,"/"))}},[e("img",{attrs:{src:"/icons/point.svg",alt:""}}),t._v(" "),e("span",[t._v(t._s(t.subcategory.name))])]):t._e(),t._v(" "),t.subsubcategory?e("nuxt-link",{staticClass:"breadcrumbs__item",attrs:{to:t.localePath("/categorie-produs/".concat(t.category.slug,"/").concat(t.subcategory.slug,"/").concat(t.subsubcategory.slug,"/"))}},[e("img",{attrs:{src:"/icons/point.svg",alt:""}}),t._v(" "),e("span",[t._v(t._s(t.subsubcategory.name))])]):t._e()],1),t._v(" "),e("h1",{staticClass:"page-title"},[t._v("\n    "+t._s(t.product.name)+"\n  ")]),t._v(" "),"phone"===t.$mq?e("h1",{staticClass:"product-code"},[t._v("\n    cod: "+t._s(t.product.code)+"\n  ")]):t._e(),t._v(" "),e("div",{staticClass:"row space-between slider-buy"},[t.buyOptionsMounted?e("client-only",[e("ImagesSlider",{attrs:{labels:t.product.label,images:t.product.product_gallery}})],1):t._e(),t._v(" "),e("BuyOptions",{attrs:{"cat-name":t.subsubcategory?t.subsubcategory.name:t.subcategory.name,"cat-path":"".concat(t.category.slug,"/").concat(t.subsubcategory?t.subcategory.slug+"/"+t.subsubcategory.slug:t.subcategory.slug),data:t.product},on:{created:function(e){t.buyOptionsMounted=!0}}})],1),t._v(" "),e("div",{ref:"anchor",staticClass:"anchor"},[e("div",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:{el:"#description",offset:-220},expression:"{\n        el: '#description',\n        offset: -220,\n      }"}],staticClass:"anchor__item",class:{active:"description"===t.section},on:{click:function(e){t.section="description"}}},[t._v("\n      "+t._s(t.$t("productPage.anchor.descParams"))+"\n    ")]),t._v(" "),e("div",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:{el:"#reviews",offset:-220},expression:"{\n        el: '#reviews',\n        offset: -220,\n      }"}],staticClass:"anchor__item",class:{active:"reviews"===t.section},on:{click:function(e){t.section="reviews"}}},[t._v("\n      "+t._s(t.$t("productPage.anchor.reviews"))+"\n    ")]),t._v(" "),e("div",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:{el:"#similar",offset:-220},expression:"{\n        el: '#similar',\n        offset: -220,\n      }"}],staticClass:"anchor__item",class:{active:"similar"===t.section},on:{click:function(e){t.section="similar"}}},[t._v("\n      "+t._s(t.$t("productPage.anchor.similarProducts"))+"\n    ")]),t._v(" "),e("div",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:{el:"#viewed",offset:-220},expression:"{\n        el: '#viewed',\n        offset: -220,\n      }"}],staticClass:"anchor__item",class:{active:"viewed"===t.section},on:{click:function(e){t.section="viewed"}}},[t._v("\n      "+t._s(t.$t("productPage.anchor.recentlyViewed"))+"\n    ")]),t._v(" "),t.product.product_accessory.length?e("div",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:{el:"#accesories",offset:-220},expression:"{\n      el: '#accesories',\n      offset: -220\n      }"}],staticClass:"anchor__item",class:{active:"accesories"===t.section},on:{click:function(e){t.section="accesories"}}},[t._v("\n      "+t._s(t.$t("productPage.anchor.accesories"))+"\n    ")]):t._e()]),t._v(" "),e("section",{ref:"description",staticClass:"marginTop product-page__section",attrs:{id:"description"}},[e("div",{staticClass:"about-item"},[e("div",{staticClass:"about-item__features"},[e("div",{staticClass:"product-page__section-title"},[t._v("\n          "+t._s(t.$t("productPage.paramsBlock.title"))+"\n        ")]),t._v(" "),e("div",{staticClass:"wrapper"},[e("div",{staticClass:"about-item__features-title"},[e("span",[t._v(t._s(t.$t("productPage.description.subtitle")))]),e("img",{attrs:{src:"/icons/arrow-down-black.svg",alt:""}})]),t._v(" "),e("div",{staticClass:"about-item__features-item"},t._l(t.product.product_attributes,(function(s){return e("div",{key:s.propetry_name.name,staticClass:"item-wrapper"},[e("div",{staticClass:"key"},[t._v(t._s(s.propetry_name.name))]),t._v(" "),e("div",{staticClass:"value"},[t._v("\n                "+t._s(s.propetry_values[0].attribute_value__name)+"\n              ")])])})),0)])]),t._v(" "),e("client-only",[e("div",{staticClass:"about-item__description"},[e("div",{staticClass:"product-page__section-title"},[t._v("\n            "+t._s(t.$t("productPage.description.title"))+"\n          ")]),t._v(" "),e("div",{staticClass:"wrapper"},[t.product.description?e("p",{domProps:{innerHTML:t._s(t.product.description)}}):e("div",{staticClass:"no-decr"},[e("img",{attrs:{src:"/icons/no-descr.svg",alt:""}}),t._v(" "),e("p",[t._v("\n                "+t._s(t.$t("productPage.description.noDescr"))+"\n              ")]),t._v(" "),e("a",{staticClass:"phone",attrs:{href:"tel:060 53 53 53"},on:{click:function(e){return t.onCalltoPhone("060 53 53 53")}}},[t._v("060 53 53 53")])]),t._v(" "),e("div",{staticClass:"disclaimer"},[e("p",[t._v(t._s(t.$t("disclaimer")))])])])])])],1)]),t._v(" "),e("section",{ref:"reviews",staticClass:"product-page__section",attrs:{id:"reviews"}},[e("div",{staticClass:"marginTop product-page__section-title"},[t._v("\n      "+t._s(t.$t("productPage.reviews.title"))+" ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).length)+")\n    ")]),t._v(" "),e("div",{staticClass:"comments-data"},[e("div",{staticClass:"comments-data__comments"},[t.product.reviews.filter((function(t){return t.is_active})).length?t._e():e("div",{staticClass:"no-comments"},[e("span",{staticClass:"text-black"},[t._v(t._s(t.$t("productPage.noReviewsFirstLine"))),e("br"),t._v(t._s(t.$t("productPage.noReviewsSecondLine")))])]),t._v(" "),t._l(t.product.reviews.filter((function(t){return t.is_active})),(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:s,expression:"review"}],key:s.id,staticClass:"item"},[e("div",{staticClass:"upper"},[e("div",{staticClass:"item__user"},[e("div",{staticClass:"item__user-avatar"},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:s.avatar?s.avatar:"/icons/review-plug.svg",alt:"",width:"100%",height:"100%"}})]),t._v(" "),e("div",{staticClass:"item__user-details"},[e("div",{staticClass:"item__user-name"},[t._v(t._s(s.name))]),t._v(" "),e("div",{staticClass:"item__user-status"},[t._v("\n                  "+t._s(s.specialization)+"\n                ")])])]),t._v(" "),e("div",{staticClass:"item__stats"},[e("div",{staticClass:"date"},[t._v("\n                "+t._s(t.$dayjs(s.date_creation).locale("ro"===t.$i18n.locale?"en":"ru").format("D MMM YYYY"))+"\n              ")]),t._v(" "),e("div",{staticClass:"stars"},t._l(new Array(5),(function(t,a){return e("img",{key:a.toString(),attrs:{src:a+1&lt;=s.stars?"/icons/star-big-gold.svg":"/icons/star-big-grey.svg",alt:""}})})),0)])]),t._v(" "),e("p",{staticClass:"item__text"},[t._v("\n            "+t._s(s.text)+"\n          ")])])}))],2),t._v(" "),e("div",{staticClass:"comments-data__stats"},[e("div",{staticClass:"upper"},[e("div",{staticClass:"info"},[e("div",{staticClass:"rating"},[t._v("\n              "+t._s(t.product.reviews.filter((function(t){return t.is_active})).length&gt;0?(t.product.reviews.filter((function(t){return t.is_active})).map((function(t){return t.stars})).reduce((function(t,e){return t+e}),0)/t.product.reviews.filter((function(t){return t.is_active})).length).toFixed(2):0)+"\n            ")]),t._v(" "),e("div",{staticClass:"of"},[t._v("din 5")])]),t._v(" "),e("div",{staticClass:"stats"},[e("div",{staticClass:"stats__item"},[t._m(0),t._v(" "),e("div",{staticClass:"percent"},[e("div",{staticClass:"voices",style:{width:t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 5===t.stars})).length/t.product.reviews.filter((function(t){return t.is_active})).length*100+"%"}})]),t._v(" "),e("div",{staticClass:"amount"},[t._v("\n                ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 5===t.stars})).length)+")\n              ")])]),t._v(" "),e("div",{staticClass:"stats__item"},[t._m(1),t._v(" "),e("div",{staticClass:"percent"},[e("div",{staticClass:"voices",style:{width:t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 4===t.stars})).length/t.product.reviews.filter((function(t){return t.is_active})).length*100+"%"}})]),t._v(" "),e("div",{staticClass:"amount"},[t._v("\n                ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 4===t.stars})).length)+")\n              ")])]),t._v(" "),e("div",{staticClass:"stats__item"},[t._m(2),t._v(" "),e("div",{staticClass:"percent"},[e("div",{staticClass:"voices",style:{width:t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 3===t.stars})).length/t.product.reviews.filter((function(t){return t.is_active})).length*100+"%"}})]),t._v(" "),e("div",{staticClass:"amount"},[t._v("\n                ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 3===t.stars})).length)+")\n              ")])]),t._v(" "),e("div",{staticClass:"stats__item"},[t._m(3),t._v(" "),t._m(4),t._v(" "),e("div",{staticClass:"amount"},[t._v("\n                ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 2===t.stars})).length)+")\n              ")])]),t._v(" "),e("div",{staticClass:"stats__item"},[t._m(5),t._v(" "),e("div",{staticClass:"percent"},[e("div",{staticClass:"voices",style:{width:t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 1===t.stars})).length/t.product.reviews.filter((function(t){return t.is_active})).length*100+"%"}})]),t._v(" "),e("div",{staticClass:"amount"},[t._v("\n                ("+t._s(t.product.reviews.filter((function(t){return t.is_active})).filter((function(t){return 1===t.stars})).length)+")\n              ")])])])]),t._v(" "),e("div",{staticClass:"btn btn--yellow",on:{click:t.leaveReview}},[t._v("\n          "+t._s(t.$t("productPage.reviews.leaveReview"))+"\n        ")])])])]),t._v(" "),e("section",{ref:"similar",staticClass:"marginTop product-page__section",attrs:{id:"similar"}},[t.product.similar_products.length?e("ProductCarousel",{attrs:{title:t.$t("slidersHeadings.similar"),products:t.product.similar_products,fluid:!0,"btn-link":"/categorie-produs/".concat(t.catPath)}}):t._e()],1),t._v(" "),e("client-only",[e("section",{ref:"viewed",staticClass:"product-page__section",class:{marginTop:t.product.similar_products.length&lt;=6},attrs:{id:"viewed"}},[e("ViewedProductsSlider")],1)]),t._v(" "),e("section",{ref:"accesories",staticClass:"marginTop product-page__section",attrs:{id:"accesories"}},[t.product.similar_products.length?e("ProductCarouselAcces",{attrs:{title:t.$t("productPage.anchor.accesories"),products:t.product.product_accessory,fluid:!0}}):t._e()],1)],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"rating"},[t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"rating"},[t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"rating"},[t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"rating"},[t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}}),t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}})])},function(){var t=this._self._c;return t("div",{staticClass:"percent"},[t("div",{staticClass:"voices"})])},function(){var t=this._self._c;return t("div",{staticClass:"rating"},[t("img",{attrs:{src:"/icons/star-small-gold.svg",alt:""}})])}],!1,null,null,null);e.default=l.exports;installComponents(l,{ProductCarousel:s(711).default,ViewedProductsSlider:s(663).default,ProductCarouselAcces:s(712).default})}}]);</pre></body></html>