1if(!window.__ctrKlaviyoRatingInit){let modifyWidget2=function(widget){const ariaLabel=widget.getAttribute("aria-label")||"",originalRating=parseFloat(ariaLabel.split(",")[0].trim().replace(" stars",""));if(Number.isNaN(originalRating))return;const ratingText=(Math.round(originalRating*10)/10).toFixed(1),ratingElement=document.createElement("span");ratingElement.className="kl-rating-value",ratingElement.textContent=ratingText,widget.insertBefore(ratingElement,widget.firstChild);const labelElement=widget.querySelector(".kl_reviews__star_rating_widget__label");labelElement&&(savedLabelText=labelElement.textContent.split(" ")[0]+" reviews",labelElement.textContent=savedLabelText,labelElement.style.display="none");const reviewsElement=document.createElement("span");reviewsElement.className="kl-reviews-text",reviewsElement.textContent=savedLabelText,widget.appendChild(reviewsElement),widget.classList.add("modified")},modifySummaryDiv2=function(div){const newLabel=document.createElement("span");newLabel.className="kl-summary-reviews-text",newLabel.textContent=savedLabelText,div.innerHTML="",div.parentElement.appendChild(newLabel),div.classList.add("modified")};var modifyWidget=modifyWidget2,modifySummaryDiv=modifySummaryDiv2;window.__ctrKlaviyoRatingInit=!0;let savedLabelText="";new MutationObserver(function(){document.querySelectorAll(".kl_reviews__star_rating_widget:not(.modified)").forEach(widget=>{modifyWidget2(widget)}),document.querySelectorAll(".kl_reviews__summary__stars__count:not(.modified)").forEach(summaryDiv=>{savedLabelText&&modifySummaryDiv2(summaryDiv)})}).observe(document.body,{childList:!0,subtree:!0});const style=document.createElement("style");style.textContent=` 2 .kl_reviews__summary__stars__count { 3 display: none; 4 } 5 `,document.head.appendChild(style)} 6//# sourceMappingURL=/cdn/shop/t/1395/assets/ctr-klaviyo-rating.js.map?v=2158473559079361441788524838
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.