import{dB as s,dF as t,dm as e}from"./index-D_pphaE2.js";import{A as i,R as m}from"./RecallRemove-7fIq6cXH.js";import"./envs-CRUy-_iG.js";import"./DashboardFeatureWrapper-C-FPOAcu.js";import"./startCase-BsTKbnbP.js";import"./DisplayValue-Bn_kSwDb.js";import"./isObject--vsEa_js.js";import"./_createCompounder-DD7kMWdY.js";import"./isObjectLike-DDO0-ybB.js";import"./index-BhIhHSRV.js";import"./InputField-B0SBdaHi.js";import"./extends-CF3RwP-h.js";import"./react-select.esm-OUcOCR-x.js";import"./defineProperty-CegpTSss.js";import"./floating-ui.dom-CFVCCol6.js";function R({sourceIdx:r,device:a}){const d=s(t(o=>o.deviceStates[r][a.friendly_name]));return e.jsxs("div",{className:"flex flex-row flex-wrap gap-4 w-full",children:[e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(i,{sourceIdx:r,target:a,deviceState:d??{}})})}),e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(m,{sourceIdx:r,target:a})})})]})}export{R as default};
