1(function(){'use strict';var COPIED_CLASS='yayrev-copy-link--copied';var RESET_DELAY=2000;function copyText(text,onSuccess){if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(text).then(onSuccess).catch(function(){fallbackCopy(text,onSuccess)})}else{fallbackCopy(text,onSuccess)}} 2function fallbackCopy(text,onSuccess){var el=document.createElement('textarea');el.value=text;el.style.cssText='position:fixed;top:0;left:0;opacity:0;pointer-events:none;';document.body.appendChild(el);el.focus();el.select();try{document.execCommand('copy');onSuccess()}catch(_){} 3document.body.removeChild(el)} 4function handleClick(event){var btn=event.currentTarget;var url=btn.dataset.reviewUrl;if(!url)return;var originalLabel=btn.dataset.tooltip;var copiedLabel=btn.dataset.copiedLabel||'Copied!';copyText(url,function(){btn.dataset.tooltip=copiedLabel;btn.classList.add(COPIED_CLASS);setTimeout(function(){btn.dataset.tooltip=originalLabel;btn.classList.remove(COPIED_CLASS)},RESET_DELAY)})} 5function init(root){var buttons=(root||document).querySelectorAll('.yayrev-copy-link');for(var i=0;i<buttons.length;i++){var btn=buttons[i];if(btn.dataset.yayrevCopyInit)continue;btn.dataset.yayrevCopyInit='1';btn.addEventListener('click',handleClick)}} 6if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',function(){init()})}else{init()} 7document.addEventListener('yayrev_reviews_loaded',function(){init()});document.addEventListener('yayrev:reviews_updated',function(){init()});document.addEventListener('yayrev:store_reviews_updated',function(){init()})}())
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.