UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

19 lines 34.6 kB
/*! For license information please see 84942.1f027c45768091dc.js.LICENSE.txt */ "use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["84942"],{87319:function(t,e,r){var o=r(9065),s=r(50778),n=r(65703),i=r(46289);let a=class extends n.K{};a.styles=[i.W],a=(0,o.__decorate)([(0,s.Mo)("mwc-list-item")],a)},12582:function(t,e,r){r.d(e,{Z:()=>o});r(9359),r(31526),r(70104),r(11740);function o(t){if(!t||"object"!=typeof t)return t;if("[object Date]"==Object.prototype.toString.call(t))return new Date(t.getTime());if(Array.isArray(t))return t.map(o);var e={};return Object.keys(t).forEach((function(r){e[r]=o(t[r])})),e}},88977:function(t,e,r){r.d(e,{L:()=>n});r(19134),r(44495),r(32114);const o={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 s={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 n(t){return function(t,e,r){if(t){var o,s=t.toLowerCase().split(/[-_]/),n=s[0],i=n;if(s[1]&&4===s[1].length?(i+="_"+s[1],o=s[2]):o=s[1],o||(o=e[i]||e[n]),o)return function(t,e){var r=e["string"==typeof t?t.toUpperCase():t];return"number"==typeof r?r:1}(o.match(/^\d+$/)?Number(o):o,r)}return 1}(t,o,s)}},68107:function(t,e,r){var o=r(40810),s=r(73994),n=r(63983),i=r(71998),a=r(4576);o({target:"Iterator",proto:!0,real:!0},{every:function(t){i(this),n(t);var e=a(this),r=0;return!s(e,(function(e,o){if(!t(e,r++))return o()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},32517:function(t,e,r){var o=r(1569),s=r(85779),n=r(27803),i=r(31126),a=r(29660),l=o.RegExp,c=l.prototype;s&&a((function(){var t=!0;try{l(".","d")}catch(a){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",s=function(t,o){Object.defineProperty(e,t,{get:function(){return r+=o,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in t&&(n.hasIndices="d"),n)s(i,n[i]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(e)!==o||r!==o}))&&n(c,"flags",{configurable:!0,get:i})},14503:function(t,e,r){r.d(e,{Z:()=>o});r(63721),r(88230),r(52247),r(71695),r(40251),r(47021);function o(t){var e,r,o,n=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,o=Symbol.iterator);n--;){if(r&&null!=(e=t[r]))return e.call(t);if(o&&null!=(e=t[o]))return new s(e.call(t));r="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function s(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return s=function(t){this.s=t,this.n=t.next},s.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new s(t)}},60738:function(t,e,r){r.d(e,{F_:()=>d,HQ:()=>l,kr:()=>s});class o extends Event{constructor(t,e,r){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=null!=r&&r}}function s(t){return t}class n{constructor(t,e,r,o){var s;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(t,e)=>{this.unsubscribe&&(this.unsubscribe!==e&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=t,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(t,e)),this.unsubscribe=e},this.host=t,void 0!==e.context){const t=e;this.context=t.context,this.callback=t.callback,this.subscribe=null!==(s=t.subscribe)&&void 0!==s&&s}else this.context=e,this.callback=r,this.subscribe=null!=o&&o;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new o(this.context,this.t,this.subscribe))}}r(71695),r(92519),r(42179),r(89256),r(24931),r(88463),r(57449),r(19814),r(47021);class i{constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(const[t,{disposer:e}]of this.subscriptions)t(this.o,e)},void 0!==t&&(this.value=t)}get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){const r=e||!Object.is(t,this.o);this.o=t,r&&this.updateObservers()}addCallback(t,e,r){if(!r)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});const{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}}class a extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}}class l extends i{constructor(t,e,r){super(void 0!==e.context?e.initialValue:r),this.onContextRequest=t=>{const e=t.composedPath()[0];t.context===this.context&&e!==this.host&&(t.stopPropagation(),this.addCallback(t.callback,e,t.subscribe))},this.onProviderRequest=t=>{const e=t.composedPath()[0];if(t.context!==this.context||e===this.host)return;const r=new Set;for(const[s,{consumerHost:n}]of this.subscriptions)r.has(s)||(r.add(s),n.dispatchEvent(new o(this.context,s,!0)));t.stopPropagation()},this.host=t,void 0!==e.context?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new a(this.context))}}r(92745),r(46692);r(19423);var c=r(64026);function d({context:t,subscribe:e}){return(0,c.eZ)({finisher:(r,o)=>{r.addInitializer((r=>{new n(r,{context:t,callback:t=>{r[o]=t},subscribe:e})}))}})}},54835:function(t,e,r){var o=r(9065),s=r(50778),n=r(57243);let i,a=t=>t;class l extends n.oi{connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}render(){return(0,n.dy)(i||(i=a`<span class="shadow"></span>`))}}let c;const d=(0,n.iv)(c||(c=(t=>t)`.shadow,.shadow::after,.shadow::before,:host{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::after,.shadow::before{content:"";transition-property:box-shadow,opacity;--_level:var(--md-elevation-level, 0);--_shadow-color:var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}`));let u=class extends l{};u.styles=[d],u=(0,o.__decorate)([(0,s.Mo)("md-elevation")],u)},57618:function(t,e,r){var o=r(9065),s=r(50778),n=(r(63721),r(71695),r(47021),r(57243)),i=r(19799);const a=["focusin","focusout","pointerdown"];class l extends n.oi{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new i.J(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(t){this.attachableController.htmlFor=t}get control(){return this.attachableController.control}set control(t){this.attachableController.control=t}attach(t){this.attachableController.attach(t)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}handleEvent(t){var e,r;if(!t[c]){switch(t.type){default:return;case"focusin":this.visible=null!==(e=null===(r=this.control)||void 0===r?void 0:r.matches(":focus-visible"))&&void 0!==e&&e;break;case"focusout":case"pointerdown":this.visible=!1}t[c]=!0}}onControlChange(t,e){if(!n.sk)for(const r of a)null==t||t.removeEventListener(r,this),null==e||e.addEventListener(r,this)}update(t){t.has("visible")&&this.dispatchEvent(new Event("visibility-changed")),super.update(t)}}(0,o.__decorate)([(0,s.Cb)({type:Boolean,reflect:!0})],l.prototype,"visible",void 0),(0,o.__decorate)([(0,s.Cb)({type:Boolean,reflect:!0})],l.prototype,"inward",void 0);const c=Symbol("handledByFocusRing");let d;const u=(0,n.iv)(d||(d=(t=>t)`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2,0,0,1);box-sizing:border-box;color:var(--md-focus-ring-color,var(--md-sys-color-secondary,#625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) + var(--md-focus-ring-outward-offset,2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) + var(--md-focus-ring-outward-offset,2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) + var(--md-focus-ring-outward-offset,2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) + var(--md-focus-ring-outward-offset,2px));inset:calc(-1*var(--md-focus-ring-outward-offset,2px));outline:var(--md-focus-ring-width,3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) - var(--md-focus-ring-inward-offset,0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) - var(--md-focus-ring-inward-offset,0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) - var(--md-focus-ring-inward-offset,0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start,var(--md-focus-ring-shape,var(--md-sys-shape-corner-full,9999px))) - var(--md-focus-ring-inward-offset,0px));border:var(--md-focus-ring-width,3px) solid currentColor;inset:var(--md-focus-ring-inward-offset,0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width,8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width,8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width,8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width,8px)}}@media(prefers-reduced-motion){:host{animation:none}}`));let h=class extends l{};h.styles=[u],h=(0,o.__decorate)([(0,s.Mo)("md-focus-ring")],h)},13823:function(t,e,r){r.d(e,{T:()=>c});r(63721),r(71695),r(19134),r(92519),r(42179),r(89256),r(24931),r(88463),r(57449),r(19814),r(97003),r(47021);var o=r(57243);r(19083),r(61006);const s=["role","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaCurrent","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText"],n=s.map(a);function i(t){return n.includes(t)}function a(t){return t.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}const l=Symbol("privateIgnoreAttributeChangesFor");function c(t){var e;if(o.sk)return t;class r extends t{constructor(){super(...arguments),this[e]=new Set}attributeChangedCallback(t,e,r){if(!i(t))return void super.attributeChangedCallback(t,e,r);if(this[l].has(t))return;this[l].add(t),this.removeAttribute(t),this[l].delete(t);const o=u(t);null===r?delete this.dataset[o]:this.dataset[o]=r,this.requestUpdate(u(t),e)}getAttribute(t){return i(t)?super.getAttribute(d(t)):super.getAttribute(t)}removeAttribute(t){super.removeAttribute(t),i(t)&&(super.removeAttribute(d(t)),this.requestUpdate())}}return e=l,function(t){for(const e of s){const r=a(e),o=d(r),s=u(r);t.createProperty(e,{attribute:r,noAccessor:!0}),t.createProperty(Symbol(o),{attribute:o,noAccessor:!0}),Object.defineProperty(t.prototype,e,{configurable:!0,enumerable:!0,get(){var t;return null!==(t=this.dataset[s])&&void 0!==t?t:null},set(t){var r;const o=null!==(r=this.dataset[s])&&void 0!==r?r:null;t!==o&&(null===t?delete this.dataset[s]:this.dataset[s]=t,this.requestUpdate(e,o))}})}}(r),r}function d(t){return`data-${t}`}function u(t){return t.replace(/-\w/,(t=>t[1].toUpperCase()))}},43895:function(t,e,r){r.d(e,{_:()=>s});r(22152),r(92745),r(9359),r(31526),r(81804);var o=r(7162);class s{constructor(t,e){this.host=t,this.internalTypeaheadText=null,this.onClick=()=>{this.host.keepOpen||this.host.dispatchEvent((0,o.d7)(this.host,{kind:o.GB.CLICK_SELECTION}))},this.onKeydown=t=>{if(this.host.href&&"Enter"===t.code){const t=this.getInteractiveElement();t instanceof HTMLAnchorElement&&t.click()}if(t.defaultPrevented)return;const e=t.code;this.host.keepOpen&&"Escape"!==e||(0,o.kE)(e)&&(t.preventDefault(),this.host.dispatchEvent((0,o.d7)(this.host,{kind:o.GB.KEYDOWN,key:e})))},this.getHeadlineElements=e.getHeadlineElements,this.getSupportingTextElements=e.getSupportingTextElements,this.getDefaultElements=e.getDefaultElements,this.getInteractiveElement=e.getInteractiveElement,this.host.addController(this)}get typeaheadText(){if(null!==this.internalTypeaheadText)return this.internalTypeaheadText;const t=this.getHeadlineElements(),e=[];return t.forEach((t=>{t.textContent&&t.textContent.trim()&&e.push(t.textContent.trim())})),0===e.length&&this.getDefaultElements().forEach((t=>{t.textContent&&t.textContent.trim()&&e.push(t.textContent.trim())})),0===e.length&&this.getSupportingTextElements().forEach((t=>{t.textContent&&t.textContent.trim()&&e.push(t.textContent.trim())})),e.join(" ")}get tagName(){switch(this.host.type){case"link":return"a";case"button":return"button";default:return"li"}}get role(){return"option"===this.host.type?"option":"menuitem"}hostConnected(){this.host.toggleAttribute("md-menu-item",!0)}hostUpdate(){this.host.href&&(this.host.type="link")}setTypeaheadText(t){this.internalTypeaheadText=t}}},99072:function(t,e,r){r.d(e,{W:()=>s});let o;const s=(0,r(57243).iv)(o||(o=(t=>t)`:host{display:flex;--md-ripple-hover-color:var(--md-menu-item-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-hover-opacity:var(--md-menu-item-hover-state-layer-opacity, 0.08);--md-ripple-pressed-color:var(--md-menu-item-pressed-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-pressed-opacity:var(--md-menu-item-pressed-state-layer-opacity, 0.12)}:host([disabled]){opacity:var(--md-menu-item-disabled-opacity, .3);pointer-events:none}md-focus-ring{z-index:1;--md-focus-ring-shape:8px}a,button,li{background:0 0;border:none;padding:0;margin:0;text-align:unset;text-decoration:none}.list-item{border-radius:inherit;display:flex;flex:1;max-width:inherit;min-width:inherit;outline:0;-webkit-tap-highlight-color:transparent}.list-item:not(.disabled){cursor:pointer}[slot=container]{pointer-events:none}md-ripple{border-radius:inherit}md-item{border-radius:inherit;flex:1;color:var(--md-menu-item-label-text-color,var(--md-sys-color-on-surface,#1d1b20));font-family:var(--md-menu-item-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-menu-item-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));line-height:var(--md-menu-item-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));font-weight:var(--md-menu-item-label-text-weight,var(--md-sys-typescale-body-large-weight,var(--md-ref-typeface-weight-regular,400)));min-height:var(--md-menu-item-one-line-container-height,56px);padding-top:var(--md-menu-item-top-space,12px);padding-bottom:var(--md-menu-item-bottom-space,12px);padding-inline-start:var(--md-menu-item-leading-space,16px);padding-inline-end:var(--md-menu-item-trailing-space,16px)}md-item[multiline]{min-height:var(--md-menu-item-two-line-container-height,72px)}[slot=supporting-text]{color:var(--md-menu-item-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-menu-item-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-menu-item-supporting-text-size, var(--md-sys-typescale-body-medium-size, .875rem));line-height:var(--md-menu-item-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));font-weight:var(--md-menu-item-supporting-text-weight,var(--md-sys-typescale-body-medium-weight,var(--md-ref-typeface-weight-regular,400)))}[slot=trailing-supporting-text]{color:var(--md-menu-item-trailing-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-menu-item-trailing-supporting-text-font, var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-menu-item-trailing-supporting-text-size, var(--md-sys-typescale-label-small-size, .6875rem));line-height:var(--md-menu-item-trailing-supporting-text-line-height, var(--md-sys-typescale-label-small-line-height, 1rem));font-weight:var(--md-menu-item-trailing-supporting-text-weight,var(--md-sys-typescale-label-small-weight,var(--md-ref-typeface-weight-medium,500)))}:is([slot=start],[slot=end])::slotted(*){fill:currentColor}[slot=start]{color:var(--md-menu-item-leading-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}[slot=end]{color:var(--md-menu-item-trailing-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}.list-item{background-color:var(--md-menu-item-container-color,transparent)}.list-item.selected{background-color:var(--md-menu-item-selected-container-color,var(--md-sys-color-secondary-container,#e8def8))}.selected:not(.disabled) ::slotted(*){color:var(--md-menu-item-selected-label-text-color,var(--md-sys-color-on-secondary-container,#1d192b))}@media(forced-colors:active){:host([disabled]),:host([disabled]) slot{color:GrayText;opacity:1}.list-item{position:relative}.list-item.selected::before{content:"";position:absolute;inset:0;box-sizing:border-box;border-radius:inherit;pointer-events:none;border:3px double CanvasText}}`))},28674:function(t,e,r){r.d(e,{i:()=>C});var o=r(9065),s=r(50778),n=(r(71695),r(19423),r(47021),r(57618),r(26499),r(23111),r(57243)),i=r(35359),a=r(79840),l=r(13823),c=r(43895);let d,u,h,p,m,v,f,b,g=t=>t;const y=(0,l.T)(n.oi);class x extends y{constructor(){super(...arguments),this.disabled=!1,this.type="menuitem",this.href="",this.target="",this.keepOpen=!1,this.selected=!1,this.menuItemController=new c._(this,{getHeadlineElements:()=>this.headlineElements,getSupportingTextElements:()=>this.supportingTextElements,getDefaultElements:()=>this.defaultElements,getInteractiveElement:()=>this.listItemRoot})}get typeaheadText(){return this.menuItemController.typeaheadText}set typeaheadText(t){this.menuItemController.setTypeaheadText(t)}render(){return this.renderListItem((0,n.dy)(d||(d=g` <md-item> <div slot="container"> ${0} ${0} </div> <slot name="start" slot="start"></slot> <slot name="end" slot="end"></slot> ${0} </md-item> `),this.renderRipple(),this.renderFocusRing(),this.renderBody()))}renderListItem(t){const e="link"===this.type;let r;switch(this.menuItemController.tagName){case"a":r=(0,a.i0)(u||(u=g`a`));break;case"button":r=(0,a.i0)(h||(h=g`button`));break;default:r=(0,a.i0)(p||(p=g`li`))}const o=e&&this.target?this.target:n.Ld;return(0,a.dy)(m||(m=g` <${0} id="item" tabindex=${0} role=${0} aria-label=${0} aria-selected=${0} aria-checked=${0} aria-expanded=${0} aria-haspopup=${0} class="list-item ${0}" href=${0} target=${0} @click=${0} @keydown=${0} >${0}</${0}> `),r,this.disabled&&!e?-1:0,this.menuItemController.role,this.ariaLabel||n.Ld,this.ariaSelected||n.Ld,this.ariaChecked||n.Ld,this.ariaExpanded||n.Ld,this.ariaHasPopup||n.Ld,(0,i.$)(this.getRenderClasses()),this.href||n.Ld,o,this.menuItemController.onClick,this.menuItemController.onKeydown,t,r)}renderRipple(){return(0,n.dy)(v||(v=g` <md-ripple part="ripple" for="item" ?disabled="${0}"></md-ripple>`),this.disabled)}renderFocusRing(){return(0,n.dy)(f||(f=g` <md-focus-ring part="focus-ring" for="item" inward></md-focus-ring>`))}getRenderClasses(){return{disabled:this.disabled,selected:this.selected}}renderBody(){return(0,n.dy)(b||(b=g` <slot></slot> <slot name="overline" slot="overline"></slot> <slot name="headline" slot="headline"></slot> <slot name="supporting-text" slot="supporting-text"></slot> <slot name="trailing-supporting-text" slot="trailing-supporting-text"></slot> `))}focus(){var t;null===(t=this.listItemRoot)||void 0===t||t.focus()}}x.shadowRootOptions=Object.assign(Object.assign({},n.oi.shadowRootOptions),{},{delegatesFocus:!0}),(0,o.__decorate)([(0,s.Cb)({type:Boolean,reflect:!0})],x.prototype,"disabled",void 0),(0,o.__decorate)([(0,s.Cb)()],x.prototype,"type",void 0),(0,o.__decorate)([(0,s.Cb)()],x.prototype,"href",void 0),(0,o.__decorate)([(0,s.Cb)()],x.prototype,"target",void 0),(0,o.__decorate)([(0,s.Cb)({type:Boolean,attribute:"keep-open"})],x.prototype,"keepOpen",void 0),(0,o.__decorate)([(0,s.Cb)({type:Boolean})],x.prototype,"selected",void 0),(0,o.__decorate)([(0,s.IO)(".list-item")],x.prototype,"listItemRoot",void 0),(0,o.__decorate)([(0,s.NH)({slot:"headline"})],x.prototype,"headlineElements",void 0),(0,o.__decorate)([(0,s.NH)({slot:"supporting-text"})],x.prototype,"supportingTextElements",void 0),(0,o.__decorate)([(0,s.vZ)({slot:""})],x.prototype,"defaultElements",void 0),(0,o.__decorate)([(0,s.Cb)({attribute:"typeahead-text"})],x.prototype,"typeaheadText",null);var w=r(99072);let C=class extends x{};C.styles=[w.W],C=(0,o.__decorate)([(0,s.Mo)("md-menu-item")],C)},48734:function(t,e,r){r.a(t,(async function(t,o){try{r.d(e,{P5:()=>p,Ve:()=>v});var s=r(16485),n=(r(71695),r(9359),r(70104),r(19423),r(19134),r(92519),r(42179),r(89256),r(24931),r(88463),r(57449),r(19814),r(97003),r(47021),t([s]));s=(n.then?(await n)():n)[0];const a=new Set,l=new Map;let c,d="ltr",u="en";const h="undefined"!=typeof MutationObserver&&"undefined"!=typeof document&&void 0!==document.documentElement;if(h){const f=new MutationObserver(m);d=document.documentElement.dir||"ltr",u=document.documentElement.lang||navigator.language,f.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}function p(...t){t.map((t=>{const e=t.$code.toLowerCase();l.has(e)?l.set(e,Object.assign(Object.assign({},l.get(e)),t)):l.set(e,t),c||(c=t)})),m()}function m(){h&&(d=document.documentElement.dir||"ltr",u=document.documentElement.lang||navigator.language),[...a.keys()].map((t=>{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}class v{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){a.add(this.host)}hostDisconnected(){a.delete(this.host)}dir(){return`${this.host.dir||d}`.toLowerCase()}lang(){return`${this.host.lang||u}`.toLowerCase()}getTranslationData(t){var e,r;const o=new Intl.Locale(t.replace(/_/g,"-")),s=null==o?void 0:o.language.toLowerCase(),n=null!==(r=null===(e=null==o?void 0:o.region)||void 0===e?void 0:e.toLowerCase())&&void 0!==r?r:"";return{locale:o,language:s,region:n,primary:l.get(`${s}-${n}`),secondary:l.get(s)}}exists(t,e){var r;const{primary:o,secondary:s}=this.getTranslationData(null!==(r=e.lang)&&void 0!==r?r:this.lang());return e=Object.assign({includeFallback:!1},e),!!(o&&o[t]||s&&s[t]||e.includeFallback&&c&&c[t])}term(t,...e){const{primary:r,secondary:o}=this.getTranslationData(this.lang());let s;if(r&&r[t])s=r[t];else if(o&&o[t])s=o[t];else{if(!c||!c[t])return console.error(`No translation found for: ${String(t)}`),String(t);s=c[t]}return"function"==typeof s?s(...e):s}date(t,e){return t=new Date(t),new Intl.DateTimeFormat(this.lang(),e).format(t)}number(t,e){return t=Number(t),isNaN(t)?"":new Intl.NumberFormat(this.lang(),e).format(t)}relativeTime(t,e,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(t,e)}}o()}catch(i){o(i)}}))},31027:function(t,e,r){r.d(e,{P:()=>a});r(71695),r(9359),r(31526),r(46692),r(47021);var o,s=r(52812),n=r(57243),i=r(50778),a=class extends n.oi{constructor(){super(),(0,s.Ko)(this,o,!1),this.initialReflectedProperties=new Map,Object.entries(this.constructor.dependencies).forEach((([t,e])=>{this.constructor.define(t,e)}))}emit(t,e){const r=new CustomEvent(t,(0,s.ih)({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(r),r}static define(t,e=this,r={}){const o=customElements.get(t);if(!o){try{customElements.define(t,e,r)}catch(i){customElements.define(t,class extends e{},r)}return}let s=" (unknown version)",n=s;"version"in e&&e.version&&(s=" v"+e.version),"version"in o&&o.version&&(n=" v"+o.version),s&&n&&s===n||console.warn(`Attempted to register <${t}>${s}, but <${t}>${n} has already been registered.`)}attributeChangedCallback(t,e,r){(0,s.ac)(this,o)||(this.constructor.elementProperties.forEach(((t,e)=>{t.reflect&&null!=this[e]&&this.initialReflectedProperties.set(e,this[e])})),(0,s.qx)(this,o,!0)),super.attributeChangedCallback(t,e,r)}willUpdate(t){super.willUpdate(t),this.initialReflectedProperties.forEach(((e,r)=>{t.has(r)&&null==this[r]&&(this[r]=e)}))}};o=new WeakMap,a.version="2.20.1",a.dependencies={},(0,s.u2)([(0,i.Cb)()],a.prototype,"dir",2),(0,s.u2)([(0,i.Cb)()],a.prototype,"lang",2)},15073:function(t,e,r){r.a(t,(async function(t,o){try{r.d(e,{V:()=>a});var s=r(21262),n=r(48734),i=t([n,s]);[n,s]=i.then?(await i)():i;var a=class extends n.Ve{};(0,n.P5)(s.K),o()}catch(l){o(l)}}))},21262:function(t,e,r){r.a(t,(async function(t,o){try{r.d(e,{K:()=>a});var s=r(48734),n=t([s]);s=(n.then?(await n)():n)[0];var i={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>0===t?"No options selected":1===t?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};(0,s.P5)(i);var a=i;o()}catch(l){o(l)}}))},52812:function(t,e,r){r.d(e,{EZ:()=>p,Ko:()=>b,ac:()=>f,ih:()=>h,qx:()=>g,u2:()=>m});r(63721),r(52247),r(71695),r(40251),r(47021);var o=Object.defineProperty,s=Object.defineProperties,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=t=>{throw TypeError(t)},u=(t,e,r)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))l.call(e,r)&&u(t,r,e[r]);if(a)for(var r of a(e))c.call(e,r)&&u(t,r,e[r]);return t},p=(t,e)=>s(t,i(e)),m=(t,e,r,s)=>{for(var i,a=s>1?void 0:s?n(e,r):e,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(s?i(e,r,a):i(a))||a);return s&&a&&o(e,r,a),a},v=(t,e,r)=>e.has(t)||d("Cannot "+r),f=(t,e,r)=>(v(t,e,"read from private field"),r?r.call(t):e.get(t)),b=(t,e,r)=>e.has(t)?d("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),g=(t,e,r,o)=>(v(t,e,"write to private field"),o?o.call(t,r):e.set(t,r),r)},81048:function(t,e,r){r.d(e,{N:()=>s});let o;var s=(0,r(57243).iv)(o||(o=(t=>t)`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`))},62212:function(t,e,r){r.d(e,{B:()=>n,_:()=>s});r(52247);var o=r(98330);const s=(t,e,r,s,n={unsubGrace:!0})=>{if(t[e])return t[e];let i,a,l=0,c=(0,o.M)();const d=()=>{if(!r)throw new Error("Collection does not support refresh");return r(t).then((t=>c.setState(t,!0)))},u=()=>d().catch((e=>{if(t.connected)throw e})),h=()=>{a=void 0,i&&i.then((t=>{t()})),c.clearState(),t.removeEventListener("ready",d),t.removeEventListener("disconnected",p)},p=()=>{a&&(clearTimeout(a),h())};return t[e]={get state(){return c.state},refresh:d,subscribe(e){l++,1===l&&(()=>{if(void 0!==a)return clearTimeout(a),void(a=void 0);s&&(i=s(t,c)),r&&(t.addEventListener("ready",u),u()),t.addEventListener("disconnected",p)})();const o=c.subscribe(e);return void 0!==c.state&&setTimeout((()=>e(c.state)),0),()=>{o(),l--,l||(n.unsubGrace?a=setTimeout(h,5e3):h())}}},t[e]},n=(t,e,r,o,n)=>s(o,t,e,r).subscribe(n)},98330:function(t,e,r){r.d(e,{M:()=>o});r(92745),r(19423),r(40251);const o=t=>{let e=[];function r(r,o){t=o?r:Object.assign(Object.assign({},t),r);let s=e;for(let e=0;e<s.length;e++)s[e](t)}return{get state(){return t},action(e){function o(t){r(t,!1)}return function(){let r=[t];for(let t=0;t<arguments.length;t++)r.push(arguments[t]);let s=e.apply(this,r);if(null!=s)return s instanceof Promise?s.then(o):o(s)}},setState:r,clearState(){t=void 0},subscribe(t){return e.push(t),()=>{!function(t){let r=[];for(let o=0;o<e.length;o++)e[o]===t?t=null:r.push(e[o]);e=r}(t)}}}}},27608:function(t,e,r){r.d(e,{MT:()=>s,RV:()=>o,U2:()=>a,ZH:()=>c,t8:()=>l});r(71695),r(92745),r(9359),r(31526),r(70104),r(40251),r(47021);function o(t){return new Promise(((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)}))}function s(t,e){const r=indexedDB.open(t);r.onupgradeneeded=()=>r.result.createObjectStore(e);const s=o(r);return(t,r)=>s.then((o=>r(o.transaction(e,t).objectStore(e))))}let n;function i(){return n||(n=s("keyval-store","keyval")),n}function a(t,e=i()){return e("readonly",(e=>o(e.get(t))))}function l(t,e,r=i()){return r("readwrite",(r=>(r.put(e,t),o(r.transaction))))}function c(t=i()){return t("readwrite",(t=>(t.clear(),o(t.transaction))))}},94571:function(t,e,r){r.d(e,{C:()=>h});r(71695),r(9359),r(1331),r(40251),r(47021);var o=r(2841),s=r(53232),n=r(1714);r(14503);class i{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 l=r(45779);const c=t=>!(0,s.pt)(t)&&"function"==typeof t.then,d=1073741823;class u extends n.sR{constructor(){super(...arguments),this._$C_t=d,this._$Cwt=[],this._$Cq=new i(this),this._$CK=new a}render(...t){var e;return null!==(e=t.find((t=>!c(t))))&&void 0!==e?e:o.Jb}update(t,e){const r=this._$Cwt;let s=r.length;this._$Cwt=e;const n=this._$Cq,i=this._$CK;this.isConnected||this.disconnected();for(let o=0;o<e.length&&!(o>this._$C_t);o++){const t=e[o];if(!c(t))return this._$C_t=o,t;o<s&&t===r[o]||(this._$C_t=d,s=0,Promise.resolve(t).then((async e=>{for(;i.get();)await i.get();const r=n.deref();if(void 0!==r){const o=r._$Cwt.indexOf(t);o>-1&&o<r._$C_t&&(r._$C_t=o,r.setValue(e))}})))}return o.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const h=(0,l.XM)(u)},79840:function(t,e,r){r.d(e,{i0:()=>i,dy:()=>c});r(52247),r(71695),r(92745),r(52805),r(9359),r(48136),r(47021);var o=r(2841);const s=Symbol.for(""),n=t=>{if((null==t?void 0:t.r)===s)return null==t?void 0:t._$litStatic$},i=(t,...e)=>({_$litStatic$:e.reduce(((e,r,o)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(r)+t[o+1]),t[0]),r:s}),a=new Map,l=t=>(e,...r)=>{const o=r.length;let s,i;const l=[],c=[];let d,u=0,h=!1;for(;u<o;){for(d=e[u];u<o&&void 0!==(i=r[u],s=n(i));)d+=s+e[++u],h=!0;u!==o&&c.push(i),l.push(d),u++}if(u===o&&l.push(e[o]),h){const t=l.join("$$lit$$");void 0===(e=a.get(t))&&(l.raw=l,a.set(t,e=l)),r=c}return t(e,...r)},c=l(o.dy);l(o.YP)}}]); //# sourceMappingURL=84942.1f027c45768091dc.js.map