iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 11.3 kB
JavaScript
export const __rspack_esm_id=4801;export const __rspack_esm_ids=[4801];export const __webpack_modules__={63463(r){var t=TypeError;r.exports=function(r){if("string"==typeof r)return r;throw new t("Argument is not a string")}},83972(r,t,e){var n=e(20034),o=String,a=TypeError;r.exports=function(r){if(void 0===r||n(r))return r;throw new a(o(r)+" is not an object or undefined")}},34154(r,t,e){var n=e(36955),o=TypeError;r.exports=function(r){if("Uint8Array"===n(r))return r;throw new o("Argument is not an Uint8Array")}},77811(r){r.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},67394(r,t,e){var n=e(44576),o=e(46706),a=e(22195),i=n.ArrayBuffer,f=n.TypeError;r.exports=i&&o(i.prototype,"byteLength","get")||function(r){if("ArrayBuffer"!==a(r))throw new f("ArrayBuffer expected");return r.byteLength}},3238(r,t,e){var n=e(44576),o=e(77811),a=e(67394),i=n.DataView;r.exports=function(r){if(!o||0!==a(r))return!1;try{return new i(r),!1}catch(r){return!0}}},55169(r,t,e){var n=e(3238),o=TypeError;r.exports=function(r){if(n(r))throw new o("ArrayBuffer is detached");return r}},95636(r,t,e){var n=e(44576),o=e(79504),a=e(46706),i=e(57696),f=e(55169),u=e(67394),c=e(94483),y=e(1548),s=n.structuredClone,p=n.ArrayBuffer,h=n.DataView,d=Math.max,v=Math.min,g=p.prototype,w=h.prototype,A=o(g.slice),l=a(g,"resizable","get"),x=a(g,"maxByteLength","get"),b=o(w.getInt8),T=o(w.setInt8);r.exports=(y||c)&&function(r,t,e){var n,o=u(r),a=void 0===t?o:i(t),g=!l||!l(r);if(f(r),y&&(r=s(r,{transfer:[r]}),o===a&&(e||g)))return r;if(o>=a&&(!e||g))n=A(r,0,a);else{var w=e&&!g&&x?{maxByteLength:d(a,x(r))}:void 0;n=new p(a,w);for(var B=new h(r),E=new h(n),m=v(a,o),U=0;U<m;U++)T(E,U,b(B,U))}return y||c(r),n}},94644(r,t,e){var n,o,a,i=e(77811),f=e(43724),u=e(44576),c=e(94901),y=e(20034),s=e(39297),p=e(36955),h=e(16823),d=e(66699),v=e(36840),g=e(62106),w=e(1625),A=e(42787),l=e(52967),x=e(78227),b=e(33392),T=e(91181),B=T.enforce,E=T.get,m=u.Int8Array,U=m&&m.prototype,_=u.Uint8ClampedArray,C=_&&_.prototype,I=m&&A(m),D=U&&A(U),R=Object.prototype,M=u.TypeError,k=x("toStringTag"),F=b("TYPED_ARRAY_TAG"),S="TypedArrayConstructor",L=i&&!!l&&"Opera"!==p(u.opera),O=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},V=function(r){var t=A(r);if(y(t)){var e=E(t);return e&&s(e,S)?e[S]:V(t)}},j=function(r){if(!y(r))return!1;var t=p(r);return s(N,t)||s(H,t)};for(n in N)(a=(o=u[n])&&o.prototype)?B(a)[S]=o:L=!1;for(n in H)(a=(o=u[n])&&o.prototype)&&(B(a)[S]=o);if((!L||!c(I)||I===Function.prototype)&&(I=function(){throw new M("Incorrect invocation")},L))for(n in N)u[n]&&l(u[n],I);if((!L||!D||D===R)&&(D=I.prototype,L))for(n in N)u[n]&&l(u[n].prototype,D);if(L&&A(C)!==D&&l(C,D),f&&!s(D,k))for(n in O=!0,g(D,k,{configurable:!0,get:function(){return y(this)?this[F]:void 0}}),N)u[n]&&d(u[n].prototype,F,n);r.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:O&&F,aTypedArray:function(r){if(j(r))return r;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(r){if(c(r)&&(!l||w(I,r)))return r;throw new M(h(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(f){if(e)for(var o in N){var a=u[o];if(a&&s(a.prototype,r))try{delete a.prototype[r]}catch(e){try{a.prototype[r]=t}catch(r){}}}D[r]&&!e||v(D,r,e?t:L&&U[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(f){if(l){if(e)for(n in N)if((o=u[n])&&s(o,r))try{delete o[r]}catch(r){}if(I[r]&&!e)return;try{return v(I,r,e?t:L&&I[r]||t)}catch(r){}}for(n in N)!(o=u[n])||o[r]&&!e||v(o,r,t)}},getTypedArrayConstructor:V,isView:function(r){if(!y(r))return!1;var t=p(r);return"DataView"===t||s(N,t)||s(H,t)},isTypedArray:j,TypedArray:I,TypedArrayPrototype:D}},92804(r){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=t+"+/",n=t+"-_",o=function(r){for(var t={},e=0;e<64;e++)t[r.charAt(e)]=e;return t};r.exports={i2c:e,c2i:o(e),i2cUrl:n,c2iUrl:o(n)}},94483(r,t,e){var n,o,a,i,f=e(44576),u=e(89429),c=e(1548),y=f.structuredClone,s=f.ArrayBuffer,p=f.MessageChannel,h=!1;if(c)h=function(r){y(r,{transfer:[r]})};else if(s)try{p||(n=u("worker_threads"))&&(p=n.MessageChannel),p&&(o=new p,a=new s(2),i=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(i(a),0===a.byteLength&&(h=i)))}catch(r){}r.exports=h},84215(r,t,e){var n=e(44576),o=e(82839),a=e(22195),i=function(r){return o.slice(0,r.length)===r};r.exports=i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},944(r){var t=TypeError;r.exports=function(r){var e=r&&r.alphabet;if(void 0===e||"base64"===e||"base64url"===e)return e||"base64";throw new t("Incorrect `alphabet` option")}},18727(r,t,e){var n=e(36955);r.exports=function(r){var t=n(r);return"BigInt64Array"===t||"BigUint64Array"===t}},1548(r,t,e){var n=e(44576),o=e(79039),a=e(39519),i=e(84215),f=n.structuredClone;r.exports=!!f&&!o(function(){if("DENO"===i&&a>92||"NODE"===i&&a>94||"BROWSER"===i&&a>97)return!1;var r=new ArrayBuffer(8),t=f(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})},75854(r,t,e){var n=e(72777),o=TypeError;r.exports=function(r){var t=n(r,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57696(r,t,e){var n=e(91291),o=e(18014),a=RangeError;r.exports=function(r){if(void 0===r)return 0;var t=n(r),e=o(t);if(t!==e)throw new a("Wrong length or index");return e}},59143(r,t,e){var n=e(44576),o=e(79504),a=e(83972),i=e(63463),f=e(39297),u=e(92804),c=e(944),y=e(55169),s=u.c2i,p=u.c2iUrl,h=n.SyntaxError,d=n.TypeError,v=o("".charAt),g=function(r,t){for(var e=r.length;t<e;t++){var n=v(r,t);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return t},w=function(r,t,e){var n=r.length;n<4&&(r+=2===n?"AA":"A");var o=(t[v(r,0)]<<18)+(t[v(r,1)]<<12)+(t[v(r,2)]<<6)+t[v(r,3)],a=[o>>16&255,o>>8&255,255&o];if(2===n){if(e&&0!==a[1])throw new h("Extra bits");return[a[0]]}if(3===n){if(e&&0!==a[2])throw new h("Extra bits");return[a[0],a[1]]}return a},A=function(r,t,e){for(var n=t.length,o=0;o<n;o++)r[e+o]=t[o];return e+n};r.exports=function(r,t,e,n){i(r),a(t);var o="base64"===c(t)?s:p,u=t?t.lastChunkHandling:void 0;if(void 0===u&&(u="loose"),"loose"!==u&&"strict"!==u&&"stop-before-partial"!==u)throw new d("Incorrect `lastChunkHandling` option");e&&y(e.buffer);var l=r.length,x=e||[],b=0,T=0,B="",E=0;if(n)for(;;){if((E=g(r,E))===l){if(B.length>0){if("stop-before-partial"===u)break;if("loose"!==u)throw new h("Missing padding");if(1===B.length)throw new h("Malformed padding: exactly one additional character");b=A(x,w(B,o,!1),b)}T=l;break}var m=v(r,E);if(++E,"="===m){if(B.length<2)throw new h("Padding is too early");if(E=g(r,E),2===B.length){if(E===l){if("stop-before-partial"===u)break;throw new h("Malformed padding: only one =")}"="===v(r,E)&&(++E,E=g(r,E))}if(E<l)throw new h("Unexpected character after padding");b=A(x,w(B,o,"strict"===u),b),T=l;break}if(!f(o,m))throw new h("Unexpected character");var U=n-b;if(1===U&&2===B.length||2===U&&3===B.length)break;if(4===(B+=m).length&&(b=A(x,w(B,o,!1),b),B="",T=E,b===n))break}return{bytes:x,read:T,written:b}}},42303(r,t,e){var n=e(44576),o=e(79504),a=n.Uint8Array,i=n.SyntaxError,f=Math.min,u=o("".match);r.exports=function(r,t){var e=r.length;if(e%2!=0)throw new i("String should be an even number of characters");for(var n=t?f(t.length,e/2):e/2,o=t||new a(n),c=u(r,/.{2}/g),y=0;y<n;y++){var s=+("0x"+c[y]+"0");if(s!=s)throw new i("String should only contain hex characters");o[y]=s>>4}return{bytes:o,read:y<<1}}},16573(r,t,e){var n=e(43724),o=e(62106),a=e(3238),i=ArrayBuffer.prototype;n&&!("detached"in i)&&o(i,"detached",{configurable:!0,get:function(){return a(this)}})},77936(r,t,e){var n=e(46518),o=e(95636);o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},78100(r,t,e){var n=e(46518),o=e(95636);o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},37467(r,t,e){var n=e(26198),o=e(94644),a=o.aTypedArray,i=o.exportTypedArrayMethod,f=o.getTypedArrayConstructor;i("toReversed",function(){for(var r=a(this),t=n(r),e=new(f(r))(t),o=0;o<t;o++)e[o]=r[t-o-1];return e})},44732(r,t,e){var n=e(94644),o=e(79504),a=e(79306),i=e(35370),f=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,y=o(n.TypedArrayPrototype.sort);c("toSorted",function(r){void 0!==r&&a(r);var t=f(this),e=i(u(t),t);return y(e,r)})},79577(r,t,e){var n=e(94644),o=e(18727),a=e(26198),i=e(91291),f=e(75854),u=n.aTypedArray,c=n.getTypedArrayConstructor,y=n.exportTypedArrayMethod,s=RangeError,p=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}(),h=p&&function(){try{new Int8Array(1).with(-.5,1)}catch(r){return!0}}();y("with",{with:function(r,t){var e=u(this),n=a(e),y=i(r),p=y<0?n+y:y,h=o(e)?f(t):+t;if(p>=n||p<0)throw new s("Incorrect index");for(var d=new(c(e))(n),v=0;v<n;v++)d[v]=v===p?h:e[v];return d}}.with,!p||h)},16632(r,t,e){var n=e(46518),o=e(44576),a=e(59143),i=e(34154),f=o.Uint8Array,u=!f||!f.prototype.setFromBase64||!function(){var r=new f([255,255,255,255,255]);try{return void r.setFromBase64("",null)}catch(r){}try{return void r.setFromBase64("a")}catch(r){}try{r.setFromBase64("MjYyZg===")}catch(t){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();f&&n({target:"Uint8Array",proto:!0,forced:u},{setFromBase64:function(r){i(this);var t=a(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},34226(r,t,e){var n=e(46518),o=e(44576),a=e(63463),i=e(34154),f=e(55169),u=e(42303);o.Uint8Array&&n({target:"Uint8Array",proto:!0,forced:function(){try{var r=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(r).setFromHex("cafed00d")}catch(r){return!0}}()},{setFromHex:function(r){i(this),a(r),f(this.buffer);var t=u(r,this).read;return{read:t,written:t/2}}})},9486(r,t,e){var n=e(46518),o=e(44576),a=e(79504),i=e(83972),f=e(34154),u=e(55169),c=e(92804),y=e(944),s=c.i2c,p=c.i2cUrl,h=a("".charAt),d=o.Uint8Array,v=!d||!d.prototype.toBase64||!function(){try{(new d).toBase64(null)}catch(r){return!0}}();d&&n({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var r=f(this),t=arguments.length?i(arguments[0]):void 0,e="base64"===y(t)?s:p,n=!!t&&!!t.omitPadding;u(this.buffer);for(var o,a="",c=0,d=r.length,v=function(r){return h(e,o>>6*r&63)};c+2<d;c+=3)o=(r[c]<<16)+(r[c+1]<<8)+r[c+2],a+=v(3)+v(2)+v(1)+v(0);return c+2===d?(o=(r[c]<<16)+(r[c+1]<<8),a+=v(3)+v(2)+v(1)+(n?"":"=")):c+1===d&&(o=r[c]<<16,a+=v(3)+v(2)+(n?"":"==")),a}})},20456(r,t,e){var n=e(46518),o=e(44576),a=e(79504),i=e(34154),f=e(55169),u=a(1.1.toString),c=a([].join),y=Array,s=o.Uint8Array,p=!s||!s.prototype.toHex||!function(){try{return"ffffffffffffffff"===new s([255,255,255,255,255,255,255,255]).toHex()}catch(r){return!1}}();s&&n({target:"Uint8Array",proto:!0,forced:p},{toHex:function(){i(this),f(this.buffer);for(var r=y(this.length),t=0,e=this.length;t<e;t++){var n=u(this[t],16);r[t]=1===n.length?"0"+n:n}return c(r,"")}})}};