import{_ as s}from"./vendor-KempxfXE.js";import{f as e,P as o}from"./souav-BTAG2baT.js";import{u as t}from"./vendor-C03G4T8j.js";import{s as r}from"./vendor-CB_mu4eO.js";import{ag as i,c as n,a4 as a,a5 as d,bf as c,v as l,ad as p,aW as m}from"./vendor-BXdGExd0.js";import{s as v}from"./vendor-BJZ6tUoe.js";import"./vendor-CWL149Ps.js";import"./vendor-BCo6x5W8.js";import"./vendor-CDxkAdJH.js";import"./vendor-Cv8m7sE6.js";import"./vendor-bo_0oRCG.js";import"./vendor-Dos3PyFQ.js";import"./vendor-Dwl46Tfs.js";import"./vendor-DN37M9Hi.js";import"./vendor-BHR_E30J.js";import"./vendor-DzK633Zd.js";import"./vendor-CfyHAoLP.js";import"./vendor-Dm4oB1Pn.js";import"./vendor-DBhUxCDU.js";const u={class:"min-h-dvh bg-[#0E0F12]"},f={class:"sticky top-0 z-50 flex items-center justify-center h-12 border-b border-[#1D1E22]"},j={class:"p-4 space-y-4"},b={class:"flex items-center gap-1.5"},x={class:"text-sm text-[#999999]"},g={class:"bg-[#1D1E22] rounded-lg overflow-hidden"},h={class:"bg-[#1D1E22] rounded-lg overflow-hidden"},y=i({__name:"index",emits:["ppw-close"],setup(i){const y=e(),{userInfo:w}=r(y),k=n(()=>{var s;return null==(s=w.value)?void 0:s.userId}),D=()=>{o.open("AccountSecurity",{transition:"slide-fade"})},E=()=>{o.open("Feedback",{transition:"slide-fade"})},C=async()=>{if(k.value){const{copy:s}=t();await s(k.value),v("复制成功")}};return(e,o)=>(m(),a("div",u,[d("header",f,[d("button",{onClick:o[0]||(o[0]=s=>e.$emit("ppw-close")),class:"absolute left-4 p-2"},[...o[1]||(o[1]=[d("i",{class:"icon-sprite icon-back"},null,-1)])]),o[2]||(o[2]=d("h1",{class:"text-lg font-medium text-white font-sans"},"设置",-1))]),d("main",j,[d("div",{onClick:C,class:"flex items-center justify-between h-[44px] px-4 bg-[#1D1E22] rounded-lg cursor-pointer active:opacity-80 transition-opacity"},[o[4]||(o[4]=d("span",{class:"text-sm text-white"},"账号ID",-1)),d("div",b,[d("span",x,c(l(k)),1),o[3]||(o[3]=d("i",{class:"icon-sprite icon-"},null,-1))])]),d("div",g,[p(s,{title:"账号安全",onClick:D})]),d("div",h,[p(s,{title:"反馈",onClick:E})])])]))}});export{y as default};
