iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 7.91 kB
JavaScript
/*! For license information please see 12077.6ae00d21d1fc9cb1.js.LICENSE.txt */
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[12077],{1375:function(n,t){t.A={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"}},27734:function(n,t,e){e.d(t,{S:function(){return u}});e(27495);var r=e(1375),o=e(62009);function u(n){return function(n,t,e){if(n){var r,o=n.toLowerCase().split(/[-_]/),u=o[0],i=u;if(o[1]&&4===o[1].length?(i+="_"+o[1],r=o[2]):r=o[1],r||(r=t[i]||t[u]),r)return function(n,t){var e=t["string"==typeof n?n.toUpperCase():n];return"number"==typeof e?e:1}(r.match(/^\d+$/)?Number(r):r,e)}return 1}(n,r.A,o.A)}},62009:function(n,t){t.A={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}},69479:function(n,t,e){var r=e(43724),o=e(62106),u=e(65213),i=e(67979);r&&!u.correct&&(o(RegExp.prototype,"flags",{configurable:!0,get:i}),u.correct=!0)},13611:function(n,t,e){var r=e(46518),o=e(44576),u=e(62106),i=e(43724),c=TypeError,a=Object.defineProperty,s=o.self!==o;try{if(i){var l=Object.getOwnPropertyDescriptor(o,"self");!s&&l&&l.get&&l.enumerable||u(o,"self",{get:function(){return o},set:function(n){if(this!==o)throw new c("Illegal invocation");a(o,"self",{value:n,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:s},{self:o})}catch(f){}},31886:function(n,t,e){e.a(n,async function(n,r){try{e.d(t,{BB:function(){return o.B}});e(38744);var o=e(88775),u=e(49232),i=e(78713),c=e(53834),a=e(35204),s=e(5806),l=n([o,u,i,c,a,s]);[o,u,i,c,a,s]=l.then?(await l)():l,r()}catch(f){r(f)}})},2045:function(n,t,e){e.d(t,{q:function(){return o}});let r={};function o(){return r}},6439:function(n,t,e){function r(n){return t=>{const e=(n?Math[n]:Math.trunc)(t);return 0===e?0:e}}e.d(t,{u:function(){return r}})},74816:function(n,t,e){e.d(t,{x:function(){return o}});e(18111),e(20116),e(61701);var r=e(73420);function o(n,...t){const e=r.w.bind(null,n||t.find(n=>"object"==typeof n));return t.map(e)}},57279:function(n,t,e){e.d(t,{L:function(){return u}});var r=e(77972),o=e(9160);function u(n,t,e){return(0,r.A)(n,t*o.s0,e)}},77972:function(n,t,e){e.d(t,{A:function(){return u}});var r=e(73420),o=e(83504);function u(n,t,e){return(0,r.w)((null==e?void 0:e.in)||n,+(0,o.a)(n)+t)}},9160:function(n,t,e){e.d(t,{_P:function(){return i},my:function(){return r},s0:function(){return u},w4:function(){return o}});Math.pow(10,8);const r=6048e5,o=864e5,u=36e5,i=Symbol.for("constructDateFrom")},73420:function(n,t,e){e.d(t,{w:function(){return o}});var r=e(9160);function o(n,t){return"function"==typeof n?n(t):n&&"object"==typeof n&&r._P in n?n[r._P](t):n instanceof Date?new n.constructor(t):new Date(t)}},43382:function(n,t,e){e.d(t,{A:function(){return o}});var r=e(73420);function o(n){return(0,r.w)(n,Date.now())}},465:function(n,t,e){e.d(t,{m:function(){return a}});e(62953);var r=e(83504);function o(n){const t=(0,r.a)(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}var u=e(74816),i=e(9160),c=e(35932);function a(n,t,e){const[r,a]=(0,u.x)(null==e?void 0:e.in,n,t),s=(0,c.o)(r),l=(0,c.o)(a),f=+s-o(s),d=+l-o(l);return Math.round((f-d)/i.w4)}},6946:function(n,t,e){e.d(t,{c:function(){return u}});e(62953);var r=e(74816),o=e(465);function u(n,t,e){const[u,c]=(0,r.x)(null==e?void 0:e.in,n,t),a=i(u,c),s=Math.abs((0,o.m)(u,c));u.setDate(u.getDate()-a*s);const l=a*(s-Number(i(u,c)===-a));return 0===l?0:l}function i(n,t){const e=n.getFullYear()-t.getFullYear()||n.getMonth()-t.getMonth()||n.getDate()-t.getDate()||n.getHours()-t.getHours()||n.getMinutes()-t.getMinutes()||n.getSeconds()-t.getSeconds()||n.getMilliseconds()-t.getMilliseconds();return e<0?-1:e>0?1:e}},6116:function(n,t,e){e.d(t,{o:function(){return u}});var r=e(6439),o=e(83339);function u(n,t,e){const u=(0,o.b)(n,t)/6e4;return(0,r.u)(null==e?void 0:e.roundingMethod)(u)}},38684:function(n,t,e){e.d(t,{I:function(){return u}});var r=e(6439),o=e(6946);function u(n,t,e){const u=(0,o.c)(n,t,e)/7;return(0,r.u)(null==e?void 0:e.roundingMethod)(u)}},35932:function(n,t,e){e.d(t,{o:function(){return o}});var r=e(83504);function o(n,t){const e=(0,r.a)(n,null==t?void 0:t.in);return e.setHours(0,0,0,0),e}},52640:function(n,t,e){e.d(t,{k:function(){return u}});var r=e(2045),o=e(83504);function u(n,t){var e,u,i,c,a,s;const l=(0,r.q)(),f=null!==(e=null!==(u=null!==(i=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(a=t.locale)||void 0===a||null===(a=a.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==i?i:l.weekStartsOn)&&void 0!==u?u:null===(s=l.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==e?e:0,d=(0,o.a)(n,null==t?void 0:t.in),M=d.getDay(),v=(M<f?7:0)+M-f;return d.setDate(d.getDate()-v),d.setHours(0,0,0,0),d}},18186:function(n,t,e){e.d(t,{K:function(){return o}});var r=e(43382);function o(n){const t=(0,r.A)(null==n?void 0:n.in),e=t.getFullYear(),o=t.getMonth(),u=t.getDate(),i=(0,r.A)(null==n?void 0:n.in);return i.setFullYear(e,o,u-1),i.setHours(0,0,0,0),i}},66708:function(n,t,e){e.d(t,{O:function(){return o}});var r=e(57279);function o(n,t,e){return(0,r.L)(n,-t,e)}},83504:function(n,t,e){e.d(t,{a:function(){return o}});var r=e(73420);function o(n,t){return(0,r.w)(t||n,n)}},74985:function(n,t,e){e.d(t,{P:function(){return c}});e(88454),e(29452),e(62953);var r=e(5055),o=e(42017),u=e(63937);const i=n=>(0,u.ps)(n)?n._$litType$.h:n.strings,c=(0,o.u$)(class extends o.WL{render(n){return[n]}update(n,[t]){const e=(0,u.qb)(this.it)?i(this.it):null,o=(0,u.qb)(t)?i(t):null;if(null!==e&&(null===o||e!==o)){const t=(0,u.cN)(n).pop();let o=this.et.get(e);if(void 0===o){const n=document.createDocumentFragment();o=(0,r.XX)(r.s6,n),o.setConnected(!1),this.et.set(e,o)}(0,u.mY)(o,[t]),(0,u.Dx)(o,void 0,t)}if(null!==o){if(null===e||e!==o){const t=this.et.get(o);if(void 0!==t){const e=(0,u.cN)(t).pop();(0,u.Jz)(n),(0,u.Dx)(n,void 0,e),(0,u.mY)(n,[e])}}this.it=t}else this.it=void 0;return this.render(t)}constructor(n){super(n),this.et=new WeakMap}})}}]);