import{t as e}from"./_plugin-vue2_normalizer-BHc2Ljhs.js";import{t}from"./query-string-RcCSSKcJ.js";var n=e({name:`UpgradePlan`,data(){return{loading:!0}},computed:{service(){return this.$route.query.plan===`Plus`?`extension-plus-12`:`extension-vip-12`},embedUrl(){return t.stringifyUrl({url:`https://payment.autoshopee.com/`,query:{username:this.getUsername,service:this.service}}).replace(`?`,`#/embed/?`)}},methods:{onIframeLoad(){this.loading=!1}}},function(){var e=this,t=e._self._c;return t(`div`,{staticClass:`sg-upgrade`},[t(`div`,{staticClass:`sg-upgrade__container`},[e.loading?t(`Spin`,{attrs:{fix:``}}):e._e(),t(`iframe`,{ref:`paymentFrame`,staticClass:`sg-upgrade__iframe`,attrs:{src:e.embedUrl,frameborder:`0`,allow:`payment`},on:{load:e.onIframeLoad}})],1)])},[],!1,null,`07111fb8`,null,null).exports;export{n as default};