"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[871],{62003:function(e,r,t){t.d(r,{s:function(){return ChevronLeft}});var l=t(85893);let ChevronLeft=e=>(0,l.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})},86998:function(e,r,t){t.d(r,{V:function(){return ChevronRightNew},_:function(){return ChevronRight}});var l=t(85893);let ChevronRight=e=>(0,l.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),ChevronRightNew=e=>(0,l.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M5.849 5c0 .18-.069.358-.205.495l-4.3 4.3a.7.7 0 11-.99-.99L4.157 5 .354 1.196a.7.7 0 01.99-.99l4.3 4.299A.698.698 0 015.849 5z",fill:"currentColor"})})},10608:function(e,r,t){t.r(r),t.d(r,{default:function(){return ReviewImageModal}});var l=t(85893),n=t(25675),i=t.n(n),o=t(45009),s=t(62003),a=t(86998),d=t(18537),u=t(36805),c=t(67294);let h={slidesPerView:1,spaceBetween:0};function ReviewImageModal(){var e,r;let{data:t}=(0,o.X9)(),[n,v]=(0,c.useState)(null),x=(0,c.useRef)(null),f=(0,c.useRef)(null);return(0,l.jsxs)("div",{className:"m-auto block w-full rounded p-6 xs:w-[450px] xs:p-5 md:w-[590px] lg:w-[720px] lg:p-7",children:[(0,l.jsxs)("div",{className:"relative mb-3 w-full overflow-hidden xs:mt-8 md:mt-10 xl:mb-5",children:[(0,l.jsx)(u.tq,{id:"reviewGallery",speed:400,allowTouchMove:!1,thumbs:{swiper:n},modules:[u.W_,u.o3],navigation:{prevEl:x.current,nextEl:f.current},...h,children:null==t?void 0:null===(e=t.images)||void 0===e?void 0:e.map(e=>{var r;return(0,l.jsx)(u.o5,{className:"relative flex aspect-[3/2] items-center justify-center bg-light-200 dark:bg-dark-200",children:(0,l.jsx)(i(),{fill:!0,src:null!==(r=null==e?void 0:e.original)&&void 0!==r?r:d.Z,alt:"Product gallery ".concat(e.id),className:"object-contain"})},"review-gallery-".concat(e.id))})}),(0,l.jsxs)("div",{className:"absolute top-2/4 z-10 flex w-full items-center justify-between px-2.5 xl:px-4",children:[(0,l.jsx)("div",{ref:x,className:"flex h-8 w-8 -translate-y-1/2 transform cursor-pointer items-center justify-center rounded-full border border-light-400 bg-light text-dark/90 shadow-xl transition duration-300 hover:bg-light-200 hover:text-brand-dark focus:outline-none xl:h-9 xl:w-9",children:(0,l.jsx)(s.s,{className:"h-4 w-4 xl:h-[18px] xl:w-[18px]"})}),(0,l.jsx)("div",{ref:f,className:"flex h-8 w-8 -translate-y-1/2 transform cursor-pointer items-center justify-center rounded-full border border-light-400 bg-light text-dark/90 shadow-xl transition duration-300 hover:bg-light-200 hover:text-brand-dark focus:outline-none xl:h-9 xl:w-9",children:(0,l.jsx)(a._,{className:"h-4 w-4 xl:h-[18px] xl:w-[18px]"})})]})]}),(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)(u.tq,{id:"reviewGalleryThumbs",freeMode:!0,observer:!0,slidesPerView:4,onSwiper:v,observeParents:!0,watchSlidesProgress:!0,children:null==t?void 0:null===(r=t.images)||void 0===r?void 0:r.map(e=>{var r;return(0,l.jsx)(u.o5,{className:"relative flex aspect-[3/2] cursor-pointer items-center justify-center border border-light-500 transition hover:opacity-75 dark:border-dark-500",children:(0,l.jsx)(i(),{fill:!0,src:null!==(r=null==e?void 0:e.thumbnail)&&void 0!==r?r:d.Z,alt:"Review thumb gallery ".concat(e.id),className:"object-cover"})},"review-thumb-gallery-".concat(e.id))})})})]})}},36805:function(e,r,t){t.d(r,{Rv:function(){return l.Rv},W_:function(){return l.W_},o3:function(){return l.o3},o5:function(){return n.o5},tl:function(){return l.tl},tq:function(){return n.tq}}),t(60439),t(7025),t(19360),t(56161);var l=t(99304),n=t(2261)}}]);