System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,a){"use strict";var t,n,s,l,u,i,r,o,c,v,g;return{setters:[e=>{t=e.ex,n=e.i},e=>{s=e.u},e=>{l=e.k,u=e.an,i=e.r,r=e.$,o=e.a8,c=e.s,v=e.S},e=>{g=e.a6}],execute:function(){e("_",l({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){const a=u(e,"value"),{loading:l,setLoading:d}=s(),p=i([]);return(async()=>{try{d(!0);const{message:e}=await t();n(e)&&(p.value=Object.entries(e).map((([e,a])=>({label:a,value:e}))))}finally{d(!1)}})(),(e,t)=>{const n=g;return r(),o(n,c({value:a.value,"onUpdate:value":t[0]||(t[0]=e=>a.value=e),loading:v(l),filterable:"",options:v(p)},e.$attrs),null,16,["value","loading","options"])}}}))}}}));
