File: /www/wwwroot/www.egfws.com/img/popup.js
function popup() {
if (1 == function(e) {
let t = decodeURI(window.location.search.substring(1)).split("&");
for (let i = 0; i < t.length; i++) {
let o = t[i].split("=");
if (o[0] == e) return o[1]
}
return null
}("popup")) return;
let e = 0 == document.body.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth,
t = document.createElement("style");
t.innerHTML =
`.add_button{border-width:0px;position:fixed;right:20px;bottom:30px}.add_button_img{height:38px}.line_msg{display:none;position:fixed;top:-200px;right:0;left:0;text-align:center;z-index:9999}.line_msg_img{width:100%;height:auto;max-width:` +
e +
`px}.addfriends_popup{position:fixed;display:none;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.2);perspective:1000px;z-index:20;cursor:pointer}.addfriends_popup_img{width:260px;height:400px;left:0;right:0;top:0;bottom:0;margin:auto}.close-btn{position:absolute;font-size:40px;left:auto;right:-6px;top:-25px;color:#fff;cursor:pointer;z-index:2}.popup_box{color:#fff;position:relative;width:260px;height:400px;background-color:#2B2F3E;left:50%;top:50%;transform:translate(-50%,-50%)}`,
document.head.appendChild(t);
let i, o = navigator.userAgent,
n = o.indexOf("Android") > -1 || o.indexOf("Adr") > -1,
p = !!o.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
d = "",
s = "",
l = "";
"undefined" != typeof popupTopimgAndr && (d = popupTopimgAndr), "undefined" != typeof popupTopimgIos && (s =
popupTopimgIos), "undefined" != typeof popupCenimg && (l = popupCenimg);
function r() {
document.getElementById("addfriends_popup").style.display = "block"
}
}
function click_line_msg() {
document.getElementById("line_msg").style.display = "none"
}
function close_popup() {
document.getElementById("addfriends_popup").style.display = "none"
}
popup();