iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 22.4 kB
JavaScript
/*! For license information please see 8275.cf0a1e20c27c9e97.js.LICENSE.txt */
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[8275],{99324:function(e,t,a){a.a(e,async function(e,t){try{var i=a(69235),r=(a(3362),a(27495),a(62953),a(5124)),o=a(67576),s=a(6412),n=a(63672),l=a(34514),c=a(40991),d=a(92070),h=a(41268),p=a(9395),u=a(62676),v=a(15477),m=a(31896),b=a(32565),y=a(17060),f=a(9054),g=e([i,y]);[i,y]=g.then?(await g)():g;let z,C,$,k,M=e=>e;var x=Object.defineProperty,w=Object.getOwnPropertyDescriptor,_=(e,t,a,i)=>{for(var r,o=i>1?void 0:i?w(t,a):t,s=e.length-1;s>=0;s--)(r=e[s])&&(o=(i?r(t,a,o):r(o))||o);return i&&o&&x(t,a,o),o};let Z=class extends u.q{static get validators(){return[...super.validators,(0,h.i)()]}get value(){var e;return this.valueHasChanged?this._value:null!==(e=this._value)&&void 0!==e?e:this.defaultValue}set value(e){this._value!==e&&(this.valueHasChanged=!0,this._value=e)}handleSizeChange(){(0,c.b)(this.localName,this.size)}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{if(this.setTextareaDimensions(),this.updateResizeObserver(),this.didSSR&&this.input&&this.value!==this.input.value){const e=this.input.value;this.value=e}})}disconnectedCallback(){var e;super.disconnectedCallback(),clearTimeout(this.countAnnounceTimeout),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.resizeObserver=void 0}updateResizeObserver(){const e="none"!==this.resize;this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),e&&this.input&&("auto"===this.resize?(this.resizeObserver=new ResizeObserver(e=>{var t,a;const i=null!==(t=null===(a=e[0])||void 0===a?void 0:a.contentRect.width)&&void 0!==t?t:0;i!==this.lastObservedWidth&&(this.lastObservedWidth=i,requestAnimationFrame(()=>this.setTextareaDimensions()))}),this.resizeObserver.observe(this)):(this.resizeObserver=new ResizeObserver(()=>this.setTextareaDimensions()),this.resizeObserver.observe(this.input)))}handleBlur(){this.checkValidity()}handleChange(e){this.valueHasChanged=!0,this.value=this.input.value,this.setTextareaDimensions(),this.checkValidity(),this.relayNativeEvent(e,{bubbles:!0,composed:!0})}handleInput(e){this.valueHasChanged=!0,this.value=this.input.value,this.relayNativeEvent(e,{bubbles:!0,composed:!0}),this.scheduleCountAnnouncement()}scheduleCountAnnouncement(){clearTimeout(this.countAnnounceTimeout),this.countAnnounceTimeout=setTimeout(()=>{var e;const t=(null!==(e=this.value)&&void 0!==e?e:"").length;this.announcedCountText=null!=this.maxlength?this.localize.term("numCharactersRemaining",this.maxlength-t):this.localize.term("numCharacters",t)},1e3)}setTextareaDimensions(){if("none"===this.resize)return this.base.style.width="",void(this.base.style.height="");if("auto"===this.resize){this.sizeAdjuster.style.height=`${this.input.clientHeight}px`,this.input.style.height="auto";const e=this.input.scrollHeight;return this.input.style.height=`${e}px`,this.sizeAdjuster.style.height=`${e}px`,this.base.style.width="",void(this.base.style.height="")}if(this.input.style.width){const e=Number(this.input.style.width.split(/px/)[0])+2;this.base.style.width=`${e}px`}if(this.input.style.height){const e=Number(this.input.style.height.split(/px/)[0])+2;this.base.style.height=`${e}px`}}handleRowsChange(){this.setTextareaDimensions()}async handleValueChange(){await this.updateComplete,this.checkValidity(),this.setTextareaDimensions()}updated(e){e.has("resize")&&(this.setTextareaDimensions(),this.updateResizeObserver()),super.updated(e),e.has("value")&&this.customStates.set("blank",!this.value)}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}scrollPosition(e){return e?("number"==typeof e.top&&(this.input.scrollTop=e.top),void("number"==typeof e.left&&(this.input.scrollLeft=e.left))):{top:this.input.scrollTop,left:this.input.scrollTop}}setSelectionRange(e,t,a="none"){this.input.setSelectionRange(e,t,a)}setRangeText(e,t,a,i="preserve"){const r=null!=t?t:this.input.selectionStart,o=null!=a?a:this.input.selectionEnd;this.input.setRangeText(e,r,o,i),this.value!==this.input.value&&(this.value=this.input.value,this.setTextareaDimensions())}formResetCallback(){this._value=null,this.input&&(this.input.value=this.value||""),super.formResetCallback()}render(){var e;const t=this.hasUpdated?this.hasSlotController.test("label"):this.withLabel,a=this.hasUpdated?this.hasSlotController.test("hint"):this.withHint,i=!!this.label||!!t,o=!!this.hint||!!a,c=(null!==(e=this.value)&&void 0!==e?e:"").length,d=null!=this.maxlength?this.localize.term("numCharactersRemaining",this.maxlength-c):this.localize.term("numCharacters",c);return(0,r.qy)(z||(z=M` <label part="form-control-label label" class="${0}" for="input" aria-hidden="${0}"> <slot name="label">${0}</slot> </label> <div part="base" class="textarea"> <textarea part="textarea" id="input" class="control" title="${0}" name="${0}" .value="${0}" ?disabled="${0}" ?readonly="${0}" ?required="${0}" placeholder="${0}" rows="${0}" minlength="${0}" maxlength="${0}" autocapitalize="${0}" autocorrect="${0}" ?autofocus="${0}" spellcheck="${0}" enterkeyhint="${0}" inputmode="${0}" aria-describedby="hint" ="${0}" ="${0}" ="${0}"></textarea> <div part="textarea-adjuster" class="size-adjuster" ?hidden="${0}"></div> </div> <div class="${0}"> <slot id="hint" name="hint" part="hint" aria-hidden="${0}" class="${0}">${0}</slot> ${0} </div> `),(0,s.H)({label:!0,"has-label":i}),i?"false":"true",this.label,this.title,(0,n.J)(this.name),(0,l.V)(this.value),this.disabled,this.readonly,this.required,(0,n.J)(this.placeholder),(0,n.J)(this.rows),(0,n.J)(this.minlength),(0,n.J)(this.maxlength),(0,n.J)(this.autocapitalize),(0,n.J)(this.autocorrect),this.autofocus,(0,n.J)(this.spellcheck),(0,n.J)(this.enterkeyhint),(0,n.J)(this.inputmode),this.handleChange,this.handleInput,this.handleBlur,"auto"!==this.resize,(0,s.H)({footer:!0,"has-count":this.withCount}),o?"false":"true",(0,s.H)({"has-slotted":o}),this.hint,this.withCount?(0,r.qy)(C||(C=M` <div part="count" class="count" aria-hidden="true">${0}</div> <div class="wa-visually-hidden-force" aria-live="polite">${0}</div> `),d,this.announcedCountText):"")}constructor(){var e;super(...arguments),this.assumeInteractionOn=["blur","input"],this.hasSlotController=new d.X(this,"hint","label"),this.localize=new y.c(this),this.announcedCountText="",this.title="",this.name=null,this._value=null,this.defaultValue=null!==(e=this.getAttribute("value"))&&void 0!==e?e:"",this.size="m",this.appearance="outlined",this.label="",this.hint="",this.placeholder="",this.rows=4,this.resize="vertical",this.disabled=!1,this.readonly=!1,this.required=!1,this.spellcheck=!0,this.withLabel=!1,this.withHint=!1,this.withCount=!1,this.lastObservedWidth=0}};Z.css=[f.A,v.A,m.A,b.A],_([(0,o.wk)()],Z.prototype,"announcedCountText",2),_([(0,o.P)(".control")],Z.prototype,"input",2),_([(0,o.P)('[part~="base"]')],Z.prototype,"base",2),_([(0,o.P)(".size-adjuster")],Z.prototype,"sizeAdjuster",2),_([(0,o.MZ)()],Z.prototype,"title",2),_([(0,o.MZ)({reflect:!0})],Z.prototype,"name",2),_([(0,o.wk)()],Z.prototype,"value",1),_([(0,o.MZ)({attribute:"value",reflect:!0})],Z.prototype,"defaultValue",2),_([(0,o.MZ)({reflect:!0})],Z.prototype,"size",2),_([(0,p.w)("size")],Z.prototype,"handleSizeChange",1),_([(0,o.MZ)({reflect:!0})],Z.prototype,"appearance",2),_([(0,o.MZ)()],Z.prototype,"label",2),_([(0,o.MZ)({attribute:"hint"})],Z.prototype,"hint",2),_([(0,o.MZ)()],Z.prototype,"placeholder",2),_([(0,o.MZ)({type:Number})],Z.prototype,"rows",2),_([(0,o.MZ)({reflect:!0})],Z.prototype,"resize",2),_([(0,o.MZ)({type:Boolean})],Z.prototype,"disabled",2),_([(0,o.MZ)({type:Boolean,reflect:!0})],Z.prototype,"readonly",2),_([(0,o.MZ)({type:Boolean,reflect:!0})],Z.prototype,"required",2),_([(0,o.MZ)({type:Number})],Z.prototype,"minlength",2),_([(0,o.MZ)({type:Number})],Z.prototype,"maxlength",2),_([(0,o.MZ)()],Z.prototype,"autocapitalize",2),_([(0,o.MZ)({type:Boolean,converter:{fromAttribute:e=>!(!e||"off"===e),toAttribute:e=>e?"on":"off"}})],Z.prototype,"autocorrect",2),_([(0,o.MZ)()],Z.prototype,"autocomplete",2),_([(0,o.MZ)({type:Boolean})],Z.prototype,"autofocus",2),_([(0,o.MZ)()],Z.prototype,"enterkeyhint",2),_([(0,o.MZ)({type:Boolean,converter:{fromAttribute:e=>!(!e||"false"===e),toAttribute:e=>e?"true":"false"}})],Z.prototype,"spellcheck",2),_([(0,o.MZ)()],Z.prototype,"inputmode",2),_([(0,o.MZ)({attribute:"with-label",type:Boolean})],Z.prototype,"withLabel",2),_([(0,o.MZ)({attribute:"with-hint",type:Boolean})],Z.prototype,"withHint",2),_([(0,o.MZ)({attribute:"with-count",type:Boolean,reflect:!0})],Z.prototype,"withCount",2),_([(0,p.w)("rows",{waitUntilFirstUpdate:!0})],Z.prototype,"handleRowsChange",1),_([(0,p.w)("value",{waitUntilFirstUpdate:!0})],Z.prototype,"handleValueChange",1),Z=_([(0,o.EM)("wa-textarea")],Z),null===($=(k=Z).disableWarning)||void 0===$||$.call(k,"change-in-update"),t()}catch(z){t(z)}})},9054:function(e,t,a){a.d(t,{A:function(){return r}});let i;var r=(0,a(5124).AH)(i||(i=(e=>e)`:host{border-width:0}.textarea{display:grid;align-items:center;margin:0;border:none;outline:0;cursor:inherit;font:inherit;background-color:var(--wa-form-control-background-color);border-color:var(--wa-form-control-border-color);border-radius:var(--wa-form-control-border-radius);border-style:var(--wa-form-control-border-style);border-width:var(--wa-form-control-border-width);-webkit-appearance:none;outline:var(--wa-focus-ring-style) var(--wa-focus-ring-width) transparent;outline-offset:var(--wa-focus-ring-offset)}.textarea:focus-within{outline-color:var(--wa-color-focus)}:host([appearance=outlined]) .textarea{background-color:var(--wa-form-control-background-color);border-color:var(--wa-form-control-border-color)}:host([appearance=filled]) .textarea{background-color:var(--wa-color-neutral-fill-quiet);border-color:var(--wa-color-neutral-fill-quiet)}:host([appearance=filled-outlined]) .textarea{background-color:var(--wa-color-neutral-fill-quiet);border-color:var(--wa-form-control-border-color)}textarea{display:block;width:100%;border:none;background:0 0;font:inherit;color:inherit;padding:calc(var(--wa-form-control-padding-block) - ((1lh - 1em)/ 2)) var(--wa-form-control-padding-inline);min-height:calc(var(--wa-form-control-height) - var(--border-width) * 2);box-shadow:none;margin:0}textarea::placeholder{color:var(--wa-form-control-placeholder-color);user-select:none;-webkit-user-select:none}textarea:autofill,textarea:autofill:active,textarea:autofill:focus,textarea:autofill:hover{box-shadow:none;caret-color:var(--wa-form-control-value-color)}textarea:focus{outline:0}.control,.size-adjuster{grid-area:1/1/2/2}.size-adjuster{visibility:hidden;pointer-events:none;opacity:0;padding:0}textarea::-webkit-search-cancel-button,textarea::-webkit-search-decoration,textarea::-webkit-search-results-button,textarea::-webkit-search-results-decoration{-webkit-appearance:none}:host([resize=none]) textarea{resize:none}:host([resize=vertical]) textarea,textarea{resize:vertical}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=both]) textarea{resize:both}:host([resize=auto]) textarea{height:auto;resize:none;overflow-y:hidden}.footer{display:flex;align-items:baseline;gap:1em}.footer.has-count [part=hint]{flex:1 1 auto;min-width:0}.count{flex:0 0 auto;color:var(--wa-form-control-hint-color);font-weight:var(--wa-form-control-hint-font-weight);line-height:var(--wa-form-control-hint-line-height);margin-block-start:0.5em;font-size:var(--wa-font-size-smaller);margin-inline-start:auto}`))},32565:function(e,t,a){a.d(t,{A:function(){return r}});let i;var r=(0,a(5124).AH)(i||(i=(e=>e)`.wa-visually-hidden-force,.wa-visually-hidden-hint::part(hint),.wa-visually-hidden-label::part(form-control-label),.wa-visually-hidden-label::part(label),.wa-visually-hidden:not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;border:none!important;overflow:hidden!important;white-space:nowrap!important;padding:0!important}`))},41216:function(e,t,a){a.d(t,{R:function(){return p}});a(62953);var i=a(40445),r=a(5124),o=a(67576),s=a(64918),n=a(84842);let l,c,d,h=e=>e;class p extends s.M{get primaryId(){return this.href?"link":this.removeOnly?"":"button"}get rippleDisabled(){return!this.href&&(this.disabled||this.softDisabled)}get primaryAction(){return this.removeOnly?null:this.renderRoot.querySelector(".primary.action")}getContainerClasses(){return Object.assign(Object.assign({},super.getContainerClasses()),{},{avatar:this.avatar,disabled:!this.href&&(this.disabled||this.softDisabled),link:!!this.href,selected:this.selected,"has-trailing":!0})}renderPrimaryAction(e){const{ariaLabel:t}=this;return this.href?(0,r.qy)(l||(l=h` <a class="primary action" id="link" aria-label="${0}" href="${0}" target="${0}">${0}</a> `),t||r.s6,this.href,this.target||r.s6,e):this.removeOnly?(0,r.qy)(c||(c=h` <span class="primary action" aria-label="${0}"> ${0} </span> `),t||r.s6,e):(0,r.qy)(d||(d=h` <button class="primary action" id="button" aria-label="${0}" aria-disabled="${0}" ?disabled="${0}" type="button">${0}</button> `),t||r.s6,this.softDisabled||r.s6,this.disabled&&!this.alwaysFocusable,e)}renderTrailingAction(e){return(0,n.h)({focusListener:e,ariaLabel:this.ariaLabelRemove,disabled:!this.href&&(this.disabled||this.softDisabled),tabbable:this.removeOnly})}constructor(){super(...arguments),this.avatar=!1,this.href="",this.target="",this.removeOnly=!1,this.selected=!1}}(0,i.Cg)([(0,o.MZ)({type:Boolean})],p.prototype,"avatar",void 0),(0,i.Cg)([(0,o.MZ)()],p.prototype,"href",void 0),(0,i.Cg)([(0,o.MZ)()],p.prototype,"target",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,attribute:"remove-only"})],p.prototype,"removeOnly",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,reflect:!0})],p.prototype,"selected",void 0),(0,i.Cg)([(0,o.P)(".trailing.action")],p.prototype,"trailingAction",void 0)},78960:function(e,t,a){a.d(t,{R:function(){return r}});let i;const r=(0,a(5124).AH)(i||(i=(e=>e)`:host{--_container-height:var(--md-input-chip-container-height, 32px);--_disabled-label-text-color:var(--md-input-chip-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity:var(--md-input-chip-disabled-label-text-opacity, 0.38);--_disabled-selected-container-color:var(--md-input-chip-disabled-selected-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-selected-container-opacity:var(--md-input-chip-disabled-selected-container-opacity, 0.12);--_label-text-font:var(--md-input-chip-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height:var(--md-input-chip-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size:var(--md-input-chip-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight:var(--md-input-chip-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_selected-container-color:var(--md-input-chip-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_selected-focus-label-text-color:var(--md-input-chip-selected-focus-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-label-text-color:var(--md-input-chip-selected-hover-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-color:var(--md-input-chip-selected-hover-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-opacity:var(--md-input-chip-selected-hover-state-layer-opacity, 0.08);--_selected-label-text-color:var(--md-input-chip-selected-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-outline-width:var(--md-input-chip-selected-outline-width, 0px);--_selected-pressed-label-text-color:var(--md-input-chip-selected-pressed-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-state-layer-color:var(--md-input-chip-selected-pressed-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-state-layer-opacity:var(--md-input-chip-selected-pressed-state-layer-opacity, 0.12);--_disabled-outline-color:var(--md-input-chip-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity:var(--md-input-chip-disabled-outline-opacity, 0.12);--_focus-label-text-color:var(--md-input-chip-focus-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_focus-outline-color:var(--md-input-chip-focus-outline-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-label-text-color:var(--md-input-chip-hover-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color:var(--md-input-chip-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity:var(--md-input-chip-hover-state-layer-opacity, 0.08);--_label-text-color:var(--md-input-chip-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_outline-color:var(--md-input-chip-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width:var(--md-input-chip-outline-width, 1px);--_pressed-label-text-color:var(--md-input-chip-pressed-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color:var(--md-input-chip-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity:var(--md-input-chip-pressed-state-layer-opacity, 0.12);--_avatar-shape:var(--md-input-chip-avatar-shape, var(--md-sys-shape-corner-full, 9999px));--_avatar-size:var(--md-input-chip-avatar-size, 24px);--_disabled-avatar-opacity:var(--md-input-chip-disabled-avatar-opacity, 0.38);--_disabled-leading-icon-color:var(--md-input-chip-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity:var(--md-input-chip-disabled-leading-icon-opacity, 0.38);--_icon-size:var(--md-input-chip-icon-size, 18px);--_selected-focus-leading-icon-color:var(--md-input-chip-selected-focus-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-leading-icon-color:var(--md-input-chip-selected-hover-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-leading-icon-color:var(--md-input-chip-selected-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-leading-icon-color:var(--md-input-chip-selected-pressed-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_focus-leading-icon-color:var(--md-input-chip-focus-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-leading-icon-color:var(--md-input-chip-hover-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_leading-icon-color:var(--md-input-chip-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-leading-icon-color:var(--md-input-chip-pressed-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_disabled-trailing-icon-color:var(--md-input-chip-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity:var(--md-input-chip-disabled-trailing-icon-opacity, 0.38);--_selected-focus-trailing-icon-color:var(--md-input-chip-selected-focus-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-trailing-icon-color:var(--md-input-chip-selected-hover-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-trailing-icon-color:var(--md-input-chip-selected-pressed-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-trailing-icon-color:var(--md-input-chip-selected-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_focus-trailing-icon-color:var(--md-input-chip-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color:var(--md-input-chip-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-trailing-icon-color:var(--md-input-chip-pressed-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-color:var(--md-input-chip-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_container-shape-start-start:var(--md-input-chip-container-shape-start-start, var(--md-input-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-start-end:var(--md-input-chip-container-shape-start-end, var(--md-input-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-end:var(--md-input-chip-container-shape-end-end, var(--md-input-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-start:var(--md-input-chip-container-shape-end-start, var(--md-input-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_leading-space:var(--md-input-chip-leading-space, 16px);--_trailing-space:var(--md-input-chip-trailing-space, 16px);--_icon-label-space:var(--md-input-chip-icon-label-space, 8px);--_with-leading-icon-leading-space:var(--md-input-chip-with-leading-icon-leading-space, 8px);--_with-trailing-icon-trailing-space:var(--md-input-chip-with-trailing-icon-trailing-space, 8px)}:host([avatar]){--_container-shape-start-start:var( --md-input-chip-container-shape-start-start, var(--md-input-chip-container-shape, calc(var(--_container-height) / 2)) );--_container-shape-start-end:var( --md-input-chip-container-shape-start-end, var(--md-input-chip-container-shape, calc(var(--_container-height) / 2)) );--_container-shape-end-end:var( --md-input-chip-container-shape-end-end, var(--md-input-chip-container-shape, calc(var(--_container-height) / 2)) );--_container-shape-end-start:var( --md-input-chip-container-shape-end-start, var(--md-input-chip-container-shape, calc(var(--_container-height) / 2)) )}.avatar .primary.action{padding-inline-start:4px}.avatar .leading.icon ::slotted(:first-child){border-radius:var(--_avatar-shape);height:var(--_avatar-size);width:var(--_avatar-size)}.disabled.avatar .leading.icon{opacity:var(--_disabled-avatar-opacity)}{.link .outline{border-color:ActiveText}.disabled.avatar .leading.icon{opacity:1}}`))}}]);