(function (win, dataKey) {
    win[dataKey] = win[dataKey] || {};
    win[dataKey]['sid'] = '14022756';
})(window, 'bdDataLayer');
!function(e,t,a,o){try{e[o]=e[o]||{};var r=e[o].sid,n={pageParamsKey:"bd_phone_tracker_data",pageParamTimeout:144e5,uidCookieKey:"BD_FC_UID",isFirstJump:function(){var e=document.referrer||"",t=location.origin||location.protocol+"//"+location.host;return 0!==e.indexOf(t)},savePageParams:function(e){if(e){var t=(new Date).getTime(),a={time:t,data:e};this.setCookie(this.uidCookieKey,e.uid),this.tryCatch(function(){var e=JSON.stringify(a);localStorage.setItem(this.pageParamsKey,e)}),this.setPageLog(function(){phoneTrackerLog.savePageParams=!0
})}},loadPageParams:function(){try{var e=localStorage.getItem(this.pageParamsKey);if(!e)return this.setPageLog(function(){phoneTrackerLog.readLoaclData="nodata"}),null;var t=JSON.parse(e),a=(new Date).getTime(),o=this.pageParamTimeout;return t.time+o<a?(this.setPageLog(function(){phoneTrackerLog.readLoaclData="timeout"}),this.removePageParams(),null):(this.setPageLog(function(){phoneTrackerLog.readLoaclData=t.data}),t.data)}catch(r){}},removePageParams:function(){this.setPageLog(function(){phoneTrackerLog.removeLoaclData=1
}),this.removeCookie(this.uidCookieKey),this.tryCatch(function(){localStorage.removeItem(this.pageParamsKey)})},isFromAd:function(){return this.isChargeUrl(document.referrer)},isChargeUrl:function(e){return e=e||"",-1!==e.indexOf("baidu.php")},setCookie:function(e,t){this.tryCatch(function(){document.cookie=e+"="+encodeURIComponent(t)})},removeCookie:function(e){this.tryCatch(function(){var t=new Date(0);document.cookie=e+"=1;expires="+t.toGMTString()})},tryCatch:function(e){try{e.apply(this)}catch(t){}},setPageLog:function(e){this.tryCatch(function(){phoneTrackerLog&&e.apply(this)
})},getSdkHost:function(){try{var e=/[\?&]sdkhost=([^&]+)/.exec(location.search);if(e&&2===e.length){var t=e[1];if(t=decodeURIComponent(t),!/^https?:\/\/[^\/]+\.baidu\.com:\d+$/.test(t))return;return t}}catch(a){}},getQuery:function(e,t){var a=new RegExp("(^|&|\\?)"+e+"=([^&]*)(&|$)"),o=window.location[t].substr(1).match(a);return null!=o?unescape(o[2]):null},getParam:function(e){return this.getQuery(e,"search")||this.getQuery(e,"hash")},getAdInfoFromLp:function(){for(var e=["fid","ch"],t={},a=0;a<e.length;a++){var o=e[a];
t[o]=this.getParam(o)}return t}},i="https://ada.baidu.com",c=n.getSdkHost();if(c&&(i=c),!r)return;var s=t.getElementsByTagName(a)[0],u=t.createElement(a);u.asyn=!0,u.src=i+"/phone-tracker/getjs_bdtj?sid="+r,s.parentNode.insertBefore(u,s)}catch(h){}}(window,document,"script","bdDataLayer");