1function mountFbPopupTemplate(){if(document.querySelector(".pop_main1"))return;const tpl=document.getElementById("fb-ad-popup-template");tpl&&document.body.appendChild(tpl.content.cloneNode(!0))}function popon2(){mountFbPopupTemplate();const $cover=jQuery(".window-cover1"),$popup=jQuery(".pop_main1");$cover.show(),$popup.show(),$popup.find(".pop_con").css({top:0,opacity:0}).animate({top:"50%",opacity:1});var tanchuang_click_num=0;jQuery(".pop_detail_button").each(function(){jQuery(this).on("click",function(){tanchuang_click_num+=1,tanchuang_click_num==1?(jQuery(this).find(".pop_code_num")&©Text(jQuery(this).find(".pop_code_num").text().trim()),jQuery(this).find("i").text("copied").addClass("copied"),jQuery(this).find("svg").remove(),jQuery(this).find(".pop_text").append(","),jQuery(this).append('<span class="popup_shop_now"> Shop Now>></span>')):(jQuery(this).parent().parent().parent().hide(),$(".pop_cover").hide())})}),window.copyText=function(text){if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(text).then(()=>console.log("\u590D\u5236\u6210\u529F")).catch(err=>console.error("\u590D\u5236\u5931\u8D25",err));else{if(!document.body){console.error("\u590D\u5236\u5931\u8D25\uFF1Adocument.body \u5C1A\u672A\u5C31\u7EEA");return}const input=document.createElement("input");input.value=text,input.style.position="fixed",input.style.left="-1000px",document.body.appendChild(input),input.select(),document.execCommand("copy"),document.body.removeChild(input),console.log("\u590D\u5236\u6210\u529F\uFF08fallback\uFF09")}}}function closeFbPopup(){const $popup=jQuery(".pop_main1"),$cover=jQuery(".window-cover1");$popup.find(".pop_con").animate({top:0,opacity:0},200,function(){$popup.hide(),$cover.hide()})}jQuery(document).on("click",".pop_main1 .window-cover_con-close",closeFbPopup).on("click",".window-cover1",closeFbPopup).on("keydown",function(e){e.key==="Escape"&&jQuery(".pop_main1:visible").length&&closeFbPopup()});function getUrlParam(name){return new URLSearchParams(window.location.search).get(name)}function initFbPopupLogic(){getUrlParam("fbclid")&&!location.pathname.includes("flash-sale")&&setTimeout(popon2,9e4)}jQuery(initFbPopupLogic); 2//# sourceMappingURL=/cdn/shop/t/261/assets/popup-facebook-ad.js.map?v=167678964707134417181789028724
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.