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