!function(e){var r={};function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(t,n,e){u.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(n,t){if(1&t&&(n=u(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(u.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)u.d(e,r,function(t){return n[t]}.bind(null,r));return e},u.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(n,"a",n),n},u.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},u.p=window.__msCDN+"vendor/MemberOauth/",u(u.s=2)}([function(t,n){t.exports=window.$},function(t,n,e){!function(r){t.exports=function(t){var n=r.extend({intervalInMS:2e3,data:null,url:null,preRequest:function(){},requestFinish:function(t){}},t),e=this;this.running=!1,this.start=function(){return e.running=!0,setTimeout(e.sendRequest,n.intervalInMS),e},this.stop=function(){if(e.running)return e.running=!1,e},this.next=function(){return setTimeout(e.sendRequest,n.intervalInMS),e},this.sendRequest=function(){e.running&&(n.preRequest(),r.post(n.url,n.data,function(t){n.requestFinish.call(e,t)}))}}}.call(this,e(0))},function(t,n,e){!function(r){const t=e(1);r(function(){const n=parent.$("[name=redirect]").val()||"/",e=new t({url:window.__msRoot+"api/oauth/login_wechat_mini_program_check",data:{},requestFinish:function(t){window.api.base.defaultFormCallback(t,{success:function(t){t.data.memberUserId?(r("[data-member-status]").removeClass("ub-text-muted").addClass("ub-text-success").html("扫描成功，正在跳转..."),e.stop(),setTimeout(function(){window.parent.location.href=n},2e3)):e.next()}})}});e.start()})}.call(this,e(0))}]);