import{f as p,a as m}from"../chunks/8V7BUHOp.js";import{i as S}from"../chunks/BLDNKSPL.js";import{p as V,a as z,s as b,c as t,r as a,t as C,g as j}from"../chunks/CwuLZfOX.js";import{s as A}from"../chunks/CaaTB9LM.js";import{e as F,i as H}from"../chunks/4pZKM2WK.js";import{S as L}from"../chunks/2g4Ae8I6.js";import{G as N}from"../chunks/UUw5XUkC.js";var O=p("<tr><td> </td><td> </td></tr>"),T=p('<section><div class="bg-base-200 mt-4 mb-4 p-6 rounded-lg shadow"><div class="flex flex-col"><div class="flex gap-4"><div class="card bg-base-100 shadow-md w-full flex-1"><div class="card-body flex flex-row items-center space-x-4 flex-grow"><div class="overflow-x-auto w-full flex-1"><table class="table table-zebra w-full"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody></tbody></table></div></div></div></div></div></div></section>');function W(v,o){V(o,!1);let s=new L(["Bacnet/#"]);function d(){const n=(s==null?void 0:s.getData())||{};return Object.entries(n).filter(([e])=>!e.toLowerCase().includes("history")&&!e.startsWith("VB_")).map(([e,r])=>{const l=e;return r!==null&&typeof r=="object"&&!Array.isArray(r)?{topic:e,name:l,...r,isPlain:!1}:{topic:e,name:l,value:r,isPlain:!0}})}S();var i=T(),u=t(i),x=t(u),h=t(x),_=t(h),g=t(_),w=t(g),y=t(w),B=b(t(y));F(B,5,d,H,(n,e)=>{let r=()=>j(e).name,l=()=>j(e).value;var c=O(),f=t(c),G=t(f,!0);a(f);var D=b(f),P=t(D,!0);a(D),a(c),C(()=>{A(G,r()),A(P,l()||"")}),m(n,c)}),a(B),a(y),a(w),a(g),a(_),a(h),a(x),a(u),a(i),m(v,i),z()}var k=p('<section><div class="container mx-auto"><!> <!></div></section>');function R(v){var o=k(),s=t(o),d=t(s);N(d,{});var i=b(d,2);W(i,{}),a(s),a(o),m(v,o)}export{R as component};
