iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
3 lines • 11.8 kB
JavaScript
/*! For license information please see 86853.1a10e4d82331d23c.js.LICENSE.txt */
;(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["86853"],{78344:function(t){var n=TypeError;t.exports=function(t){if("string"==typeof t)return t;throw new n("Argument is not a string")}},87265:function(t,n,r){var e=r(61896),i=String,o=TypeError;t.exports=function(t){if(void 0===t||e(t))return t;throw new o(i(t)+" is not an object or undefined")}},87038:function(t,n,r){var e=r(59069),i=TypeError;t.exports=function(t){if("Uint8Array"===e(t))return t;throw new i("Argument is not an Uint8Array")}},17743:function(t,n,r){var e=r(13053);t.exports=function(t,n,r){for(var i=0,o=arguments.length>2?r:e(n),s=new t(o);o>i;)s[i]=n[i++];return s}},15419:function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n+"+/",e=n+"-_",i=function(t){for(var n={},r=0;r<64;r++)n[t.charAt(r)]=r;return n};t.exports={i2c:r,c2i:i(r),i2cUrl:e,c2iUrl:i(e)}},93474:function(t){var n=TypeError;t.exports=function(t){var r=t&&t.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new n("Incorrect `alphabet` option")}},47057:function(t,n,r){var e=r(1569),i=r(72878),o=r(87265),s=r(78344),a=r(39129),c=r(15419),u=r(93474),f=r(38511),l=c.c2i,h=c.c2iUrl,d=e.SyntaxError,v=e.TypeError,_=i("".charAt),p=function(t,n){for(var r=t.length;n<r;n++){var e=_(t,n);if(" "!==e&&"\t"!==e&&"\n"!==e&&"\f"!==e&&"\r"!==e)break}return n},A=function(t,n,r){var e=t.length;e<4&&(t+=2===e?"AA":"A");var i=(n[_(t,0)]<<18)+(n[_(t,1)]<<12)+(n[_(t,2)]<<6)+n[_(t,3)],o=[i>>16&255,i>>8&255,255&i];if(2===e){if(r&&0!==o[1])throw new d("Extra bits");return[o[0]]}if(3===e){if(r&&0!==o[2])throw new d("Extra bits");return[o[0],o[1]]}return o},$=function(t,n,r){for(var e=n.length,i=0;i<e;i++)t[r+i]=n[i];return r+e};t.exports=function(t,n,r,e){s(t),o(n);var i="base64"===u(n)?l:h,c=n?n.lastChunkHandling:void 0;if(void 0===c&&(c="loose"),"loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new v("Incorrect `lastChunkHandling` option");r&&f(r.buffer);var g=r||[],w=0,y=0,b="",C=0;if(e)for(;;){if((C=p(t,C))===t.length){if(b.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new d("Missing padding");if(1===b.length)throw new d("Malformed padding: exactly one additional character");w=$(g,A(b,i,!1),w)}y=t.length;break}var m=_(t,C);if(++C,"="===m){if(b.length<2)throw new d("Padding is too early");if(C=p(t,C),2===b.length){if(C===t.length){if("stop-before-partial"===c)break;throw new d("Malformed padding: only one =")}"="===_(t,C)&&(++C,C=p(t,C))}if(C<t.length)throw new d("Unexpected character after padding");w=$(g,A(b,i,"strict"===c),w),y=t.length;break}if(!a(i,m))throw new d("Unexpected character");var x=e-w;if(1===x&&2===b.length||2===x&&3===b.length)break;if(4===(b+=m).length&&(w=$(g,A(b,i,!1),w),b="",y=C,w===e))break}return{bytes:g,read:y,written:w}}},35303:function(t,n,r){var e=r(1569),i=r(72878),o=e.Uint8Array,s=e.SyntaxError,a=e.parseInt,c=Math.min,u=/[^\da-f]/i,f=i(u.exec),l=i("".slice);t.exports=function(t,n){var r=t.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var e=n?c(n.length,r/2):r/2,i=n||new o(e),h=0,d=0;d<e;){var v=l(t,h,h+=2);if(f(u,v))throw new s("String should only contain hex characters");i[d++]=a(v,16)}return{bytes:i,read:h}}},82328:function(t,n,r){var e=r(40810),i=r(1569),o=r(11003),s=r(6567),a="ArrayBuffer",c=o[a];e({global:!0,constructor:!0,forced:i[a]!==c},{ArrayBuffer:c}),s(a)},63434:function(t,n,r){var e=r(40810),i=r(12360),o=r(13053),s=r(88045),a=r(35709);e({target:"Array",proto:!0},{at:function(t){var n=i(this),r=o(n),e=s(t),a=e>=0?e:r+e;return a<0||a>=r?void 0:n[a]}}),a("at")},96829:function(t,n,r){var e=r(40810),i=r(72878),o=r(95011),s=r(88045),a=r(72616),c=r(29660),u=i("".charAt);e({target:"String",proto:!0,forced:c((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var n=a(o(this)),r=n.length,e=s(t),i=e>=0?e:r+e;return i<0||i>=r?void 0:u(n,i)}})},92789:function(t,n,r){r(13492)("Uint8",(function(t){return function(n,r,e){return t(this,n,r,e)}}))},21917:function(t,n,r){var e=r(40810),i=r(1569),o=r(47057),s=r(87038);i.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromBase64:function(t){s(this);var n=o(t,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:n.read,written:n.written}}})},56193:function(t,n,r){var e=r(40810),i=r(1569),o=r(78344),s=r(87038),a=r(38511),c=r(35303);i.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(t){s(this),o(t),a(this.buffer);var n=c(t,this).read;return{read:n,written:n/2}}})},25020:function(t,n,r){var e=r(40810),i=r(1569),o=r(72878),s=r(87265),a=r(87038),c=r(38511),u=r(15419),f=r(93474),l=u.i2c,h=u.i2cUrl,d=o("".charAt);i.Uint8Array&&e({target:"Uint8Array",proto:!0},{toBase64:function(){var t=a(this),n=arguments.length?s(arguments[0]):void 0,r="base64"===f(n)?l:h,e=!!n&&!!n.omitPadding;c(this.buffer);for(var i,o="",u=0,v=t.length,_=function(t){return d(r,i>>6*t&63)};u+2<v;u+=3)i=(t[u]<<16)+(t[u+1]<<8)+t[u+2],o+=_(3)+_(2)+_(1)+_(0);return u+2===v?(i=(t[u]<<16)+(t[u+1]<<8),o+=_(3)+_(2)+_(1)+(e?"":"=")):u+1===v&&(i=t[u]<<16,o+=_(3)+_(2)+(e?"":"==")),o}})},86913:function(t,n,r){var e=r(40810),i=r(1569),o=r(72878),s=r(87038),a=r(38511),c=o(1..toString);i.Uint8Array&&e({target:"Uint8Array",proto:!0},{toHex:function(){s(this),a(this.buffer);for(var t="",n=0,r=this.length;n<r;n++){var e=c(this[n],16);t+=1===e.length?"0"+e:e}return t}})},14503:function(t,n,r){r.d(n,{Z:()=>e});r(63721),r(88230),r(52247),r(71695),r(40251),r(47021);function e(t){var n,r,e,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,e=Symbol.iterator);o--;){if(r&&null!=(n=t[r]))return n.call(t);if(e&&null!=(n=t[e]))return new i(n.call(t));r="@@asyncIterator",e="@@iterator"}throw new TypeError("Object is not async iterable")}function i(t){function n(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var n=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:n}}))}return i=function(t){this.s=t,this.n=t.next},i.prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):n(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):n(r.apply(this.s,arguments))}},new i(t)}},18492:function(t,n,r){r.d(n,{d:()=>i});r(9359),r(1331),r(70104);var e=r(53907);function i(t,...n){const r=e.L.bind(null,t||n.find((t=>"object"==typeof t)));return n.map(r)}},76808:function(t,n,r){r.d(n,{I7:()=>a,dP:()=>i,jE:()=>e,vh:()=>s,yJ:()=>o});Math.pow(10,8);const e=6048e5,i=864e5,o=6e4,s=36e5,a=Symbol.for("constructDateFrom")},53907:function(t,n,r){r.d(n,{L:()=>i});var e=r(76808);function i(t,n){return"function"==typeof t?t(n):t&&"object"==typeof t&&e.I7 in t?t[e.I7](n):t instanceof Date?new t.constructor(n):new Date(n)}},7591:function(t,n,r){r.d(n,{b:()=>i});var e=r(18112);function i(t,n){const r=(0,e.Q)(t,null==n?void 0:n.in);return r.setHours(0,0,0,0),r}},18112:function(t,n,r){r.d(n,{Q:()=>i});var e=r(53907);function i(t,n){return(0,e.L)(n||t,t)}},27608:function(t,n,r){r.d(n,{MT:()=>i,RV:()=>e,U2:()=>a,ZH:()=>u,t8:()=>c});r(71695),r(92745),r(9359),r(31526),r(70104),r(40251),r(47021);function e(t){return new Promise(((n,r)=>{t.oncomplete=t.onsuccess=()=>n(t.result),t.onabort=t.onerror=()=>r(t.error)}))}function i(t,n){const r=indexedDB.open(t);r.onupgradeneeded=()=>r.result.createObjectStore(n);const i=e(r);return(t,r)=>i.then((e=>r(e.transaction(n,t).objectStore(n))))}let o;function s(){return o||(o=i("keyval-store","keyval")),o}function a(t,n=s()){return n("readonly",(n=>e(n.get(t))))}function c(t,n,r=s()){return r("readwrite",(r=>(r.put(n,t),e(r.transaction))))}function u(t=s()){return t("readwrite",(t=>(t.clear(),e(t.transaction))))}},1714:function(t,n,r){r.d(n,{sR:()=>l});r(71695),r(92519),r(42179),r(89256),r(24931),r(88463),r(57449),r(19814),r(47021);var e=r(53232),i=r(45779);const o=(t,n)=>{var r,e;const i=t._$AN;if(void 0===i)return!1;for(const s of i)null===(e=(r=s)._$AO)||void 0===e||e.call(r,n,!1),o(s,n);return!0},s=t=>{let n,r;do{if(void 0===(n=t._$AM))break;r=n._$AN,r.delete(t),t=n}while(0===(null==r?void 0:r.size))},a=t=>{for(let n;n=t._$AM;t=n){let r=n._$AN;if(void 0===r)n._$AN=r=new Set;else if(r.has(t))break;r.add(t),f(n)}};function c(t){void 0!==this._$AN?(s(this),this._$AM=t,a(this)):this._$AM=t}function u(t,n=!1,r=0){const e=this._$AH,i=this._$AN;if(void 0!==i&&0!==i.size)if(n)if(Array.isArray(e))for(let a=r;a<e.length;a++)o(e[a],!1),s(e[a]);else null!=e&&(o(e,!1),s(e));else o(this,t)}const f=t=>{var n,r,e,o;t.type==i.pX.CHILD&&(null!==(n=(e=t)._$AP)&&void 0!==n||(e._$AP=u),null!==(r=(o=t)._$AQ)&&void 0!==r||(o._$AQ=c))};class l extends i.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,n,r){super._$AT(t,n,r),a(this),this.isConnected=t._$AU}_$AO(t,n=!0){var r,e;t!==this.isConnected&&(this.isConnected=t,t?null===(r=this.reconnected)||void 0===r||r.call(this):null===(e=this.disconnected)||void 0===e||e.call(this)),n&&(o(this,t),s(this))}setValue(t){if((0,e.OR)(this._$Ct))this._$Ct._$AI(t,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=t,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}},53232:function(t,n,r){r.d(n,{E_:()=>p,OR:()=>c,_Y:()=>f,dZ:()=>a,fk:()=>l,hN:()=>s,hl:()=>d,i9:()=>v,pt:()=>o,ws:()=>_});var e=r(2841);const{I:i}=e.Al,o=t=>null===t||"object"!=typeof t&&"function"!=typeof t,s=(t,n)=>void 0===n?void 0!==(null==t?void 0:t._$litType$):(null==t?void 0:t._$litType$)===n,a=t=>{var n;return null!=(null===(n=null==t?void 0:t._$litType$)||void 0===n?void 0:n.h)},c=t=>void 0===t.strings,u=()=>document.createComment(""),f=(t,n,r)=>{var e;const o=t._$AA.parentNode,s=void 0===n?t._$AB:n._$AA;if(void 0===r){const n=o.insertBefore(u(),s),e=o.insertBefore(u(),s);r=new i(n,e,t,t.options)}else{const n=r._$AB.nextSibling,i=r._$AM,a=i!==t;if(a){let n;null===(e=r._$AQ)||void 0===e||e.call(r,t),r._$AM=t,void 0!==r._$AP&&(n=t._$AU)!==i._$AU&&r._$AP(n)}if(n!==s||a){let t=r._$AA;for(;t!==n;){const n=t.nextSibling;o.insertBefore(t,s),t=n}}}return r},l=(t,n,r=t)=>(t._$AI(n,r),t),h={},d=(t,n=h)=>t._$AH=n,v=t=>t._$AH,_=t=>{var n;null===(n=t._$AP)||void 0===n||n.call(t,!1,!0);let r=t._$AA;const e=t._$AB.nextSibling;for(;r!==e;){const t=r.nextSibling;r.remove(),r=t}},p=t=>{t._$AR()}},94571:function(t,n,r){r.d(n,{C:()=>h});r(71695),r(9359),r(1331),r(40251),r(47021);var e=r(2841),i=r(53232),o=r(1714);r(14503);class s{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class a{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){var t;null!==(t=this.Y)&&void 0!==t||(this.Y=new Promise((t=>this.Z=t)))}resume(){var t;null===(t=this.Z)||void 0===t||t.call(this),this.Y=this.Z=void 0}}var c=r(45779);const u=t=>!(0,i.pt)(t)&&"function"==typeof t.then,f=1073741823;class l extends o.sR{constructor(){super(...arguments),this._$C_t=f,this._$Cwt=[],this._$Cq=new s(this),this._$CK=new a}render(...t){var n;return null!==(n=t.find((t=>!u(t))))&&void 0!==n?n:e.Jb}update(t,n){const r=this._$Cwt;let i=r.length;this._$Cwt=n;const o=this._$Cq,s=this._$CK;this.isConnected||this.disconnected();for(let e=0;e<n.length&&!(e>this._$C_t);e++){const t=n[e];if(!u(t))return this._$C_t=e,t;e<i&&t===r[e]||(this._$C_t=f,i=0,Promise.resolve(t).then((async n=>{for(;s.get();)await s.get();const r=o.deref();if(void 0!==r){const e=r._$Cwt.indexOf(t);e>-1&&e<r._$C_t&&(r._$C_t=e,r.setValue(n))}})))}return e.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const h=(0,c.XM)(l)}}]);
//# sourceMappingURL=86853.1a10e4d82331d23c.js.map