import{bS as e,l,b$ as s,_ as a}from"./utils-lib.js?v=20260328163632";import{k as t,o as i,J as r,U as n,V as u,W as x,X as p,O as c,a3 as o,Z as d,Y as m,j as f,l as v}from"./base-lib.js?v=20260328163632";import{D as b,aI as _,l as g}from"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const w={class:"w-full p-[20px] text-[12px]"},j={class:"flex items-center"},y={class:"message flex-1 py-[3px] leading-[24px] w-full"},z={class:"leading-[25px] flex items-center"},I={class:"mt-[20px] ml-[20px] flex items-center flex-row"},h=["title"],T={class:"wxCode my-[20px] flex flex-col items-center justify-center"},U={class:"text-[14px] my-8px flex items-center"},q={class:"text-warning text-[20px]"},B={class:"wxTitle w-full text-[16px] flex justify-center items-center mt-[10px]"},O=a(t({__name:"index",setup(a){const{plugin:t,price:O,getRenewOrder:P,$reset_buy:S}=e();return i(P),r(S),(e,a)=>{const i=b,r=_,S=g,$=n("bt-loading");return u(),x("div",w,[p("div",j,[p("div",y,[c(i,{class:"other-alert",type:"error","show-icon":!1,closable:!1},{default:o((()=>[p("div",z,d(m(l)("温馨提示：第三方插件不支持更换IP，请确定使用的IP后再进行购买。")),1)])),_:1}),p("div",null,[p("div",I,[p("div",{class:"text-[14px] mr-[15px] truncate",title:m(l)("续费时长")},d(m(l)("续费时长")),9,h),c(S,{size:"small",value:m(t).bugTime,"onUpdate:value":[a[0]||(a[0]=e=>m(t).bugTime=e),m(P)]},{default:o((()=>[c(r,{label:"1",value:"1"},{default:o((()=>[f(d(m(l)("1个月")),1)])),_:1}),c(r,{label:"3",value:"3"},{default:o((()=>[f(d(m(l)("3个月")),1)])),_:1}),c(r,{label:"6",value:"6"},{default:o((()=>[f(d(m(l)("6个月")),1)])),_:1}),c(r,{label:"12",value:"12"},{default:o((()=>[f(d(m(l)("1年")),1)])),_:1})])),_:1},8,["value","onUpdate:value"])]),v((u(),x("div",T,[p("div",U,[p("span",null,d(m(l)("共计：")),1),p("span",q,d(m(O))+d(m(l)("元")),1)]),c(m(s),{value:m(t).qrcode,size:m(t).qrcodeSize},null,8,["value","size"])])),[[$,m(t).loading]]),p("div",B,[a[1]||(a[1]=p("i",{class:"svgtofont-wechat-pay mr-[5px] text-[#09BB07]"},null,-1)),f(" "+d(m(l)("微信扫码支付")),1)])])])])])}}}),[["__scopeId","data-v-5839fb9d"]]);export{O as default};
