iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 1.32 kB
JavaScript
export const __rspack_esm_id=26707;export const __rspack_esm_ids=[26707];export const __webpack_modules__={53950(e,t,o){o.r(t);o(44114);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]||"",_=Math.abs(parseFloat(r)),s=Math.floor(Math.abs(parseFloat(n))),h=l.length;if(t){if(_%10==3&&_%100!=13)return"few";if(_%10==1&&_%100!=11)return"one";if(_%10==2&&_%100!=12)return"two"}else if(1===s&&0===h)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]||"",_=Math.abs(parseFloat(r)),s=Math.floor(Math.abs(parseFloat(n))),h=l.length;if(t){if(_%10==3&&_%100!=13)return"few";if(_%10==1&&_%100!=11)return"one";if(_%10==2&&_%100!=12)return"two"}else if(1===s&&0===h)return"one";return"other"},pluralRanges:{cardinal:{one_other:"other",other_one:"other",other_other:"other"},ordinal:{}}},locale:"en"})}};