1(function(){function reviews(root){if(root.dataset.compactReady)return;root.dataset.compactReady="true";var expanded=!1,scheduled=!1,button=document.createElement("button");button.type="button",button.className="spqr-review-expand",button.hidden=!0,button.setAttribute("aria-controls","judgeme_all_reviews_page"),root.appendChild(button);function update(){scheduled=!1;var body=root.querySelector(".jdgm-all-reviews__body");if(body){var cards=Array.from(body.children).filter(function(el){return el.classList.contains("jdgm-rev")});root.dataset.reviewExpanded=String(expanded),cards.forEach(function(el,i){el.classList.toggle("spqr-review-collapsed",!expanded&&i>=3)}),button.hidden=cards.length<=3,button.setAttribute("aria-expanded",String(expanded));var label=expanded?"Show fewer reviews":"Show more reviews";button.textContent!==label&&(button.textContent=label)}}function schedule(){scheduled||(scheduled=!0,requestAnimationFrame(update))}button.addEventListener("click",function(){expanded=!expanded,update(),expanded||root.scrollIntoView({block:"start"})}),root.addEventListener("change",function(event){event.target.matches("select")&&(expanded=!0,schedule())}),root.addEventListener("click",function(event){event.target.closest(".jdgm-histogram__row,.jdgm-subtab,.jdgm-paginate__load-more")&&(expanded=!0,schedule())}),new MutationObserver(schedule).observe(root,{childList:!0,subtree:!0}),update()}function chat(){var host=document.querySelector("shopify-chat"),shadow=host&&host.shadowRoot;if(!(!shadow||shadow.querySelector("[data-spqr-chat-style]"))){var style=document.createElement("style");style.dataset.spqrChatStyle="true",style.textContent="@media(max-width:768px){.activator-nudge{position:fixed!important;right:12px!important;bottom:calc(90px + env(safe-area-inset-bottom))!important}.activator{width:44px!important;min-width:44px!important;height:44px!important;padding:10px!important;justify-content:center!important}.activator__label{display:none!important}}",shadow.appendChild(style)}}function boot(){document.querySelectorAll("#spqr-store-reviews").forEach(reviews),chat()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",boot):boot(),document.addEventListener("shopify:section:load",boot);var observer=new MutationObserver(function(){var _a,_b;chat(),(_b=(_a=document.querySelector("shopify-chat"))==null?void 0:_a.shadowRoot)!=null&&_b.querySelector("[data-spqr-chat-style]")&&observer.disconnect()});observer.observe(document.documentElement,{childList:!0,subtree:!0}),customElements.whenDefined("shopify-chat").then(chat)})(); 2//# sourceMappingURL=/cdn/shop/t/65/assets/spqr-product-page-ui.js.map?v=98373997078085115131791105121
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.