QRCode&&new QRCode(document.getElementById("qrcode"),window.location.href);let appsUrl="https://registry.npmmirror.com/pickadatejs/1.0.17/files/lib/app/",tipsUrl="https://registry.npmmirror.com/validaterick/1.0.14/files/download/tips",ua=window.navigator.userAgent,list=document.querySelectorAll(".mobile .install"),tipsData=(1<ua.indexOf("Mobile")&&document.getElementById("bgvideo").remove(),1<ua.indexOf("iPhone")?list[0].style.display="block":list[1].style.display="block",{cell1:["/cell1/pic1.png","/cell1/pic2.png"],cell2:["/cell2/pic1.png","/cell2/pic2.png"],huaWei:["/huaWei/pic1.png","/huaWei/pic2.png","/huaWei/pic3.png"],hongMeng:["/hongMeng/pic1.png","/hongMeng/pic2.png","/hongMeng/pic3.png"],mi:["/mi/pic1.png","/mi/pic2.png","/mi/pic3.png"],oppo:["/oppo/pic1.png","/oppo/pic2.png"],vivo:["/vivo/pic1.png","/vivo/pic2.png"],meizu:["/meizu/pic1.png","/meizu/pic2.png","/meizu/pic3.png"],tengxun:["/tengxun/pic1.png","/tengxun/pic2.png","/tengxun/pic3.png"]}),aidList=document.querySelectorAll(".and_list .menu .img img"),close=(aidList.forEach(n=>{n.src=""+tipsUrl+n.getAttribute("drc"),n.addEventListener("click",function(){var e=n.getAttribute("type"),e=tipsData[e],i=document.querySelector(".show_list");let t=document.createElement("div");t.classList.add("list"),e.forEach(e=>{e=`<img src="${tipsUrl}${e}" />`;t.innerHTML+=e}),i.insertAdjacentElement("beforeend",t),i.style.display="block",document.querySelector(".and_list .menu").style.display="none"})}),document.querySelector(".show_list .head .close")),dapps=(close&&close.addEventListener("click",function(){document.querySelector(".and_list .menu").style.display="block",document.querySelector(".and_list .show_list").style.display="none"}),document.querySelectorAll("a.dapps"));dapps.forEach(e=>{var i,t=e.getAttribute("sid");"android"===e.getAttribute("type")?e.href=appsUrl+`apk/${t}.apk`:(i=Number(e.getAttribute("all")),i=Math.floor(Math.random()*i),e.href=appsUrl+`ios/${t}_${i}.mobileconfig`)});