import{a as o,E as t,j as e}from"./index-ClCsMWbS.js";import{A as i,R as m}from"./RecallRemove-CnNFF1IW.js";import"./envs-CSqIi4cL.js";import"./DashboardFeatureWrapper-DSvHZUwh.js";import"./Feature-C2pFQwpi.js";import"./DisplayValue-qZ7xyN8v.js";import"./isObject--vsEa_js.js";import"./_createCompounder-CDQ_1ElC.js";import"./isObjectLike-D4auEUP9.js";import"./index-CQLnbJQy.js";import"./InputField-CqTVHKf8.js";import"./SelectField-WiB6Edsu.js";function w({sourceIdx:r,device:a}){const s=o(t(d=>d.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:s??{}})})}),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{w as default};
