iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 1.45 kB
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[26707],{55081:function(e,t,o){var r=o(46518),a=o(44576);r({global:!0,forced:a.globalThis!==a},{globalThis:a})},53950:function(e,t,o){o.r(t);o(44114),o(55081);Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData?Intl.PluralRules.__addLocaleData({data:{categories:{cardinal:["one","other"],ordinal:["few","one","other","two"]},fn:function(e,t,o=0){const r=String(e),a=r.split("."),n=a[0],l=a[1]||"",s=Math.abs(parseFloat(r)),h=Math.floor(Math.abs(parseFloat(n))),i=l.length;if(t){if(s%10==3&&s%100!=13)return"few";if(s%10==1&&s%100!=11)return"one";if(s%10==2&&s%100!=12)return"two"}else if(1===h&&0===i)return"one";return"other"},pluralRanges:{cardinal:{one_other:"other",other_one:"other",other_other:"other"},ordinal:{}}},locale:"en"}):(globalThis.__FORMATJS_PLURALRULES_DATA__=globalThis.__FORMATJS_PLURALRULES_DATA__||[]).push({data:{categories:{cardinal:["one","other"],ordinal:["few","one","other","two"]},fn:function(e,t,o=0){const r=String(e),a=r.split("."),n=a[0],l=a[1]||"",s=Math.abs(parseFloat(r)),h=Math.floor(Math.abs(parseFloat(n))),i=l.length;if(t){if(s%10==3&&s%100!=13)return"few";if(s%10==1&&s%100!=11)return"one";if(s%10==2&&s%100!=12)return"two"}else if(1===h&&0===i)return"one";return"other"},pluralRanges:{cardinal:{one_other:"other",other_one:"other",other_other:"other"},ordinal:{}}},locale:"en"})}}]);