iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
17 lines • 22.6 kB
JavaScript
/*! For license information please see 88992.f05f5a8a1af9c7b4.js.LICENSE.txt */
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[88992],{35370:function(t,e,r){var i=r(26198);t.exports=function(t,e,r){for(var o=0,n=arguments.length>2?r:i(e),a=new t(n);n>o;)a[o]=e[o++];return a}},22395:function(t,e,r){r(62953);var i=r(5124),o=r(67576),n=r(717);let a;var s=(0,i.AH)(a||(a=(t=>t)`:host{display:inline-flex}.button-group{display:flex;position:relative;isolation:isolate;flex-wrap:wrap} (hover:hover){.button-group::slotted(:hover),.button-group>:hover{z-index:1}}.button-group::slotted(:focus),.button-group::slotted([aria-checked=true]),.button-group::slotted([checked]),.button-group>:focus,.button-group>[aria-checked=true],.button-group>[checked]{z-index:2!important}:host([orientation=horizontal]) .button-group{flex-direction:row}:host([orientation=vertical]) .button-group{flex-direction:column}:host([orientation=horizontal]){--_button-horizontal-indent:var(--wa-form-control-border-width);--_button-horizontal-indent-outlined:calc(var(--wa-form-control-border-width) * -1)}:host([orientation=vertical]){--_button-vertical-indent:var(--wa-form-control-border-width);--_button-vertical-indent-outlined:calc(var(--wa-form-control-border-width) * -1)}::slotted(:not(:first-child):not(:last-child)){--_button-start-start-radius:0;--_button-start-end-radius:0;--_button-end-start-radius:0;--_button-end-end-radius:0}:host([orientation=horizontal]) ::slotted(:first-child:not(:last-child)){--_button-start-end-radius:0;--_button-end-end-radius:0}:host([orientation=horizontal]) ::slotted(:last-child:not(:first-child)){--_button-start-start-radius:0;--_button-end-start-radius:0}:host([orientation=vertical]) ::slotted(:first-child:not(:last-child)){--_button-end-start-radius:0;--_button-end-end-radius:0}:host([orientation=vertical]) ::slotted(:last-child:not(:first-child)){--_button-start-start-radius:0;--_button-start-end-radius:0}`));let l,d=t=>t;var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h=(t,e,r,i)=>{for(var o,n=i>1?void 0:i?u(e,r):e,a=t.length-1;a>=0;a--)(o=t[a])&&(n=(i?o(e,r,n):o(n))||n);return i&&n&&c(e,r,n),n};let p=class extends n.A{updated(t){super.updated(t),t.has("orientation")&&this.setAttribute("aria-orientation",this.orientation)}handleFocus(t){const e=m(t.target,this.childSelector);null==e||e.classList.add("button-focus")}handleBlur(t){const e=m(t.target,this.childSelector);null==e||e.classList.remove("button-focus")}handleMouseOver(t){const e=m(t.target,this.childSelector);null==e||e.classList.add("button-hover")}handleMouseOut(t){const e=m(t.target,this.childSelector);null==e||e.classList.remove("button-hover")}render(){return(0,i.qy)(l||(l=d` <slot part="base" class="button-group" role="${0}" aria-label="${0}" aria-orientation="${0}" ="${0}" ="${0}" ="${0}" ="${0}"></slot> `),this.disableRole?"presentation":"group",this.label,this.orientation,this.handleBlur,this.handleFocus,this.handleMouseOver,this.handleMouseOut)}constructor(){super(...arguments),this.disableRole=!1,this.hasOutlined=!1,this.label="",this.orientation="horizontal",this.childSelector="wa-button, wa-radio-button"}};function m(t,e){var r;return null!==(r=t.closest(e))&&void 0!==r?r:t.querySelector(e)}p.css=[s],h([(0,o.P)("slot")],p.prototype,"defaultSlot",2),h([(0,o.wk)()],p.prototype,"disableRole",2),h([(0,o.wk)()],p.prototype,"hasOutlined",2),h([(0,o.MZ)()],p.prototype,"label",2),h([(0,o.MZ)({reflect:!0})],p.prototype,"orientation",2),h([(0,o.MZ)()],p.prototype,"childSelector",2),p=h([(0,o.EM)("wa-button-group")],p)},95010:function(t,e,r){r.d(e,{q:function(){return o},N:function(){return n}});r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(16632),r(34226),r(9486),r(20456);let i=(t=21)=>{let e="",r=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&r[t]];return e};function o(t,e,r){const i=t=>Object.is(t,-0)?0:t;return i(t<e?e:t>r?r:t)}function n(t=""){return`${t}${i()}`}},75275:function(t,e,r){var i=r(40445),o=r(67576),n=(r(89463),r(62953),r(5124)),a=r(76482);const s=["focusin","focusout","pointerdown"];class l extends n.WF{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[d]){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[d]=!0}}onControlChange(t,e){if(!n.S$)for(const r of s)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)}constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new a.i(this,this.onControlChange.bind(this))}}(0,i.Cg)([(0,o.MZ)({type:Boolean,reflect:!0})],l.prototype,"visible",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,reflect:!0})],l.prototype,"inward",void 0);const d=Symbol("handledByFocusRing");let c;const u=(0,n.AH)(c||(c=(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)} outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width,8px)}} outward-shrink{from{outline-width:var(--md-focus-ring-active-width,8px)}} inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width,8px)}} inward-shrink{from{border-width:var(--md-focus-ring-active-width,8px)}}{:host{animation:none}}`));let h=class extends l{};h.styles=[u],h=(0,i.Cg)([(0,o.EM)("md-focus-ring")],h)},1024:function(t,e,r){r.d(e,{n:function(){return d}});r(89463),r(27495),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(25440),r(62953);var i=r(5124);r(74423);const o=["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=o.map(s);function a(t){return n.includes(t)}function s(t){return t.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}const l=Symbol("privateIgnoreAttributeChangesFor");function d(t){var e;if(i.S$)return t;class r extends t{attributeChangedCallback(t,e,r){if(!a(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 i=u(t);null===r?delete this.dataset[i]:this.dataset[i]=r,this.requestUpdate(u(t),e)}getAttribute(t){return a(t)?super.getAttribute(c(t)):super.getAttribute(t)}removeAttribute(t){super.removeAttribute(t),a(t)&&(super.removeAttribute(c(t)),this.requestUpdate())}constructor(){super(...arguments),this[e]=new Set}}return e=l,function(t){for(const e of o){const r=s(e),i=c(r),o=u(r);t.createProperty(e,{attribute:r,noAccessor:!0}),t.createProperty(Symbol(i),{attribute:i,noAccessor:!0}),Object.defineProperty(t.prototype,e,{configurable:!0,enumerable:!0,get(){var t;return null!==(t=this.dataset[o])&&void 0!==t?t:null},set(t){var r;const i=null!==(r=this.dataset[o])&&void 0!==r?r:null;t!==i&&(null===t?delete this.dataset[o]:this.dataset[o]=t,this.requestUpdate(e,i))}})}}(r),r}function c(t){return`data-${t}`}function u(t){return t.replace(/-\w/,t=>t[1].toUpperCase())}},27525:function(t,e,r){r.d(e,{A6:function(){return a},Ex:function(){return l},RN:function(){return u},RZ:function(){return o},c7:function(){return s},cG:function(){return h},u9:function(){return c},ub:function(){return n},wm:function(){return d},zT:function(){return i}});r(62953);function i(t,e=p){const r=s(t,e);return r&&(r.tabIndex=0,r.focus()),r}function o(t,e=p){const r=l(t,e);return r&&(r.tabIndex=0,r.focus()),r}function n(t,e=p){const r=a(t,e);return r&&(r.item.tabIndex=-1),r}function a(t,e=p){for(let r=0;r<t.length;r++){const i=t[r];if(0===i.tabIndex&&e(i))return{item:i,index:r}}return null}function s(t,e=p){for(const r of t)if(e(r))return r;return null}function l(t,e=p){for(let r=t.length-1;r>=0;r--){const i=t[r];if(e(i))return i}return null}function d(t,e,r=p,o=!0){if(e){const i=function(t,e,r=p,i=!0){for(let o=1;o<t.length;o++){const n=(o+e)%t.length;if(n<e&&!i)return null;const a=t[n];if(r(a))return a}return t[e]?t[e]:null}(t,e.index,r,o);return i&&(i.tabIndex=0,i.focus()),i}return i(t,r)}function c(t,e,r=p,i=!0){if(e){const o=function(t,e,r=p,i=!0){for(let o=1;o<t.length;o++){const n=(e-o+t.length)%t.length;if(n>e&&!i)return null;const a=t[n];if(r(a))return a}return t[e]?t[e]:null}(t,e.index,r,i);return o&&(o.tabIndex=0,o.focus()),o}return o(t,r)}function u(){return new Event("deactivate-items",{bubbles:!0,composed:!0})}function h(){return new Event("request-activation",{bubbles:!0,composed:!0})}function p(t){return!t.disabled}},82553:function(t,e,r){r.d(e,{R:function(){return o}});let i;const o=(0,r(5124).AH)(i||(i=(t=>t)`:host{display:flex;-webkit-tap-highlight-color:transparent;--md-ripple-hover-color:var(--md-list-item-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-hover-opacity:var(--md-list-item-hover-state-layer-opacity, 0.08);--md-ripple-pressed-color:var(--md-list-item-pressed-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-pressed-opacity:var(--md-list-item-pressed-state-layer-opacity, 0.12)}:host(:is([type=button]:not([disabled]),[type=link])){cursor:pointer}md-focus-ring{z-index:1;--md-focus-ring-shape:8px}a,button,li{background:0 0;border:none;cursor:inherit;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;width:100%}.list-item.interactive{cursor:pointer}.list-item.disabled{opacity:var(--md-list-item-disabled-opacity, .3);pointer-events:none}[slot=container]{pointer-events:none}md-ripple{border-radius:inherit}md-item{border-radius:inherit;flex:1;height:100%;color:var(--md-list-item-label-text-color,var(--md-sys-color-on-surface,#1d1b20));font-family:var(--md-list-item-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));line-height:var(--md-list-item-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));font-weight:var(--md-list-item-label-text-weight,var(--md-sys-typescale-body-large-weight,var(--md-ref-typeface-weight-regular,400)));min-height:var(--md-list-item-one-line-container-height,56px);padding-top:var(--md-list-item-top-space,12px);padding-bottom:var(--md-list-item-bottom-space,12px);padding-inline-start:var(--md-list-item-leading-space,16px);padding-inline-end:var(--md-list-item-trailing-space,16px)}md-item[multiline]{min-height:var(--md-list-item-two-line-container-height,72px)}[slot=supporting-text]{color:var(--md-list-item-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-list-item-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-supporting-text-size, var(--md-sys-typescale-body-medium-size, .875rem));line-height:var(--md-list-item-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));font-weight:var(--md-list-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-list-item-trailing-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-list-item-trailing-supporting-text-font, var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-trailing-supporting-text-size, var(--md-sys-typescale-label-small-size, .6875rem));line-height:var(--md-list-item-trailing-supporting-text-line-height, var(--md-sys-typescale-label-small-line-height, 1rem));font-weight:var(--md-list-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-list-item-leading-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}[slot=end]{color:var(--md-list-item-trailing-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}{.disabled slot{color:GrayText}.list-item.disabled{color:GrayText;opacity:1}}`))},58168:function(t,e,r){r.d(e,{n:function(){return z}});r(62953);var i=r(40445),o=(r(75275),r(67576)),n=(r(27495),r(5124));let a,s=t=>t;class l extends n.WF{render(){return(0,n.qy)(a||(a=s` <slot name="container"></slot> <slot class="non-text" name="start"></slot> <div class="text"> <slot name="overline" ="${0}"></slot> <slot class="default-slot" ="${0}"></slot> <slot name="headline" ="${0}"></slot> <slot name="supporting-text" ="${0}"></slot> </div> <slot class="non-text" name="trailing-supporting-text"></slot> <slot class="non-text" name="end"></slot> `),this.handleTextSlotChange,this.handleTextSlotChange,this.handleTextSlotChange,this.handleTextSlotChange)}handleTextSlotChange(){let t=!1,e=0;for(const r of this.textSlots)if(d(r)&&(e+=1),e>1){t=!0;break}this.multiline=t}constructor(){super(...arguments),this.multiline=!1}}function d(t){for(const r of t.assignedNodes({flatten:!0})){var e;const t=r.nodeType===Node.ELEMENT_NODE,i=r.nodeType===Node.TEXT_NODE&&(null===(e=r.textContent)||void 0===e?void 0:e.match(/\S/));if(t||i)return!0}return!1}(0,i.Cg)([(0,o.MZ)({type:Boolean,reflect:!0})],l.prototype,"multiline",void 0),(0,i.Cg)([(0,o.YG)(".text slot")],l.prototype,"textSlots",void 0);let c;const u=(0,n.AH)(c||(c=(t=>t)`:host{color:var(--md-sys-color-on-surface,#1d1b20);font-family:var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto));font-size:var(--md-sys-typescale-body-large-size, 1rem);font-weight:var(--md-sys-typescale-body-large-weight,var(--md-ref-typeface-weight-regular,400));line-height:var(--md-sys-typescale-body-large-line-height, 1.5rem);align-items:center;box-sizing:border-box;display:flex;gap:16px;min-height:56px;overflow:hidden;padding:12px 16px;position:relative;text-overflow:ellipsis}:host([multiline]){min-height:72px}[name=overline]{color:var(--md-sys-color-on-surface-variant,#49454f);font-family:var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto));font-size:var(--md-sys-typescale-label-small-size, .6875rem);font-weight:var(--md-sys-typescale-label-small-weight,var(--md-ref-typeface-weight-medium,500));line-height:var(--md-sys-typescale-label-small-line-height, 1rem)}[name=supporting-text]{color:var(--md-sys-color-on-surface-variant,#49454f);font-family:var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto));font-size:var(--md-sys-typescale-body-medium-size, .875rem);font-weight:var(--md-sys-typescale-body-medium-weight,var(--md-ref-typeface-weight-regular,400));line-height:var(--md-sys-typescale-body-medium-line-height, 1.25rem)}[name=trailing-supporting-text]{color:var(--md-sys-color-on-surface-variant,#49454f);font-family:var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto));font-size:var(--md-sys-typescale-label-small-size, .6875rem);font-weight:var(--md-sys-typescale-label-small-weight,var(--md-ref-typeface-weight-medium,500));line-height:var(--md-sys-typescale-label-small-line-height, 1rem)}[name=container]::slotted(*){inset:0;position:absolute}.default-slot{display:inline}.default-slot,.text ::slotted(*){overflow:hidden;text-overflow:ellipsis}.text{display:flex;flex:1;flex-direction:column;overflow:hidden}`));let h=class extends l{};h.styles=[u],h=(0,i.Cg)([(0,o.EM)("md-item")],h);r(71970);var p=r(6412),m=r(7872),f=r(1024),v=r(27525);let g,b,y,x,w,C,k,R,S=t=>t;const $=(0,f.n)(n.WF);class z extends ${get isDisabled(){return this.disabled&&"link"!==this.type}willUpdate(t){this.href&&(this.type="link"),super.willUpdate(t)}render(){return this.renderListItem((0,n.qy)(g||(g=S` <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.type){case"link":r=(0,m.eu)(b||(b=S`a`));break;case"button":r=(0,m.eu)(y||(y=S`button`));break;default:r=(0,m.eu)(x||(x=S`li`))}const i="text"!==this.type,o=e&&this.target?this.target:n.s6;return(0,m.qy)(w||(w=S`
<${0}
id="item"
tabindex="${0}"
?disabled=${0}
role="listitem"
aria-selected=${0}
aria-checked=${0}
aria-expanded=${0}
aria-haspopup=${0}
class="list-item ${0}"
href=${0}
target=${0}
=${0}
>${0}</${0}>
`),r,this.isDisabled||!i?-1:0,this.isDisabled,this.ariaSelected||n.s6,this.ariaChecked||n.s6,this.ariaExpanded||n.s6,this.ariaHasPopup||n.s6,(0,p.H)(this.getRenderClasses()),this.href||n.s6,o,this.onFocus,t,r)}renderRipple(){return"text"===this.type?n.s6:(0,n.qy)(C||(C=S` <md-ripple part="ripple" for="item" ?disabled="${0}"></md-ripple>`),this.isDisabled)}renderFocusRing(){return"text"===this.type?n.s6:(0,n.qy)(k||(k=S` <md-focus-ring -changed="${0}" part="focus-ring" for="item" inward></md-focus-ring>`),this.onFocusRingVisibilityChanged)}onFocusRingVisibilityChanged(t){}getRenderClasses(){return{disabled:this.isDisabled}}renderBody(){return(0,n.qy)(R||(R=S` <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> `))}onFocus(){-1===this.tabIndex&&this.dispatchEvent((0,v.cG)())}focus(){var t;null===(t=this.listItemRoot)||void 0===t||t.focus()}click(){this.listItemRoot?this.listItemRoot.click():super.click()}constructor(){super(...arguments),this.disabled=!1,this.type="text",this.isListItem=!0,this.href="",this.target=""}}z.shadowRootOptions=Object.assign(Object.assign({},n.WF.shadowRootOptions),{},{delegatesFocus:!0}),(0,i.Cg)([(0,o.MZ)({type:Boolean,reflect:!0})],z.prototype,"disabled",void 0),(0,i.Cg)([(0,o.MZ)({reflect:!0})],z.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,attribute:"md-list-item",reflect:!0})],z.prototype,"isListItem",void 0),(0,i.Cg)([(0,o.MZ)()],z.prototype,"href",void 0),(0,i.Cg)([(0,o.MZ)()],z.prototype,"target",void 0),(0,i.Cg)([(0,o.P)(".list-item")],z.prototype,"listItemRoot",void 0)},71970:function(t,e,r){var i=r(40445),o=r(67576),n=r(91382),a=r(96245);let s=class extends n.n{};s.styles=[a.R],s=(0,i.Cg)([(0,o.EM)("md-ripple")],s)},95192:function(t,e,r){r.d(e,{IU:function(){return d},Jt:function(){return s},Yd:function(){return i},hZ:function(){return l},y$:function(){return o}});r(44114),r(18111),r(7588),r(61701),r(3362),r(62953);function i(t){return new Promise((e,r)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>r(t.error)})}function o(t,e){let r;return(o,n)=>(()=>{if(r)return r;const o=indexedDB.open(t);return o.onupgradeneeded=()=>o.result.createObjectStore(e),r=i(o),r.then(t=>{t.onclose=()=>r=void 0},()=>{}),r})().then(t=>n(t.transaction(e,o).objectStore(e)))}let n;function a(){return n||(n=o("keyval-store","keyval")),n}function s(t,e=a()){return e("readonly",e=>i(e.get(t)))}function l(t,e,r=a()){return r("readwrite",r=>(r.put(e,t),i(r.transaction)))}function d(t=a()){return t("readwrite",t=>(t.clear(),i(t.transaction)))}}}]);