(function(win,key){
win[key]=window[key]||{};
win[key].punishPath='https://bixi.alicdn.com/punish/punish:resource:template:cbuSpace:default_30989445.html?qrcode=7kKAjhG8GOtAzoKcFdgRmA|Zz971w|0hnGlw_0&uuid=ee42808e11bc18eb40ce829c15d81198&action=deny&origin=https%3A%2F%2Fs.1688.com%2Fselloffer%2Foffer_search.html&pureDenyWait='
})(window,"__baxia__");
!function(){"use strict";var e=window,n=function(n,r){var t=e.__baxia__||{};return n?t[n]||r:t},r=function(n,r){e.__baxia__=e.__baxia__||{},e.__baxia__[n]=r},t=location,a=document,i=function(e,n,r,i,o){if(void 0===n&&(n=1),void 0===r&&(r=.1),0>=r||Math.random()<r){var l={code:n,msg:(e+"").substr(0,1e3)+";v:2.5.22",pid:"baxia",page:t.href.split(/[#?]/)[0],query:t.search.substr(1),hash:t.hash,referrer:a.referrer,title:a.title,ua:navigator.userAgent};i&&(l.c1=i),o&&(l.c2=o),function(e,n){var r=[];for(var t in e)r.push(t+"="+encodeURIComponent(e[t]));(new Image).src=n+r.join("&")}(l,"//gm.mmstat.com/fsp.1.1?")}};var o=document,l=function(e,n,r,t){if(!e)return n();var a=o.getElementsByTagName("script")[0],l=o.createElement("script");if(l.async=!0,l.src=e,t&&(l.bxOriginUrl=t),e.indexOf("alicdn")>-1&&(l.crossOrigin=!0),l.onerror=function(n){i("function:loadJS. msg:"+e+"load error。props:"+JSON.stringify(r)),l.onerror=null},n){var s=!1;l.onload=l.onreadystatechange=function(){s||l.readyState&&!/loaded|complete/.test(l.readyState)||(l.onload=l.onreadystatechange=null,s=!0,n())}}a.parentNode.insertBefore(l,a)};try{var s=document;({init:function(){this.punishPath=n("punishPath","https://www.taobao.com/markets/bx/deny_h5"),this.dialogSize=n("dialogSize",""),r("punishPath",""),this.listenOnLoad()},getCurrentScript:function(){if(s.currentScript)return s.currentScript;var e=null,n=document.getElementsByTagName("script"),r=null;try{throw Error()}catch(i){var t,a=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if((r=n[t]).src==a||"interactive"==r.readyState)return e=n[t],n[t]}return e},updatejQueryEvent:function(e,n,r){var t=window.jQuery;t&&(t.event.triggered=n,r&&t(e).trigger(r))},getHandlerPath:function(e,r){return r.jsPath?r.jsPath:""+n("cdnPath","https://g.alicdn.com/sd/baxia/2.5.22/")+e+".js"},listenOnLoad:function(){var e=this.getCurrentScript();this.updatejQueryEvent("","load");var n=e.onreadystatechange||e.onload,r=this;e.onload=function(){var e,t,a=this;if(this.onload=this.onreadystatechange=null,r.need_openid)if(null===(t=null===(e=window.lib)||void 0===e?void 0:e.login)||void 0===t?void 0:t.goGetWxOpenId){var o=window.lib.login.goGetWxOpenId();o&&o.code&&"login_redirecting"!==o.code&&"auth_redirecting"!==o.code&&l(this.bxOriginUrl||this.src,function(){a.readyState="loaded",n&&n.call(a,"",!1),r.updatejQueryEvent(a,"","load")})}else i("【Openid step】lib-login not found, src:"+this.bxOriginUrl||this.src,16,1);else r.handler("Jsonp",{result:{rgv587_flag:"sm",url:r.punishPath,dialogSize:r.dialogSize},config:{url:this.src,bxOriginUrl:this.bxOriginUrl,done:function(){a.readyState="loaded",n&&n.call(a,"",!1),r.updatejQueryEvent(a,"","load")},fail:function(){a.readyState="error",n&&n.call(a,"",!1),r.updatejQueryEvent(a,"","error")}}})}},handler:function(e,t){void 0===e&&(e="Xhr"),void 0===t&&(t={});var a=n("pluginInstance",null),o=n("handlerQueue",[]);try{if(a)return a.handler(t);o.push({pluginName:e,props:t});var s=o[0],d="baxia"+s.pluginName+"Handler",u=this.getHandlerPath(d,s.props);r("handlerQueue",o),l(u,function(){var e=n("pluginInstance",null);if(e){o=n("handlerQueue",[]);for(var t=0;o.length>t;t++)e.handler(o[t].props)}else{o=n("handlerQueue",[]),e=new window[d];for(t=0;o.length>t;t++)e.handler(o[t].props);r("pluginInstance",e),r("handlerQueue",[])}})}catch(c){r("pluginInstance",null),i("handler err,param:"+JSON.stringify(arguments)+","+c.message+c.stack)}}}).init()}catch(d){i("Hook JSONP ,Message:"+d.message,13,.1)}}();