/*! This file must be edited in qc-custom-javascript.js + compiled/minified to dist/qc-custom-javascript-min.js via gulp - see README */ const scriptReviews=document.createElement("script");scriptReviews.type="text/javascript",scriptReviews.src="https://cl.avis-verifies.com/pt/cache/9/c/9/9c9814ab-ff92-a144-9574-9c931684aeb4/AWS/PRODUCT_API/tag.min.js",scriptReviews.async=!0,scriptReviews.onload=(()=>{document.dispatchEvent(new CustomEvent("scriptReviews:loaded",{bubbles:!0}))}),document.body.appendChild(scriptReviews);var MainReviewLink=class extends HTMLAnchorElement{constructor(){super(),this.addEventListener("click",this._onClick.bind(this)),document.addEventListener("scriptReviews:loaded",()=>{const e=window.location.search;if("1"!=new URLSearchParams(e).get("reviews"))return;let t=168;const s=document.getElementById("yotpo-reviews");if(!s)return;window.matchMedia(window.themeVariables.breakpoints.pocket).matches?(t=0,s.closest("collapsible-content").open=!0):document.querySelector(`[aria-controls="${s.closest(".product-tabs__tab-item-wrapper").id}"]`).click();const i=document.querySelector(".product-tabs");i&&window.scroll({top:i.offsetTop-t,behavior:"smooth"})})}_onClick(){const e=document.getElementById("yotpo-reviews");e&&(window.matchMedia(window.themeVariables.breakpoints.pocket).matches?e.closest("collapsible-content").open=!0:document.querySelector(`[aria-controls="${e.closest(".product-tabs__tab-item-wrapper").id}"]`).click())}};window.customElements.define("main-review-link",MainReviewLink,{extends:"a"});var links=document.links;for(let e=0,t=links.length;e