iobroker.kisshome-research
Version:
Collection of information for KISSHome research
3 lines (2 loc) • 18.3 kB
JavaScript
(self.webpackChunkiobroker_admin_component_telegram=self.webpackChunkiobroker_admin_component_telegram||[]).push([["src_ConfigCustomInstancesSelector_jsx"],{477:()=>{},7460:(me,K,g)=>{"use strict";g.d(K,{A:()=>fe});var u=g(7810),L=g(5826),D=g.n(L),I=g(5892),N=g(925),F=g(7129),X=g(9793),J=g(5762),B=g(7832),A=g(5264),U=g(8285),H=g(1469),Y=g(627),j=g(3753),q=g(500),Q=g(2268),Z=g(7076),y=g(1907),m=g(2158),w=Object.defineProperty,ee=Object.defineProperties,te=Object.getOwnPropertyDescriptors,G=Object.getOwnPropertySymbols,ie=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ne=Reflect.get,z=(d,t,i)=>t in d?w(d,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):d[t]=i,M=(d,t)=>{for(var i in t||(t={}))se.call(t,i)&&z(d,i,t[i]);if(G)for(var i of G(t))ae.call(t,i)&&z(d,i,t[i]);return d},re=(d,t)=>ee(d,te(t)),oe=(d,t,i)=>z(d,typeof t!="symbol"?t+"":t,i),le=(d,t,i)=>ne(ie(d),i,t),T=(d,t,i)=>new Promise((l,o)=>{var n=c=>{try{a(i.next(c))}catch(e){o(e)}},s=c=>{try{a(i.throw(c))}catch(e){o(e)}},a=c=>c.done?l(c.value):Promise.resolve(c.value).then(n,s);a((i=i.apply(d,t)).next())});const _={table:{minWidth:400},header:{fontSize:16,fontWeight:"bold"},td:{padding:"2px 16px"},vendor:{maxWidth:150,fontSize:12,textOverflow:"ellipsis",overflow:"hidden"}};function de(d,t){return T(this,null,function*(){const i=yield d.getObjectViewSystem("state",`${t}.`,`${t}.\u9999`),l=[],o=Object.keys(i).filter(n=>n.endsWith(".address"));for(let n=0;n<o.length;n++){const s=o[n],a=yield d.getState(s);a!=null&&a.val&&l.push({ip:a.val,name:"homekit-controller"})}return l})}function ce(d,t){return T(this,null,function*(){const i=yield d.getObjectViewSystem("state",`${t}.`,`${t}.\u9999`),l=[],o=Object.keys(i).filter(n=>n.endsWith(".address"));for(let n=0;n<o.length;n++){const s=o[n],a=yield d.getState(s);a!=null&&a.val&&l.push({ip:a.val,name:"homekit-controller"})}return l})}function ue(d,t){return T(this,null,function*(){const i=yield d.getObjectViewSystem("state",`${t}.`,`${t}.\u9999`),l=[],o=Object.keys(i).filter(n=>n.endsWith(".hostname"));for(let n=0;n<o.length;n++){const s=o[n],a=yield d.getState(s);a!=null&&a.val&&l.push({ip:a.val,name:"shelly"})}return l})}function pe(d,t){return T(this,null,function*(){var i,l;const o=yield d.getObjectViewSystem("state",`${t}.info.clients.`,`${t}.info.clients.\u9999`),n=[],s=Object.values(o);for(let a=0;a<s.length;a++)(l=(i=s[a])==null?void 0:i.native)!=null&&l.ip&&n.push({ip:s[a].native.ip,name:t.split(".")[0]});return n})}function he(d,t){return T(this,null,function*(){var i,l,o;const n=yield d.getObjectViewSystem("device",`${t}.`,`${t}.\u9999`),s=Object.values(n),a=[];for(let c=0;c<s.length;c++)((i=s[c])==null?void 0:i.type)==="device"&&((o=(l=s[c])==null?void 0:l.native)!=null&&o.ip)&&a.push({ip:s[c].native.ip,name:t.split(".")[0]});return a})}const ve=[{adapter:"broadlink2",attr:"additional"},{adapter:"harmony",attr:"devices",arrayAttr:"ip"},{adapter:"hm-rpc",attr:"homematicAddress"},{adapter:"homeconnect",browse:ce},{adapter:"homekit-controller",attr:"discoverIp",browse:de},{adapter:"hue",attr:"bridge"},{adapter:"knx",attr:"bind"},{adapter:"lgtv",attr:"ip"},{adapter:"loxone",attr:"host"},{adapter:"mihome-vacuum",attr:"ip"},{adapter:"modbus",attr:"params.bind",clients:!0},{adapter:"mqtt",attr:"url",clients:!0},{adapter:"mqtt-client",attr:"host"},{adapter:"lcn",attr:"host"},{adapter:"knx",attr:"gwip"},{adapter:"onvif"},{adapter:"openknx",attr:"gwip"},{adapter:"broadlink2",attr:"additional"},{adapter:"proxmox",attr:"ip"},{adapter:"samsung",attr:"ip"},{adapter:"shelly",browse:ue},{adapter:"sonoff",clients:!0},{adapter:"sonos",attr:"devices",arrayAttr:"ip"},{adapter:"tr-064",attr:"iporhost"},{adapter:"unify",attr:"controllerIp"},{adapter:"upnp",browse:he},{adapter:"wled",attr:"devices",arrayAttr:"ip"},{adapter:"wifilight",attr:"devices",arrayAttr:"ip"}];function P(d){return d?typeof d!="string"?!1:(d=d.trim().toUpperCase().replace(/\s/g,""),!d||d.match(/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/)?!0:!!d.match(/^([0-9A-F]{12})$/)):!0}function k(d){return!d||!P(d)?d:(d=d.toUpperCase().trim().replace(/[\s:-]/g,""),d.replace(/(..)(..)(..)(..)(..)(..)/,"$1:$2:$3:$4:$5:$6"))}function x(d){return d?typeof d!="string"?!1:(d=d.trim(),d?d.match(/^\d+\.\d+\.\d+\.\d+$/)?!d.trim().split(".").map(i=>parseInt(i,10)).find(i=>i<0||i>255):!1:!0):!0}function $(d){return!d||!x(d)?d:d.trim().split(".").map(i=>parseInt(i,10)).join(".")}class C extends y.ConfigGeneric{constructor(){super(...arguments),oe(this,"onAliveChanged",(t,i)=>{this.state.alive!==!!(i!=null&&i.val)&&this.setState({alive:!!(i!=null&&i.val)},()=>{this.state.alive&&(this.resolveDone?this.validateAddresses():this.resolveMACs())})})}componentDidMount(){return T(this,null,function*(){le(C.prototype,this,"componentDidMount").call(this),this.socket=this.props.oContext?this.props.oContext.socket:this.props.socket,this.instance=this.props.oContext?this.props.oContext.instance:this.props.instance;let t=[];const i=yield this.socket.getObject(`system.adapter.kisshome-research.${this.instance}`);i!=null&&i.common.host&&(t=(yield this.socket.getObject(`system.host.${i.common.host}`)).common.address);let l=yield this.socket.getAdapterInstances();l=l.filter(a=>{var c;return((c=a==null?void 0:a.common)==null?void 0:c.adminUI)&&(a.common.adminUI.config!=="none"||a.common.adminUI.tab)}).map(a=>({id:a._id.replace(/^system\.adapter\./,""),name:a.common.name,native:a.native})).sort((a,c)=>a.id>c.id?1:a.id<c.id?-1:0);const o=y.ConfigGeneric.getValue(this.props.data,"devices")||[];o.forEach(a=>{a.uuid||(a.uuid=(0,I.A)())});const n=yield this.collectIpAddresses(l,t,o),s={instances:l,ips:n,IP2MAC:{},MAC2VENDOR:{},alive:this.props.alive,resolving:!1,showMessage:!1};this.resolveDone=!1,this.setState(s),yield this.socket.subscribeState(`system.adapter.kisshome-research.${this.instance}.alive`,this.onAliveChanged),this.props.alive&&this.resolveMACs(),this.disableFritzBox(),this.checkDevices(o)})}resolveMACs(){this.resolveDone=!0,this.setState({runningRequest:!0},()=>{const t=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],i=[];return t.forEach(l=>{const o=$(l.ip),n=k(l.mac);o&&x(o)?i.push({ip:o,mac:n}):n&&P(n)&&i.push({ip:o,mac:n})}),this.state.ips.forEach(l=>{const o=$(l.ip),n=k(l.mac);o&&x(o)&&!i.find(s=>s.ip===o)?i.push({ip:o,mac:n}):n&&P(n)&&!i.find(s=>s.ip===o)&&i.push({ip:o,mac:n})}),this.socket.sendTo(`kisshome-research.${this.instance}`,"getMacForIps",i).then(l=>{var o;if(l!=null&&l.error){this.setState({runningRequest:!1});return}const n=M({},this.state.IP2MAC||{}),s=M({},this.state.MAC2VENDOR||{}),a=JSON.parse(JSON.stringify(this.state.ips));(o=l==null?void 0:l.result)==null||o.forEach(e=>{const r=e.ip,p=a.findIndex(h=>h.ip===r);p!==-1&&(a[p].mac=e.mac),n[$(r)]=e.mac,s[k(e.mac)]=e.vendor});let c=!1;t.forEach(e=>{const r=a.findIndex(p=>p.ip===e.ip);r!==-1&&a[r].mac&&e.mac!==a[r].mac&&(c=!0,e.mac=a[r].mac)}),this.setState({ips:a,IP2MAC:n,MAC2VENDOR:s,runningRequest:!1}),c&&this.onChange("devices",t)}).catch(l=>{l.toString()!=="no results"&&window.alert(`Cannot get MAC addresses: ${l}`),this.setState({runningRequest:!1})})})}static getAttr(t,i){if(Array.isArray(i)){const l=i.shift();return typeof t[l]=="object"?C.getAttr(t[l],i):i.length?null:t[l]}return C.getAttr(t,i.split("."))}static isIp(t){if(typeof t=="string"){if(t.match(/^\d+\.\d+\.\d+\.\d+$/))return"ipv4";if(t.match(/^[\da-fA-F:]+$/))return"ipv6"}return null}componentWillUnmount(){super.componentWillUnmount(),this.socket.unsubscribeState(`system.adapter.kisshome-research.${this.instance}.alive`,this.onAliveChanged),this.validateTimeout&&clearTimeout(this.validateTimeout),this.validateTimeout=null}validateAddresses(){this.validateTimeout&&clearTimeout(this.validateTimeout),this.validateTimeout=setTimeout(()=>{if(this.validateTimeout=null,!this.state.alive)return;const t=[],i=y.ConfigGeneric.getValue(this.props.data,"devices")||[],l=M({},this.state.IP2MAC),o=M({},this.state.MAC2VENDOR);i.forEach(n=>{const s=$(n.ip),a=k(n.mac);s&&x(n.ip)&&!l[s]?(l[s]="-",t.push(n),n.mac&&P(n.mac)&&!o[a]&&(o[a]="-")):n.mac&&P(n.mac)&&!o[a]&&(o[a]="-",t.push(n))}),t.length&&this.setState({resolving:!0,IP2MAC:l,MAC2VENDOR:o},()=>{this.socket.sendTo(`kisshome-research.${this.instance}`,"getMacForIps",t).then(n=>{var s;if(n!=null&&n.error){this.setState({resolving:!1});return}const a=M({},this.state.IP2MAC),c=M({},this.state.MAC2VENDOR);let e=!1;(s=n==null?void 0:n.result)==null||s.forEach(r=>{r.ip=k(r.ip),r.mac=k(r.mac),r.mac&&a[r.ip]!==r.mac&&(a[r.ip]=r.mac,e=!0),r.vendor&&c[r.mac]!==r.vendor&&(c[r.mac]=r.vendor,e=!0)}),e&&this.setState({IP2MAC:a,MAC2VENDOR:c,resolving:!1})})})},1e3)}collectIpAddresses(t,i,l){return T(this,null,function*(){let o=[];t=t||this.state.instances;for(let s=0;s<t.length;s++){const a=ve.find(c=>c.adapter===t[s].name);if(a&&t[s].native){const c=a.attr;if(a.attr&&t[s].native[c])if(a.arrayAttr){if(Array.isArray(t[s].native[c]))for(let e=0;e<t[s].native[c].length;e++){const r=t[s].native[c][e],p=C.getAttr(r,a.arrayAttr),h=C.isIp(p);if(h){const O=l.find(b=>b.ip===p);o.push({ip:p,type:h,desc:t[s].name,uuid:(O==null?void 0:O.uuid)||(0,I.A)()})}}}else{const e=C.getAttr(t[s].native,c),r=C.isIp(e);if(r){const p=l.find(h=>h.ip===e);o.push({ip:e,type:r,desc:t[s].name,uuid:(p==null?void 0:p.uuid)||(0,I.A)()})}}if(a.browse)try{(yield a.browse(this.socket,t[s].id.replace("system.adapter.",""))).forEach(r=>{const p=C.isIp(r.ip);if(p){const h=l.find(O=>O.ip===r.ip);o.push({ip:r.ip,type:p,desc:r.name||t[s].name,uuid:(h==null?void 0:h.uuid)||(0,I.A)()})}})}catch(e){console.error(`Cannot collect "${t[s]}": ${e}`)}if(a.clients)try{(yield pe(this.socket,t[s].id.replace("system.adapter.",""))).forEach(r=>{const p=C.isIp(r.ip);if(p){const h=l.find(O=>O.ip===r.ip);o.push({ip:r.ip,type:p,desc:r.name||t[s].name,uuid:(h==null?void 0:h.uuid)||(0,I.A)()})}})}catch(e){console.error(`Cannot collect "${t[s]}": ${e}`)}}else if(t[s].native.ip&&typeof t[s].native.ip=="string"&&t[s].native.ip.match(/^\d+\.\d+\.\d+\.\d+$/)){const c=l.find(e=>e.ip===t[s].native.ip);o.push({ip:t[s].native.ip,type:"ipv4",desc:t[s].name,uuid:(c==null?void 0:c.uuid)||(0,I.A)()})}else if(t[s].native.host&&typeof t[s].native.host=="string"&&t[s].native.host.match(/^\d+\.\d+\.\d+\.\d+$/)){const c=l.find(e=>e.ip===t[s].native.host);o.push({ip:t[s].native.host,type:"ipv4",desc:t[s].name,uuid:(c==null?void 0:c.uuid)||(0,I.A)()})}}o=o.filter(s=>!i.includes(s.ip)&&s.ip!=="0.0.0.0"&&s.ip!=="localhost"&&s.ip!=="127.0.0.1"&&s.ip!=="::1"&&s.type==="ipv4");const n=[];for(let s=0;s<o.length;s++)n.find(a=>a.ip===o[s].ip)||n.push(o[s]);return n})}renderMessage(){return this.state.showMessage?u.createElement(m.Message,{text:m.I18n.t("custom_kisshome_You cannot record the traffic of Fritz!Box"),onClose:()=>this.setState({showMessage:!1})}):null}disableFritzBox(){const t=y.ConfigGeneric.getValue(this.props.data,"devices")||[],i=y.ConfigGeneric.getValue(this.props.data,"fritzbox");let l=!1;t.forEach(o=>{o.ip===i&&o.enabled&&(l=!0,o.enabled=!1)}),l&&this.onChange("devices",t)}checkDevices(t){if(t.find(i=>(i.desc||"").length<3))this.props.onError("devices",m.I18n.t("custom_kisshome_name_too_short"));else if(t.find(i=>!i.ip&&!i.mac))this.props.onError("devices",m.I18n.t("custom_kisshome_name_ip_and_mac_missing"));else if(t.find(i=>!x(i.ip)))this.props.onError("devices",m.I18n.t("custom_kisshome_name_invalid_ip"));else if(t.find(i=>!P(i.mac)))this.props.onError("devices",m.I18n.t("custom_kisshome_name_invalid_mac"));else{const i=t.filter(l=>l.enabled&&l.ip).map(l=>l.ip);if(i.length!==new Set(i).size)this.props.onError("devices",m.I18n.t("custom_kisshome_duplicate_ip"));else{const l=t.filter(o=>o.enabled&&o.mac).map(o=>o.mac);l.length!==new Set(l).size?this.props.onError("devices",m.I18n.t("custom_kisshome_duplicate_mac")):this.props.onError("devices")}}}renderItem(t,i,l){var o;const n=y.ConfigGeneric.getValue(this.props.data,"devices")||[],s=y.ConfigGeneric.getValue(this.props.data,"fritzbox");n.forEach(e=>{e.uuid||(e.uuid=(0,I.A)())});const a=this.state.ips?n.filter(e=>!this.state.ips.find(r=>r.ip===e.ip&&r.uuid===e.uuid)):n,c=n.every(e=>e.enabled)&&(this.state.ips?this.state.ips.every(e=>n.find(r=>r.ip===e.ip)):!0);return u.createElement(N.A,null,this.renderMessage(),this.state.runningRequest||this.state.resolving?u.createElement(F.A,null):u.createElement("div",{style:{height:2,width:"100%"}}),u.createElement(X.A,{style:_.table,size:"small"},u.createElement(J.A,null,u.createElement(B.A,null,u.createElement(A.A,{style:re(M({},_.header),{width:120})},u.createElement(U.A,{title:c?m.I18n.t("custom_kisshome_unselect_all"):m.I18n.t("custom_kisshome_select_all"),checked:c,indeterminate:!c&&n.length>0,disabled:this.state.runningRequest,onClick:()=>{const e=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]];if(c){e.forEach(r=>r.enabled=!1);for(let r=e.length-1;r>=0;r--)this.state.ips.find(p=>p.ip===e[r].ip)&&e.splice(r,1)}else e.forEach(r=>r.enabled=!0),this.state.ips.forEach(r=>{!e.find(p=>r.ip===p.ip)&&r.ip!==s&&e.push({ip:r.ip,mac:r.mac,desc:r.desc,enabled:!0,uuid:r.uuid})}),e.forEach(r=>r.enabled=!0);this.onChange("devices",e)}}),u.createElement(H.A,{onClick:()=>{const e=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]];e.push({ip:"",mac:"",desc:"",enabled:!0,uuid:(0,I.A)()}),this.onChange("devices",e),this.checkDevices(e)},size:"small",disabled:this.state.runningRequest},u.createElement(Q.A,null))),u.createElement(A.A,{style:_.header},m.I18n.t("custom_kisshome_ip")),u.createElement(A.A,{style:_.header},m.I18n.t("custom_kisshome_mac")),u.createElement(A.A,{style:_.header},m.I18n.t("custom_kisshome_vendor")),u.createElement(A.A,{style:_.header},m.I18n.t("custom_kisshome_name")),u.createElement(A.A,{style:_.header}))),u.createElement(Y.A,null,(o=this.state.ips)==null?void 0:o.map(e=>{var r,p;return u.createElement(B.A,{key:e.uuid},u.createElement(A.A,{scope:"row",style:_.td},u.createElement(U.A,{checked:!!((r=n.find(h=>h.uuid===e.uuid))!=null&&r.enabled),disabled:this.state.runningRequest,onClick:()=>{const h=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],O=h.findIndex(b=>b.uuid===e.uuid);if(O===-1){const b=h.findIndex(R=>R.ip===e.ip);if(b!==-1){const R=JSON.parse(JSON.stringify(this.state.ips)),S=R.find(W=>W.uuid===e.uuid);S.uuid=h[b].uuid,h[b].enabled=!0,this.setState({ips:R},()=>this.onChange("devices",h))}else{if(e.ip===s){this.setState({showMessage:!0});return}h.push({ip:e.ip,mac:e.mac,desc:e.desc,enabled:!0,uuid:e.uuid})}}else h.splice(O,1);this.onChange("devices",h)}})),u.createElement(A.A,{style:_.td},e.ip),u.createElement(A.A,{style:_.td},e.mac||""),u.createElement(A.A,{style:M(M({},_.td),_.vendor)},((p=this.state.MAC2VENDOR)==null?void 0:p[k(e.mac)])||""),u.createElement(A.A,{style:_.td},e.desc),u.createElement(A.A,{style:_.td}))}),a.map(e=>{var r,p,h;const O=$(e.ip),b=k(e.mac),R=(r=this.state.IP2MAC)==null?void 0:r[O],S=e.ip&&e.enabled&&n.filter(f=>e.ip===f.ip).length>1?m.I18n.t("custom_kisshome_duplicate_ip"):"",W=e.mac&&e.enabled&&n.filter(f=>e.mac===f.mac).length>1?m.I18n.t("custom_kisshome_duplicate_mac"):"";return u.createElement(B.A,{key:e.uuid},u.createElement(A.A,{scope:"row",style:_.td},u.createElement(U.A,{checked:!!e.enabled,disabled:this.state.runningRequest,onClick:()=>{const f=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],v=f.find(E=>E.uuid===e.uuid);if(v){if(!v.enabled&&e.ip===s){this.setState({showMessage:!0});return}v.enabled=!v.enabled,this.onChange("devices",f)}}})),u.createElement(A.A,{style:_.td},u.createElement(j.A,{fullWidth:!0,error:!!S||!x(e.ip)||!e.ip&&!e.mac,helperText:S||(x(e.ip)?!e.ip&&!e.mac?m.I18n.t("custom_kisshome_name_ip_and_mac_missing"):"":m.I18n.t("custom_kisshome_name_invalid_ip")),value:e.ip,disabled:this.state.runningRequest,placeholder:"192.168.x.y",onChange:f=>{const v=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],E=v.find(V=>V.uuid===e.uuid);E&&(E.ip=f.target.value,E.ip===s&&E.enabled&&setTimeout(()=>this.disableFritzBox(),300),this.onChange("devices",v),this.validateAddresses(),this.checkDevices(v))},onBlur:()=>{if(e.ip.trim()&&O!==e.ip){const f=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],v=f.find(E=>E.uuid===e.uuid);v&&(v.ip=normalized,this.onChange("devices",f),this.checkDevices(f))}},variant:"standard"})),u.createElement(A.A,{style:_.td},u.createElement(j.A,{fullWidth:!0,value:e.mac,disabled:this.state.runningRequest,error:!!W||!P(e.mac)||!e.ip&&!e.mac,helperText:W||(P(e.mac)?!e.ip&&!e.mac?m.I18n.t("custom_kisshome_name_ip_and_mac_missing"):"":m.I18n.t("custom_kisshome_name_invalid_mac")),placeholder:R||"XX:XX:XX:XX:XX:XX",onChange:f=>{const v=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],E=v.find(V=>V.uuid===e.uuid);E&&(E.mac=f.target.value,this.onChange("devices",v),this.validateAddresses(),this.checkDevices(v))},onBlur:()=>{if(e.mac.trim()){const f=b;if(f!==e.mac){const v=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],E=v.find(V=>V.uuid===e.uuid);E&&(E.mac=f,this.onChange("devices",v),this.checkDevices(v))}}},variant:"standard"})),u.createElement(A.A,{style:M(M({},_.td),_.vendor)},e.mac?((p=this.state.MAC2VENDOR)==null?void 0:p[b])||"":R&&((h=this.state.MAC2VENDOR)==null?void 0:h[R])||""),u.createElement(A.A,{style:_.td},u.createElement(j.A,{fullWidth:!0,value:e.desc,disabled:this.state.runningRequest,onChange:f=>{const v=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],E=v.find(V=>V.uuid===e.uuid);E&&(E.desc=f.target.value,this.onChange("devices",v),this.checkDevices(v))},helperText:(e.desc||"").length>=3?"":m.I18n.t("custom_kisshome_name_too_short"),error:(e.desc||"").length<3,variant:"standard"})),u.createElement(A.A,{style:_.td},u.createElement(q.A,{disabled:this.state.runningRequest,onClick:()=>{const f=[...y.ConfigGeneric.getValue(this.props.data,"devices")||[]],v=f.findIndex(E=>E.uuid===e.uuid);v!==-1&&(f.splice(v,1),this.onChange("devices",f),this.checkDevices(f))}},u.createElement(Z.A,null))))}))))}}C.propTypes={socket:D().object.isRequired,themeType:D().string,themeName:D().string,style:D().object,data:D().object.isRequired,schema:D().object,onError:D().func,onChange:D().func};const fe=C}}]);
//# sourceMappingURL=src_ConfigCustomInstancesSelector_jsx.7ee94880.chunk.js.map