import{c as a}from"./page_layout.js?v=1763625242172";import{aL as e}from"./site.js?v=1763625242172";import{d as s}from"./public.js?v=1763625242172";import{k as t,ae as o,r as l,R as i,a2 as r,s as n,V as u}from"./vue.js?v=1763625242172";import{dV as p}from"./naive.js?v=1763625242172";const m=t({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(t){const m=o(t,"value"),{loading:v,setLoading:d}=s(),c=l([]);return(async()=>{try{d(!0);const{message:s}=await e();a(s)&&(c.value=Object.entries(s).map((([a,e])=>({label:e,value:a}))))}finally{d(!1)}})(),(a,e)=>{const s=p;return i(),r(s,n({value:m.value,"onUpdate:value":e[0]||(e[0]=a=>m.value=a),loading:u(v),filterable:"",options:u(c)},a.$attrs),null,16,["value","loading","options"])}}});export{m as _};
