System.register(["./index-legacy-9fc2ee5c.js","./ProductInfo-legacy-c86eae46.js","./vendor-legacy-aeda4e3d.js","./index-legacy-f74c251a.js"],function(a,e){"use strict";var t,n,i,d,o,r,l,s,c,u,m,p,v,f,g,b,_,y,h,x;return{setters:[a=>{t=a._,n=a.f,i=a.w,d=a.ag,o=a.V},a=>{r=a.C,l=a.P},a=>{s=a.o,c=a.a,u=a.g,m=a.t,p=a.u,v=a.m,f=a.L,g=a.$,b=a.l,_=a.q,y=a.f,h=a.e},a=>{x=a.a}],execute:function(){var e=document.createElement("style");e.textContent="*[data-v-a94386a7]{color:var(--ex-home-list-ftcolor2)}.title[data-v-a94386a7]{font-size:.426667rem}.info[data-v-a94386a7]{margin-top:.533333rem}.info span[data-v-a94386a7]{margin-right:.533333rem}*[data-v-50a6d120]{font-size:.373333rem;color:#333}.infoItem[data-v-50a6d120]{border-top:.026667rem solid var(--ex-border-color);padding:.533333rem .4rem}.btnBox[data-v-50a6d120]{padding-top:1.333333rem}\n",document.head.appendChild(e);const I={class:"title fw-bold"},L={class:"info"},j=t({__name:"RuleInfo",props:{purchaseLimit:{type:Number}},setup:a=>(e,t)=>(s(),c("div",null,[u("p",I,m(p(n)("product_rules")),1),u("div",L,[u("span",null,m(p(n)("Reservation_limit")),1),v(m(a.purchaseLimit||0),1)])]))},[["__scopeId","data-v-a94386a7"]]),C={key:0,class:"infoItem"},w={class:"infoItem"};a("default",t({__name:"info",setup(a){const e=f(),t=g({}),m=b("");return _(()=>{m.value=e.query.id,(async()=>{if(m.value){const a=await x(m.value);200==a.code&&Object.assign(t,a.data)}})()}),(a,e)=>(s(),c("div",null,[y(i,{currentName:p(n)("host.detail")},null,8,["currentName"]),y(r,{data:p(t)},null,8,["data"]),p(t)?.id?(s(),c("div",C,[y(l,{data:p(t)},null,8,["data"])])):h("",!0),u("div",w,[y(j,{purchaseLimit:p(t).purchaseLimit},null,8,["purchaseLimit"])]),u("div",{class:"infoItem btnBox",onClick:e[0]||(e[0]=a=>{o(`/subscription/apply?id=${t.id}`)})},[y(d,{btnValue:p(n)("to_subscribe")},null,8,["btnValue"])])]))}},[["__scopeId","data-v-50a6d120"]]))}}});
