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