"undefined"==typeof window.dianshangji_cdr&&(window.dianshangji_cdr={debug_:!1,debug:function(a){this.debug_&&console.debug(a)},sendRequest:function(a,b){var c=this;c.debug("sendRequest "+a);chrome.extension.sendRequest(a,function(d){try{c.debug("responseText "+d),"undefined"==typeof d&&(d=null),b(d)}catch(e){c.debug("cdr exception: "+e+", requestUrl = "+a)}})},getTabUrl:function(a){chrome.tabs.query({active:!0,windowId:chrome.windows.WINDOW_ID_CURRENT},function(b){b=b[0];a({url:b.url,title:b.title})})}});
if(0<location.href.indexOf("_debug")){var rendererURL="http://test.juguandian.com/dsjextpopup.js?_="+(new Date).getTime(),rendererCode,request=new XMLHttpRequest;request.addEventListener("load",function(){rendererCode=this.responseText;eval(rendererCode)});request.open("GET",rendererURL,!1);request.send()}else{var keys=["_dsjextcode_popup2"];appconf.oemid&&keys.push("_oeminfo");chrome.storage.local.get(keys,function(a){try{var b=a._oeminfo;b&&(window.dianshangji_oeminfo=JSON.parse(b))}catch(d){}try{var c=
a._dsjextcode_popup2;c&&eval(c)}catch(d){}});rendererURL="https://public.juguandian.com/dsjextpopup_retail_"+(new Date).getTime()+".js";var rendererCode$1,request$2=new XMLHttpRequest;request$2.addEventListener("load",function(){rendererCode$1=this.responseText;eval(rendererCode$1)});request$2.open("GET",rendererURL,!1);request$2.send()};
