var $url="/redirect",$redirectUrl=utils.getQueryString("redirectUrl"),data=utils.init({}),methods={load:function(){var t=this,e={};if(location.search)for(var i=location.search.slice(1).split("&"),a=0;a<i.length;a++){var r=i[a];e[(r=r.split("="))[0]]=decodeURIComponent(r[1]||"")}$api.post($url,e).then(function(t){var e=t.data;e&&e.value&&setTimeout(function(){location.href=e.value},200)}).catch(function(e){utils.loading(t,!1),utils.error(e)})}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){this.load()}});