import{_ as m}from"./index-BDlR_GtR.js?v=1773287522785";import{n as c,i as l}from"./index-BTglIPU2.js?v=1773287522785";import{u as g}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{h as f}from"./tools-CMJvIbk2.js?v=1773287522785";import{g as _}from"./index-CCGECshE.js?v=1773287522785";import{k as d,t as u,r as h,$ as x,Z as y,a0 as k,S as p}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./rules-pmZEUQ_o.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./useTableColumns-DDeyYvje.js?v=1773287522785";import"./index-S15tYq5l.js?v=1773287522785";import"./copy-D-wIKr0q.js?v=1773287522785";import"./index-DIKmrNCq.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DeTfbeeM.js?v=1773287522785";import"./index-Cg6fMjw6.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-DgjjuUjT.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-B7YvCBmY.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-C5hb-Th7.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./index-CZps0rIN.js?v=1773287522785";const v={class:"p-20px"},P=d({__name:"http",props:{id:{default:0}},setup(i){const a=u(i,"id"),s=h(""),{loading:n,setLoading:r}=g();return(async()=>{try{r(!0);const{message:t}=await _({id:a.value});if(c(t)&&t.length>0){const{http_log:e}=t[0],{message:o}=await f({path:e});l(o)&&(s.value=o.result)}}finally{r(!1)}})(),(t,e)=>{const o=m;return x(),y("div",v,[k(o,{class:"h-428px",lang:"http",loading:p(n),content:p(s)},null,8,["loading","content"])])}}});export{P as default};
