(()=>{"use strict";window.copybpivbAdminShortcode=e=>{var i=document.querySelector("#bpivbAdminShortcode-"+e+" input"),o=document.querySelector("#bpivbAdminShortcode-"+e+" .tooltip");navigator.clipboard?navigator.clipboard.writeText(i.value).then(()=>{o.innerHTML=wp.i18n.__("Copied Successfully!","image-viewer"),setTimeout(()=>{o.innerHTML=wp.i18n.__("Copy To Clipboard","image-viewer")},1500)}):(i.select(),i.setSelectionRange(0,30),document.execCommand("copy"),o.innerHTML=wp.i18n.__("Copied Successfully!","image-viewer"),setTimeout(()=>{o.innerHTML=wp.i18n.__("Copy To Clipboard","image-viewer")},1500))}})();