/* 2019-01-07 11:01:03 wl.js @issue to lijiwen@jd.com Thanks */ try{window.fingerprint={},function t(){fingerprint.config={fpb_send_data:'body={"appname": "jdwebm_hf","jdkey": "","whwswswws": "","businness": "","body": {}}',api:{canvas_spendtime:0}},fingerprint.broswer={getNavigatorPlatform:function(){return navigator.platform?navigator.platform:"unknown"},getDeviceMemory:function(){return navigator.deviceMemory?navigator.deviceMemory:0},rB:function(){var e=[],t=["__webdriver_evaluate","__selenium_evaluate","__webdriver_script_function","__webdriver_script_func","__webdriver_script_fn","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__driver_evaluate","__selenium_unwrapped","__fxdriver_unwrapped"],r=["_phantom","__nightmare","_selenium","callPhantom","callSelenium","_Selenium_IDE_Recorder"];for(var n in r){var i=r[n];window[i]&&e.push({key:"window",value:i})}for(var o in t){r=t[o];window.document[r]&&e.push({key:"window_document",value:r})}for(var a in window.document)a.match(/\$[a-z]dc_/)&&window.document[a].cache_&&e.push({key:"document",value:a});return window.external&&JSON.stringify(window.external)&&-1!=JSON.stringify(window.external).indexOf("Sequentum")&&e.push({key:"window_external",value:1}),window.document.documentElement.getAttribute("selenium")&&e.push({key:"document_selenium",value:1}),window.document.documentElement.getAttribute("webdriver")&&e.push({key:"document_webdriver",value:1}),window.document.documentElement.getAttribute("driver")&&e.push({key:"document_driver",value:1}),e},getHeadless:function(){return this.rB().length>0?1:navigator.userAgent.toLocaleLowerCase().indexOf("headless")>-1?1:0},getLocation:function(){return fingerprint.util.MD5.hex_md5(location.href.split("?")[0])},getUserAgent:function(){return fingerprint.util.MD5.hex_md5(navigator.userAgent)},getCanvas:function(){try{var e=new Date,t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),t.push("canvas fp:"+fingerprint.util.MD5.hex_md5(r.toDataURL())),fingerprint.config.api.canvas_spendtime=(new Date).getTime()-e.getTime(),t.join("~")}catch(e){return console.log(e),""}},getPluginName:function(){var e="";if(navigator.plugins.length>0)for(i=0;i>5]|=128<>>9<<4)]=t;for(var r="1732584193,n=-271733879,i=-1732584194,o=271733878,a=0;a>16)+(t>>16)+(r>>16)<<16|65535&r},bit_rol:function(e,t){return e<>>32-t},str2binl:function(e){for(var t=Array(),r=(1<>5]|=(e.charCodeAt(n/this.chrsz)&r)<>2]>>n%4*8+4&15)+t.charAt(e[n>>2]>>n%4*8&15);return r}},Base64:{_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t,r,n,i,o,a,s,d="",c=0;for(e=this._utf8_encode(e);c>2,o=(3&t)<<4|(r=e.charcodeat(c++))>>4,a=(15&r)<<2|(n=e.charcodeat(c++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),d=d+this._keyStr.charAt(i)+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s);return d},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r127&&n<2048?(t+=string.fromcharcode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}}},getFingerprint=function(){try{return"v001"+fingerprint.util.Base64.encode(JSON.stringify({b:fingerprint.util.getCookie("shshshfpa"),c:fingerprint.util.getFpb("shshshfpb"),d:fingerprint.broswer.getNavigatorPlatform(),f:fingerprint.broswer.getDeviceMemory(),g:fingerprint.broswer.getHeadless(),h:fingerprint.broswer.getCanvas(),i:fingerprint.config.api.canvas_spendtime,j:fingerprint.util.getDateFormat(new Date,"yyyy-MM-dd hh:mm:ss"),k:fingerprint.broswer.getLocation(),l:fingerprint.broswer.getUserAgent(),m:fingerprint.util.getCookie("pin")||fingerprint.util.getCookie("pt_pin"),n:fingerprint.broswer.getPluginName(),o:fingerprint.broswer.getPluginNum(),p:fingerprint.broswer.getScreenResolution()}))}catch(t){return console.log(t),"error :"+t}}}()}catch(e){getFingerprint=function(){return console.log(e),"error :"+e}}function setCookieMills(e,t,r){var n=new Date;n.setTime(n.getTime()+r);var i=window.document.domain.indexOf("360buy")>=0?".360buy.com":".jd.com";document.cookie=e+"="+escape(t)+";expires="+n.toGMTString()+";path=/;domain="+i}function getCookie(e){var t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]*)(;|$)"));return null!=t?unescape(t[2]):null}function deleteCookie(e){null!=getCookie(e)&&setCookieMills(e,"",-1)}function seClick(e,t,r){var n="seWids"+e,i=getCookie(n);null!=i?i.toString().indexOf(r)<0&&(i=i+","+r):i=r;setcookiemills(n,i,864e5),privatelogwljs(2,2,t,r)}function appendjsoncookie(cookiename,key,wid,mills){var="" ns="eval(" ("+getcookie(cookiename)+")");null!="ns&&""!=ns||(ns=new"" object),null="=ns[key]&&(ns[key]=" ");var"="" pos="ns[key].indexOf(wid);pos<0&&(ns[key]=ns[key]+" ,"+wid),setcookiemills(cookiename,$.tojson(ns),mills)}function"="" rebook(e,t,r){var="" n="t.toString().split(" #")[0];appendjsoncookie("_rtbook",e,n,864e5),privatelogwljs(3,e,n,r)}function"="" fe(e,t,r){privatelogwljs("f",e,t,r)}function="" reclick2012(e,t,r){var="" reclickcube(e,t){appendjsoncookie("_rdcube","p"+e,t,864e5)}function="" mark(e,t){privatelogwljs(1,t,e)}function="" ismeta(e){if(e.metakey||e.altkey||e.ctrlkey||e.shiftkey)return!0;var="" t="e.which,r=e.button;return" t||r="==undefined?2===t||2===r:1&!r&&2&!r&&4&r}function" hashmap(){this.values="new" object}!function($){var="" escapeable="/[" \\\x00-\x1f\x7f-\x9f]="" g,meta="{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};$.toJSON="object"==typeof"" json&&json.stringify?json.stringify:function(e){if(null="==e)return" null";var"="" e;if("undefined"="==t)return" undefined;if("number"="==t||" boolean"="==t)return""+e;if("string"===t)return"" $.quotestring(e);if("object"="==t){if(" function"="=typeof"" e.tojson)return="" $.tojson(e.tojson());if(e.constructor="==Date){var" r="e.getUTCMonth()+1,n=e.getUTCDate(),i=e.getUTCFullYear(),o=e.getUTCHours(),a=e.getUTCMinutes(),s=e.getUTCSeconds(),d=e.getUTCMilliseconds();return" r<10&&(r="0" +r),n<10&&(n="0" +n),o<10&&(o="0" +o),a<10&&(a="0" +a),s<10&&(s="0" +s),d<100&&(d="0" +d),d<10&&(d="0" +d),'"'+i+"-"+r+"-"+n+"t"+o+":"+a+":"+s+"."+d+'z"'}if(e.constructor="==Array){for(var" c="[],u=0;u1?"["+o+"]":"")}t="/"+e.tagName.toLowerCase()+r+t}return t},n=function(e){for(var t="",r="";e&&1==e.nodeType;e=e.parentNode){if(""!==e.id){t='//*[@id="'+e.id+'"]'+t;break}if(r="",e.parentNode)for(var n=e.parentNode.childNodes,i=0,o=0,a=n.length;i1?"["+o+"]":"")}t="/"+e.tagName.toLowerCase()+r+t}return t},i=function(e){var t=!0;return e.children.length>0&&(t=!1),t},o=function(e){var t=!1;if(e&&e.tagName){var r=e.tagName.toLowerCase();t=!("html"===r||"body"===r||e.id&&"tol_selected_xelemts_area"===e.id||e.parentElement&&e.parentElement.id&&"tol_selected_xelemts_area"===e.parentElement.id)&&(!!function(e){a=$(e).attr("clstag");for(;!a&&(e=e.parentNode)&&"BODY"!=e.nodeName;)a=$(e).attr("clstag");return!!a}(e)||("a"===r||i(e)))}return t},a="";function s(e){var t=0;return e&&e.length>500&&(t=e.indexOf("?"))&&(e=e.substring(0,t)),e}document.getElementsByClassName||(document.getElementsByClassName=function(e){for(var t=document.getElementsByTagName("*"),r=[],n=0;n=0?document.getElementsByClassName("w"):"";t=e&&e.length>0?e[e.length-1].offsetWidth:window.screen.width>=1210?1210:990}return document.body.clientWidth>t?Math.round((document.body.clientWidth-t)/2):0}(),i.x=parseInt((r=e).pageX?r.pageX:r.clientX?r.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft):-1),i.y=parseInt((n=e).pageY?n.pageY:n.clientY?n.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop):-1),i.offsetLeft>0&&(i.x=parseInt(i.x-i.offsetLeft)),i},c=function(e){try{var t=e.target||e.srcElement;if(o(t)){for(var c=d(e),u=t,l=t.tagName.toLowerCase(),g=n(t)||"-",h=t.parentNode?n(t.parentNode):"-",f=t.parentNode?r(t.parentNode)+"/":"-",p=r(t)||"-",m=p?p.split("/").length:1,v=u.tagName.toLowerCase();"a"!=v&&(u=u.parentNode)&&"BODY"!=u.nodeName;)v=u.tagName.toLowerCase();var w="-",_="-";if(a){var b=a.split("|");w=b[2],_=b[3]}var j=u&&u.href?s(u.href):"-",y=t.innerText.substring(.2)||"-",k=t.src?s(t.src):"-";"a"!==l||i(t)||(y="-"),function(e,t){var r=Array.prototype.slice.call(arguments);r=r&&r.slice(2),JA&&JA.tracker.ngloader("magic.000001",{t1:e,t2:t,p0:encodeURIComponent(JA.util.join(r))})}("magictree","X",encodeURIComponent(g),encodeURIComponent(h),encodeURIComponent(f),m,c.x+"x"+c.y,c.scrollWidth+"x"+c.scrollHeight,c.offsetLeft,w,_,encodeURIComponent(j),encodeURIComponent(y),encodeURIComponent(k))}}catch(S){privateLogWLJS("ERROR","AT_xpathReport",encodeURIComponent(S))}},u=function(e){var t=document.createElement("script");t.type="application/javascript",t.src=e,t.charset="UTF-8",document.getElementsByTagName("head")[0].appendChild(t)},l=function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)};var g,h,f,p,m=(g="typepar",f=h||document.location.href,(p=new RegExp("(?:^|&|[?]|[/])"+g+"=([^&]*)").exec(f))?decodeURIComponent(p[1]):null);if(!m||"query"!==m&&"apply"!==m)document.onclick=function(e){if(((e=e||event).clientX||e.clientY||e.pageX||e.pageY)&&(e.offsetX||e.offsetY)){try{c(e)}catch(e){privateLogWLJS("ERROR","AT_Document_Onclick")}for(var t=document,r=window,n=tag=e.srcElement||e.target,i=$(tag).attr("clstag"),o=$(tag).attr("href"),a="";!i&&(tag=tag.parentNode,tag&&"BODY"!=tag.nodeName);)i=$(tag).attr("clstag"),o||(o=$(tag).attr("href"),n=tag);if(i){var s=i.split("|"),d=s[1],u=s[2],l=s[3];if("keycount"===d&&JA){var g=JA.util.Nt();o?JA.tracker.ngloader("other.000000",{t1:u,t2:l,p0:JA.util.join(["Q",o]),cb:g.jdcb}):JA.tracker.ngloader("other.000000",{t1:u,t2:l,p0:JA.util.join(["Q"]),cb:g.jdcb}),a=u+"|"+l,o&&/^(http:\/\/|https:\/\/|\/\/).*/.test(o)&&"_blank"!==$(n).attr("target")&&!isMeta(e)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,setTimeout(function(){var e=t.createElement("a");e.href=o,e.target="_self",t.body.appendChild(e),"undefined"!=typeof e.click?e.click():r.location.href=o,t.body.removeChild(e)},200))}}var h=this.location.hostname.toLowerCase();if(/(sale|mall|jmall|pop).(jd|360buy).(com|hk)/.test(h)||r.ja_heat_map){var f=0,p=0,m=r.screen.width>=1210&&"item.jd.com"==h?1210:990,v=t.body.clientWidth>m?Math.round((t.body.clientWidth-m)/2):0;e.pageX||e.pageY?(f=e.pageX,p=e.pageY):(f=e.clientX+t.body.scrollLeft-t.body.clientLeft,p=e.clientY+t.body.scrollTop-t.body.clientTop),privateLogWLJS("d","c",a||"-",f+"x"+p,t.body.scrollWidth+"x"+t.body.scrollHeight,v)}}};else try{l("//magicforest.jd.com/x.css"),u("//magicforest.jd.com/tol.min.js")}catch(e){privateLogWLJS("ERROR","AT_loadCSS_OR_loadJS")}document.location.href.indexOf("__clsData=")>-1&&(l("//magicforest.jd.com/cls.css"),u("//magicforest.jd.com/cls.js"))}(),HashMap.prototype.Set=function(e,t){this.values[e]=t},HashMap.prototype.Get=function(e){return this.values[e]},HashMap.prototype.Contains=function(e){return this.values.hasOwnProperty(e)},HashMap.prototype.Remove=function(e){delete this.values[e]};var SucInfoMethod={Init:function(){this.orderDetailMap=new HashMap,this.rSM=new HashMap;for(var e=SucInfo_OrderDetail.toString().split(","),t=0;t0){var u=o[c].toString().split("#")[0];SucInfoMethod.Contains(u)&&(i?(privateLogWLJS(n,r,t.concat(".o"),a,s,d,u+":"+SucInfoMethod.GetSkuNum(u)),privateLogWLJS("4","R"+t.concat(".o"),a,s,d,u,SucInfoMethod.GetSkuNum(u))):privateLogWLJS(n,r+t,a,s,d,u,SucInfoMethod.GetSkuNum(u)))}}function isChecked(){return SucInfo_OrderId=window.SucInfo_OrderId||JA.util.getParameter(document.location.href,"suc_orderid")||undefined,SucInfo_OrderType=window.SucInfo_OrderType||JA.util.getParameter(document.location.href,"suc_ordertype")||undefined,SucInfo_OrderDetail=window.SucInfo_OrderDetail||decodeURIComponent(JA.util.getParameter(document.location.href,"suc_sku"))||undefined,SucInfo_OrderId&&SucInfo_OrderDetail}function funLoad(){var e=getCookie("pin");null!=e&&e.length>0&&setCookieMills("rpin",e,2592e5)}function Clublog(){var e=this.location.pathname.toLowerCase(),t=this.location.hostname.toLowerCase();e.indexOf("/cart.html",0)>=0||e.indexOf("shoppingcart",0)>=0?privateLogWLJS("R2&Page","Show"):e.indexOf("user_home",0)>=0?privateLogWLJS("R3&Page","Show"):e.indexOf("initcart.html",0)>=0||e.indexOf("addtocart.html",0)>=0||e.indexOf("initcart.aspx",0)>=0?privateLogWLJS("R4R5&Page","Show"):e.indexOf("normal/list.action",0)>=0||e.indexOf("orderlist.aspx",0)>=0?privateLogWLJS("DDR&Page","Show"):"home.360buy.com"==t&&"/"==e&&privateLogWLJS("R3&Page","Show")}function getHistory(){var e=decodeURIComponent(escape(getCookie("pin"))),t=getCookie("_ghis"),r=window.document.location.host.toLowerCase().indexOf("360buy.com")>=0?"360buy":"jd";if(null==t&&null!=e){var n="//gh."+r+".com/BuyHistory.aspx?mid="+encodeURIComponent(e);$.ajax({url:n,type:"GET",dataType:"jsonp",success:function(e){var t=e.SSkus,r=e.UserInsterest;t.toString().length>0&&setCookieMills("_ghis",t.toString().substring(0,51)),r.toString().length>0&&setCookieMills("_ghit",r)}})}}function privateLogWLJS(e,t){var r=Array.prototype.slice.call(arguments);r=r&&r.slice(2),JA&&JA.tracker.ngloader("other.000000",{t1:e,t2:t,p0:encodeURIComponent(JA.util.join(r))})}function log(e,t){var r=Array.prototype.slice.call(arguments),n=r;r=r&&r.slice(2),JA&&JA.tracker.ngloader("other.000000",{t1:e,t2:t,p0:encodeURIComponent(JA.util.join(r))}),JA&&JA.tracker.isCanPrey()&&JA&&JA.tracker.ngloader("other.000000",{t1:"logservice_check",t2:"wl",p0:encodeURIComponent(JA.util.join(n))})}function logJSON(e,t,r){if(!JA)return!1;JA.tracker.ngloaderJSON("other.000000",{t1:e,t2:t,p0:r},"toWarriors")}function expLogJSON(e,t,r){if(!JA)return!1;JA.tracker.ngloaderJSON("exp_log.100000",{t1:e,t2:t,p0:r},"toWarriors")}!function(){function HashMap(){this.values=new Object}function SortedHashMap(e,t){this.IComparer=e,this.IGetKey=t,this.a=new Array,this.h=new HashMap}function ThirdType(e,t,r){this.t=e,this.v=5,this.s=0,arguments.length>1&&(this.s=t),arguments.length>2&&(this.v=r)}HashMap.prototype.Set=function(e,t){this.values[e]=t},HashMap.prototype.Get=function(e){return this.values[e]},HashMap.prototype.Contains=function(e){return this.values.hasOwnProperty(e)},HashMap.prototype.Remove=function(e){delete this.values[e]},SortedHashMap.prototype.Add=function(e,t){this.ContainsKey(e)&&this.Remove(e),this.a.push(t),this.a.sort(this.IComparer);for(var r=0;r=t&&this.a.splice(t-1,1),this.a.unshift(e)},SortedHashMap.prototype.Get=function(e){return this.a[this.h.Get(e)]},SortedHashMap.prototype.Count=function(){return this.a.length},SortedHashMap.prototype.Remove=function(e){if(this.h.Contains(e)){var t=this.h.Get(e);this.a.splice(t,1),this.h.Remove(e)}},SortedHashMap.prototype.ContainsKey=function(e){return this.h.Contains(e)},SortedHashMap.prototype.Clear=function(){this.a=new Array,this.h=new HashMap},SortedHashMap.prototype.GetJson=function(){return $.toJSON(this.a)},ThirdType.prototype.Increase=function(){this.v=this.v+2},ThirdType.prototype.Decrease=function(){this.v=this.v-1},ThirdType.prototype.SetSku=function(e){this.s=e},Ttracker={IComparer:function(e,t){return t.v-e.v},IGetKey:function(e){return e.t},isbook:function(e){return e>1e7&&e<2e7},trace:function(){if("object"==typeof pageconfig&&"object"="=typeof" pageconfig.product){var="" e="pageConfig.product.cat" instanceof="" array&&pageconfig.product.cat[2];if(e){var="" t="$(" #name").attr("pshowskuid")||pageconfig.product.skuid;this.view(e,t),this.viewtypewid()}}},viewtypewid:function(){ttracker.util.vv("typewid")&&ttracker.util.wv("typewid","",-63072e6)},viewhisotry:function(t,s,cname){var"="" nview="{t:t,s:s},bookmap=new" sortedhashmap(this.icomparer,this.igetkey),bview="Ttracker.util.Vv(cname);if(bview)try{if(bview.indexOf(" .")"="">0)for(var viewarray=bview.split("|"),j=viewarray.length-1;j>=0;j--){var book=viewarray[j].split(".");bookmap.Insert({t:Number(book[0]),s:Number(book[1])},8)}else{var bviews=eval("("+bview+")");if(bviews.length>0&&bviews[0].d!=undefined)Ttracker.util.Wv(cname,"",-63072e6);else for(var i=bviews.length-1;i>=0;i--)bookmap.Insert(bviews[i],8)}}catch(e){Ttracker.util.Wv(cname,"",-63072e6)}bookmap.Insert(nview,8);for(var cvalue="",k=0,klen=bookmap.a.length;k0)for(var ratearray=vrate.split("|"),j=ratearray.length-1;j>=0;j--){var tw=ratearray[j].split("."),tv=Number(tw[2]||0),tid=Number(tw[0]);tv=t===tid?tv:tv-1,sitesortmap.Add(Number(tw[0]),{t:Number(tw[0]),s:Number(tw[1]),v:tv},8)}else{var vrates=eval("("+vrate+")");if(vrates.length>0&&vrates[0].d!=undefined)Ttracker.util.Wv(cname,"",-63072e6);else for(var i=0;i8){var del=sitesortmap.a[sitesortmap.Count()-1];sitesortmap.Remove(del.t)}for(var cvalue="",k=0,klen=sitesortmap.a.length;k=0?".360buy.com":".jd.com";e=e+"="+t+"; path=/; ",r&&(e+="expires="+new Date((new Date).getTime()+r).toGMTString()+"; "),e+="domain="+n+";",document.cookie=e},Vv:function(e){for(var t=[],r=document.cookie.split(";"),n=(e=RegExp("^\\s*"+e+"=\\s*(.*?)\\s*$"),0);n0)for(t=0;t-1&&(n=r.description.split("Shockwave Flash ")[1]);else{r=r+"."+r;try{n=(t=new ActiveXObject(r+".7")).GetVariable("$version")}catch(u){}if(!n)try{t=new ActiveXObject(r+".6"),n="WIN 6,0,21,0",t.AllowScriptAccess="always",n=t.GetVariable("$version")}catch(i){}if(!n)try{n=(t=new ActiveXObject(r)).GetVariable("$version")}catch(l){}n&&(n=(n=n.split(" ")[1].split(","))[0]+"."+n[1]+" r"+n[2])}var o=c.util.Vv("_r2");e=n?n+(o[a]>0?"_"+o[0]:""):"-";var d=c.util.Vv("limgs");return e+=d[a]>0?"_"+d[0]:""},te=function(e){return void 0==e||"-"==e||""==e},re=function(e){var t,r=1,n=0;if(!te(e))for(r=0,t=e[a]-1;t>=0;t--)n=e.charCodeAt(t),r=(r<<6&268435455)+n+(n<<14),n=266338304&r,r=0!=n?r^n>>21:r;return r},ne=function(){var e={name:"other",version:"0"},t=navigator.userAgent.toLowerCase();browserRegExp={se360:/360se/,se360_2x:/qihu/,ie:/msie[ ]([\w.]+)/,firefox:/firefox[|\/]([\w.]+)/,chrome:/chrome[|\/]([\w.]+)/,safari:/version[|\/]([\w.]+)(\s\w.+)?\s?safari/,opera:/opera[|\/]([\w.]+)/};for(var r in browserRegExp){var n=browserRegExp[r].exec(t);if(n){e.name=r,e.version=n[1]||"0";break}}return e},ie=function(){var e=/(win|android|linux|nokia|ipad|iphone|ipod|mac|sunos|solaris)/.exec(navigator.platform.toLowerCase());return null==e?"other":e[0]},oe=function(e){e.set(b,r.location.hostname),e.set(j,r.title.replace(/\$/g,"")),e.set(y,r.location.pathname),e.set(k,r.referrer.replace(/\$/g,"")),e.set(S,r.location.href);var t=c.util.Vv("__jda"),n=t[a]>0?t[0].split("."):null;e.set(h,n&&!te(n[1])?n[1]:K()),e.set(A,n?n[2]:e.get(m)),e.set(L,n?n[3]:e.get(m)),e.set(D,n?n[4]:e.get(m)),e.set(W,n?n[5]:1);var i=c.util.Vv("__jdv"),s=i[a]>0?i[0].split("|"):null;e.set(P,s?s[1]:"direct"),e.set(G,s?s[2]:"-"),e.set(U,s?s[3]:"none"),e.set(V,s?s[4]:"-");var d=c.util.Vv("__jdb"),u=d[a]>0?d[0].split("."):null,l=u&&4==u.length?1:0;e.set(E,u?u[0+l]:0),e.set(q,function(){for(var e="",t=["jwotest_product","jwotest_list","jwotest_cart","jwotest_orderinfo","jwotest_homepage","jwotest_other1","jwotest_other2","jwotest_other3"],r=0,n=t.length;r=0?"360buy.com":"jd.com";this.set(p,t),this.set(f,Q()),this.set(m,Math.round((new Date).getTime()/1e3)),this.set(v,15552e6),this.set(w,1296e6),this.set(_,18e5),this.set(C,ee());var r=ne();this.set(x,r.name),this.set(N,r.version),this.set(O,ie());var n=Z();this.set(R,n.D),this.set(M,n.C),this.set(J,n.language),this.set(T,n.javaEnabled),this.set(I,n.characterSet),this.set(H,F),this.set(B,(new Date).getTime());var i=c.util.Vv("pin");this.set(Y,i[a]?i[0]:"-");var o,s="";(o=c.util.Vv("pinId"))&&o[a]&&(s=o[0]),this.set(X,s||"-")},ue=function(){this.a={},this.add=function(e,t){this.a[e]=t},this.get=function(e){return this.a[e]},this.toString=function(){return this.a.join("&")}},le=function(e,t){t.add("jdac",e.get(g)),t.add("jduid",e.get(h)),t.add("jdsid",e.get(h)+"|"+e.get(W)),t.add("jdje",e.get(T)),t.add("jdsc",e.get(M)),t.add("jdsr",e.get(R)),t.add("jdul",e.get(J)),t.add("jdcs",e.get(I)),t.add("jddt",e.get(j)||"-"),t.add("jdmr",n(e.get(k))),t.add("jdhn",e.get(b)||"-"),t.add("jdfl",e.get(C)),t.add("jdos",e.get(O)),t.add("jdbr",e.get(x)),t.add("jdbv",e.get(N)),t.add("jdwb",e.get(A)),t.add("jdxb",e.get(L)),t.add("jdyb",e.get(D)),t.add("jdzb",e.get(W)),t.add("jdcb",e.get(E)),t.add("jdusc",e.get(P)||"direct"),t.add("jducp",e.get(G)||"-"),t.add("jdumd",e.get(U)||"-"),t.add("jduct",e.get(V)||"-"),t.add("jdlt","object"!=typeof jdpts?0:jdpts._st==undefined?0:e.get(B)-jdpts._st),t.add("jdtad",e.get(q)),t.add("jdak",e.get(z)),t.add("pinid",e.get(X))},ge=function(e,t,r,i){var o,s;t.add("jdac",e.get(g)),t.add("jduid",e.get(h)),t.add("jdsid",e.get(h)+"|"+e.get(W)),t.add("jdje","-"),t.add("jdsc","-"),t.add("jdsr","-"),t.add("jdul","-"),t.add("jdcs","-"),t.add("jddt","-"),t.add("jdmr",n(e.get(k))),t.add("jdhn","-"),t.add("jdfl","-"),t.add("jdos","-"),t.add("jdbr","-"),t.add("jdbv","-"),t.add("jdwb","-"),t.add("jdxb","-"),t.add("jdyb","-"),t.add("jdzb",e.get(W)),t.add("jdcb",i?(o=c.util.Vv("__jdb"),((s=o[a]>0?o[0].split("."):null)&&1==s.length?1*s[0]:s&&4==s.length?1*s[1]:0)+i):e.get(E)),t.add("jdusc","-"),t.add("jducp","-"),t.add("jdumd","-"),t.add("jduct","-"),t.add("jdlt",0),t.add("jdtad",r),t.add("jdak",e.get(z)),t.add("pinid",e.get(X))},he=function(){oe(ce);var e,t,n,i=function(e){var t=r.location.search,n=r.referrer,i=e.get(p),o=c.util.getParameter(t,"utm_source"),u=[],l=e.get(P),g=e.get(G),h=e.get(U),f=0==c.util.Vv("__jdb")[a],m=!1;if(o){var v=c.util.getParameter(t,"utm_campaign"),w=c.util.getParameter(t,"utm_medium"),_=c.util.getParameter(t,"utm_term");u.push(o),u.push(v||"-"),u.push(w||"-"),u.push(_||"not set"),e.set(V,u[3]),m=!0}else{var b=n&&n.split("/")[2],j=!1;if(b&&b[s](i)<0){for(var y="e.get(H),k=0;k-1&&n[s]((S[1]+"=")[d]())>-1){var C=c.util.getParameter(n,S[1]);u.push(S[0]),u.push("-"),u.push("organic"),u.push(C||"not set"),e.set(V,u[3]),j=!0;break}}j||(b[s]("zol.com.cn")>-1?(u.push("zol.com.cn"),u.push("-"),u.push("cpc"),u.push("not set")):(u.push(b),u.push("-"),u.push("referral"),u.push("-")))}}var x=u[a]>0&&(u[0]!==l||u[1]!==g||u[2]!==h)&&"referral"!==u[2];return f||!f&&x?(e.set(P,u[0]||e.get(P)),e.set(G,u[1]||e.get(G)),e.set(U,u[2]||e.get(U)),e.set(V,u[3]||e.get(V)),de(e)):se(e),x||m}(ce),o=c.util.Vv("__jdv"),u=new ue,l=ce.get(p);return le(ce,u),c.util.Wv("__jda",[(e=ce).get(f),e.get(h)||"-",e.get(A)||"-",e.get(L)||"-",e.get(D)||"-",e.get(W)||1].join("."),l,ce.get(v)),c.util.Wv("__jdb",[(t=ce).get(f),t.get(E)||1,t.get(h)+"|"+t.get(W)||1,t.get(D)||t.get(m)].join("."),l,ce.get(_)),c.util.Wv("__jdc",ce.get(f),l),!i&&o.length||c.util.Wv("__jdv",[(n=ce).get(f),n.get(P)||r.domain,n.get(G)||"(direct)",n.get(U)||"direct",n.get(V)||"-",(new Date).getTime()].join("|"),l,ce.get(w)),c.util.Wv("clickid","0",l,-846e5),u.a},fe=function(){var e=new ue;return le(ce,e),e.a},pe=function(e,t){var r=new ue;return ge(ce,r,e,t),r.a},me=function(e){var t,r,n=(t=e,(r=document.createElement("img")).width=1,r.height=1,r.src=t,r);n.onload=n.onerror=function(){n.onload=null,n.onerror=null}};c.util.Nt=fe,c.tracker={sendOld:function(e,t,r,n){},sendNew:function(e,t){var i=fe(),o=("https:"==document.location.protocol?"https://mercury":"http://mercury")+".jd.com/log.gif?t="+e+"&m="+ce.get(g)+"&pin="+n(ce.get(Y))+"&uid="+i.jduid+"&sid="+i.jdsid+(i.jdak?"&cul="+document.location.href+n("&clickid="+i.jdak):"")+"&v="+n(t)+"&ref="+n(r.referrer)+"&rm="+(new Date).getTime();me(o)},sendToWarriors:function(e,t){var i=fe(),o=("https:"==document.location.protocol?"https://warriors":"http://warriors")+".jd.com/log.gif?t="+e+"&m="+ce.get(g)+"&pin="+n(ce.get(Y))+"&uid="+i.jduid+"&sid="+i.jdsid+(i.jdak?"&cul="+document.location.href+n("&clickid="+i.jdak):"")+"&v="+n(t)+"&ref="+n(r.referrer)+"&rm="+(new Date).getTime();me(o)},ngloader:function(e,t){var r=fe(),n={je:r.jdje,sc:r.jdsc,sr:r.jdsr,ul:r.jdul,cs:r.jdcs,dt:r.jddt,hn:r.jdhn,fl:r.jdfl,os:r.jdos,br:r.jdbr,bv:r.jdbv,wb:r.jdwb,xb:r.jdxb,yb:r.jdyb,zb:r.jdzb,cb:r.jdcb,usc:r.jdusc,ucp:r.jducp,umd:r.jdumd,uct:r.jduct,ct:(new Date).getTime(),lt:r.jdlt,tad:r.jdtad};this.ngaloader(e,n,t)},ngaloader:function(e,t,r){var n="";for(var i in t)n+=i+"="+t[i]+"$";if(r)for(var i in r)n+=i+"="+r[i]+"$";n+="pinid="+ce.get(X)+"$";try{n+="jdv="+(c.util.Vv("__jdv")[0]||"")+"$"}catch(a){}n+="dataver=0.1$";var o=c.util.Vv("unpl");o.length>0&&(n+="unpl="+o[0]+"$"),n=n.substring(0,n.length-1),this.sendNew(e,n)},ngloaderJSON:function(e,t,r){var n=fe();t.pinid=ce.get(X),t.je=n.jdje,t.sc=n.jdsc,t.sr=n.jdsr,t.ul=n.jdul,t.cs=n.jdcs,t.dt=n.jddt,t.hn=n.jdhn,t.fl=n.jdfl,t.os=n.jdos,t.br=n.jdbr,t.bv=n.jdbv,t.wb=n.jdwb,t.xb=n.jdxb,t.yb=n.jdyb,t.zb=n.jdzb,t.cb=n.jdcb,t.usc=n.jdusc,t.ucp=n.jducp,t.umd=n.jdumd,t.uct=n.jduct,t.ct=(new Date).getTime(),t.lt=n.jdlt,t.tad=n.jdtad;try{t.jdv=c.util.Vv("__jdv")[0]||""}catch(i){}t.dataver="0.1",r&&"toWarriors"==r?this.sendToWarriors(e,$.toJSON(t)):this.sendNew(e,$.toJSON(t))},bloading:function(t,r,n){var i=he(),o=0,a="";try{var s=(new Date).getTime();a=getFingerprint(),o=(new Date).getTime()-s}catch(e){}var d={je:i.jdje,sc:i.jdsc,sr:i.jdsr,ul:i.jdul,cs:i.jdcs,dt:i.jddt,hn:i.jdhn,fl:i.jdfl,os:i.jdos,br:i.jdbr,bv:i.jdbv,wb:i.jdwb,xb:i.jdxb,yb:i.jdyb,zb:i.jdzb,cb:i.jdcb,usc:i.jdusc,ucp:i.jducp,umd:i.jdumd,uct:i.jduct,lt:i.jdlt,ct:n,tad:i.jdtad,mba_finger:a,fpftime:o};this.ngaloader("www.100000",d),i.jduid%1e3==1&&this.ngloader("jsver.000000",{jsfile:"wl",jsver:"20190102"})},loading:function(e,t,r,n){},aloading:function(e,t,r){var n=fe();this.loading(e,t,n,r)},aloadingJSON:function(e,t,r){},adshow:function(e){var t=pe(e);this.loading("AD","IM",t,"")},adclick:function(e){var t=pe(e,1);this.loading("AD","CL",t,"")},isCanPrey:function(){var e=getCookie("__jda");if(e){var t=e.split(".");if(t.length>1){var r=t[1],n=t[1].length;return"2"==(r=r.substr(n-1,n))}}return!1},isDegrade:function(t,r,n){var i={"magic.000001":20,"other.000000-pv_stock":20,"other.000000-d-c":0,"other.000000":0},o=new Date(2018,5,16).getTime(),a=new Date(2018,5,20).getTime(),s=(new Date).getTime();if(sa)return!1;var d=i[t+"-"+r+"-"+n];return d===undefined&&(d=i[t+"-"+r]),d===undefined&&(d=i[t]),function(t){try{var r=ce.get(h),n=r.length;return(r=parseInt(r.substr(n-2,n)))