iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 9.57 kB
JavaScript
;(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["14806"],{88977:function(t,n,r){r.d(n,{L:()=>i});r(19134),r(44495),r(32114);const e={en:"US",hi:"IN",deva:"IN",te:"IN",mr:"IN",ta:"IN",gu:"IN",kn:"IN",or:"IN",ml:"IN",pa:"IN",bho:"IN",awa:"IN",as:"IN",mwr:"IN",mai:"IN",mag:"IN",bgc:"IN",hne:"IN",dcc:"IN",bn:"BD",beng:"BD",rkt:"BD",dz:"BT",tibt:"BT",tn:"BW",am:"ET",ethi:"ET",om:"ET",quc:"GT",id:"ID",jv:"ID",su:"ID",mad:"ID",ms_arab:"ID",he:"IL",hebr:"IL",jam:"JM",ja:"JP",jpan:"JP",km:"KH",khmr:"KH",ko:"KR",kore:"KR",lo:"LA",laoo:"LA",mh:"MH",my:"MM",mymr:"MM",mt:"MT",ne:"NP",fil:"PH",ceb:"PH",ilo:"PH",ur:"PK",pa_arab:"PK",lah:"PK",ps:"PK",sd:"PK",skr:"PK",gn:"PY",th:"TH",thai:"TH",tts:"TH",zh_hant:"TW",hant:"TW",sm:"WS",zu:"ZA",sn:"ZW",arq:"DZ",ar:"EG",arab:"EG",arz:"EG",fa:"IR",az_arab:"IR",dv:"MV",thaa:"MV"};const o={AG:0,ATG:0,28:0,AS:0,ASM:0,16:0,BD:0,BGD:0,50:0,BR:0,BRA:0,76:0,BS:0,BHS:0,44:0,BT:0,BTN:0,64:0,BW:0,BWA:0,72:0,BZ:0,BLZ:0,84:0,CA:0,CAN:0,124:0,CO:0,COL:0,170:0,DM:0,DMA:0,212:0,DO:0,DOM:0,214:0,ET:0,ETH:0,231:0,GT:0,GTM:0,320:0,GU:0,GUM:0,316:0,HK:0,HKG:0,344:0,HN:0,HND:0,340:0,ID:0,IDN:0,360:0,IL:0,ISR:0,376:0,IN:0,IND:0,356:0,JM:0,JAM:0,388:0,JP:0,JPN:0,392:0,KE:0,KEN:0,404:0,KH:0,KHM:0,116:0,KR:0,KOR:0,410:0,LA:0,LA0:0,418:0,MH:0,MHL:0,584:0,MM:0,MMR:0,104:0,MO:0,MAC:0,446:0,MT:0,MLT:0,470:0,MX:0,MEX:0,484:0,MZ:0,MOZ:0,508:0,NI:0,NIC:0,558:0,NP:0,NPL:0,524:0,PA:0,PAN:0,591:0,PE:0,PER:0,604:0,PH:0,PHL:0,608:0,PK:0,PAK:0,586:0,PR:0,PRI:0,630:0,PT:0,PRT:0,620:0,PY:0,PRY:0,600:0,SA:0,SAU:0,682:0,SG:0,SGP:0,702:0,SV:0,SLV:0,222:0,TH:0,THA:0,764:0,TT:0,TTO:0,780:0,TW:0,TWN:0,158:0,UM:0,UMI:0,581:0,US:0,USA:0,840:0,VE:0,VEN:0,862:0,VI:0,VIR:0,850:0,WS:0,WSM:0,882:0,YE:0,YEM:0,887:0,ZA:0,ZAF:0,710:0,ZW:0,ZWE:0,716:0,AE:6,ARE:6,784:6,AF:6,AFG:6,4:6,BH:6,BHR:6,48:6,DJ:6,DJI:6,262:6,DZ:6,DZA:6,12:6,EG:6,EGY:6,818:6,IQ:6,IRQ:6,368:6,IR:6,IRN:6,364:6,JO:6,JOR:6,400:6,KW:6,KWT:6,414:6,LY:6,LBY:6,434:6,OM:6,OMN:6,512:6,QA:6,QAT:6,634:6,SD:6,SDN:6,729:6,SY:6,SYR:6,760:6,MV:5,MDV:5,462:5};function i(t){return function(t,n,r){if(t){var e,o=t.toLowerCase().split(/[-_]/),i=o[0],a=i;if(o[1]&&4===o[1].length?(a+="_"+o[1],e=o[2]):e=o[1],e||(e=n[a]||n[i]),e)return function(t,n){var r=n["string"==typeof t?t.toUpperCase():t];return"number"==typeof r?r:1}(e.match(/^\d+$/)?Number(e):e,r)}return 1}(t,e,o)}},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),o=String,i=TypeError;t.exports=function(t){if(void 0===t||e(t))return t;throw new i(o(t)+" is not an object or undefined")}},87038:function(t,n,r){var e=r(59069),o=TypeError;t.exports=function(t){if("Uint8Array"===e(t))return t;throw new o("Argument is not an Uint8Array")}},15419:function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n+"+/",e=n+"-_",o=function(t){for(var n={},r=0;r<64;r++)n[t.charAt(r)]=r;return n};t.exports={i2c:r,c2i:o(r),i2cUrl:e,c2iUrl:o(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),o=r(72878),i=r(87265),a=r(78344),u=r(39129),s=r(15419),f=r(93474),c=r(38511),l=s.c2i,h=s.c2iUrl,d=e.SyntaxError,g=e.TypeError,v=o("".charAt),M=function(t,n){for(var r=t.length;n<r;n++){var e=v(t,n);if(" "!==e&&"\t"!==e&&"\n"!==e&&"\f"!==e&&"\r"!==e)break}return n},p=function(t,n,r){var e=t.length;e<4&&(t+=2===e?"AA":"A");var o=(n[v(t,0)]<<18)+(n[v(t,1)]<<12)+(n[v(t,2)]<<6)+n[v(t,3)],i=[o>>16&255,o>>8&255,255&o];if(2===e){if(r&&0!==i[1])throw new d("Extra bits");return[i[0]]}if(3===e){if(r&&0!==i[2])throw new d("Extra bits");return[i[0],i[1]]}return i},A=function(t,n,r){for(var e=n.length,o=0;o<e;o++)t[r+o]=n[o];return r+e};t.exports=function(t,n,r,e){a(t),i(n);var o="base64"===f(n)?l:h,s=n?n.lastChunkHandling:void 0;if(void 0===s&&(s="loose"),"loose"!==s&&"strict"!==s&&"stop-before-partial"!==s)throw new g("Incorrect `lastChunkHandling` option");r&&c(r.buffer);var I=r||[],b=0,w=0,N="",T=0;if(e)for(;;){if((T=M(t,T))===t.length){if(N.length>0){if("stop-before-partial"===s)break;if("loose"!==s)throw new d("Missing padding");if(1===N.length)throw new d("Malformed padding: exactly one additional character");b=A(I,p(N,o,!1),b)}w=t.length;break}var D=v(t,T);if(++T,"="===D){if(N.length<2)throw new d("Padding is too early");if(T=M(t,T),2===N.length){if(T===t.length){if("stop-before-partial"===s)break;throw new d("Malformed padding: only one =")}"="===v(t,T)&&(++T,T=M(t,T))}if(T<t.length)throw new d("Unexpected character after padding");b=A(I,p(N,o,"strict"===s),b),w=t.length;break}if(!u(o,D))throw new d("Unexpected character");var H=e-b;if(1===H&&2===N.length||2===H&&3===N.length)break;if(4===(N+=D).length&&(b=A(I,p(N,o,!1),b),N="",w=T,b===e))break}return{bytes:I,read:w,written:b}}},35303:function(t,n,r){var e=r(1569),o=r(72878),i=e.Uint8Array,a=e.SyntaxError,u=e.parseInt,s=Math.min,f=/[^\da-f]/i,c=o(f.exec),l=o("".slice);t.exports=function(t,n){var r=t.length;if(r%2!=0)throw new a("String should be an even number of characters");for(var e=n?s(n.length,r/2):r/2,o=n||new i(e),h=0,d=0;d<e;){var g=l(t,h,h+=2);if(c(f,g))throw new a("String should only contain hex characters");o[d++]=u(g,16)}return{bytes:o,read:h}}},68107:function(t,n,r){var e=r(40810),o=r(73994),i=r(63983),a=r(71998),u=r(4576);e({target:"Iterator",proto:!0,real:!0},{every:function(t){a(this),i(t);var n=u(this),r=0;return!o(n,(function(n,e){if(!t(n,r++))return e()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},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),o=r(1569),i=r(47057),a=r(87038);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromBase64:function(t){a(this);var n=i(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),o=r(1569),i=r(78344),a=r(87038),u=r(38511),s=r(35303);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(t){a(this),i(t),u(this.buffer);var n=s(t,this).read;return{read:n,written:n/2}}})},25020:function(t,n,r){var e=r(40810),o=r(1569),i=r(72878),a=r(87265),u=r(87038),s=r(38511),f=r(15419),c=r(93474),l=f.i2c,h=f.i2cUrl,d=i("".charAt);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{toBase64:function(){var t=u(this),n=arguments.length?a(arguments[0]):void 0,r="base64"===c(n)?l:h,e=!!n&&!!n.omitPadding;s(this.buffer);for(var o,i="",f=0,g=t.length,v=function(t){return d(r,o>>6*t&63)};f+2<g;f+=3)o=(t[f]<<16)+(t[f+1]<<8)+t[f+2],i+=v(3)+v(2)+v(1)+v(0);return f+2===g?(o=(t[f]<<16)+(t[f+1]<<8),i+=v(3)+v(2)+v(1)+(e?"":"=")):f+1===g&&(o=t[f]<<16,i+=v(3)+v(2)+(e?"":"==")),i}})},86913:function(t,n,r){var e=r(40810),o=r(1569),i=r(72878),a=r(87038),u=r(38511),s=i(1..toString);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{toHex:function(){a(this),u(this.buffer);for(var t="",n=0,r=this.length;n<r;n++){var e=s(this[n],16);t+=1===e.length?"0"+e:e}return t}})},55428:function(t,n,r){r.d(n,{j:()=>o});let e={};function o(){return e}},18492:function(t,n,r){r.d(n,{d:()=>o});r(9359),r(1331),r(70104);var e=r(53907);function o(t,...n){const r=e.L.bind(null,t||n.find((t=>"object"==typeof t)));return n.map(r)}},78052:function(t,n,r){r.d(n,{w:()=>s});r(71695),r(47021);var e=r(18112);function o(t){const n=(0,e.Q)(t),r=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return r.setUTCFullYear(n.getFullYear()),+t-+r}var i=r(18492),a=r(76808),u=r(7591);function s(t,n,r){const[e,s]=(0,i.d)(null==r?void 0:r.in,t,n),f=(0,u.b)(e),c=(0,u.b)(s),l=+f-o(f),h=+c-o(c);return Math.round((l-h)/a.dP)}},13809:function(t,n,r){r.d(n,{j:()=>i});r(71695),r(47021);var e=r(18492),o=r(78052);function i(t,n,r){const[i,u]=(0,e.d)(null==r?void 0:r.in,t,n),s=a(i,u),f=Math.abs((0,o.w)(i,u));i.setDate(i.getDate()-s*f);const c=s*(f-Number(a(i,u)===-s));return 0===c?0:c}function a(t,n){const r=t.getFullYear()-n.getFullYear()||t.getMonth()-n.getMonth()||t.getDate()-n.getDate()||t.getHours()-n.getHours()||t.getMinutes()-n.getMinutes()||t.getSeconds()-n.getSeconds()||t.getMilliseconds()-n.getMilliseconds();return r<0?-1:r>0?1:r}},94763:function(t,n,r){r.d(n,{p:()=>i});var e=r(34151),o=r(13809);function i(t,n,r){const i=(0,o.j)(t,n,r)/7;return(0,e.u)(null==r?void 0:r.roundingMethod)(i)}},5423:function(t,n,r){r.d(n,{B:()=>o});var e=r(18112);function o(t,n,r){const o=(0,e.Q)(t,null==r?void 0:r.in);return o.setHours(n),o}},55116:function(t,n,r){r.d(n,{H:()=>o});var e=r(18112);function o(t,n,r){const o=(0,e.Q)(t,null==r?void 0:r.in);return o.setMinutes(n),o}},7591:function(t,n,r){r.d(n,{b:()=>o});var e=r(18112);function o(t,n){const r=(0,e.Q)(t,null==n?void 0:n.in);return r.setHours(0,0,0,0),r}},29558:function(t,n,r){r.d(n,{z:()=>i});var e=r(55428),o=r(18112);function i(t,n){var r,i,a,u,s,f;const c=(0,e.j)(),l=null!==(r=null!==(i=null!==(a=null!==(u=null==n?void 0:n.weekStartsOn)&&void 0!==u?u:null==n||null===(s=n.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==a?a:c.weekStartsOn)&&void 0!==i?i:null===(f=c.locale)||void 0===f||null===(f=f.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0,h=(0,o.Q)(t,null==n?void 0:n.in),d=h.getDay(),g=(d<l?7:0)+d-l;return h.setDate(h.getDate()-g),h.setHours(0,0,0,0),h}}}]);
//# sourceMappingURL=14806.8fa321dd1ebad8be.js.map