1import{d as k,v as i,e as N,c as f,o as v,h as e,a as R,m as o,k as w,bg as B,z as l,t as u,y as r,bh as E,S as b,bi as z,_ as D}from"./DZDLJHOu.js";import{_ as I}from"./CagYB1Nj.js";const S={class:"cancel_account__reason"},T={key:0,class:"reason__input"},U={class:"body__buttons"},G=k({__name:"reason",emits:["next","close","reason"],setup(j,{emit:h}){const d=h,a=i(""),m=i(""),V=N(()=>a.value===""||a.value==="other"&&_.value.trim()===""),_=i(""),y=()=>{d("close")},C=(n,t)=>{m.value=t},$=()=>{d("next","confirm"),d("reason",a.value==="other"?_.value:m.value)};return(n,t)=>{const c=B,x=E,g=z,p=I;return v(),f("div",S,[e(g,{modelValue:r(a),"onUpdate:modelValue":t[1]||(t[1]=s=>b(a)?a.value=s:null),onChange:t[2]||(t[2]=s=>C(s,n.$t(`user_center.cancel_account.cancel_account_reason_${s}`)))},{default:o(()=>[e(c,{value:"repeat"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_repeat")),1)]),_:1}),e(c,{value:"unbind"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_unbind")),1)]),_:1}),e(c,{value:"not"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_not")),1)]),_:1}),e(c,{value:"function"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_function")),1)]),_:1}),e(c,{value:"template"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_template")),1)]),_:1}),e(c,{value:"other"},{default:o(()=>[l(u(n.$t("user_center.cancel_account.cancel_account_reason_other")),1)]),_:1}),r(a)==="other"?(v(),f("div",T,[e(x,{modelValue:r(_),"onUpdate:modelValue":t[0]||(t[0]=s=>b(_)?_.value=s:null),rows:2,type:"textarea",maxlength:"100","show-word-limit":"",placeholder:n.$t("user_center.cancel_account.cancel_account_reason_input")},null,8,["modelValue","placeholder"])])):w("",!0)]),_:1},8,["modelValue"]),R("div",U,[e(p,{class:"body__buttons__item",text:"user_center.cancel_account.cancel",type:"order",size:"default",bold:!0,onClick:y}),e(p,{class:"body__buttons__item",text:"user_center.cancel_account.cancel_account_button_1",type:"success",size:"default",bold:!0,disabled:r(V),onClick:$},null,8,["disabled"])])])}}}),F=D(G,[["__scopeId","data-v-04e69a6e"]]);export{F 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.