jQuery(function($){$('.qrcode:not(.processed)').each(function(){$(this).qrcode($(this).data('qrcode')).addClass('processed')});$('body').on('click','.wr_refl_button_copy',async function(event){event.preventDefault();let btn=$(event.currentTarget);let url=btn.data('url');try{await navigator.clipboard.writeText(url)}catch{const input=document.createElement('input');input.value=url;document.body.appendChild(input);input.select();document.execCommand('copy');document.body.removeChild(input)}
btn.parent().find('.copied-message').animate({opacity:1},200).delay(3000).animate({opacity:0},200);return!1})})