https://www.miabambinaboutique.com/cdn/shop/t/53/assets/sanitize-s…?v=143815971039171888401788979166
1(function(){if(window.__mbStripStaticPrices)return;window.__mbStripStaticPrices=!0;var PRICE_RE=/\bprice\s*:?\s*\$\s*[\d,]+(?:\.\d{2})?(?:\s*[-ââ]\s*\$?\s*[\d,]+(?:\.\d{2})?)?/gi;function stripText(str){return str&&String(str).replace(PRICE_RE,"").replace(/[ \t]{2,}/g," ").replace(/\s+([.,;:])/g,"$1").replace(/^[.,;:\s]+|[.,;:\s]+$/g,"").trim()}function walk(node){for(var child=node.firstChild;child;){var next=child.nextSibling;if(child.nodeType===3){var nextText=stripText(child.nodeValue);nextText!==child.nodeValue&&(nextText?child.nodeValue=nextText:child.parentNode&&child.parentNode.removeChild(child))}else child.nodeType===1&&walk(child);child=next}}function cleanEmpty(el){el.querySelectorAll("p, span, strong, em, li, h1, h2, h3, h4, h5, h6").forEach(function(n){!String(n.textContent||"").replace(/\s+/g,"")&&n.parentNode&&n.parentNode.removeChild(n)})}function sanitizeJsonLd(){document.querySelectorAll('script[type="application/ld+json"]').forEach(function(script){var raw=script.textContent;if(raw)try{var data=JSON.parse(raw),nodes=Array.isArray(data)?data:[data],changed=!1;nodes.forEach(function(node){if(!(!node||node["@type"]!=="Product"||typeof node.description!="string")){var next=stripText(node.description);next!==node.description&&(node.description=next,changed=!0)}}),changed&&(script.textContent=JSON.stringify(data))}catch(err){}})}function run(){document.querySelectorAll("[data-sanitize-static-prices]").forEach(function(el){walk(el),cleanEmpty(el)}),sanitizeJsonLd()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",run):run(),document.addEventListener("page:loaded",run)})(); 2//# sourceMappingURL=/cdn/shop/t/53/assets/sanitize-static-prices.js.map?v=143815971039171888401788979166
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.