var _ssa=_ssa||{};var sa=sa||{};(function(window,document){if(_ssa&&_ssa.loaded){return}var jQuery=window.jQuery||window.Zepto||window.$;var $=window.jQuery||window.Zepto||window.$;var _empty="-",_tag="|",_no_data_tag="",_splited="*:*",expires_ms_2years=2*365*24*60*60*1000,expires_ms_24hours=24*60*60*1000,expires_ms_30mins=30*60*1000;var _crossDayFlag=0,_pvFlag=0,_inTime=_no_data_tag;var visitorId=_no_data_tag,sessionId=_no_data_tag,newVisitorFlg=0;var ua=navigator.userAgent,pf=navigator.platform,p="push",m="match",i="indexOf",npo="unknow but like Phone",npa="unknow but like Tablet",n="unknown",r;var clickSelector="";_ssa.pvSend=!_ssa.pvSend?false:_ssa.pvSend;_ssa.domain="";_ssa.versionId="SSAJS-2.19.10.22.1";_ssa.max_length=300;_ssa.cookie_domain="";_ssa.cookie_path="/";_ssa.ssa2Cfg=null;_ssa.hotClickObj={count:0,pointSet:""};window._sa_utils={loadTimes:1,getTopDomain:function(webUrl){var d=webUrl||location.host;var c=d.split(".");if(c instanceof Array){var a=0;var b=c.length;var num=2;var s="";var e=c.splice(b-num,b);if(d.indexOf(".com.cn")!=-1){e=d.split(".").splice(b-num-1,b)}for(var i=0;i10){return}window._sa_utils.loadTimes++;var sc=document.createElement("script");sc.async=true;sc.type="text/javascript";sc.src=(window.location.protocol==="file:"?"https://":"//")+"sa.suning.cn/cc.js";if(isCheck){sc.src=sc.src+"?check="+isCheck}document.getElementsByTagName("head")[0].appendChild(sc)}};var Set=function(){this.isNullAdded=false;var map={};this.contains=function(key){if(key===null){return this.isNullAdded}else{if(key===undefined){return false}else{return map[key]?true:false}}};this.add=function(val){if(val===null){this.isNullAdded=true}else{if(val!==undefined){map[val]=true}}return this};this.addAll=function(val){if(val!==null&&val!==undefined&&val instanceof Array){for(var idx=0;idx0?false:true};this.list=function(){var arr=[];if(this.isNullAdded){arr.push(null)}for(o in map){if(map.hasOwnProperty(o)){arr.push(o)}}return arr}};var HashMap=function(){var size=0;var entry=new Object();this.getThis=function(){return entry};this.put=function(key,value){if(!this.containsKey(key)){size++}entry[key]=value};this.get=function(key){if(this.containsKey(key)){return entry[key]}else{return null}};this.remove=function(key){if(delete entry[key]){size--}};this.containsKey=function(key){return(key in entry)};this.containsValue=function(value){for(var prop in entry){if(entry[prop]==value){return true}}return false};this.values=function(){var values=new Array(size);for(var prop in entry){values.push(entry[prop])}return values};this.keys=function(){var keys=new Array(size);for(var prop in entry){keys.push(prop)}return keys};this.size=function(){return size}};var Config={websiteId:"2aaef4fe-a99f-49a3-9fc3-fbc9d024e566",versionId:"SSAJS-1.0",domain:"pptv.com",cookieDomain:"*",cookiePath:"/",maxLength:"300",ssaSendUrl:"http://ssac.suning.com/js.gif",searchers:[".google.com",".baidu.com",".soso.com",".bing.com",".yahoo.com",".sogou.com",".360.cn",".so.com",".youdao.com",".haosou.com"],searchKeyWords:["wd","q","w","query","p","word"],sourceMediumArr:["direct","referral","organic"],ssa1_visitorCookieId:"_snma",ssa1_visitorCookieKeys:["constant","visitorid","firstViewTime","lastViewTime","thisViewTime","totalPvs","totalVisits"],cookieVisitorId:"__ssav",cookieSessionId:"__ssas",cookieSourceId:"__ssar",cookieSnvd:"_snvd",cookieVisitorKeys:["visitorId","firstViewTime","lastViewTime","thisViewTime","totalPvs","totalVisits","vType"],cookieSessionKeys:["sessionId","inTime","outTime","views"],cookieSourceKeys:["source","medium","content","campaign","theme"],cookieFromUrl:"__ssaf",init:function(){var _domain="",_dom=document.domain,_dn=this.domain;if("www."==_dom.substring(0,4)){_dom=_dom.substring(4,_dom.length)}if(""==this.domain){_domain=_dom}else{_dn="www."==_dn.substring(0,4)?_dn.substring(3,_dn.length):_dn;_dom=_dn.substring(0,1)=="."?"."+_dom:_dom;var l1=_dn.length;var l2=_dom.length;if(l2-l1>=0){if(_dom.indexOf(_dn)==l2-l1){_domain=_dn}}}if(this.cookieDomain=="*"){this.cookieDomain=PageUtils.getTopDomain()}if(!this.cookieDomain){this.cookieDomain=_domain.toLowerCase()}if(this.cookieDomain.indexOf(".")!=0){this.cookieDomain="."+this.cookieDomain}var _path="",_ccPath=this.cookiePath,_lcPath=document.location.pathname;if(_ccPath==""||_ccPath=="/"){_path=_ccPath}else{if(_ccPath.indexOf("/")==0){var _lastIndex=_ccPath.lastIndexOf("/");if(_lastIndex!=_ccPath.length-1){_ccPath+="/"}if(_lcPath.indexOf(_ccPath)==0){_path=_ccPath}}}this.cookiePath=_path}};var FieldConfig={dataType:{all:0,access:1,event:2,search:3,register:4,hotclick:5,cookie_mapping:6,product:7,storage:8,exposure:9,shopping_cart:10,order:11,pay:12,custom:13,play:14,playing:15},collectFlg:{access:1,event:1,search:1,register:1,hotclick:1,cookie_mapping:1,product:0,storage:1,exposure:1,shopping_cart:0,order:1,pay:0,custom:1,play:1,playing:1},commonData:{all:{con:{state:1,encode:1},os:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},access:{con:{state:1,encode:1},flash:{state:1,encode:0},col:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},furl:{state:1,encode:1},th:{state:1,encode:1},md:{state:1,encode:0},st:{state:1,encode:0},vid:{state:1,encode:0},os:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},pid:{state:1,encode:0},se:{state:1,encode:0},ct:{state:1,encode:0},i:{state:1,encode:0},ip:{state:1,encode:0},v:{state:1,encode:0},pf:{state:1,encode:1},t:{state:1,encode:0},ptitle:{state:1,encode:1},sec:{state:1,encode:0},ck:{state:1,encode:0},ac:{state:1,encode:1},ua:{state:1,encode:1},java:{state:1,encode:0},ter:{state:1,encode:1}},event:{con:{state:1,encode:1},sid:{state:1,encode:0},text:{state:1,encode:1},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},env:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},title:{state:1,encode:1},t:{state:1,encode:0},md:{state:1,encode:0},tname:{state:1,encode:0},ac:{state:1,encode:1},tid:{state:1,encode:0},st:{state:1,encode:0},vid:{state:1,encode:0}},search:{con:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},register:{con:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},hotclick:{con:{state:1,encode:1},sid:{state:1,encode:0},col:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},se:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},xy:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},ua:{state:1,encode:0},st:{state:1,encode:0},vid:{state:1,encode:0}},cookie_mapping:null,product:null,storage:{con:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},city:{state:1,encode:1},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},pc:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0},ps:{state:1,encode:0}},exposure:{con:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},shopping_cart:null,order:{con:{state:1,encode:1},sid:{state:1,encode:0},ost:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},oin:{state:1,encode:1},pid:{state:1,encode:0},furl:{state:1,encode:1},ct:{state:1,encode:0},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},oid:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},pay:null,custom:{con:{state:1,encode:1},sid:{state:1,encode:0},sr:{state:1,encode:0},curl:{state:1,encode:1},vt:{state:1,encode:0},pid:{state:1,encode:0},furl:{state:1,encode:1},eid:{state:1,encode:1},ct:{state:1,encode:0},evi:{state:1,encode:1},th:{state:1,encode:1},i:{state:1,encode:0},v:{state:1,encode:0},t:{state:1,encode:0},md:{state:1,encode:0},ac:{state:1,encode:1},st:{state:1,encode:0},vid:{state:1,encode:0}},play:null,playing:null},htmlTagData:{access:[{columnName:"rety",tagIdent:"resourceType",identType:1,attrName:null,encode:0}],event:null,search:null,register:null,hotclick:null,cookie_mapping:null,product:null,storage:null,exposure:null,shopping_cart:null,order:null,pay:null,custom:null,play:null,playing:null},jsVarData:{access:null,event:null,search:null,register:null,hotclick:null,cookie_mapping:null,product:null,storage:null,exposure:null,shopping_cart:null,order:null,pay:null,custom:null,play:null,playing:null},cookieData:{access:[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],event:[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],search:[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],register:null,hotclick:null,cookie_mapping:null,product:null,storage:null,exposure:[{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],shopping_cart:null,order:null,pay:null,custom:[{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],play:[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}],playing:[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}]},htmlPageRange:{access:null,event:null,search:null,register:null,hotclick:null,cookie_mapping:null,product:null,storage:null,exposure:null,shopping_cart:null,order:null,pay:null,custom:null},cookieMapping:null,eventConfig:[{pageIdent:null,pageMatchRule:null,tagIdent:"input",tagMatchRule:3,eventType:"click",tagAttr:"type",attrKey:"inputtp"},{pageIdent:null,pageMatchRule:null,tagIdent:"a,button,[id^=sport_],[tid^=sport_],[tid^=pit_],[tid^=module_]",tagMatchRule:3,eventType:"click",tagAttr:null,attrKey:null}],shoppingCart:null,order:null,pay:null};FieldConfig.dataType.playheartbeat=22;var Utils={getNowDateTime:function(){return(new Date).getTime()},isHttps:function(){return document.location.protocol==="https:"?true:false},getDomain:function(){return document.domain},isRegMatch:function(regExp,str){return new RegExp(regExp).test(str)},getDomainByUrl:function(url){var tmpdomain=url.substring(url.indexOf("/",url.indexOf("/")+1)+1);var domain=tmpdomain.substring(0,tmpdomain.indexOf("/"));return domain},isUseJQuery:function(){return !!jQuery},compJQueryLive:function(selector,eventType,eventData,handler){if($(selector).on){$(document).on(eventType,selector,eventData,handler)}else{$(selector).live(eventType,eventData,handler)}},trim:function(str){return !str?"":str.replace(/(^\s*)|(\s*$)/g,"")},isNull:function(obj){return(undefined==obj||""==obj||_empty==obj)},isEmpty:function(obj){return(obj==undefined||obj==null||obj=="")},isArrayEmpty:function(obj){return(obj==undefined||obj==null||obj.length==0)},isObject:function(obj){return(typeof(obj)).toLowerCase()=="object"&&!this.isArrayEmpty(obj)},isArray:function(obj){return Object.prototype.toString.call(obj).toLowerCase()=="[object array]"},isFunction:function(obj){return(typeof(fun)).toLowerCase()=="function"},isContain:function(obj,str){return(obj.indexOf(str)>-1)},encode:function(uri,isEncodeURI){return isEncodeURI?encodeURI(uri):encodeURIComponent(uri)},decode:function(uri,isDecodeURI){return isDecodeURI?decodeURI(uri):decodeURIComponent(uri)},cutStr:function(str,len){if(!str){return""}if(str.length>len){str=str.substring(0,len)}return str},cutWord:function(word,flag){return word?word.substring(0,word.indexOf(flag)+flag.length):word},getNodeText:function(node,arr){try{if(node.nodeType==3){arr.push(node.nodeValue)}else{if(node.nodeType==1){for(var m=node.firstChild;m!=null;m=m.nextSibling){this.getNodeText(m,arr)}}}}catch(e){}},random:function(){return Math.round(Math.random()*2147483647)},getUrlParam:function(url,param){var par="",paramsArr=[];if(url.indexOf("?")>-1){if(url.indexOf("#")>-1){paramsArr=url.split("?")[1].split("#")[0].split("&")}else{paramsArr=url.split("?")[1].split("&")}for(var i=0;i]*>/g,"");str=str.replace(/[ | ]*\n/g,"\n");str=str.replace(/\n[\s| | ]*\r/g,"\n");str=str.replace(/ /ig,"");return str},removeEnterWrap:function(str){if(this.isEmpty(str)){return str}str=str.replace(/[\r\n]/g,"");str=str.replace(/[\r]/g,"");str=str.replace(/[\n]/g,"");return str},getMaskCode:function(str){var MASK_CODE="*";if(this.isEmpty(str)){return str}var code="";for(var i=0;i-1){var endIdx=map.indexOf(separator,idx);if(endIdx<0){endIdx=map.length}result=map.substring(idx+key.length+1,endIdx)}}return result},getDateYMD:function(datetime,datetype){try{var dateObj=datetime;if(datetype=="long"){dateObj=new Date(datetime)}return dateObj.getFullYear()+"-"+(dateObj.getMonth()+1)+"-"+dateObj.getDate()}catch(e){return null}},saBase64:function(){var oThis=this;var _keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";oThis.encode=function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=_utf8_encode(input);while(i>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64}else{if(isNaN(chr3)){enc4=64}}output=output+_keyStr.charAt(enc1)+_keyStr.charAt(enc2)+_keyStr.charAt(enc3)+_keyStr.charAt(enc4)}return output};oThis.decode=function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2)}if(enc4!=64){output=output+String.fromCharCode(chr3)}}output=_utf8_decode(output);return output};var _utf8_encode=function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128)}else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128)}}}return utftext};var _utf8_decode=function(utftext){var string="";var i=0;var c=c1=c2=0;while(i191)&&(c<224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3}}}return string}},getSaDataEleid:function(saData){var _eleid=saData?saData.eleid:"";if(typeof _eleid==="number"){_eleid=_eleid+""}if(!_eleid||_eleid.indexOf(".")!==-1){return""}return _eleid+""},_addStorage:function(name,value){if(window.localStorage){localStorage.setItem(name,value)}},_getStorage:function(name){if(window.localStorage){return localStorage.getItem(name)}else{return""}},getJsUrl:function(jsName){var jsObjs=document.scripts;var jsPath="";for(var i=0;i-1){return jsPath}}return""},getSaServer:function(jsName,isExpo){jsName=jsName||"ssa.js";var url=this.getJsUrl(jsName);if(url&&url.indexOf("//sitres.suning.cn/")>-1){if(isExpo){return"ssad.cnsuning.com/jsExpo.gif"}return"clicksit.suning.cn/sa"}else{if(url&&url.indexOf("//resprexg.suning.cn/")>-1){if(isExpo){return"ssad.cnsuning.com/jsExpo.gif"}return"clickxgpre.suning.cn/sa"}else{if(url&&url.indexOf("//res.suning.cn/")>-1){if(isExpo){return"ssac.suning.com/jsExpo.gif"}return"click.suning.cn/sa"}else{if(isExpo){return"ssac.suning.com/jsExpo.gif"}return"click.suning.cn/sa"}}}},_ajax:function(options){var url=options.url||"",type=(options.type||"get").toLowerCase(),data=options.data||null,contentType=options.contentType||"",dataType=options.dataType||"",async=options.async===undefined?true:options.async,error=options.error||function(){},success=options.success||function(){},timeout=options.timeout||null,xhr=null;if(dataType==="jsonp"){throw new TypeError("Jsonp is not supported")}setData();createXHR();function setData(){function setObjData(data,parentName){function encodeData(name,value,parentName){var items=[];name=parentName===undefined?name:parentName+"["+name+"]";if(typeof value==="object"&&value!==null){items=items.concat(setObjData(value,name))}else{name=encodeURIComponent(name);value=encodeURIComponent(value);items.push(name+"="+value)}return items}var arr=[],value;if(Object.prototype.toString.call(data)=="[object Array]"){for(var i=0,len=data.length;i-1?(url.indexOf("=")>-1?"&"+data:data):"?"+data}}}function createXHR(){var isIE=!!window.ActiveXObject,ieMode=document.documentMode,isIE8=isIE&&(ieMode===8||ieMode===9);if(!window.XMLHttpRequest){return}if(!isIE8){xhr=new XMLHttpRequest()}else{xhr=new XDomainRequest();xhr.open(type,url);xhr.ontimeout=function(){xhr.abort()};xhr.onload=function(){success(xhr.responseText)};xhr.onerror=function(){error()};timeout?xhr.timeout=timeout:null;xhr.send(data);return}xhr.open(type,url,async);if(type==="post"&&!contentType){xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8")}else{if(contentType){xhr.setRequestHeader("Content-Type",contentType)}}xhr.onreadystatechange=function(){if(xhr.readyState===4){if((xhr.status>=200&&xhr.status<300)||xhr.status==304){success(xhr.responseText)}else{error(xhr.status,xhr.statusText)}}};timeout?xhr.timeout=timeout:null;xhr.send(type==="get"?null:data)}},appThrough:function(logType,params){function sendSdk(logType,params){try{var flag=false;if(navigator.sakey==1001){sareport(params,logType);flag=true}else{if(navigator.sakey==3001){window.webkit.messageHandlers.sareport.postMessage({params:params,logType:logType});flag=true}else{if(navigator.sakey==2001){window.prompt(params,logType);flag=true}}}return flag}catch(e){return false}}function delayedHandel(logType,params){var flag=sendSdk(logType,params);if(!flag){if(logType==="1"){_ssa.ready(function(){flag=sendSdk(logType,params);if(!flag){setTimeout(function(){sendSdk(logType,params)},300)}})}else{setTimeout(function(){sendSdk(logType,params)},300)}}}delayedHandel(logType,params)},pcThrough:function(params){if(/(SNCLIENT-SA)|(PPTV\/)/i.test(navigator.userAgent)){var Stat=external.GetObject2("@pplive.com/PPLStat;1");Stat&&Stat.PPsaWebToClient("datype=ssa2&"+params)}}};var CookieUtils={getItem:function(sKey){if(!sKey){return null}return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(sKey).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},setItem:function(sKey,sValue,vEnd,sPath,sDomain,bSecure){if(!sKey||/^(?:expires|max\-age|path|domain|secure)$/i.test(sKey)){return false}var sExpires="";if(vEnd){switch(vEnd.constructor){case Number:sExpires=vEnd===Infinity?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+vEnd;break;case String:sExpires="; expires="+vEnd;break;case Date:sExpires="; expires="+vEnd.toGMTString();break}}document.cookie=encodeURIComponent(sKey)+"="+encodeURIComponent(sValue)+sExpires+(sDomain?"; domain="+sDomain:"")+(sPath?"; path="+sPath:"")+(bSecure?"; secure":"");return true},removeItem:function(sKey,sPath,sDomain){if(!this.hasItem(sKey)){return false}CookieUtils.setItem(sKey,"","Thu, 01 Jan 1970 00:00:00 GMT",sPath,sDomain);return true},hasItem:function(sKey){if(!sKey){return false}return(new RegExp("(?:^|;\\s*)"+encodeURIComponent(sKey).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=")).test(document.cookie)},keys:function(){var aKeys=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/);for(var nLen=aKeys.length,nIdx=0;nIdx=2?info[1]:"unknown"},getOSType:function(){var info=this.getOSAndTer();return info.length>=1?info[0]:"unknown"},getSense:function(){return window.screen.width+"x"+window.screen.height},getPrinColor:function(){return window.screen.colorDepth+"bit"},getFlash:function(){try{var f="";var n=navigator;if(n.plugins&&n.plugins.length){for(var ii=0;ii=2;ii--){try{var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if(fl){f=ii+".0";break}}catch(e){}}}}if(f!=""){return 1}}catch(e){}return 0},getOSAndTer:function(){try{var os=[];if(/AppleWebKit.*Mobile/i.test(ua)||(/Android|SymbianOS|Windows Phone|Tablet PC|NOKIA|Nokia|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|SonyEricsson|SIE-|Amoi|ZTE/i.test(ua))){if(r=ua[m](/(iPhone|iPod touch|iPad).*(OS [\d_]+)/i)){os.push(r[2]);os.push(r[1])}else{if(r=ua[m](/(Windows Phone( | OS )[\d\.]+).*; ([^;]+)\)$/i)){os.push(r[1]);os.push(r[3])}else{if(r=ua[m](/; (Windows NT [\d\.]+).*(Tablet PC [\d\.]+).*\)$/i)){os.push(r[1]);os.push(r[2])}else{if(ua[i]("Windows Phone")>-1){os.push("Windows Phone");os.push(npo)}else{if(ua[i]("Windows NT")>-1){os.push("windows NT");os.push(npa)}else{if(r=ua[m](/(Android [\d\.]+);[^;]*; ([^\)]*?)\)/i)){os.push(r[1]);os.push(r[2])}else{if(ua[i]("Android")>-1&&(ua[i]("mobile")>-1||ua[i]("Mobile")>-1)){os.push("Android");os.push("Mobile")}else{if(ua[i]("Android")>-1){os.push("Android");os.push(npa)}else{os.push(n);os.push(n)}}}}}}}}}else{var isWin=(pf=="Win32")||(pf=="Win64")||(pf=="Windows");var isMac=(pf=="Mac68K")||(pf=="MacPPC")||(pf=="Macintosh")||(pf=="MacIntel");if(isMac){os.push("Mac")}var isUnix=(pf=="X11")&&!isWin&&!isMac;if(isUnix){os.push("Unix")}var isLinux=(pf[i]("Linux")>-1);if(isLinux){os.push("Linux")}if(isWin){var isWin2K=ua[i]("Windows NT 5.0")>-1||ua[i]("Windows 2000")>-1;if(isWin2K){os.push("Win2000")}var isWinXP=ua[i]("Windows NT 5.1")>-1||ua[i]("Windows XP")>-1;if(isWinXP){os.push("WinXP")}var isWin2003=ua[i]("Windows NT 5.2")>-1||ua[i]("Windows 2003")>-1;if(isWin2003){os.push("Win2003")}var isWin2003=ua[i]("Windows NT 6.0")>-1||ua[i]("Windows Vista")>-1;if(isWin2003){os.push("WinVista")}var isWin2003=ua[i]("Windows NT 6.1")>-1||ua[i]("Windows 7")>-1;if(isWin2003){os.push("Win7")}var isWin8=ua[i]("Windows NT 6.2")>-1;if(isWin8){os.push("Windows 8")}var isWin8_1=ua[i]("Windows NT 6.3")>-1;if(isWin8_1){os.push("Windows 8.1")}}if(os.length==0){os[p](n)}os.push("PC")}if(os.length==0){os.push(n);os.push(n)}else{if(os.length==1){os.push(n)}}return os}catch(e){return[e+"",e+""]}return["unknown","unknown"]},getExplore:function(){try{var explore={uc:" ubrowser|ucbrowser|ucweb",baidu:"bidubrowser|baiduhd|baidubrowser",weixin:"micromessenger",qqclient:" qq/",qq:"qqbrowser|mqqbrowser","2345":"2345explorer|Mb2345Browser",liebao:"lbbrowser|liebaofast","360":"360se|360ee|QHBrowser|360Browser|QIHOOBROWSER|QIHOO NEWSSDK",firefox:"firefox|FxiOS",maxthon:"maxthon|mxbrowser|MXiOS",theworld:"theworld",sougou:"metasr|sogoumobilebrowser",edge:" edge",kwe:" kwe",sleipnir:"sleipnir",xiaomiBrowser:"miuiBrowser",oppoBrowser:"OPPOBROWSER",vivoBrowser:"VIVOBROWSER",baiduboxapp:"baiduboxapp",opera:"opr|opios",snStorePlus:"StorePlus",snUnion:"SNUNION-APP",snPos:"鑻忓畞\\+POS|;pos;",snMall:"鑻忓畞\\+鍟嗗煄|;mall;",snStore:"SNSTORE",snMaster:"鑻忓畞\\+閲戞帉鏌渱;master;",snSposs:"SNSPOSS-APP",snNearby:"NEARBY-APP",snEbook:"EBOOK-APP",snPPSports:"PPTVSports","snPPTV-client":"PPTV/",snPPTV:"PPTV",snYifubao:"SNYifubao","snYunTai-client":"YunTai-PC","snYunXin-client":"YunXin-PC","snclient-wap":"SNCLIENT-WAP"};var browser="unknown";for(var k in explore){var pa=new RegExp("(?:"+explore[k]+") ?\\/?(\\d+\\.*\\d*)?","i");if(pa.test(ua)){if(k.indexOf("sn")===0){browser=k}else{browser=k+" "+(RegExp.$1?RegExp.$1:"")}break}}if(browser=="unknown"){var s;if(s=ua[m](/(msie|ie) ([\d.]+)/i)){browser="msie "+s[2]}if((s=ua[m](/(chrome|CriOS)\/([\d.]+)/i))){browser="chrome "+s[2]}if(s=ua[m](/opera.([\d.]+)/i)){browser="opera "+s[1]}if(!/(Android)/i.test(ua)){if(s=ua[m](/version\/([\d.]+).*safari/i)){browser="safari "+s[1]}}}return browser}catch(e){return"unknown"}},getTopDomain:function(webUrl){var d=webUrl||location.hostname;var c=d.split(".");if(d.indexOf("localhost")>-1){return"localhost"}if(c instanceof Array){var b=c.length,num=2,s="",e=c.splice(b-num,b);if(d.indexOf(".com.cn")!=-1){e=d.split(".").splice(b-num-1,b)}for(var i=0;i>2]|=t[f]<>6,u[h++]=128|63&s):s<55296||s>=57344?(u[h++]=224|s>>12,u[h++]=128|s>>6&63,u[h++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++f)),u[h++]=240|s>>18,u[h++]=128|s>>12&63,u[h++]=128|s>>6&63,u[h++]=128|63&s)}}else{for(h=this.start;f>2]|=s<>2]|=(192|s>>6)<>2]|=(128|63&s)<=57344?(n[h>>2]|=(224|s>>12)<>2]|=(128|s>>6&63)<>2]|=(128|63&s)<>2]|=(240|s>>18)<>2]|=(128|s>>12&63)<>2]|=(128|s>>6&63)<>2]|=(128|63&s)<=64?(this.start=h-64,this.hash(),this.hashed=!0):this.start=h}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex;t[r>>2]|=u[3&r],r>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},t.prototype.hash=function(){var t,r,e,i,s,h,f=this.blocks;this.first?r=((r=((t=((t=f[0]-680876937)<<7|t>>>25)-271733879<<0)^(e=((e=(-271733879^(i=((i=(-1732584194^2004318071&t)+f[1]-117830708)<<12|i>>>20)+t<<0)&(-271733879^t))+f[2]-1126478375)<<17|e>>>15)+i<<0)&(i^t))+f[3]-1316259209)<<22|r>>>10)+e<<0:(t=this.h0,r=this.h1,e=this.h2,r=((r+=((t=((t+=((i=this.h3)^r&(e^i))+f[0]-680876936)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[1]-389564586)<<12|i>>>20)+t<<0)&(t^r))+f[2]+606105819)<<17|e>>>15)+i<<0)&(i^t))+f[3]-1044525330)<<22|r>>>10)+e<<0),r=((r+=((t=((t+=(i^r&(e^i))+f[4]-176418897)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[5]+1200080426)<<12|i>>>20)+t<<0)&(t^r))+f[6]-1473231341)<<17|e>>>15)+i<<0)&(i^t))+f[7]-45705983)<<22|r>>>10)+e<<0,r=((r+=((t=((t+=(i^r&(e^i))+f[8]+1770035416)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[9]-1958414417)<<12|i>>>20)+t<<0)&(t^r))+f[10]-42063)<<17|e>>>15)+i<<0)&(i^t))+f[11]-1990404162)<<22|r>>>10)+e<<0,r=((r+=((t=((t+=(i^r&(e^i))+f[12]+1804603682)<<7|t>>>25)+r<<0)^(e=((e+=(r^(i=((i+=(e^t&(r^e))+f[13]-40341101)<<12|i>>>20)+t<<0)&(t^r))+f[14]-1502002290)<<17|e>>>15)+i<<0)&(i^t))+f[15]+1236535329)<<22|r>>>10)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[1]-165796510)<<5|t>>>27)+r<<0)^r))+f[6]-1069501632)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[11]+643717713)<<14|e>>>18)+i<<0)^i))+f[0]-373897302)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[5]-701558691)<<5|t>>>27)+r<<0)^r))+f[10]+38016083)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[15]-660478335)<<14|e>>>18)+i<<0)^i))+f[4]-405537848)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[9]+568446438)<<5|t>>>27)+r<<0)^r))+f[14]-1019803690)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[3]-187363961)<<14|e>>>18)+i<<0)^i))+f[8]+1163531501)<<20|r>>>12)+e<<0,r=((r+=((i=((i+=(r^e&((t=((t+=(e^i&(r^e))+f[13]-1444681467)<<5|t>>>27)+r<<0)^r))+f[2]-51403784)<<9|i>>>23)+t<<0)^t&((e=((e+=(t^r&(i^t))+f[7]+1735328473)<<14|e>>>18)+i<<0)^i))+f[12]-1926607734)<<20|r>>>12)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[5]-378558)<<4|t>>>28)+r<<0))+f[8]-2022574463)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[11]+1839030562)<<16|e>>>16)+i<<0))+f[14]-35309556)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[1]-1530992060)<<4|t>>>28)+r<<0))+f[4]+1272893353)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[7]-155497632)<<16|e>>>16)+i<<0))+f[10]-1094730640)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[13]+681279174)<<4|t>>>28)+r<<0))+f[0]-358537222)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[3]-722521979)<<16|e>>>16)+i<<0))+f[6]+76029189)<<23|r>>>9)+e<<0,r=((r+=((h=(i=((i+=((s=r^e)^(t=((t+=(s^i)+f[9]-640364487)<<4|t>>>28)+r<<0))+f[12]-421815835)<<11|i>>>21)+t<<0)^t)^(e=((e+=(h^r)+f[15]+530742520)<<16|e>>>16)+i<<0))+f[2]-995338651)<<23|r>>>9)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[0]-198630844)<<6|t>>>26)+r<<0)|~e))+f[7]+1126891415)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[14]-1416354905)<<15|e>>>17)+i<<0)|~t))+f[5]-57434055)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[12]+1700485571)<<6|t>>>26)+r<<0)|~e))+f[3]-1894986606)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[10]-1051523)<<15|e>>>17)+i<<0)|~t))+f[1]-2054922799)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[8]+1873313359)<<6|t>>>26)+r<<0)|~e))+f[15]-30611744)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[6]-1560198380)<<15|e>>>17)+i<<0)|~t))+f[13]+1309151649)<<21|r>>>11)+e<<0,r=((r+=((i=((i+=(r^((t=((t+=(e^(r|~i))+f[4]-145523070)<<6|t>>>26)+r<<0)|~e))+f[11]-1120210379)<<10|i>>>22)+t<<0)^((e=((e+=(t^(i|~r))+f[2]+718787259)<<15|e>>>17)+i<<0)|~t))+f[9]-343485551)<<21|r>>>11)+e<<0,this.first?(this.h0=t+1732584193<<0,this.h1=r-271733879<<0,this.h2=e-1732584194<<0,this.h3=i+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+r<<0,this.h2=this.h2+e<<0,this.h3=this.h3+i<<0)},t.prototype.hex=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return n[t>>4&15]+n[15&t]+n[t>>12&15]+n[t>>8&15]+n[t>>20&15]+n[t>>16&15]+n[t>>28&15]+n[t>>24&15]+n[r>>4&15]+n[15&r]+n[r>>12&15]+n[r>>8&15]+n[r>>20&15]+n[r>>16&15]+n[r>>28&15]+n[r>>24&15]+n[e>>4&15]+n[15&e]+n[e>>12&15]+n[e>>8&15]+n[e>>20&15]+n[e>>16&15]+n[e>>28&15]+n[e>>24&15]+n[i>>4&15]+n[15&i]+n[i>>12&15]+n[i>>8&15]+n[i>>20&15]+n[i>>16&15]+n[i>>28&15]+n[i>>24&15]},t.prototype.toString=t.prototype.hex,t.prototype.digest=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255]},t.prototype.array=t.prototype.digest,t.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),r=new Uint32Array(t);return r[0]=this.h0,r[1]=this.h1,r[2]=this.h2,r[3]=this.h3,t},t.prototype.buffer=t.prototype.arrayBuffer,t.prototype.base64=function(){for(var t,r,e,i="",s=this.array(),h=0;h<15;){t=s[h++],r=s[h++],e=s[h++],i+=p[t>>>2]+p[63&(t<<4|r>>>4)]+p[63&(r<<2|e>>>6)]+p[63&e]}return t=s[h],i+=p[t>>>2]+p[t<<4&63]+"=="};var _=v();f?module.exports=_:(i.md5=_,o&&_define(function(){return _}))}();var EventManager={addEvent:function(element,type,callback){var _that=this;if(element.addEventListener){element.addEventListener(type,callback,false)}else{if(element.attachEvent){if(type.indexOf("custom")!=-1){if(isNaN(element[type])){element[type]=0}var fnEv=function(event){event=event?event:window.event;if(event.propertyName==type){callback.call(element)}};element.attachEvent("onpropertychange",fnEv);if(!element["callback"+callback]){element["callback"+callback]=fnEv}}else{element.attachEvent("on"+type,callback)}}else{element["on"+type]=callback}}return _that},removeEvent:function(element,type,callback){var _that=this;if(element.removeEventListener){element.removeEventListener(type,callback,false)}else{if(element.detachEvent){if(type.indexOf("custom")!=-1){element.detachEvent("onpropertychange",element["callback"+callback]);element["callback"+callback]=null}else{element.detachEvent("on"+type,callback)}}else{element["on"+type]=null}}return _that},triggerEvent:function(element,type){var _that=this;try{if(element.dispatchEvent){var evt=document.createEvent("Event");evt.initEvent(type,true,true);element.dispatchEvent(evt)}else{if(element.fireEvent){if(type.indexOf("custom")!=-1){element[type]++}else{element.fireEvent("on"+type)}}}}catch(e){}return _that},bind:function(obj,handler){obj=obj||window;var args=arguments[2]||{};return function(e){e=e||{};e.currentTarget=obj;e.data=args;handler.call(obj,e)}}};var UserAccess={setVisitorCookie:function(map){var _ssavMap=map;var vType=1;if(!map||!map.size()){_ssavMap=this.getVisitorCookieMap();_ssavMap.put("lastViewTime",_ssavMap.get("thisViewTime"));_ssavMap.put("thisViewTime",Utils.getNowDateTime());_ssavMap.put("totalPvs",Number(_ssavMap.get("totalPvs"))+1);var firstViewTime=_ssavMap.get("firstViewTime");var firstViewDay=Utils.getDateYMD(Number(firstViewTime),"long");var currentDay=Utils.getDateYMD(new Date(),"date");var totalPvs=Number(_ssavMap.get("totalPvs"));if(_ssavMap.get("vType")){vType=Number(_ssavMap.get("vType"))}else{vType=1}if(firstViewDay==currentDay){if(totalPvs<=1){vType=1}}else{if(totalPvs>1){vType=0}}_ssavMap.put("vType",vType)}var _ssavStr=Utils.getStrFromKeysArrAndValues(Config.cookieVisitorKeys,_ssavMap);var expiresDate=new Date();expiresDate.setTime(expiresDate.getTime()+expires_ms_2years);CookieUtils.setItem(Config.cookieVisitorId,_ssavStr,expiresDate,Config.cookiePath,Config.cookieDomain);var _snmaStr=CookieUtils.getItem(Config.ssa1_visitorCookieId);if(_snmaStr&&_snmaStr.length>0){var _snmaArr=_snmaStr.split(_tag);var _snmaMap=Utils.getMapFromKeyValueArrs(Config.ssa1_visitorCookieKeys,_snmaArr);visitorId=_snmaMap.get("visitorid")}if(!visitorId){visitorId=_ssavMap.get("visitorId")}newVisitorFlg=vType},getVisitorCookieMap:function(){var _ssavStr=CookieUtils.getItem(Config.cookieVisitorId);if(_ssavStr){var _ssavArr=_ssavStr.split(_tag);return Utils.getMapFromKeyValueArrs(Config.cookieVisitorKeys,_ssavArr)}else{var now=Utils.getNowDateTime();var _vId=Utils.getOnlyId();var _snmaStr=CookieUtils.getItem(Config.ssa1_visitorCookieId);if(_snmaStr&&_snmaStr.length>0){var _snmaArr=_snmaStr.split(_tag);var _snmaMap=Utils.getMapFromKeyValueArrs(Config.ssa1_visitorCookieKeys,_snmaArr);_vId=_snmaMap.get("visitorid");if(!_vId){_vId=Utils.getOnlyId()}}var _ssavArr=[_vId,now,now,now,0,0,1];return Utils.getMapFromKeyValueArrs(Config.cookieVisitorKeys,_ssavArr)}},setSessionCookie:function(map){var _ssasMap=map;if(!map){_ssasMap=this.getSessionCookieMap();_ssasMap.put("outTime",Utils.getNowDateTime());_ssasMap.put("views",Number(_ssasMap.get("views"))+1)}var _ssasStr=Utils.getStrFromKeysArrAndValues(Config.cookieSessionKeys,_ssasMap);var expiresDate=new Date();expiresDate.setTime(expiresDate.getTime()+expires_ms_30mins);CookieUtils.setItem(Config.cookieSessionId,_ssasStr,expiresDate,Config.cookiePath,Config.cookieDomain);sessionId=_ssasMap.get("sessionId")},getSessionCookieMap:function(){var ssarMap;var ssasStr=CookieUtils.getItem(Config.cookieSessionId);if(ssasStr){var ssarArr=ssasStr.split(_tag);ssarMap=Utils.getMapFromKeyValueArrs(Config.cookieSessionKeys,ssarArr);if(_crossDayFlag===0){var __inTime=ssarMap.get("inTime");if(__inTime&&/\d/.test(__inTime)){var _inDate=new Date(Number(__inTime)).getDate();if(new Date().getDate()==_inDate+1){_inTime=__inTime;_crossDayFlag++;return this.newSession()}}}return ssarMap}else{return this.newSession()}},newSession:function(){window._sa_utils.getSnvd("checkcookie");if(_pvFlag===0){var _ssavMap=this.getVisitorCookieMap();_ssavMap.put("totalVisits",Number(_ssavMap.get("totalVisits"))+1);this.setVisitorCookie(_ssavMap);_pvFlag++}var sessionId=Utils.getOnlyId(),ssasArr=[sessionId,_inTime,_no_data_tag,0],ssasMap=Utils.getMapFromKeyValueArrs(Config.cookieSessionKeys,ssasArr);return ssasMap},refreshSsasInTime:function(){var _ssasMap=this.getSessionCookieMap();_ssasMap.put("inTime",Utils.getNowDateTime());this.setSessionCookie(_ssasMap)}};var MediumSource={getSourceMapFromCookie:function(){var _ssarStr=CookieUtils.getItem(Config.cookieSourceId);if(_ssarStr){var _ssarArr=_ssarStr.split(_tag);return Utils.getMapFromKeyValueArrs(Config.cookieSourceKeys,_ssarArr)}else{var _ssarArr=[Config.sourceMediumArr[0],Config.sourceMediumArr[0],_no_data_tag,_no_data_tag,_no_data_tag];return Utils.getMapFromKeyValueArrs(Config.cookieSourceKeys,_ssarArr)}},checkSource:function(ssarMap){try{var keyArr=Config.searchKeyWords;var int_i=0;var int_j=0;if(!_fromPageUrl&&_fromPageUrl!=""){for(var i=0;i0||_currentPageUrl.indexOf("utm_medium")>0||_currentPageUrl.indexOf("utm_content")>0||_currentPageUrl.indexOf("utm_campaign")>0||_currentPageUrl.indexOf("utm_term")>0)){var parms=_currentPageUrl.substring(_currentPageUrl.indexOf("?")+1,_currentPageUrl.length);var parmsArr=parms.split("&");for(var i=0;i=2){var cookieValueArr=cookieValue.split(Utils.decode(ruleArr[0]).replace(/'/g,""));var coookieValueIndex=Number(ruleArr[1]);if(cookieValueArr&&cookieValueArr.length>=coookieValueIndex){cookieValue=cookieValueArr[coookieValueIndex-1]}}}if(!cookieValue){cookieValue=""}str=str+"&"+conf.columnName+"="+(conf.encode?Utils.encode(cookieValue):cookieValue)}return str},getHtmlTagData:function(typeName){if(!FieldConfig.htmlTagData){return""}var def=FieldConfig.htmlTagData[typeName];if(!def||def.length==0){return""}var str="",conf=null,htmlTag,htmlTags,htmlTagAttrName="value",htmlTagValue=_no_data_tag;for(var i=0;i0){htmlTag=htmlTags[0]}}if(!htmlTag){htmlTagValue=""}else{htmlTagAttrName=conf.attrName;if(!htmlTagAttrName){htmlTagAttrName="value"}htmlTagValue=htmlTag.getAttribute(htmlTagAttrName);if(!htmlTagValue){htmlTagValue=""}}if(conf.tagIdent=="resourceType"&&htmlTagValue==""){htmlTagValue="web"}str=str+"&"+conf.columnName+"="+(conf.encode?Utils.encode(htmlTagValue):htmlTagValue)}return str},getJsVarData:function(typeName){if(!FieldConfig.jsVarData){return""}var def=FieldConfig.jsVarData[typeName];if(!def||def.length==0){return""}var str="",arg=arguments[1]||null,conf=null,varValue=_no_data_tag;for(var i=0;i=2){var cookieValueArr=cookieValue.split(ruleArr[0].replace(/'/g,""));var coookieValueIndex=Number(ruleArr[1]);if(cookieValueArr.length>=coookieValueIndex){cookieValue=cookieValueArr[coookieValueIndex-1]}}}if(!cookieValue){cookieValue=""}url=conf.url;url+=(conf.encode?Utils.encode(cookieValue):cookieValue);if(conf.timestamp){url+="&"+conf.timestamp+"="+Utils.getNowDateTime()}Utils.sendByIframeImage(url)}}catch(e){}},product:function(productId,productName,categoryId,categoryName,price,productUrl){try{if(!FieldConfig.collectFlg.product){return}if(!productId||!productName){return}var _type="product";var params="&pc="+productId+"&pn="+Utils.encode(productName)+"&pt="+Utils.encode(categoryId)+"&tn="+Utils.encode(categoryName)+"&price="+Utils.encode(price)+"&pimg="+Utils.encode(productUrl);SSATracker.send(FieldConfig.dataType.product,_type,params)}catch(e){}},storage:function(productId,productState,city,extValue){try{if(!FieldConfig.collectFlg.storage){return}var _type="storage";var params="&pc="+productId+"&ps="+productState+"&city="+Utils.encode(city)+(extValue?"&ext="+Utils.encode(JSON.stringify(extValue)):"");SSATracker.send(FieldConfig.dataType.storage,_type,params)}catch(e){}},expoData:function(data,extValue){try{if(!FieldConfig.collectFlg.exposure){return}if(!data){return}var _type="exposure";var exp=data.exp||_no_data_tag,etp=data.etp||_no_data_tag,host=data.host||_no_data_tag,sz=data.sz||_no_data_tag,tm=data.tm||_no_data_tag,vdid=data.vdid||_no_data_tag,ext=JSON.stringify(extValue)||_no_data_tag;var params="&exp="+Utils.encode(exp)+"&etp="+etp+"&host="+host+"&sz="+sz+"&tm="+tm+"&vdid="+vdid+(extValue?"&ext="+Utils.encode(ext):"");SSATracker.send(FieldConfig.dataType.exposure,_type,params)}catch(e){}},shoppingCart:function(){try{if(!FieldConfig.collectFlg.shopping_cart){return}if(!FieldConfig.shoppingCart){return}var _type="shopping_cart";if(!SSATracker.isCollect(_type)){return}var sInfo="";if(FieldConfig.shoppingCart.channelId){if(FieldConfig.shoppingCart.channelType==1){var sInfoElement=document.getElementById(FieldConfig.shoppingCart.channelId);if(sInfoElement){sInfo=sInfoElement.value}}else{if(FieldConfig.shoppingCart.channelType==2){sInfo=eval(FieldConfig.shoppingCart.channelId)}else{if(FieldConfig.shoppingCart.channelType==3){sInfo=CookieUtils.getItem(FieldConfig.shoppingCart.channelId)}}}if(!sInfo){sInfo=""}if(FieldConfig.shoppingCart.channelEncode){sInfo=Utils.encode(sInfo)}}var params="&info="+sInfo;SSATracker.send(FieldConfig.dataType.shopping_cart,_type,params)}catch(e){}},order:function(){try{if(!FieldConfig.collectFlg.order){return}if(!FieldConfig.order){return}var _type="order";if(!SSATracker.isCollect(_type)){return}var orderId="",orderInfo="",orderState="";if(FieldConfig.order.orderIdChannelId){if(FieldConfig.order.orderIdChannelType==1){var orderIdElement=document.getElementById(FieldConfig.order.orderIdChannelId);if(orderIdElement){orderId=orderIdElement.value}}else{if(FieldConfig.order.orderIdChannelType==2){orderId=eval(FieldConfig.order.orderIdChannelId)}else{if(FieldConfig.order.orderIdChannelType==3){orderId=CookieUtils.getItem(FieldConfig.order.orderIdChannelId)}}}if(!orderId){orderId=""}if(orderId&&FieldConfig.order.orderIdChannelEncode){orderId=Utils.encode(orderId)}}if(!orderId){return}if(FieldConfig.order.orderInfoChannelId){if(FieldConfig.order.orderInfoChannelType==1){var orderInfoElement=document.getElementById(FieldConfig.order.orderInfoChannelId);if(orderInfoElement){orderInfo=orderInfoElement.value}}else{if(FieldConfig.order.orderInfoChannelType==2){orderInfo=eval(FieldConfig.order.orderInfoChannelId)}else{if(FieldConfig.order.orderInfoChannelType==3){orderInfo=CookieUtils.getItem(FieldConfig.order.orderInfoChannelId)}}}if(!orderInfo){orderInfo=""}if(orderInfo&&FieldConfig.order.orderInfoChannelEncode){orderInfo=Utils.encode(orderInfo)}}if(FieldConfig.order.orderStateChannelId){if(FieldConfig.order.orderStateChannelType==1){var orderStateElement=document.getElementById(FieldConfig.order.orderStateChannelId);if(orderStateElement){orderState=orderStateElement.value}}else{if(FieldConfig.order.orderStateChannelType==2){orderState=eval(FieldConfig.order.orderStateChannelId)}else{if(FieldConfig.order.orderStateChannelType==3){orderState=CookieUtils.getItem(FieldConfig.order.orderStateChannelId)}}}if(!orderState){orderState=""}if(orderState&&FieldConfig.order.orderStateChannelEncode){orderState=Utils.encode(orderState)}}var params="&oid="+orderId+"&oin="+orderInfo+"&ost="+orderState;SSATracker.send(FieldConfig.dataType.order,_type,params)}catch(e){}},orderAPI:function(orderId,orderInfo,orderState){try{if(!FieldConfig.collectFlg.order){return}if(!orderId){return}var _type="order";var params="&oid="+orderId+"&oin="+Utils.encode(orderInfo)+"&ost="+orderState;SSATracker.send(FieldConfig.dataType.order,_type,params)}catch(e){}},pay:function(orderId,money,state,payType){try{if(!FieldConfig.collectFlg.pay){return}if(!orderId){return}var _type="pay";if(!SSATracker.isCollect(_type)){return}var orderId="",money="",state="",payType="";if(FieldConfig.pay.orderIdChannelId){if(FieldConfig.pay.orderIdChannelType==1){var orderIdElement=document.getElementById(FieldConfig.pay.orderIdChannelId);if(orderIdElement){orderId=orderIdElement.value}}else{if(FieldConfig.pay.orderIdChannelType==2){orderId=eval(FieldConfig.pay.orderIdChannelId)}else{if(FieldConfig.pay.orderIdChannelType==3){orderId=CookieUtils.getItem(FieldConfig.pay.orderIdChannelId)}}}if(!orderId){orderId=""}if(orderId&&FieldConfig.pay.orderIdChannelEncode){orderId=Utils.encode(orderId)}}if(FieldConfig.pay.orderAmountChannelId){if(FieldConfig.pay.orderAmountChannelType==1){var moneyElement=document.getElementById(FieldConfig.pay.orderAmountChannelId);if(moneyElement){money=moneyElement.value}}else{if(FieldConfig.pay.orderAmountChannelType==2){money=eval(FieldConfig.pay.orderAmountChannelId)}else{if(FieldConfig.pay.orderAmountChannelType==3){money=CookieUtils.getItem(FieldConfig.pay.orderAmountChannelId)}}}if(!money){money=""}if(money&&FieldConfig.pay.orderAmountChannelEncode){money=Utils.encode(money)}}if(FieldConfig.pay.payStateChannelId){if(FieldConfig.pay.payStateChannelType==1){var stateElement=document.getElementById(FieldConfig.pay.payStateChannelId);if(stateElement){state=stateElement.value}}else{if(FieldConfig.pay.payStateChannelType==2){state=eval(FieldConfig.pay.payStateChannelId)}else{if(FieldConfig.pay.payStateChannelType==3){state=CookieUtils.getItem(FieldConfig.pay.payStateChannelId)}}}if(!state){state=""}if(state&&FieldConfig.pay.payStateChannelEncode){state=Utils.encode(state)}}if(FieldConfig.pay.payWayChannelId){if(FieldConfig.pay.payWayChannelType==1){var payTypeElement=document.getElementById(FieldConfig.pay.payWayChannelId);if(payTypeElement){payType=payTypeElement.value}}else{if(FieldConfig.pay.payWayChannelType==2){payType=eval(FieldConfig.pay.payWayChannelId)}else{if(FieldConfig.pay.payWayChannelType==3){payType=CookieUtils.getItem(FieldConfig.pay.payWayChannelId)}}}if(!payType){payType=""}if(payType&&FieldConfig.pay.payWayChannelEncode){payType=Utils.encode(payType)}}var params="&oid="+orderId+"&pm="+Utils.encode(money)+"&ps="+state+"&pt="+Utils.encode(payType);SSATracker.send(FieldConfig.dataType.pay,_type,params)}catch(e){}},custom:function(eventId,eventInfo){try{if(!FieldConfig.collectFlg.custom){return}if(!eventId||!eventInfo){return}var _type="custom";var params="&eid="+eventId+"&evi="+Utils.encode(eventInfo);SSATracker.send(FieldConfig.dataType.custom,_type,params)}catch(e){}},_heimdallr:function(){function getCanvas(){try{var canvas=window.document.createElement("canvas");var ctx=canvas.getContext("2d");var txt="Suning Fingerprints/Canvas 1.0";ctx.textBaseline="top";ctx.font="14px 'Arial'";ctx.textBaseline="alphabetic";ctx.fillStyle="#f60";ctx.fillRect(125,1,62,20);ctx.fillStyle="#069";ctx.fillText(txt,2,15);ctx.fillStyle="rgba(102, 204, 0, 0.7)";ctx.fillText(txt,4,17);return canvas}catch(e){if(window.console){console.log("unsupported canvas",e)}return null}}function getCanvasFingerprints(canvas){try{return md5(canvas.toDataURL())}catch(e){return"undefined"}}function getHiddenProp(){var prefixes=["webkit","moz","ms","o"];if("hidden" in window.document){return window.document.hidden}for(var i=0;i0)){return}var expoUtils={data:[],sdkData:[],timer:null,isPageExpo:(function(){var _expoArr=ssa2CfgMid.expo,_expo=false,_pageid=PageUtils.getMetaVal("pageid");for(var i=0,l=_expoArr.length;i0){setTimeout(fn,20)}},0)},isOnScreen:function(e){var self=this;var windowH=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;var _getRect=function(_el){if(_el){var _client=self._getClientRect(_el);var _isZero=_client.top===0&&_client.left===0&&_client.bottom===0&&_client.right===0;return _isZero?_getRect.call(null,_el.parentNode):_client}return false};var _clientRect=_getRect(e);return !(_clientRect.top>=windowH||_clientRect.bottom<=0)},_getClientRect:function(element){var rect=element.getBoundingClientRect();var top=document.documentElement.clientTop?document.documentElement.clientTop:0;var left=document.documentElement.clientLeft?document.documentElement.clientLeft:0;return{top:rect.top-top,bottom:rect.bottom-top,left:rect.left-left,right:rect.right-left}},getScrollTop:function(){return document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0},getExpoEleid:function(link,sapModItem){if(link.getAttribute("sap-modid")){return"0"}var _eleid=0;var _labels=$("[sa-data]:not([type=hidden]),[ext_info]:not([type=hidden])",sapModItem);for(var i=0;i<_labels.length;i++){if(_labels[i]===link){_eleid=i+1;break}}return _eleid+""},formatData:function(data){data=data||{};return Utils.encode(JSON.stringify(data))},cacheData:function(param){param=param instanceof Object?param:{};this.data.push(this.formatData(param));this.sdkData.push(param);this.start()},start:function(){var _this=this;if(_this.data.length>=20){_this.stop();setTimeout(function(){_this.postLog()},100);return false}if(!_this.timer&&_this.data.length){_this.timer=setTimeout(function timeFunc(){if(_this.data.length){_this.postLog();_this.timer=setTimeout(timeFunc,300)}else{_this.stop()}},300)}},postLog:function(){var that=this;if(that.data.length){var paramStr=SSATracker.initParams("100","exposure");var _url=PageUtils.getProtocol+Utils.getSaServer("ssa.js",true);var _expoData=that.data.splice(0,20);var _sdkData=that.sdkData.splice(0,20);var _sendData={paramStr:paramStr,evdlArr:JSON.stringify(_expoData)};try{Utils._ajax({type:"post",data:_sendData,url:_url,error:function(err){console.log(err)}});if(_sdkData.length){Utils.appThrough("100",paramStr+"&evdlArr="+that.formatData(_sdkData));Utils.pcThrough(paramStr+"&evdlArr="+that.formatData(_sdkData))}}catch(e){console.log(e)}}else{this.stop()}},stop:function(){var that=this;if(that.timer){clearTimeout(that.timer);that.timer=null}}};var EventSim=(function(){var clientList={},listen,trigger,remove;listen=function(key,fn){if(!clientList[key]){clientList[key]=[]}clientList[key].push(fn)};trigger=function(){var key=Array.prototype.shift.call(arguments),fns=clientList[key];if(!fns||fns.length===0){return false}expoUtils._arrayChunk(fns.concat(),function(fn){fn.apply(this,arguments)},this);return true};remove=function(key,fn){var fns=clientList[key];if(!fns||fns.length===0){return false}if(!fn){fns&&(fns.length=0)}else{for(var l=fns.length-1;l>=0;l--){var _fn=fns[l];if(_fn===fn){fns.splice(l,1)}}}};return{listen:listen,trigger:trigger,remove:remove}})();function expoAddListen(){var sapModDoms=$("[sap-modid]");$.each(sapModDoms,function(i,sapItem){var _modId=sapItem.getAttribute("sap-modid");if(!_modId){return}var _listenerExist=false;var _sapItem=sapItem;var scrollPosCallback=function(){if(expoUtils.isOnScreen(_sapItem)){!_listenerExist&&_expoSetLinksListen(_modId+i,_sapItem);!EventSim.trigger(_modId+i)&&EventSim.remove("scrollPos",scrollPosCallback)}};EventSim.listen("scrollPos",scrollPosCallback);function _expoSetLinksListen(eventName,sapItem){var expoEles=$("[sa-data]:not([type=hidden]),[ext_info]:not([type=hidden])",sapItem);var children=$("[sap-modid]",sapItem);$.each(expoEles,function(index,eleItem){var flag=false;$.each(children,function(i,item){if(children[i].getAttribute("sap-modid")&&children[i].contains(eleItem)&&children[i]!==eleItem){flag=true;return false}});if(flag){return false}var imgListenCallback=function(){if(expoUtils.isOnScreen(eleItem)){_expoStart(sapItem,eleItem);setTimeout(function(){EventSim.remove(eventName,imgListenCallback)},0)}};_listenerExist=true;EventSim.listen(eventName,imgListenCallback)})}function _expoStart(_sapMod,_linkItem){var saData=PageUtils.getSaData(_linkItem),_modid=_sapMod.getAttribute("sap-modid"),eleid=Utils.getSaDataEleid(saData)||expoUtils.getExpoEleid(_linkItem,_sapMod),_siteid=PageUtils.getMetaVal("siteid")||Config.websiteId,_pageid=PageUtils.getMetaVal("pageid");if(!eleid&&eleid!==0||!_siteid||!_pageid){return}var _strings=[];var _text=(Utils.getNodeText(_linkItem,_strings),_strings.length)?Utils.encode(_strings.join("").replace(/\s|\|/ig,"").slice(0,50)):"";var _params={name:_linkItem.getAttribute("saname")||_linkItem.getAttribute("name")||"",id:_linkItem.getAttribute("tid")||_linkItem.getAttribute("id")||"",ext:saData?Utils.encode(JSON.stringify(saData)):"",safp:_siteid+"."+_pageid+"."+_modid+"."+eleid,targeturl:_linkItem.getAttribute("href")||"",text:_text};expoUtils.cacheData(_params)}})}function triggerMsg(){var preY=-9999,scrollTimer;function triggerScroll(){clearTimeout(scrollTimer);scrollTimer=setTimeout(function(){EventSim.trigger("scrollPos")},2000)}triggerScroll();window.onscroll=function(){var curY=expoUtils.getScrollTop();if(Math.abs(curY-preY)<100){return}triggerScroll();preY=curY}}_ssa.ready(function(){try{if(!expoUtils.isPageExpo){return}expoAddListen();triggerMsg()}catch(e){console.log(e)}})},playHeartbeat:function(data,extvalue){function construcHeaCokieData(){var cookieArray=[{columnName:"uid",cookieName:"ppid",cookieRule:null,encode:0},{columnName:"login_nm",cookieName:"PPName",cookieRule:"'%24',1",encode:0},{columnName:"snuid",cookieName:"snuid",cookieRule:null,encode:0},{columnName:"logintp",cookieName:"logintp",cookieRule:null,encode:0},{columnName:"utp",cookieName:"utp",cookieRule:null,encode:0},{columnName:"viptp",cookieName:"vipType",cookieRule:null,encode:0},{columnName:"sptviptp",cookieName:"sportsVipType",cookieRule:null,encode:0}];FieldConfig.cookieData.playheartbeat=cookieArray}function sendHeartBeat(){var _typeName="playheartbeat";var psr=data.psr||_no_data_tag,vdid=data.vdid||_no_data_tag,pgnt=data.pgnt||_no_data_tag,ptp=data.ptp||_no_data_tag,chge=data.chge||_no_data_tag,isps=data.isps||_no_data_tag,plid=data.plid||_no_data_tag,pt=data.pt||_no_data_tag,br=data.br||_no_data_tag,cate=data.cate||_no_data_tag,lastvvid=data.lastvvid||_no_data_tag,playspeed=data.playspeed||_no_data_tag,heartbeat=data.heartbeat||_no_data_tag,actionevent=data.actionevent||_no_data_tag,ext=extvalue?JSON.stringify(extvalue):_no_data_tag;var params="&psr="+psr+"&vdid="+vdid+"&pgnt="+pgnt+"&ptp="+ptp+"&chge="+chge+"&isps="+isps+"&plid="+plid+"&pt="+pt+"&br="+br+"&cate="+cate+"&lastvvid="+lastvvid+"&playspeed="+playspeed+"&heartbeat="+heartbeat+"&actionevent="+actionevent+"&ext="+Utils.encode(ext);if(!FieldConfig.cookieData.playheartbeat){construcHeaCokieData()}SSATracker.send(FieldConfig.dataType.playheartbeat,_typeName,params)}try{sendHeartBeat()}catch(e){}}};(function(){var storageCfg=Utils._getStorage("ssa2Config"),ssa2Cfg={},expoFlag=false;storageCfg=storageCfg&&storageCfg!=="undefined"?JSON.parse(storageCfg):null;if(storageCfg){SSATracker.autoExpoEvent(storageCfg);expoFlag=true}var url=PageUtils.getProtocol+Utils.getSaServer("ssa.js")+"/jsConfig.action";try{Utils._ajax({type:"get",url:url,data:{dm:location.hostname},success:function(res){ssa2Cfg=res?JSON.parse(res):{};if(!storageCfg||ssa2Cfg.version!==storageCfg.version){Utils._addStorage("ssa2Config",res)}_ssa.ssa2Cfg=ssa2Cfg;if(!expoFlag){SSATracker.autoExpoEvent(ssa2Cfg)}},error:function(res){_ssa.ssa2Cfg=storageCfg}})}catch(e){console.log(e)}})();Config.init();PageUtils.setFromPageUrlCookie();var _currentPageUrl=PageUtils.getCurrentPageUrl();var _fromPageUrl=PageUtils.getFromPageUrl();UserAccess.setVisitorCookie();MediumSource.init();UserAccess.setSessionCookie();window._sa_utils.getSnvd();SSATracker.startTracker();_ssa.ready(SSATracker._heimdallr);_ssa.dataType=FieldConfig.dataType;_ssa.sendData=SSATracker.multiData;_ssa.loaded=true;_ssa.pageViewInit=SSATracker.pageViewInit;var _referrer=""})(window,document);