(window.rspackChunkvitalsLibrary=window.rspackChunkvitalsLibrary||[]).push([[679],{66407(e,t,r){"use strict";r.d(t,{A:()=>a});var i=r(47450),n=r.n(i)()(!1);n.push([e.id,".Vtl-pr-stars-snippet{position:relative;height:1em}.Vtl-pr-stars-snippet--has-event svg :hover{cursor:pointer}.Vtl-pr-stars-snippet--layer svg{width:1em;height:1em;flex-shrink:0}.Vtl-pr-stars-snippet--back{line-height:1;display:flex}.Vtl-pr-stars-snippet--front{line-height:1;position:absolute;top:0;overflow:hidden;z-index:1;width:0}.Vtl-pr-stars-snippet--front--has-animation{transition:all .6s ease-out}.Vtl-pr-stars-snippet--front--inner{display:flex}.Vtl-pr-stars-snippet--icon-gap .Vtl-pr-stars-snippet--back,.Vtl-pr-stars-snippet--icon-gap .Vtl-pr-stars-snippet--front--inner{gap:1px}",""]);let a=n},36131(e,t,r){"use strict";r.d(t,{A:()=>a});var i=r(47450),n=r.n(i)()(!1);n.push([e.id,".Vtl-pr-review-stars-snippet{line-height:1em;display:flex;align-items:center}.Vtl-pr-review-stars-snippet>div:not(:last-child){margin-right:4px}.Vtl-pr-review-stars-snippet--inner-el{font-weight:initial}.Vtl-pr-review-stars-snippet--shape-solid .Vtl-pr-review-stars-snippet--inner-el,.Vtl-pr-review-stars-snippet--shape-modern .Vtl-pr-review-stars-snippet--inner-el{font-size:.875em}.Vtl-pr-review-stars-snippet--shape-solid .Vtl-pr-review-stars-snippet--inner-el,.Vtl-pr-review-stars-snippet--shape-pointed .Vtl-pr-review-stars-snippet--inner-el,.Vtl-pr-review-stars-snippet--shape-modern .Vtl-pr-review-stars-snippet--inner-el{align-self:end}.Vtl-pr-review-stars-snippet--shape-pointed .Vtl-pr-review-stars-snippet--inner-el{font-size:.8em}",""]);let a=n},41524(e,t,r){let{render:i,hydrate:n,unmountComponentAtNode:a}=r(36564);t.H=function(e){return{render:function(t){i(t,e)},unmount:function(){a(e)}}}},58608(e,t,r){"use strict";r.d(t,{A:()=>l});var i=r(36564),n=r(53439),a=r(21984),s=r(86213),o=r(8134);class l extends i.Component{componentDidCatch(e,t){var r;let{props:i}=this;if((0,o.L)(e)){n.aU.n56(new a.v("Lazy chunk failed to load during render",a.J.a1Y,{N39:{mid:i.moduleId,label:i.label,msg:(0,s.X5)(e),sr:5,nb:!0}})),this.setState({errored:!0});return}n.aU.U3(new n.fz(2280,{msg:`PreactLifecycle: ${null==e?void 0:e.toString()}`,mid:i.moduleId,label:i.label},(null==t?void 0:t.componentStack)||(null==e||null==(r=e.stack)?void 0:r.toString()))),this.setState({errored:!0})}render(){let{props:e,state:t}=this;return t.errored?null:e.children}constructor(e){super(e),function(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"refs",{}),this.state={errored:!1}}}},77316(e,t,r){"use strict";r.d(t,{V:()=>n});let i=/{{\s*stars\s*}}/g;function n(e,t){return e.replace(i,String(t))}},2355(e,t,r){"use strict";function i(e){var t;let{product:r}=window.vtlsLiquidData;if(!r||void 0!==e&&r.handle!==e)return;let i=null==(t=r.metafields)?void 0:t.reviews,n=Number(null==i?void 0:i.rating),a=Number(null==i?void 0:i.rating_count);if(n>0&&a>0)return{a0G:n,O72:a}}r.d(t,{H:()=>i})},20487(e,t,r){"use strict";let i;r.d(t,{Cc:()=>u,FR:()=>_});var n=r(14681),a=r(84281),s=r(56819);r(16879);var o=r(73025);function l(e,t,r,i,n,a,s){try{var o=e[a](s),l=o.value}catch(e){r(e);return}o.done?t(l):Promise.resolve(l).then(i,n)}function _(e){let t=e;try{t=decodeURIComponent(e)}catch(e){}return encodeURIComponent(t)}function u(){var e;let t;if(i)return i;let r=(0,o.R7)(a.Qm.getState()),_=function(){var e,t;let{shopInfo:r,apiHosts:i,cacheKeys:a}=window.vtlsLiquidData,o=null==r?void 0:r.id;if(void 0===o)return;let l=(null==i?void 0:i[s.l.Z64])||n.mW,_=(null==a?void 0:a[4])||1e4*Math.round(new Date().getTime()/1e3/1e4),u=(null==(e=window.Shopify)?void 0:e.locale)||(null==(t=document.documentElement)?void 0:t.lang);return`${l}/bundle/api/v2/sf/prs/${o}/${u&&"zxx"!==u?u:"en"}/${_}.json`}();if(!_)return r.h4(a.Yx.Z15),i=Promise.resolve();r.h4(a.Yx.X21);let u=new Promise(e=>{t=window.setTimeout(e,5e3)});return i=Promise.race([(e=function*(){let e=(0,o.R7)(a.Qm.getState());try{let t=yield fetch(_);if(!t.ok)throw Error(`Stars list request failed with status ${t.status}`);e.n69(function(e){let t={};if(!(null==e?void 0:e.products_stars))return t;for(let r of Object.keys(e.products_stars)){let i=e.products_stars[r];t[r]={gi:i.gi,i:i.i,lu:i.lu,t:i.t,pi:i.pi,O72:i.r,a0G:i.s}}return t}((yield t.json())))}catch(t){e.h4(a.Yx.Z15)}},function(){var t=this,r=arguments;return new Promise(function(i,n){var a=e.apply(t,r);function s(e){l(a,i,n,s,o,"next",e)}function o(e){l(a,i,n,s,o,"throw",e)}s(void 0)})})().then(()=>window.clearTimeout(t)),u])}},84281(e,t,r){"use strict";r.d(t,{FY:()=>l,Qm:()=>o,VU:()=>d,X:()=>p,Yx:()=>s,bX:()=>u,tR:()=>_});var i,n=r(73025);function a(e){for(var t=1;t({a5g:{z76:{},l68:"idle",O73:{a0G:0,O72:0}},X64:{A2:e=>{r({z76:e},"setProductStars")},w61:e=>{r(({z76:t})=>({z76:a({},t,e)}),"mergeProductStars")},n69:e=>{r(({z76:t})=>({z76:a({},t,e),l68:"loaded"}),"setLoadedProductStars")},h4:e=>{r({l68:e},"setProductStarsListStatus")},F99:e=>{r({O73:e},"setRatingStats")}}}));function l({a5g:e},t){var r;return null==(r=e.z76)?void 0:r[t]}function _({a5g:e}){return e.O73}function u({a5g:e}){return e.z76}function d(e,t){return Object.keys(e).find(r=>e[r].i===t)}function p(e){if("loading"!==(0,n.uQ)(o.getState()).l68)return;let t=o.subscribe(r=>{let{l68:i}=(0,n.uQ)(r);"loading"!==i&&(t(),"loaded"===i&&e())})}},39097(e,t,r){"use strict";let i;r.d(t,{DA:()=>_,F2:()=>p,I6:()=>h,aF:()=>l,cr:()=>m,gX:()=>u,j5:()=>d,kl:()=>v,tn:()=>c,w9:()=>f,xI:()=>w});var n=r(6520),a=r(44784),s=r(5747),o=r(79974);let l=e=>`#${e}`,_="#cecece";function u(e=(0,s.E)()){let t=e.E54;return"string"==typeof t&&t?l(t):_}function d(e=(0,s.E)()){return 1===Number(e.U28)}function p(){let[e,t]=a.b.a4x.m86(n.X.D90);return{email:e(t.D42),reviewFileTypeWarning:e(t.b12),reviewFileSizeWarning:e(t.b11,"File exceeds the maximum size of 10 MB"),reviewImageCountWarning:e(t.a68,"You can upload up to 5 images per review"),reviewVideoCountWarning:e(t.a70,"You can upload up to 5 videos per review"),error:e(t.D43),storeReply:e(t.n92),thankAddReview:e(t.g25),reviews:e(t.x60),review:e(t.A38),seeMoreReviews:e(t.g19),writeAReview:e(t.i80),shareYourExperience:e(t.c42),rating:e(t.A36),name:e(t.G35),optionalLabel:e(t.u76,"optional"),loveToSeeAPicture:e(t.a72),loveToSeeAVideo:e(t.b16,"We’d love to see a video"),loveToSeeAPhotoOrVideo:e(t.a15,"We’d love to see a photo or video"),addPhotos:e(t.p80,"Add photos"),addVideos:e(t.p81,"Add videos"),addPhotosOrVideos:e(t.c92,"Add photos or videos"),removeMedia:e(t.m9,"Remove"),photosUploadLimitsHint:e(t.a87,"Photos: {{extensions}} (up to {{size}} MB each)"),videosUploadLimitsHint:e(t.a89,"Videos: {{extensions}} (up to {{size}} MB each)"),uploadingVideoProgress:e(t.b15,"Uploading video… {{percent}}%"),videoUnavailable:e(t.f24,"Video unavailable"),videoReview:e(t.m12,"Video review"),submitReview:e(t.k21),cancel:e(t.A32),noReviewsYet:e(t.i75),verifiedBuyer:e(t.i79),topReviewsPageTitle:e(t.l98),topReviewsPageDescription:e(t.e37),carouselTitle:e(t.E29),mainWidgetTitle:e(t.w58),featuredReviewsTitle:e(t.l3),reviewYourPurchase:e(t.d3,"Review your latest purchase from our store"),pickTheProduct:e(t.g15,"Pick the product you'd like to review"),changeProduct:e(t.i67,"Change product"),reviewSubmissionSearchPlaceholder:e(t.a6,"Search for a product..."),reviewSubmissionLoadingLabel:e(t.a23,"Loading products..."),reviewSubmissionNoResultsLabel:e(t.a12,"No matching products found"),reviewSubmissionErrorLabel:e(t.a33,"Unable to load products"),reviewSubmissionRetryLabel:e(t.a34,"Try again"),reviewSubmissionSuccessBodyPending:e(t.a5,"Thanks for submitting your review. It will appear once approved."),sortBy:e(t.x63,"Sort by"),sortMostRecent:e(t.g21,"Most recent"),sortHighestRating:e(t.d72,"Highest rating"),sortLowestRating:e(t.e43,"Lowest rating"),sortPhotosVideosFirst:e(t.b13,"Photos & Videos first"),translationShowOriginal:e(t.k20,"Show original"),translationShowTranslation:e(t.g20,"Show translation"),translationAutoFrom:e(t.s27,"Auto-translated from {{ sourceLanguage }}"),aiSummaryTitle:e(t.g6,"AI SUMMARY"),aiSummaryReviewCount:e(t.b41,"from {{ count }} recent reviews"),lowReviewSupportTitle:e(t.g12,"We’re sorry to hear that"),lowReviewSupportDescription:e(t.b85,"Tell us what went wrong. We’d love to make it right."),contactUs:e(t.p83,"Contact us"),reviewDiscountText:e(t.d0,"Get a {{ discount_value }} discount for your next purchase"),reviewDiscountCodeText:e(t.a88,"Get your {{ discount_value }} discount now!"),starRatingLabel:e(t.f21,"{{ stars }} out of 5 stars")}}function c(e){let t=e.R93;return{stars:{front:l(t),back:u(e)},bars:l(t),verified:l(e.x75),accent:l(e.N26)}}function v(e,t){return 0===e?"0":e.toFixed(2===t?2:1)}function h(e){let t=a.b.a4x.y77();if((null==i?void 0:i.a0p)!==t){let e=e=>String(e);try{let r=new Intl.NumberFormat(t||void 0,{maximumFractionDigits:0,numberingSystem:"latn"});e=e=>r.format(e)}catch(e){}i={a0p:t,Z90:e}}return i.Z90(e)}function m(){return 2===Number((0,s.E)().l70)?2:1}function w(e){return 1===Number(e)?1:5}function f(){let e=p(),t=(0,s.E)(),r=c(t);return{stars:5,percentage:100,spacing:{top:0,bottom:0},size:t.D26,alignment:o.G.a4D,translations:{reviews:{one:e.review,many:e.reviews}},colors:{front:r.stars.front,back:r.stars.back}}}},23646(e,t,r){"use strict";r.d(t,{i:()=>f});var i=r(48951),n=r(6520),a=r(77316),s=r(44784),o=r(5747),l=r(39097),_=r(89581),u=r(56696),d=r(57927),p=r(36564),c=r(57344),v=r(66407);let h=(0,c.s)("pr-stars-snippet"),m="{{ stars }} out of 5 stars";function w({stars:e,ratingSymbol:t,onStarClick:r},n,a=()=>!1){return[...Array(e)].map((e,s)=>a(s)?(0,i.Y)("svg",{"aria-hidden":"true"},`star-${s}`):(0,i.Y)(u.L,{onClick:()=>r?r(s+1):null,ratingSymbol:t,isEmpty:n},`star-${s}`))}let f=(0,p.memo)(function({id:e,stars:t,percentage:r,animation:u,onStarClick:c,colors:f,ratingSymbol:g,isDecorative:y}){var S;let b,L=(0,l.j5)(),C=L?f.front:null!=(S=f.back)?S:(0,l.gX)(),x=(0,d.O)("vtl-pr-star-styles",v.A),P=Number((0,o.E)().M1),k=P===_.n.Z52||P===_.n.Z4,O=k?`calc(${t}em + ${Math.max(t-1,0)}px)`:`${t}em`,R=(0,p.useMemo)(()=>w({stars:t,ratingSymbol:g,onStarClick:c},!1),[t,g,c]),V=(0,p.useMemo)(()=>L?w({stars:t,ratingSymbol:g,onStarClick:c},!0,e=>!u&&r>=(e+1)/t*100):R,[L,u,t,r,g,c,R]);if(!x)return null;let W=!y&&!c;return(0,i.FD)("div",{id:e,role:W?"img":void 0,"aria-label":W?(b=Number((0,l.kl)(5*r/100,(0,l.cr)())),(0,a.V)(function(){if(!s.b.a4x.e74(n.X.D90))return m;let[e,t]=s.b.a4x.m86(n.X.D90);return e(t.f21,m)||m}(),b)):void 0,"aria-hidden":y?"true":void 0,className:h({modifiers:{"has-event":!!c,"icon-gap":k,outlined:L},extra:"vtl-pr-stars-snippet vtl-pr-review-stars-snippet__stars"}),style:{width:O,minWidth:O},children:[(0,i.Y)("div",{className:h({modifiers:{layer:!0,back:!0},extra:"vtl-pr-stars-snippet__layer vtl-pr-stars-snippet__back"}),style:{color:C},"aria-hidden":"true",children:V}),(0,i.Y)("div",{className:h({modifiers:{"front--has-animation":!!u,layer:!0,front:!0},extra:"vtl-pr-stars-snippet__layer vtl-pr-stars-snippet__front"}),"aria-hidden":c?void 0:"true",style:{width:`${r}%`,color:f.front},children:(0,i.Y)("div",{className:h({modifiers:{"front--inner":!0},extra:"vtl-pr-stars-snippet__front-inner"}),style:{width:O,maxWidth:"none"},children:R})})]})})},89581(e,t,r){"use strict";r.d(t,{n:()=>n});var i,n=((i={})[i.i94=0]="i94",i[i.i93=1]="i93",i[i.Z20=2]="Z20",i[i.W96=3]="W96",i[i.X35=4]="X35",i[i.Z4=5]="Z4",i[i.Z52=6]="Z52",i[i.a2m=7]="a2m",i[i.a1w=8]="a1w",i)},84814(e,t,r){"use strict";r.d(t,{H:()=>n});var i=r(89581);let n={[i.n.i94]:{Y88:"0 0 576 512",a5J:"M259.3 17.8 194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z",y58:90},[i.n.i93]:{Y88:"0 0 16 14",a5J:"m8 0 1.796 5.528h5.813l-4.703 3.416 1.796 5.528L8 11.056l-4.702 3.416 1.796-5.528L.392 5.528h5.812L8 0Z",y58:2.5},[i.n.Z20]:{Y88:"0 0 20 16",a5J:"m2.115 9.065-.689-.694a4.929 4.929 0 0 1 0-6.935 4.844 4.844 0 0 1 6.885 0L9 2.13l.689-.694a4.844 4.844 0 0 1 6.885 0 4.929 4.929 0 0 1 0 6.935l-.689.694L9 16 2.115 9.065Z",y58:3.125,T52:!0},[i.n.W96]:{Y88:"0 0 16 16",a5J:"M7.5 1.088a.5.5 0 0 1 .9 0l1.891 3.936a.5.5 0 0 0 .384.279l4.327.582a.5.5 0 0 1 .279.857l-3.159 3.014a.5.5 0 0 0-.146.452l.783 4.295a.5.5 0 0 1-.729.53L8.187 12.96a.5.5 0 0 0-.474 0L3.87 15.033a.5.5 0 0 1-.73-.53l.784-4.295a.5.5 0 0 0-.146-.452L.618 6.742a.5.5 0 0 1 .28-.857l4.327-.582a.5.5 0 0 0 .384-.28l1.89-3.935Z",y58:2.5,H99:!0},[i.n.X35]:{Y88:"0 0 16 16",a5J:"M9.165 5.565c.255.531.76.898 1.344.977l2.779.373-2.029 1.937c-.426.406-.619 1-.513 1.58l.503 2.76L8.78 11.86l-.2-.091a1.75 1.75 0 0 0-1.263 0l-.2.091-2.468 1.33.504-2.758a1.75 1.75 0 0 0-.514-1.58L2.611 6.915l2.78-.373a1.75 1.75 0 0 0 1.344-.977L7.95 3.036l1.215 2.53Z",H99:!0,P23:2.5,T16:"M7.4998 1.0879C7.68155 0.710336 8.21961 0.710127 8.40117 1.0879L10.2918 5.02345C10.3647 5.17517 10.5088 5.28031 10.6756 5.30275L15.0027 5.88478C15.4182 5.94079 15.5844 6.45274 15.281 6.7422L12.1228 9.75587C12.0011 9.87208 11.9452 10.0424 11.9754 10.208L12.7596 14.5029C12.8347 14.9154 12.3991 15.2313 12.0301 15.0322L8.1873 12.96C8.03918 12.8801 7.86079 12.8801 7.71269 12.96L3.86992 15.0322C3.50089 15.2313 3.06531 14.9154 3.14043 14.5029L3.9246 10.208C3.95106 10.063 3.91198 9.91439 3.82011 9.80177L3.77812 9.75587L0.618941 6.7422C0.315657 6.45278 0.481916 5.9409 0.897261 5.88478L5.22441 5.30275C5.37038 5.28311 5.49919 5.20016 5.57793 5.07814L5.60918 5.02345L7.4998 1.0879ZM6.51054 5.45704C6.29189 5.91209 5.85854 6.2266 5.3582 6.29396L2.0623 6.73634L4.46757 9.03322C4.8328 9.38174 4.99849 9.89009 4.908 10.3867L4.31132 13.6582L7.23808 12.0801L7.40898 12.001C7.75718 11.8663 8.14383 11.8661 8.49199 12.001L8.66191 12.0801L11.5887 13.6582L10.992 10.3867C10.9015 9.89014 11.0673 9.38173 11.4324 9.03322L13.8367 6.73634L10.5418 6.29396C10.0416 6.22657 9.60911 5.91187 9.39042 5.45704L7.95 2.459L6.51054 5.45704Z"},[i.n.Z4]:{Y88:"0 0 16 16",a5J:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM6.766 6.5H2.77l3.232 2.35-1.234 3.8L8 10.3l3.232 2.35-1.234-3.8L13.23 6.5H9.234L8 2.7 6.766 6.5Z",y58:2.5,T52:!0,H99:!0},[i.n.Z52]:{Y88:"0 0 16 16",a5J:"M16 16H0V0h16v16ZM6.766 6.5H2.77l3.232 2.35-1.234 3.8L8 10.3l3.232 2.35-1.234-3.8L13.23 6.5H9.234L8 2.7 6.766 6.5Z",y58:2.5,T52:!0,H99:!0},[i.n.a2m]:{Y88:"0 0 16 16",a5J:"m5.254 5.953-5.34-.34L4.31 8.608l-3.27 6.637 6.486-3.713L14 16l-3.353-6.568L16 6.5l-6.024-.297L8.5 0 5.254 5.953Z",y58:2.5,H99:!0},[i.n.a1w]:{Y88:"0 0 16 16",a5J:"M7.816.43a.2.2 0 0 1 .368 0l1.423 3.325a.2.2 0 0 0 .258.107l3.358-1.345a.2.2 0 0 1 .26.26l-1.345 3.358a.2.2 0 0 0 .107.258l3.325 1.423a.2.2 0 0 1 0 .368l-3.325 1.423a.2.2 0 0 0-.107.258l1.345 3.358a.2.2 0 0 1-.26.26l-3.358-1.345a.2.2 0 0 0-.258.107L8.184 15.57a.2.2 0 0 1-.368 0l-1.423-3.325a.2.2 0 0 0-.258-.107l-3.358 1.345a.2.2 0 0 1-.26-.26l1.345-3.358a.2.2 0 0 0-.107-.258L.43 8.184a.2.2 0 0 1 0-.368l3.325-1.423a.2.2 0 0 0 .107-.258L2.517 2.777a.2.2 0 0 1 .26-.26l3.358 1.345a.2.2 0 0 0 .258-.107L7.816.43Z",y58:2.5,H99:!0}}},56696(e,t,r){"use strict";r.d(t,{L:()=>_});var i=r(48951),n=r(89581),a=r(84814),s=r(36564),o=r(5747);let l=0,_=(0,s.memo)(function({onClick:e,isEmpty:t,y57:r=1}){var _;let[u]=(0,s.useState)(()=>(l+=1,`vtl-star-clip-${l}`)),d=(0,o.E)().M1,p=null!=(_=a.H[d])?_:a.H[n.n.i94],c=p.T52?"evenodd":void 0,v=p.H99?"none":void 0;return t&&p.T16?(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:p.Y88,fill:v,onClick:e,children:(0,i.Y)("path",{d:p.T16,fillRule:"evenodd",style:{fill:"currentColor"}})}):p.P23?(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:p.Y88,fill:v,onClick:e,children:(0,i.Y)("path",{d:p.a5J,stroke:"currentColor",strokeWidth:p.P23})}):t&&void 0!==p.y58?(0,i.FD)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:p.Y88,fill:v,onClick:e,children:[(0,i.Y)("clipPath",{id:u,children:(0,i.Y)("path",{d:p.a5J,clipRule:c})}),(0,i.Y)("path",{d:p.a5J,style:{fill:"none",stroke:"currentColor",strokeWidth:`${p.y58*r}px`,strokeLinejoin:"round"},clipPath:`url(#${u})`})]}):(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:p.Y88,fill:v,onClick:e,children:(0,i.Y)("path",{d:p.a5J,fill:"currentColor",fillRule:c})})})},21565(e,t,r){"use strict";r.d(t,{R:()=>w});var i=r(48951),n=r(5747),a=r(39097),s=r(23646),o=r(89581),l=r(57344),_=r(57927),u=r(36564),d=r(79974),p=r(36131);let c=(0,l.s)("pr-review-stars-snippet"),v=new Set([o.n.W96,o.n.X35,o.n.Z4,o.n.Z52,o.n.a2m,o.n.a1w]),h={[d.G.Z3]:"center",[d.G.a4D]:"flex-start",[d.G.a2h]:"flex-end"},m={reviews:{one:"review",many:"reviews"}},w=(0,u.memo)(function({reviewStats:e,alignment:t,format:r,stars:l,percentage:w,spacing:f,translations:g=m,size:y,onStarClick:S,colors:b,className:L}){let C=(0,_.O)("vtl-pr-star-snippet-styles",p.A),x=(0,u.useMemo)(()=>({justifyContent:h[t]||h[d.G.a4D],marginTop:`${f.top}px`,marginBottom:`${f.bottom}px`,fontSize:`${y}px`,color:b.text}),[t,y,f,b]),P=(0,n.E)().M1,k=(0,a.cr)(),O=1===e.O72?g.reviews.one:g.reviews.many,R=(0,u.useMemo)(()=>{let t=(null!=r?r:"").trim();return t?(t=(t=(t=t.replace(d.X.K5,(0,a.I6)(e.O72))).replace(d.X.G57,(0,a.kl)(e.a0G,k))).replace(d.X.N21,`${O}`)).split(d.X.a2s).reduce((e,t,r)=>(1===r&&e.push((0,i.Y)(s.i,{stars:l,percentage:w,colors:b,animation:!1,onStarClick:S},`${l}-${w}`)),t.trim()&&e.push((0,i.Y)("div",{className:c({modifiers:{"inner-el":!0},extra:"vtl-pr-ss__inner-el"}),dangerouslySetInnerHTML:{__html:t}},`${w}-${l}-${t.trim()}`)),e),[]):[]},[b,r,S,w,k,e.O72,e.a0G,l,O]);return(0,i.Y)("div",{className:c({modifiers:{"shape-solid":P===o.n.i94,"shape-pointed":P===o.n.i93,"shape-modern":v.has(P)},extra:function(e){for(var t=1;t0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return s},n=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var i,n=0,a=t.length;n