System.register(["./index-legacy-33e7c04a.js"],(function(e,t){"use strict";var s,n,i;return{setters:[function(e){s=e.b2,n=e.b3,i=e.b4}],execute:function(){var t=i({prefixKey:"",storage:sessionStorage});e("u",s("student-register-store",{state:function(){return{token:t.get(n,""),selectGoods:[],selectVip:[]}},getters:{getToken:function(){return this.token},getGoods:function(){return this.selectGoods},getVip:function(){return this.selectVip}},actions:{setToken:function(e){this.token=e,t.set(n,e)},setGoods:function(e){this.selectGoods.push(e)},deleteGoods:function(e){var t=this.selectGoods.findIndex((function(t){return t.goodsId===e}));this.selectGoods.splice(t,1)},setVip:function(e){this.selectVip=e},deleteVip:function(e){var t=this.selectVip.findIndex((function(t){return t.goodsId===e}));this.selectVip.splice(t,1)},selectedVip:function(e){return this.selectVip.findIndex((function(t){return t.goodsId===e}))>=0}}}))}}}));
