"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[14],{26:(e,s,a)=>{a.d(s,{a:()=>i,b:()=>t,c:()=>o,d:()=>h,e:()=>n,f:()=>j});var r=a(20);const i=(e,s,a)=>{var i,t;const n=s.find((e=>e&&"Color"===e.name&&Array.isArray(e.values))),o=null!==(t=null===(i=null==n?void 0:n.values)||void 0===i?void 0:i.filter((e=>"string"==typeof e)))&&void 0!==t?t:[];if(0===o.length)return[];const c=new Set(e.map((e=>{if(!e)return;const[,s]=(0,r.c)(e.optionMap||{});return"string"==typeof s?s:void 0})).filter((e=>"string"==typeof e)));if(0===o.filter((e=>"string"==typeof e&&c.has(e))).length)return[];const d=new Set(e.filter((e=>e&&e.availableForSale&&e.optionMap&&"string"==typeof e.optionMap.Color)).map((e=>e.optionMap.Color))),p=new Set(e.filter((e=>e&&e.newColor&&e.optionMap&&"string"==typeof e.optionMap.Color)).map((e=>l(e.optionMap.Color)))),u=new Map(a.productColors.filter((e=>e&&"string"==typeof e.colorName)).map((e=>[e.colorName,e]))),g=o.map((e=>{if("string"!=typeof e)return;const s=u.get(e);if(!s)return;const a=d.has(e),r=!!p.has(l(e));return Object.assign(Object.assign({},s),{colorUrl:(s.isValid,s.colorUrl),availableForSale:a,newColor:r})})).filter(Boolean),[v]=s;return v?(g.sort(((e,s)=>v.values.indexOf(e.colorName)-v.values.indexOf(s.colorName))),g):[]},t=(e,s)=>{const[,a]=(0,r.c)(s.optionMap),i=e.variants.reduce(((e,s)=>{const[,i]=(0,r.c)(s.optionMap),[,t]=(0,r.b)(s.optionMap);return i&&t&&a?a===i&&s.availableForSale&&e.push(t):s.availableForSale&&t&&e.push(t),e}),[]),t=e.variants.reduce(((e,s)=>{const[,i]=(0,r.c)(s.optionMap),[,t]=(0,r.b)(s.optionMap);return i&&a?a===i&&!s.availableForSale&&t&&e.push(t):!s.availableForSale&&t&&e.push(t),e}),[]),n=[...i,...t];return[...e.options.flatMap((e=>"color"!==e.name.toLowerCase()?e.values:[""])).filter((e=>e)).filter((e=>!n.includes(e))),...t]},n=e=>{const s=new Date(e),a=s.getUTCDate().toString().padStart(2,"0");return`${(s.getUTCMonth()+1).toString().padStart(2,"0")}/${a}/${s.getUTCFullYear().toString()}`},l=e=>e.replace("/"," ").replace("-"," ").toLowerCase(),o=(e,s,a,r,i)=>{if(r&&(null==a?void 0:a.some((e=>e.discountValue>0)))||i)return{colorsWithNormalPrice:e,colorsWithSalePrice:[],colorsWithDeepSalePrice:[]};if(e.some((e=>{const a=d(s,e).map((e=>parseFloat(e.priceV2.amount)));return new Set(a).size>1})))return{colorsWithNormalPrice:e,colorsWithSalePrice:[],colorsWithDeepSalePrice:[]};const{colorsWithNormalPrice:t,colorsWithSalePrice:n}=c(e,s),l=p(n),o=u(n,l),h=g(n,l);if(0===t.length){const e=p(h),s=u(h,e),a=g(h,e);return{colorsWithNormalPrice:v(o),colorsWithSalePrice:v(s),colorsWithDeepSalePrice:v(a),firstTierWithRedPrice:!0}}return{colorsWithNormalPrice:v(t),colorsWithSalePrice:v(o),colorsWithDeepSalePrice:v(h)}},c=(e,s)=>e.reduce(((e,a)=>{var r,i,t;const n=d(s,a);if(n.length>0){const l=parseFloat((null===(r=n[0])||void 0===r?void 0:r.priceV2.amount)||"");l>=parseFloat((null===(t=null===(i=n[0])||void 0===i?void 0:i.compareAtPrice)||void 0===t?void 0:t.amount)||`${l}`)&&!s.compareAtPrice?e.colorsWithNormalPrice.push({color:a,price:`${l}`}):e.colorsWithSalePrice.push({color:a,price:`${l}`})}return e}),{colorsWithNormalPrice:[],colorsWithSalePrice:[]}),d=(e,s)=>{const a=l(s.colorName);return e.variants.filter((e=>l(e.optionMap.Color||"")===a))},p=e=>e.reduce(((e,s)=>{const a=parseFloat(s.price);return a>e?a:e}),0),u=(e,s)=>e.filter((e=>parseFloat(e.price)===s)),g=(e,s)=>e.filter((e=>parseFloat(e.price)e.map((e=>e.color)),h=e=>Boolean(e.title),j=(e,s)=>{if(!e)return;const a=(e=[])=>e.map((e=>s.find((s=>s.colorName===e)))).filter((e=>void 0!==e));return{firstTierLabel:e.firstTierLabel,secondTierLabel:e.secondTierLabel,colors:[a(e.regularColor),a(e.limitedProductColor)]}}},97:(e,s,a)=>{a.d(s,{a:()=>h});var r=a(0),i=a(4),t=a(34),n=a(301),l=a(2);const{container:o,star:c,containerRating:d,starLarge:p,starMedium:u,specialHeightLine:g,fontSizeSmaller:v}=t.a,h=({filledStars:e,hasHalf:s,hasEmptyStars:a,emptyStars:t,color:h="#000",averageRating:j,reviewsCount:m,noReviewsLabel:w,reviewsCountSuffix:x,shouldDisplayRatingValue:f,isLargeStar:b=!1,isMediumStar:N=!1,PDPDynamicPricing:O})=>{const S=j.toFixed(2),C=0===m?w:f?` ${m} ${x}`:`${S} (${m} ${x})`,{handleScrollToReviews:R}={handleScrollToReviews:(0,l.useCallback)((()=>{const e=document.getElementById("#reviews");if(!e)return;const{offsetTop:s}=e,a=s-90;window.scrollTo(0,a)}),[])};return(0,r.jsxs)("div",Object.assign({className:(0,n.a)(o)},{children:[e.map((()=>(0,r.jsx)("span",Object.assign({className:(0,n.a)(c,b&&p,N&&u)},{children:(0,r.jsx)(i.T,{color:h})})))),s&&(0,r.jsx)("span",Object.assign({className:(0,n.a)(c,b&&p,N&&u)},{children:(0,r.jsx)(i.I,{color:h})})),a&&t.map((()=>(0,r.jsx)("span",Object.assign({className:(0,n.a)(c,b&&p,N&&u)},{children:(0,r.jsx)(i.T,{color:"#dcdcdc"})})))),(0,r.jsx)("div",{onClick:R,dangerouslySetInnerHTML:{__html:C},className:(0,n.a)(d,b&&g,f&&g,O&&v)})]}))}},70:(e,s,a)=>{a.d(s,{a:()=>Ke});var r=a(0),i=a(97),t=a(2),n=a(37),l=a(301),o=a(4),c=a(1),d=a(71),p=a(13);const u={initial:0,mode:"snap",slides:{perView:1},loop:!1};function g(e){return s=>{s.on("animationStarted",(()=>{const a=s.track.details.minIdx,r=s.track.details.maxIdx,i=s.animator.targetIdx||0;e({min:a,max:r,current:i})}))}}const{wrapper:v,arrowLeft:h,arrowRight:j,disable:m}=d.a,w=({slides:e,isOpen:s})=>{const{carouselRef:a,handleSlideNext:i,handleSlidePrev:n,slideIdx:{current:c,min:d,max:w}}=(e=>{const[s,a]=(0,t.useState)(!0),[r,i]=(0,t.useState)({min:0,max:1,current:0}),[n,l]=(0,p.a)(u,[g(i)]);var o,c;(0,t.useEffect)((o=l,c=u,()=>(o.current&&o.current.update(Object.assign({},c)),()=>{o.current&&o.current.destroy()})),[l.current,e]);const d=(0,t.useCallback)((e=>{e.stopPropagation(),l.current&&l.current.prev()}),[l.current,e]),v=(0,t.useCallback)((e=>{e.stopPropagation(),l.current&&l.current.next()}),[l.current,e]);return(0,t.useEffect)((()=>{a(!1)}),[]),{carouselRef:n,isJsDisabled:s,instanceRef:l,handleSlideNext:v,handleSlidePrev:d,slideIdx:r}})(s);return(0,r.jsxs)("div",Object.assign({className:v},{children:[(0,r.jsx)("a",Object.assign({className:(0,l.a)(h,c===d?m:""),onClick:n},{children:(0,r.jsx)(o.J,{})})),(0,r.jsx)("a",Object.assign({className:(0,l.a)(j,c===w?m:""),onClick:i},{children:(0,r.jsx)(o.K,{})})),(0,r.jsx)("div",Object.assign({className:(0,l.a)("keen-slider"),ref:a},{children:e.length>0&&e.map((({id:e,original_url:s},a)=>(0,r.jsx)("div",Object.assign({className:(0,l.a)(`keen-slider__slide number-slide${a}`)},{children:(0,r.jsx)("img",{src:s,alt:"slide",loading:"lazy"})}),e)))}))]}))},{wrapper:x,wrapperTopBar:f,wrapperTopBarTitle:b,wrapperDrawer:N,wrapperDrawerOpen:O,wrapperDrawerCloseBtn:S,wrapperBackdrop:C,wrapperBackdropVisible:R,wrapperReview:y,wrapperReviewHeader:P,wrapperReviewHeaderDate:T,wrapperReviewDescription:k,wrapperReviewFooter:B,wrapperReviewFooterAuthor:D,wrapperReviewFooterVerifiedBuyer:M}=n.a,L=({author:e,date:s,verifiedBuyer:a,description:t,rating:n,images:c,isOpen:d,toggleDrawer:p})=>(0,r.jsxs)("div",Object.assign({className:x},{children:[(0,r.jsx)("div",{className:(0,l.a)(C,d&&R),onClick:p}),(0,r.jsxs)("div",Object.assign({className:(0,l.a)(N,d&&O)},{children:[(0,r.jsxs)("div",Object.assign({className:f},{children:[(0,r.jsx)("button",Object.assign({className:S,onClick:p},{children:(0,r.jsx)(o.m,{})})),(0,r.jsx)("h2",Object.assign({className:b},{children:"Customer Reviews"}))]})),(0,r.jsxs)("div",Object.assign({className:y},{children:[c&&c.length>1?(0,r.jsx)(w,{slides:c,isOpen:d}):null==c?void 0:c.map((e=>(0,r.jsx)("img",{src:e.original_url,alt:"review",loading:"lazy"},e.id))),(0,r.jsxs)("div",Object.assign({className:P},{children:[(0,r.jsx)(i.a,Object.assign({},n,{color:"#000",noReviewsLabel:"",reviewsCount:0,reviewsCountSuffix:"",averageRating:0,shouldDisplayRatingValue:!1,isMediumStar:!0})),(0,r.jsxs)("p",Object.assign({className:T},{children:[" ",s]}))]})),(0,r.jsx)("p",Object.assign({className:k},{children:t})),(0,r.jsxs)("div",Object.assign({className:B},{children:[(0,r.jsx)("p",Object.assign({className:D},{children:e})),a&&(0,r.jsx)("p",Object.assign({className:M},{children:"Verified Buyer"}))]}))]}))]}))]}));var F=a(10),W=a(38),A=a(39);const{wrapper:I,ratingBars:$,ratingBarsHeader:_,ratingBarsHeaderTitle:H,ratingBarsList:V,ratingBarsListBar:E,wrapperInfo:z}=A.a,U=({rating:e=0,maxRating:s=5,fit:a,cssClass:i,isReviewPage:t,show:n})=>{const o=Math.max(0,Math.min(e,s)),c=["They run small","True to size","They run big"][a-1],d=void 0!==c&&""!==c;return t||!n?(0,r.jsx)("div",{className:(0,l.a)(I,i)}):(0,r.jsxs)("div",Object.assign({className:(0,l.a)(I,i)},{children:[d&&(0,r.jsxs)("p",Object.assign({className:z},{children:[(0,r.jsx)("span",{children:"Fit:"}),c]})),o>0&&(0,r.jsxs)("div",Object.assign({className:$},{children:[(0,r.jsx)("div",Object.assign({className:_},{children:(0,r.jsx)("span",Object.assign({className:H},{children:"Quality"}))})),(0,r.jsx)("div",Object.assign({className:V},{children:(0,r.jsxs)("span",Object.assign({className:E},{children:[o,"/",s]}))}))]}))]}))},{wrapper:J,wrapperInfo:Q,wrapperInfoStars:q,wrapperInfoDate:K,wrapperDescription:Y,wrapperImages:G,wrapperImage:X,wrapperBars:Z,wrapperQwe:ee,wrapperBarsMobile:se,wrapperBarsDesktop:ae,wrapperDesktop:re}=W.a,ie=({author:e,rating:s,date:a,verifiedBuyer:n,description:o,images:c,fit:d,comfort:p,isReviewPage:u,showBar:g})=>{const[v,h]=(0,t.useState)(!1),j=(0,t.useCallback)((()=>{h((e=>!e))}),[]),m=c&&c.length>0;return(0,F.a)(v),(0,r.jsxs)("div",Object.assign({className:re},{children:[(0,r.jsxs)("div",Object.assign({className:J},{children:[(0,r.jsxs)("div",Object.assign({className:Q},{children:[(0,r.jsxs)("div",Object.assign({className:q},{children:[(0,r.jsx)("p",{children:e}),(0,r.jsx)(i.a,Object.assign({},s,{color:"#000",noReviewsLabel:"",reviewsCount:0,reviewsCountSuffix:"",averageRating:0,shouldDisplayRatingValue:!1,isMediumStar:!0}))]})),(0,r.jsxs)("div",Object.assign({className:K},{children:[n&&(0,r.jsx)("p",{children:"Verified Buyer"}),(0,r.jsx)("p",{children:a})]}))]})),(0,r.jsxs)("div",Object.assign({className:Y},{children:[(0,r.jsx)("p",{children:o}),(0,r.jsx)("div",Object.assign({className:G},{children:m&&c.map((e=>(0,r.jsx)("img",{onClick:j,className:X,src:e.thumb_url,alt:e.id.toString()},e.id)))}))]})),m&&v&&(0,r.jsx)(L,{author:e,date:a,verifiedBuyer:n,description:o,images:c,rating:s,isOpen:v,toggleDrawer:j}),(0,r.jsx)("div",Object.assign({className:(0,l.a)(Z,se)},{children:(0,r.jsx)(U,{isReviewPage:u,rating:p,fit:d,cssClass:ee,show:g})}))]})),(0,r.jsx)("div",Object.assign({className:(0,l.a)(Z,ae)},{children:(0,r.jsx)(U,{isReviewPage:u,rating:p,fit:d,cssClass:ee,show:g})}))]}))};var te=a(25),ne=a.n(te),le=a(21),oe=a(26);function ce({custom_fields:e,score:s,content:a,created_at:r,user:i,verified_buyer:t,images_data:n}){var l,o,c,d,p,u;return{comfort:null!==(o=null===(l=null==e?void 0:e["--23269"])||void 0===l?void 0:l.value)&&void 0!==o?o:0,fit:null!==(d=null===(c=null==e?void 0:e["--23270"])||void 0===c?void 0:c.value)&&void 0!==d?d:0,rating:(0,le.a)(s||0),stars:s||0,description:null!==(p=null==a?void 0:a.replace(new RegExp("'","g"),"'").replace(/"/g,'"').replace(/&/g,"&"))&&void 0!==p?p:"",date:(0,oe.e)(r),author:null!==(u=i.display_name)&&void 0!==u?u:"",verifiedBuyer:!!t,images:n}}var de=function(e,s,a,r){return new(a||(a=Promise))((function(i,t){function n(e){try{o(r.next(e))}catch(e){t(e)}}function l(e){try{o(r.throw(e))}catch(e){t(e)}}function o(e){var s;e.done?i(e.value):(s=e.value,s instanceof a?s:new a((function(e){e(s)}))).then(n,l)}o((r=r.apply(e,s||[])).next())}))};const pe=(e,s)=>{const[a,r]=(0,t.useState)([]),[i,n]=(0,t.useState)([]),[l,o]=(0,t.useState)(1),[c,d]=(0,t.useState)(!1),[p,u]=(0,t.useState)("newest"),g=(0,t.useRef)(null),[v,h]=(0,t.useState)(!1),[j,m]=(0,t.useState)(0),[w,x]=(0,t.useState)(1),f=(e,a)=>de(void 0,void 0,void 0,(function*(){try{d(!0);const i=yield((e,s,a,r,i)=>{return t=void 0,n=void 0,o=function*(){const s=(e=>"newest"===e?"":"oldest"===e?"&sort=date&direction=asc":"highest-rating"===e?"&sort=rating&direction=desc":"lowest-rating"===e?"&sort=rating&direction=asc":"")(r),t=`https://api-cdn.yotpo.com/v1/widget/J97jPKypdpmHGqgeR4CAzCBh6EcRa42lPCQNXpyd/products/${i?"yotpo_site_reviews":e}/reviews.json?per_page=150&page=${a}${s}`;try{const e=yield ne()(t);if(!e.ok||200!==e.status)return void console.error(`fetching failed with status=${e.status}, statusText=${e.statusText}`);const{response:{bottomline:s,reviews:a}}=yield e.json(),r=a.map(ce).length>2;return{count:s.total_review,rating:s.average_score,isMoreThanTwoReviews:r,inlineReviews:a.map(ce)}}catch(e){return console.error("fetching review failed with",e),{count:0,rating:0,isMoreThanTwoReviews:!1,inlineReviews:[]}}},new((l=void 0)||(l=Promise))((function(e,s){function a(e){try{i(o.next(e))}catch(e){s(e)}}function r(e){try{i(o.throw(e))}catch(e){s(e)}}function i(s){var i;s.done?e(s.value):(i=s.value,i instanceof l?i:new l((function(e){e(i)}))).then(a,r)}i((o=o.apply(t,n||[])).next())}));var t,n,l,o})(e,0,a||l,p,s);i&&(m((null==i?void 0:i.rating)||0),x((null==i?void 0:i.count)||0),r((e=>[...e,...i.inlineReviews])),o((e=>e+1)))}catch(e){console.error(e)}finally{d(!1)}}));(0,t.useEffect)((()=>{v?(r([]),n([]),f(e,1)):h(!0)}),[p]);const b=()=>{const e=5-i.length%5,s=i.length,r=a.slice(s,s+e);n((e=>[...e,...r]))};return(0,t.useEffect)((()=>{0!==a.length&&b()}),[a.length]),{reviewsData:i,loadMoreReviews:()=>de(void 0,void 0,void 0,(function*(){!c&&(0===a.length||a.length{if(g.current&&void 0!==window){const e=g.current.getBoundingClientRect().top;window.scrollTo({top:e+window.scrollY})}r([]),n([]),o(1)},ref:g,handleCurrentSort:e=>{u(e)},rating:j,average:w,isFirstLoad:v}};var ue=a(12),ge=a(40);const{wrapper:ve,wrapperActive:he,wrapperLabel:je,wrapperLabelActive:me,wrapperLabels:we}=ge.a,xe=({activeSortBy:e,sortOptions:s,isSortOpened:a,handleAddSorting:i,handleSortClose:n})=>{const[o,d]=(0,t.useState)(e||"newest");(0,t.useEffect)((()=>{d(e),n()}),[e]);const p=(0,t.useRef)(null);return(0,ue.a)(p,(()=>n())),(0,r.jsx)(c.Fragment,{children:(0,r.jsx)("div",Object.assign({ref:p,className:(0,l.a)(ve,a&&he)},{children:(0,r.jsx)("div",Object.assign({className:we},{children:s.length>0&&s.map((({key:e,label:s})=>(0,r.jsx)("div",Object.assign({onClick:()=>i(e),className:(0,l.a)(je,o===e&&me)},{children:(0,r.jsx)("p",{children:s})}))))}))}))})};var fe=a(41);const{wrapper:be,wrapperInfo:Ne,wrapperInfoStars:Oe,wrapperInfoDate:Se,wrapperDescription:Ce,skeletonStars:Re,skeletonText:ye,skeletonTextDesktop:Pe}=fe.a,Te=()=>(0,r.jsxs)("div",Object.assign({className:be},{children:[(0,r.jsxs)("div",Object.assign({className:Ne},{children:[(0,r.jsxs)("div",Object.assign({className:Oe},{children:[(0,r.jsx)("div",{className:ye}),(0,r.jsx)("div",{className:Re})]})),(0,r.jsxs)("div",Object.assign({className:Se},{children:[(0,r.jsx)("div",{className:ye}),(0,r.jsx)("div",{className:ye})]}))]})),(0,r.jsxs)("div",Object.assign({className:Ce},{children:[(0,r.jsx)("div",{className:Pe}),(0,r.jsx)("div",{className:Pe}),(0,r.jsx)("div",{className:ye})]}))]}));var ke=a(42);const{wrapper:Be,wrapperHeading:De,wrapperHeadingReviewsPage:Me,wrapperHeadingTitle:Le,wrapperHeadingTitleReviewsPage:Fe,wrapperHeadingAverageRating:We,wrapperHeadingAverageRatingTitle:Ae,wrapperHeadingAverageRatingTitleReviewsPage:Ie,wrapperHeadingAverageRatingCount:$e,wrapperReviewCards:_e,wrapperCustomerReviewsSort:He,wrapperBtn:Ve,disabledClick:Ee,wrapperCustomerReviewsSortDisabled:ze,wrapperCustomerReviewsAndSort:Ue,wrapperWrapperBar:Je,mobile:Qe,desktop:qe}=ke.a,Ke=({reviews:e,reviewsCount:s,title:a,averageRating:n,starReviews:c,productID:d,sortOptions:p,sortLabel:u,loadingLabel:g,CTALabel:v,hideLabel:h,customerReviewsLabel:j,averageRatingLabel:m,isReviewsPage:w,fit:x,comfort:f,PDPReviewFitChart:b})=>{const{reviewsData:N,loadMoreReviews:O,isFetching:S,handleClearReviews:C,ref:R,handleCurrentSort:y,rating:P,average:T,isFirstLoad:k}=pe(d,w);(0,t.useEffect)((()=>{w&&O()}),[]);const B=w?Object.assign(Object.assign(Object.assign({},c),(0,le.a)(P)),{reviewsCount:T}):c,D=0===N.length?e:N,M=s===D.length&&D.length>3,L=B.reviewsCount>3&&!M,F=b,{isSortOpened:W,handleOpenSort:A,sortBy:I,handleAddSorting:$,sortedReviews:_,handleSortClose:H}=((e,s)=>{const[a,r]=(0,t.useState)(!1),[i,n]=(0,t.useState)("newest"),[l,o]=(0,t.useState)(e);return(0,t.useEffect)((()=>{o(((e,s)=>e&&"newest"!==e?[...s].sort(((s,a)=>"oldest"===e?((e,s)=>{const a=e=>{const[s,a,r]=e.split("/").map(Number);return{day:s,month:a,year:r}},r=(e,s)=>void 0!==e&&void 0!==s?e-s:0,i=a(e.date),t=a(s.date);return r(i.year,t.year)||r(i.month,t.month)||r(i.day,t.day)})({date:s.date},{date:a.date}):"highest-rating"===e?a.stars-s.stars:"lowest-rating"===e?s.stars-a.stars:0)):s)(i,e)),s(i)}),[i,e]),{isSortOpened:a,handleOpenSort:()=>r((e=>!e)),sortBy:i,handleAddSorting:e=>n(e),sortedReviews:l,handleSortClose:()=>r(!1)}})(D,y);return(0,r.jsxs)("div",Object.assign({id:"#reviews",className:Be},{children:[(0,r.jsxs)("div",Object.assign({ref:R,className:(0,l.a)(De,w&&Me)},{children:[(0,r.jsx)("h5",Object.assign({className:(0,l.a)(Le,w&&Fe)},{children:a})),(0,r.jsxs)("div",Object.assign({className:We},{children:[(0,r.jsxs)("div",Object.assign({className:$e},{children:[(0,r.jsx)("div",{children:(0,r.jsxs)("p",Object.assign({className:(0,l.a)(Ae,w&&Ie)},{children:[m,(0,r.jsx)(i.a,Object.assign({},B,{color:"#000",shouldDisplayRatingValue:!0,isMediumStar:!0}))]}))}),(0,r.jsx)("div",Object.assign({onClick:A,className:(0,l.a)(He,W&&ze,qe)},{children:(0,r.jsx)("div",Object.assign({className:Ue},{children:(0,r.jsxs)("div",Object.assign({className:(0,l.a)(He,W&&ze)},{children:[(0,r.jsx)("p",{children:u})," ",(0,r.jsx)(o.h,{}),W&&(0,r.jsx)("div",{className:Ee})]}))}))})),(0,r.jsx)("div",Object.assign({className:Qe},{children:(0,r.jsx)(U,{rating:f,fit:x,show:F,cssClass:Je})}))]})),(0,r.jsx)("div",Object.assign({onClick:A,className:(0,l.a)(He,W&&ze,Qe)},{children:(0,r.jsxs)("div",Object.assign({className:Ue},{children:[(0,r.jsx)("p",Object.assign({className:Qe},{children:"Customer reviews"})),(0,r.jsxs)("div",Object.assign({className:(0,l.a)(He,W&&ze)},{children:[(0,r.jsx)("p",{children:u})," ",(0,r.jsx)(o.h,{}),W&&(0,r.jsx)("div",{className:Ee})]}))]}))})),(0,r.jsx)(xe,{sortOptions:p,activeSortBy:I,handleAddSorting:$,isSortOpened:W,handleSortClose:H}),(0,r.jsx)("div",Object.assign({className:qe,style:{marginTop:"20px"}},{children:(0,r.jsx)(U,{rating:f,fit:x,show:F,cssClass:Je})}))]}))]})),(0,r.jsx)("div",Object.assign({className:_e},{children:0===_.length?Array.from({length:5}).map(((e,s)=>(0,r.jsx)("div",{children:(0,r.jsx)(Te,{})},s))):_.length>0&&_.map((e=>(0,r.jsx)(ie,Object.assign({isReviewPage:w,showBar:F},e),e.author+e.date)))})),L&&(0,r.jsx)("div",Object.assign({onClick:O,className:Ve},{children:S?g:v})),M&&(0,r.jsx)("div",Object.assign({onClick:C,className:Ve},{children:h}))]}))}}}]);