const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CCTreeView-DLPcbPaA.js","./index-Ms_1iFoB.js","./index-2j-kvxFz.css","./CCTreeView-CpgHtNhq.css"])))=>i.map(i=>d[i]);
import{n as s,_ as o,aq as r,F as l,G as d,H as v,J as _,h as u}from"./index-Ms_1iFoB.js";const n={props:{value:Object},components:{CCTreeView:()=>o(()=>import("./CCTreeView-DLPcbPaA.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},data:()=>({}),methods:{getRegion:r,getRoute:l,getType:d,getRssi:v,getProtocolDataRate:_,getProtocol:u}};var c=function(){var e=this,t=e._self._c;return e.value?t("v-row",[t("v-col",[t("v-simple-table",{staticClass:"frame-details",attrs:{dense:""},scopedSlots:e._u([{key:"default",fn:function(){return[t("tbody",[t("tr",[t("td",[e._v("Type")]),t("td",[e._v(e._s(e.getType(e.value)))])]),t("tr",[t("td",[e._v("Protocol")]),t("td",[e._v(e._s(e.getProtocol(e.value)))])]),t("tr",[t("td",[e._v("Channel")]),t("td",[e._v(e._s(e.value.channel))])]),t("tr",[t("td",[e._v("Region")]),t("td",[e._v(e._s(e.getRegion(e.value)))])]),t("tr",[t("td",[e._v("RSSI")]),t("td",[e._v(e._s(e.getRssi(e.value)))])]),t("tr",[t("td",[e._v("Protocol Data Rate")]),t("td",[e._v(" "+e._s(e.getProtocolDataRate(e.value)+(e.value.speedModified?" (speed modified)":""))+" ")])]),t("tr",[t("td",[e._v("Sequence Number")]),t("td",[e._v(e._s(e.value.sequenceNumber))])]),e.value.payload?t("tr",[t("td",[e._v("Payload")]),t("td",[e._v(e._s(e.value.payload))])]):e._e(),t("tr",[t("td",[e._v("Home ID")]),t("td",[e._v(" "+e._s(e.value.homeId?e.value.homeId.toString(16):"")+" ")])]),t("tr",[t("td",[e._v("Route")]),t("td",{domProps:{innerHTML:e._s(e.getRoute(e.value,!0))}})]),e.value.ackRequested!==void 0?t("tr",[t("td",[e._v("Ack Requested")]),t("td",[e._v(e._s(e.value.ackRequested))])]):e._e(),e.value.routedAck?t("tr",[t("td",[e._v("Routed Ack")]),t("td",[e._v(e._s(e.value.routedAck))])]):e._e(),e.value.routedError?t("tr",[t("td",[e._v("Routed Error")]),t("td",[e._v(e._s(e.value.routedError))])]):e._e()])]},proxy:!0}],null,!1,2146638613)})],1),t("v-col",[e.value.parsedPayload?t("CCTreeView",{staticClass:"my-2",attrs:{value:e.value.parsedPayload}}):e._e(),t("span",{staticClass:"text-caption"},[e._v("Raw")]),t("v-textarea",{staticClass:"mono",attrs:{readonly:"","hide-details":"",solo:"","no-resize":"",rows:"2"},model:{value:e.value.raw,callback:function(a){e.$set(e.value,"raw",a)},expression:"value.raw"}})],1)],1):t("v-row",{staticClass:"fill",attrs:{justify:"center",align:"center"}},[t("v-col",{staticClass:"text-center caption"},[t("span",{attrs:{dense:""}},[e._v("Click on a frame in table to see details")])])],1)},i=[],p=s(n,c,i,!1,null,"3669ebb1");const R=p.exports;export{R as default};
