1import{x as at,u as lt,g as it,s as Be,i as rt,D as dt,j as ut,r as A,O as mt,a as vt,l as b,d as C,f as pt,H as ct,I as ft,M as ht,P as gt}from"./DVmxrtf3.js";import{_ as _t}from"./BiEzuDnY.js";import{S as yt}from"./B9l9E4rL.js";import{u as kt}from"./CGBuh1Ul.js";import{u as wt}from"./CnWMACyb.js";import{F as xt}from"./CyfLMcOv.js";import{k as bt,c,d as Fe,ar as Ct,l as E,w as Ue,x as jt,u as s,$ as l,a0 as $t,a7 as i,a6 as t,B as u,a5 as a,a1 as h,a4 as H,a2 as g,ai as T,R as ze}from"./IE-DFLPS.js";import{_ as Mt}from"./BxFw1e0k.js";import"./B8uzE354.js";import"./DzBg9ftW.js";import"./DHWwAoCp.js";import"./Cs5Y5qXJ.js";import"./CeH5hSsN.js";import"./DxAUB3Qo.js";import"./CfBUSXl0.js";const qt={key:1,class:"flex flex-col max-w-screen-md mx-auto p-5 md:py-5 md:px-0"},Yt={class:"flex-1 mb-4"},Ht={class:"flex flex-col flex-1 bg-white p-4 rounded-lg"},St={key:0,class:"flex pb-2 border-b-2 justify-between"},Dt={class:"text-xl font-medium break-words overflow-auto"},Vt={class:"sm:flex mt-3"},Rt={class:"flex-[10] flex flex-col bg-white gap-y-4"},Nt={class:"flex-1 flex flex-col"},At={class:"flex items-center py-1"},Et={key:0,class:"flex ml-2"},Tt={class:"flex"},Lt={class:"flex ml-2"},Bt={key:1,class:"flex"},Ft={class:"flex ml-2"},Ut={class:"flex mr-2"},zt={key:2,class:"flex gap-1"},Pt={class:"flex ml-1"},Gt={class:"flex mr-2"},It={key:3,class:"flex"},Zt={class:"flex items-center py-1"},Ot={class:"ml-1 mt-[0.5px]"},Kt={class:"flex items-center py-1"},Qt={class:""},Xt={key:0,fill:"none",height:"17",viewBox:"0 0 16 17",width:"17",xmlns:"http://www.w3.org/2000/svg"},Jt={key:1,fill:"none",height:"17",viewBox:"0 0 16 17",width:"16",xmlns:"http://www.w3.org/2000/svg"},Wt={key:0,class:"ml-1 flex flex-col"},es={key:1},ts={class:"text-[#929292]"},ss={class:"flex items-center py-1"},ns={key:0,class:"ml-1"},os={key:1,class:"ml-1"},as={class:"sm:flex-[7] justify-center flex flex-col sm:items-center bg-white sm:border-l-2 sm:border-dashed border-gray-300"},ls={key:0,class:"flex cursor-pointer text-green-500 text-sm m-2"},is={class:"text-center mx-2 justify-center"},rs={key:0,class:"flex items-center justify-between bg-gray-200 rounded-lg w-full sm:w-52 h-9 px-4 sm:px-8"},ds={class:"text-sm sm:text-base"},us={key:1},ms={key:0,class:"bg-gray-400 rounded-lg w-full sm:w-52 h-10 px-8 text-white text-center mt-4 cursor-not-allowed",disabled:""},vs={key:2},ps={class:"flex"},cs={key:0},fs={key:1},hs={key:0,class:"bg-gray-400 rounded-lg sm:w-52 h-10 px-8 text-white text-center mt-4 w-full cursor-not-allowed",disabled:""},gs={class:"mt-4 sm:text-sm rounded-lg bg-white p-4"},_s=["innerHTML"],Ns=bt({__name:"[name_event]",async setup(ys){var O,K,Q;let M,L;const S=mt(),Pe=at(),Ge=lt(),Ie=c((O=Ge.params.name_event)==null?void 0:O.toString()),D=it(),{community:j,userCommunity:Ze}=Be(D),Oe=rt(),{isLogin:k,user:$}=Be(Oe),p=c(1),B=c(!1),w=c(!1),V=c();Fe(p,n=>{n>10&&(p.value=10,C.warning("Tá»i Äa 10 vé"))});const d=c({full_name:"",email:"",phone:""}),Ke={full_name:[{required:!0,message:"Vui lòng nháºp há» và tên",trigger:"blur"},{min:3,message:"Há» và tên phải có Ãt nhất 3 ký tá»±",trigger:"blur"}],email:[{type:"email",message:"Email không Äúng Äá»nh dạng",trigger:"blur"}],phone:[{pattern:/^[0-9]{10,11}$/,message:"Sá» Äiá»n thoại không Äúng Äá»nh dạng",trigger:"blur"}]},F=c();function U(){d.value={full_name:"",email:"",phone:""}}const{data:o}=([M,L]=Ct(()=>vt(`/api/v1/event/${Ie.value}`,{headers:b(),onResponse({response:n}){n.ok||(B.value=!0)}},"$tzX01LAtsH")),M=await M,L(),M);kt({title:(K=o.value)==null?void 0:K.name});const z=n=>{const e=S(n);return e.isValid()?e.format("HH:mm"):"Invalid Date"},P=E(()=>{var n;return(n=$.value)==null?void 0:n._id}),G=E(()=>{var n;return S().isAfter(S((n=o.value)==null?void 0:n.end_date))}),I=async()=>{var e,v;const n=await $fetch(`/api/v1/event-subscribe/total-register/${(e=o.value)==null?void 0:e._id}`,{query:{"filter[user_id]":(v=$.value)==null?void 0:v._id},headers:b()});V.value=n};Ue(()=>{var n;(n=$.value)!=null&&n._id&&I()});const q=dt("event-"+((Q=o.value)==null?void 0:Q._id),void 0),m=c();Ue(async()=>{var n;q.value?await $fetch(`/api/v1/event-subscribe/${q.value}`,{headers:b(),onResponse({response:e}){e.ok&&(m.value=e._data)}}):P.value&&await $fetch(`/api/v1/event-subscribe/event/${P.value}`,{headers:b(),query:{event_id:(n=o.value)==null?void 0:n._id},onResponse({response:e}){e.ok&&(m.value=e._data)}})});const Qe=E(()=>{var n;return(n=m.value)==null?void 0:n._id});Fe(k,async n=>{if(n&&j.value&&j.value._id){const e=await wt(j.value._id);D.setUserCommunity(e)}}),jt(()=>{new URLSearchParams(window.location.search).get("checkout")==="true"&&Pe.go(-1)});const Xe=()=>{w.value=!0},Z=async()=>{var n,e,v;try{const _={event_id:(n=o.value)==null?void 0:n._id,user_id:(e=$.value)==null?void 0:e._id,quantity:p.value,status:1,unit_price:(v=o.value)==null?void 0:v.price,guest:{}};k.value||(await F.value.validateFields(),_.guest={email:d.value.email||"",full_name:d.value.full_name||"",phone:d.value.phone||""}),await $fetch("/api/v1/event-subscribe",{method:"POST",headers:b(["co
1okie"]),body:_,async onResponse({response:y}){var Y;y.ok&&(k.value&&await I(),nt((Y=y._data.data.order)==null?void 0:Y.payment_link)?window.location.href=y._data.data.order.payment_link:(q.value=y._data.data._id,m.value=y._data.data,C.success("ÄÄng kà thà nh công")))}}),w.value&&(w.value=!1,U())}catch(_){console.error("Error:",_),C.error("Lá»i không thá» tham gia"),console.error(_)}},Je=async()=>{var n,e,v;await A({path:"pay-event",query:{community:(n=j.value)==null?void 0:n._id,event_id:(e=o.value)==null?void 0:e._id,user_id:(v=$.value)==null?void 0:v._id,quantity:p.value,status:1}})},We=async()=>{var n,e;await A({path:"pay-event",query:{community:(n=j.value)==null?void 0:n._id,event_id:(e=o.value)==null?void 0:e._id,email:d.value.email||"",full_name:d.value.full_name||"",phone:d.value.phone||"",quantity:p.value}})},x=c(!1),et=()=>{x.value=!0},tt=async()=>{try{await $fetch(`/api/v1/event-subscribe/${Qe.value}`,{method:"PATCH",headers:b(["cookie"]),body:{status:yt.Cancel},async onResponse({response:n}){n.ok&&(x.value=!1,q.value=void 0,m.value=void 0,C.success("Há»§y thà nh công"))}})}catch{C.error("Lá»i không thá» há»§y")}},st=n=>{navigator.clipboard.writeText(n).then(()=>{C.success("Äã copy link sá»± kiá»n")})},nt=n=>{try{return new URL(n),!0}catch(e){return console.log(e),!1}};return(n,e)=>{var J,W,ee,te,se,ne,oe,ae,le,ie,re,de,ue,me,ve,pe,ce,fe,he,ge,_e,ye,ke,we,xe,be,Ce,je,$e,Me,qe,Ye,He,Se,De,Ve,Re,Ne,Ae,Ee,Te,Le;const v=gt,_=pt,y=ct,Y=_t,R=ft,N=Mt,ot=xt,X=ht;return s(B)?(l(),$t(v,{key:0,size:200,content:"Không tá»n tại sá»± kiá»n nà y"})):(l(),i("div",qt,[t("div",Yt,[u(_,{src:(J=s(o))==null?void 0:J.image,class:"w-full aspect-[16/9] rounded-lg",loading:"lazy"},null,8,["src"])]),t("div",Ht,[((W=s(Ze))==null?void 0:W.role)===s(ut).Admin?(l(),i("div",St,[t("h2",Dt,a((ee=s(o))==null?void 0:ee.name),1),u(y,{ghost:"",type:"primary",onClick:e[0]||(e[0]=r=>{var f;return("navigateTo"in n?n.navigateTo:s(A))({name:"shortName-event-edit-id",params:{shortName:s(D).getName(),id:(f=s(o))==null?void 0:f._id}})})},{default:h(()=>e[12]||(e[12]=[H(" Chá»nh sá»a ")])),_:1})])):g("",!0),t("div",Vt,[t("div",Rt,[t("div",Nt,[t("div",At,[e[16]||(e[16]=t("svg",{height:"1em",viewBox:"0 0 1664 1792",width:"0.93em",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"m1303 964l-512 512q-10 9-23 9t-23-9l-288-288q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l220 220l444-444q10-9 23-9t22 9l46 46q9 9 9 22t-9 23M128 1664h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90",fill:"grey"})],-1)),n.$dayjs((te=s(o))==null?void 0:te.start_date).format("YYYY")!==n.$dayjs((se=s(o))==null?void 0:se.end_date).format("YYYY")?(l(),i("div",Et,[t("div",Tt,[t("div",null,a(n.$dayjs((ne=s(o))==null?void 0:ne.start_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((oe=s(o))==null?void 0:oe.start_date).format("MM"))+"/",1),t("div",null,a(n.$dayjs((ae=s(o))==null?void 0:ae.start_date).format("YYYY")),1)]),e[13]||(e[13]=H(" - ")),t("div",Lt,[t("div",null,a(n.$dayjs((le=s(o))==null?void 0:le.end_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((ie=s(o))==null?void 0:ie.end_date).format("MM"))+"/",1),t("div",null,a(n.$dayjs((re=s(o))==null?void 0:re.end_date).format("YYYY")),1)])])):n.$dayjs((de=s(o))==null?void 0:de.start_date).format("MM")!==n.$dayjs((ue=s(o))==null?void 0:ue.end_date).format("MM")?(l(),i("div",Bt,[t("div",Ft,[t("div",null,a(n.$dayjs((me=s(o))==null?void 0:me.start_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((ve=s(o))==null?void 0:ve.start_date).format("MM")),1)]),e[14]||(e[14]=H(" - ")),t("div",Ut,[t("div",null,a(n.$dayjs((pe=s(o))==null?void 0:pe.end_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((ce=s(o))==null?void 0:ce.end_date).format("MM"))+"/",1),t("div",null,a(n.$dayjs((fe=s(o))==null?void 0:fe.end_date).format("YYYY")),1)])])):n.$dayjs((he=s(o))==null?void 0:he.start_date).format("DD")!==n.$dayjs((ge=s(o))==null?void 0:ge.end_date).format("DD")?(l(),i("div",zt,[t("div",Pt,[t("div",null,a(n.$dayjs((_e=s(o))==null?void 0:_e.
1start_date).format("DD")),1)]),e[15]||(e[15]=H(" - ")),t("div",Gt,[t("div",null,a(n.$dayjs((ye=s(o))==null?void 0:ye.end_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((ke=s(o))==null?void 0:ke.end_date).format("MM"))+"/",1),t("div",null,a(n.$dayjs((we=s(o))==null?void 0:we.end_date).format("YYYY")),1)])])):(l(),i("div",It,[t("div",null,a(n.$dayjs((xe=s(o))==null?void 0:xe.start_date).format("DD"))+"/",1),t("div",null,a(n.$dayjs((be=s(o))==null?void 0:be.start_date).format("MM"))+"/",1),t("div",null,a(n.$dayjs((Ce=s(o))==null?void 0:Ce.start_date).format("YYYY")),1)]))]),t("div",Zt,[e[17]||(e[17]=t("svg",{fill:"none",height:"17",viewBox:"0 0 16 17",width:"16",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M8.00016 15.1673C11.6821 15.1673 14.6668 12.1825 14.6668 8.50065C14.6668 4.81875 11.6821 1.83398 8.00016 1.83398C4.31826 1.83398 1.3335 4.81875 1.3335 8.50065C1.3335 12.1825 4.31826 15.1673 8.00016 15.1673Z",stroke:"#929292","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M8 4.5V8.5L10.6667 9.83333",stroke:"#929292","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),t("span",Ot,a(z((je=s(o))==null?void 0:je.start_date))+" - "+a(z(($e=s(o))==null?void 0:$e.end_date)),1)]),t("div",Kt,[t("div",Qt,[((Me=s(o))==null?void 0:Me.type)==1?(l(),i("svg",Xt,e[18]||(e[18]=[T('<g clip-path="url(#clip0_9410_8498)"><path d="M14 6.92969C14 11.5964 8 15.5964 8 15.5964C8 15.5964 2 11.5964 2 6.92969C2 5.33839 2.63214 3.81226 3.75736 2.68705C4.88258 1.56183 6.4087 0.929687 8 0.929688C9.5913 0.929688 11.1174 1.56183 12.2426 2.68705C13.3679 3.81226 14 5.33839 14 6.92969Z" stroke="#929292" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 8.92969C9.10457 8.92969 10 8.03426 10 6.92969C10 5.82512 9.10457 4.92969 8 4.92969C6.89543 4.92969 6 5.82512 6 6.92969C6 8.03426 6.89543 8.92969 8 8.92969Z" stroke="#929292" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_9410_8498"><rect fill="white" height="16" transform="translate(0 0.261719)" width="16"></rect></clipPath></defs>',2)]))):g("",!0),((qe=s(o))==null?void 0:qe.type)==0?(l(),i("svg",Jt,e[19]||(e[19]=[T('<g clip-path="url(#clip0_9581_13300)"><path d="M7.99992 15.5599C11.6818 15.5599 14.6666 12.5751 14.6666 8.89323C14.6666 5.21133 11.6818 2.22656 7.99992 2.22656C4.31802 2.22656 1.33325 5.21133 1.33325 8.89323C1.33325 12.5751 4.31802 15.5599 7.99992 15.5599Z" stroke="#929292" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.33325 8.89453H14.6666" stroke="#929292" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.99992 2.22656C9.66744 4.05213 10.6151 6.42125 10.6666 8.89323C10.6151 11.3652 9.66744 13.7343 7.99992 15.5599C6.3324 13.7343 5.38475 11.3652 5.33325 8.89323C5.38475 6.42125 6.3324 4.05213 7.99992 2.22656Z" stroke="#929292" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_9581_13300"><rect fill="white" height="16" transform="translate(0 0.894531)" width="16"></rect></clipPath></defs>',2)]))):g("",!0)]),((Ye=s(o))==null?void 0:Ye.type)==0?(l(),i("div",Wt,[e[21]||(e[21]=t("span",null,"Online",-1)),((He=s(m))==null?void 0:He.status)===1?(l(),i("p",{key:0,class:"text-[#929292] flex items-center cursor-pointer",onClick:e[1]||(e[1]=r=>{var f;return st((f=s(o))==null?void 0:f.link_event)})},[t("span",null,a((Se=s(o))==null?void 0:Se.link_event),1),e[20]||(e[20]=T('<svg class="ml-2" fill="gray" height="16px" viewBox="0 0 1024 1024" width="16px" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64h64z" fill="gray"></path><path d="M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64H384zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64z" fill="gray"></path></g></svg>',1))])):g("",!0)])):g("",!0),((De=s(o))==null?void 0:De.type)==1?(l(),i("div",es,[e[22]||(e[22]=t("div",{class:"ml-1 flex flex-col"},[t("span",null,"Offline")],-1)),t("p",ts,a((Ve=s(o))==null?void 0:Ve.address),1)])):g("",!0)]),t("div",ss,[e[23]||(e[23]=t("svg",{fill:"none",height:"17",viewBox:"0 0 16 17",width:"17",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M13.7266 9.70042L8.94665 14.4804C8.82282 14.6044 8.67576 14.7027 8.5139 14.7698C8.35204 14.8369 8.17853 14.8715 8.00331 14.8715C7.82809 14.8715 7.65459
114.8369 7.49273 14.7698C7.33086 14.7027 7.18381 14.6044 7.05998 14.4804L1.33331 8.76042V2.09375H7.99998L13.7266 7.82042C13.975 8.07023 14.1144 8.40817 14.1144 8.76042C14.1144 9.11266 13.975 9.4506 13.7266 9.70042Z",stroke:"#929292","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M4.66669 5.42969H4.67335",stroke:"#929292","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),((Re=s(o))==null?void 0:Re.price)==0?(l(),i("p",ns," Miá»
n phà ")):(l(),i("p",os,a(new Intl.NumberFormat("vi-VN",{style:"currency",currency:"VND",minimumFractionDigits:0}).format((Ne=s(o))==null?void 0:Ne.price)),1))])])]),t("div",as,[u(Y,{to:"/user/ticket"},{default:h(()=>[s(V)>0?(l(),i("div",ls," Sá» vé Äã mua "+a(s(V)),1)):g("",!0)]),_:1}),t("div",is,[s(m)==null||s(k)?(l(),i("div",rs,[t("button",{class:"text-lg font-semibold focus:outline-none text-center",onClick:e[2]||(e[2]=r=>s(p)===1?0:p.value--)},e[24]||(e[24]=[t("svg",{fill:"none",height:"17",viewBox:"0 0 16 17",width:"16",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M3.33334 8.26172H12.6667",stroke:"#A0A0A0","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),t("span",ds,a(s(p))+" vé",1),t("button",{class:"text-lg font-semibold focus:outline-none",onClick:e[3]||(e[3]=r=>p.value++)},e[25]||(e[25]=[t("svg",{fill:"none",height:"17",viewBox:"0 0 16 17",width:"16",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M8 3.59375V12.9271",stroke:"#A0A0A0","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M3.33333 8.26172H12.6667",stroke:"#A0A0A0","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])):g("",!0),!s(k)&&((Ae=s(m))==null?void 0:Ae.status)!=1?(l(),i("div",us,[s(G)?(l(),i("button",ms,e[26]||(e[26]=[t("span",null,"Hết hạn ÄÄng ký",-1)]))):(l(),i("button",{key:1,class:"bg-blue-500 rounded-lg w-full sm:w-52 h-10 px-8 text-white text-center mt-4",onClick:Xe}
1,e[27]||(e[27]=[t("span",null,"ÄÄng ký",-1)]))),u(X,{open:s(w),"onUpdate:open":e[7]||(e[7]=r=>ze(w)?w.value=r:null),"cancel-text":"Äóng","ok-text":"ÄÄng ký",title:"ÄÄng ký vé",onCancel:U,onOk:e[8]||(e[8]=r=>{var f;return((f=s(o))==null?void 0:f.price)==0?Z():We()})},{default:h(()=>[u(ot,{ref_key:"formRef",ref:F,model:s(d),rules:Ke,class:"pt-4",layout:"vertical"},{default:h(()=>[u(N,{class:"w-full",label:"Há» và tên",name:"full_name"},{default:h(()=>[u(R,{value:s(d).full_name,"onUpdate:value":e[4]||(e[4]=r=>s(d).full_name=r),placeholder:"Há» và tên",size:"large"},null,8,["value"])]),_:1}),u(N,{class:"w-full",label:"Email",name:"email"},{default:h(()=>[u(R,{value:s(d).email,"onUpdate:value":e[5]||(e[5]=r=>s(d).email=r),placeholder:"Email",size:"large"},null,8,["value"])]),_:1}),u(N,{class:"w-full",label:"Sá» Äiá»n thoại",name:"phone"},{default:h(()=>[u(R,{value:s(d).phone,"onUpdate:value":e[6]||(e[6]=r=>s(d).phone=r),placeholder:"Sá» Äiá»n thoại",size:"large"},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open"])])):(l(),i("div",vs,[u(X,{open:s(x),"onUpdate:open":e[10]||(e[10]=r=>
1ze(x)?x.value=r:null),footer:null,style:{top:"25%"},width:500},{default:h(()=>[e[28]||(e[28]=t("p",{class:"text-lg font-medium"}," Há»§y tham gia sá»± kiá»n? ",-1)),e[29]||(e[29]=t("div",{class:"flex items-center rounded-lg pt-3 border-gray-300 cursor-pointer"},[t("p",null,"Ngưá»i tá» chức sẽ ÄÆ°á»£c thông báo và bạn sẽ không thá» tham gia sá»± kiá»n")],-1)),e[30]||(e[30]=t("div",{class:"text-[#F77321] my-3"}," Äá» yêu cầu hoà n lại tiá»n (nếu có), hãy liên há» ngưá»i tá» chức ",-1)),t("div",ps,[t("button",{class:"py-2 px-4 rounded-lg font-medium ml-auto",onClick:e[9]||(e[9]=r=>x.value=!1)}," Vẫn tham gia "),t("button",{class:"bg-blue-500 text-white py-2 px-4 rounded-lg font-medium",onClick:tt}," Há»§y tham gia ")])]),_:1},8,["open"]),((Ee=s(m))==null?void 0:Ee.status)==1&&!s(k)?(l(),i("div",cs,[e[31]||(e[31]=t("button",{class:"bg-[#E4E4E4] rounded-lg w-full sm:w-52 h-10 px-8 text-center mt-4"}," Äã ÄÄng ký ",-1)),t("button",{class:"rounded-lg sm:w-52 h-10 px-8 text-[#929292] text-center text-sm",onClick:e[11]||(e[11]=r=>et())}," Há»§y ÄÄng ký ")])):(l(),i("div",fs,[s(G)?(l(),i("button",hs," HẾT HẠN ÄÄNG Kà ")):((Te=s(m))==null?void 0:Te.unit_price)==0?(l(),i("button",{key:1,class:"bg-blue-500 rounded-lg sm:w-52 h-10 px-8 text-white text-center mt-4 w-full",onClick:Z}," ÄÄNG Kà NGAY ")):(l(),i("button",{key:2,class:"bg-blue-500 rounded-lg sm:w-52 h-10 px-8 text-white text-center mt-4 w-full",onClick:Je}," ÄÄNG Kà NGAY "))]))]))])])])]),t("div",gs,[t("div",{innerHTML:(Le=s(o))==null?void 0:Le.description},null,8,_s)])]))}}});
1export{Ns as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.