UNPKG

iobroker.telegram

Version:

The adapter allows to send and receive telegram messages from ioBroker and to be a broker.

2 lines (1 loc) 994 B
import{C as f}from"./ConfigCustomTelegramSet__loadShare__react__loadShare__-xs2vjw5Y.js";import{j as u}from"./jsx-runtime-DscBPJdh.js";function p(e,n){const t={...n};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const s=e[o],c=n[o];if(!c)t[o]=s||{};else if(!s)t[o]=c;else{t[o]={...c};for(const a in s)if(Object.prototype.hasOwnProperty.call(s,a)){const i=a;t[o][i]=p(s[i],c[i])}}}else t[o]===void 0&&(t[o]=e[o])}return t}const l=f.createContext(void 0);function _({value:e,children:n}){return u.jsx(l.Provider,{value:e,children:n})}function m(e){const{theme:n,name:t,props:r}=e;if(!n||!n.components||!n.components[t])return r;const o=n.components[t];return o.defaultProps?p(o.defaultProps,r):!o.styleOverrides&&!o.variants?p(o,r):r}function d({props:e,name:n}){const t=f.useContext(l);return m({props:e,name:n,theme:{components:t}})}export{_ as D,p as r,d as u};