iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
20 lines • 52.4 kB
JavaScript
/*! For license information please see 80214.99b1ef37ec43f86c.js.LICENSE.txt */
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[80214],{12451:function(t,e,i){i.d(e,{O:function(){return a},i:function(){return r.is}});var o=i(5124),r=i(12130);class a extends o.WF{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},12130:function(t,e,i){i.d(e,{SE:function(){return d},U9:function(){return l},hP:function(){return o},is:function(){return r}});i(44114);const o=t=>t.nodeType===Node.ELEMENT_NODE;function r(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let a=!1;const n=()=>{},s={get passive(){return a=!0,!1}};document.addEventListener("x",n,s),document.removeEventListener("x",n);const l=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},d=t=>{const e=l();if(!e.length)return!1;const i=e[e.length-1],o=new Event("check-if-focused",{bubbles:!0,composed:!0});let r=[];const a=t=>{r=t.composedPath()};return document.body.addEventListener("check-if-focused",a),i.dispatchEvent(o),document.body.removeEventListener("check-if-focused",a),-1!==r.indexOf(t)}},35370:function(t,e,i){var o=i(26198);t.exports=function(t,e,i){for(var r=0,a=arguments.length>2?i:o(e),n=new t(a);a>r;)n[r]=e[r++];return n}},77957:function(t,e,i){var o=i(76080),r=i(79504),a=i(47055),n=i(48981),s=i(56969),l=i(26198),d=i(2360),c=i(35370),h=Array,u=r([].push);t.exports=function(t,e,i,r){for(var p,f,m,v=n(t),b=a(v),g=o(e,i),y=d(null),w=l(b),x=0;w>x;x++)m=b[x],(f=s(g(m,x,v)))in y?u(y[f],m):y[f]=[m];if(r&&(p=r(v))!==h)for(f in y)y[f]=c(p,y[f]);return y}},46058:function(t,e,i){var o=i(46518),r=i(77957),a=i(6469);o({target:"Array",proto:!0},{group:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("group")},68825:function(t,e,i){i(62953);var o=i(67576),r=i(9395),a=i(717);let n;var s=(0,i(5124).AH)(n||(n=(t=>t)`:host{--color:var(--wa-color-surface-border);--width:var(--wa-border-width-s);--spacing:var(--wa-space-m)}:host(:not([orientation=vertical])){display:block;border-top:solid var(--width) var(--color);margin:var(--spacing) 0}:host([orientation=vertical]){display:inline-block;height:100%;border-inline-start:solid var(--width) var(--color);margin:0 var(--spacing);min-block-size:1lh}`)),l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=(t,e,i,o)=>{for(var r,a=o>1?void 0:o?d(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o?r(e,i,a):r(a))||a);return o&&a&&l(e,i,a),a};let h=class extends a.A{connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}constructor(){super(...arguments),this.orientation="horizontal"}};h.css=s,c([(0,o.MZ)({reflect:!0})],h.prototype,"orientation",2),c([(0,r.w)("orientation")],h.prototype,"handleVerticalChange",1),h=c([(0,o.EM)("wa-divider")],h)},30006:function(t,e,i){i.a(t,async function(t,e){try{i(74423),i(27495),i(62953);var o=i(5124),r=i(67576),a=i(6412),n=i(63672),s=i(34514),l=i(37541),d=i(40991),c=i(92070),h=i(28225),u=i(41268),p=i(9395),f=i(62676),m=i(15477),v=i(31896),b=i(17060),g=(i(38625),i(96272)),y=t([b]);b=(y.then?(await y)():y)[0];let C,E,$,A,M,O,Z,R=t=>t;var w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,k=(t,e,i,o)=>{for(var r,a=o>1?void 0:o?x(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o?r(e,i,a):r(a))||a);return o&&a&&w(e,i,a),a};let z=class extends f.q{static get validators(){return[...super.validators,(0,u.i)()]}get value(){var t;return this.valueHasChanged?this._value:null!==(t=this._value)&&void 0!==t?t:this.defaultValue}set value(t){this._value!==t&&(this.valueHasChanged=!0,this._value=t)}handleSizeChange(){(0,d.b)(this.localName,this.size)}handleChange(t){this.value=this.input.value,this.relayNativeEvent(t,{bubbles:!0,composed:!0})}clear(){""!==this.value&&(this.value="",this.updateComplete.then(()=>{this.dispatchEvent(new l.I),this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})),this.input.focus()}handleClearClick(t){t.preventDefault(),this.clear()}handleInput(){this.value=this.input.value}handleKeyDown(t){(0,h.U)(t,this)}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}updated(t){if(super.updated(t),t.has("value")||t.has("defaultValue")||t.has("type")){const t=["number","date","time","datetime-local"];this.input&&t.includes(this.type)&&this.value&&this.input.value!==this.value&&(this._value=this.input.value),this.customStates.set("blank",!this.value),this.updateValidity()}}handleStepChange(){this.input.step=String(this.step),this.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,i="none"){this.input.setSelectionRange(t,e,i)}setRangeText(t,e,i,o="preserve"){const r=null!=e?e:this.input.selectionStart,a=null!=i?i:this.input.selectionEnd;this.input.setRangeText(t,r,a,o),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}formResetCallback(){this.value=null,this.input&&(this.input.value=this.value),super.formResetCallback()}render(){var t;const e=this.hasUpdated?this.hasSlotController.test("label"):this.withLabel,i=this.hasUpdated?this.hasSlotController.test("hint"):this.withHint,r=!!this.label||!!e,l=!!this.hint||!!i,d=this.withClear&&!this.disabled&&!this.readonly,c=(o.S$||this.hasUpdated)&&d&&("number"==typeof this.value||this.value&&this.value.length>0);return(0,o.qy)(C||(C=R` <label part="form-control-label label" class="${0}" for="input" aria-hidden="${0}"> <slot name="label">${0}</slot> </label> <div part="base" class="text-field"> <slot name="start" part="start" class="start"></slot> <input part="input" id="input" class="control" type="${0}" title="${0}" name="${0}" ?disabled="${0}" ?readonly="${0}" ?required="${0}" placeholder="${0}" minlength="${0}" maxlength="${0}" min="${0}" max="${0}" step="${0}" .value="${0}" autocapitalize="${0}" autocomplete="${0}" autocorrect="${0}" ?autofocus="${0}" spellcheck="${0}" pattern="${0}" enterkeyhint="${0}" inputmode="${0}" aria-describedby="hint" @change="${0}" @input="${0}" @keydown="${0}"> ${0} ${0} <slot name="end" part="end" class="end"></slot> </div> <slot id="hint" part="hint" name="hint" class="${0}" aria-hidden="${0}">${0}</slot> `),(0,a.H)({label:!0,"has-label":r}),r?"false":"true",this.label,"password"===this.type&&this.passwordVisible?"text":this.type,this.title,(0,n.J)(this.name),this.disabled,this.readonly,this.required,(0,n.J)(this.placeholder),(0,n.J)(this.minlength),(0,n.J)(this.maxlength),(0,n.J)(this.min),(0,n.J)(this.max),(0,n.J)(this.step),(0,s.V)(null!==(t=this.value)&&void 0!==t?t:""),(0,n.J)(this.autocapitalize),(0,n.J)(this.autocomplete),this.autocorrect?"on":"off",this.autofocus,this.spellcheck,(0,n.J)(this.pattern),(0,n.J)(this.enterkeyhint),(0,n.J)(this.inputmode),this.handleChange,this.handleInput,this.handleKeyDown,c?(0,o.qy)(E||(E=R` <slot name="clear-button"> <button part="clear-button" class="clear" type="button" aria-label="${0}" @click="${0}" tabindex="-1"> <slot name="clear-icon"> <wa-icon name="circle-xmark" library="system" variant="regular"></wa-icon> </slot> </button> </slot> `),this.localize.term("clearEntry"),this.handleClearClick):"",this.passwordToggle&&!this.disabled?(0,o.qy)($||($=R` <slot name="password-toggle-button"> <button part="password-toggle-button" class="password-toggle" type="button" aria-label="${0}" @click="${0}" tabindex="-1"> ${0} </button> </slot> `),this.localize.term(this.passwordVisible?"hidePassword":"showPassword"),this.handlePasswordToggle,this.passwordVisible?(0,o.qy)(M||(M=R` <slot name="hide-password-icon"> <wa-icon name="eye-slash" library="system" variant="regular"></wa-icon> </slot> `)):(0,o.qy)(A||(A=R` <slot name="show-password-icon"> <wa-icon name="eye" library="system" variant="regular"></wa-icon> </slot> `))):"",(0,a.H)({"has-slotted":l}),l?"false":"true",this.hint)}constructor(){super(...arguments),this.assumeInteractionOn=["blur","input"],this.hasSlotController=new c.X(this,"hint","label"),this.localize=new b.c(this),this.title="",this.type="text",this._value=null,this.defaultValue=this.getAttribute("value")||null,this.size="m",this.appearance="outlined",this.pill=!1,this.label="",this.hint="",this.withClear=!1,this.placeholder="",this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.withoutSpinButtons=!1,this.required=!1,this.spellcheck=!0,this.withLabel=!1,this.withHint=!1}};z.css=[v.A,m.A,g.A],z.shadowRootOptions=Object.assign(Object.assign({},f.q.shadowRootOptions),{},{delegatesFocus:!0}),k([(0,r.P)("input")],z.prototype,"input",2),k([(0,r.MZ)()],z.prototype,"title",2),k([(0,r.MZ)({reflect:!0})],z.prototype,"type",2),k([(0,r.wk)()],z.prototype,"value",1),k([(0,r.MZ)({attribute:"value",reflect:!0})],z.prototype,"defaultValue",2),k([(0,r.MZ)({reflect:!0})],z.prototype,"size",2),k([(0,p.w)("size")],z.prototype,"handleSizeChange",1),k([(0,r.MZ)({reflect:!0})],z.prototype,"appearance",2),k([(0,r.MZ)({type:Boolean,reflect:!0})],z.prototype,"pill",2),k([(0,r.MZ)()],z.prototype,"label",2),k([(0,r.MZ)({attribute:"hint"})],z.prototype,"hint",2),k([(0,r.MZ)({attribute:"with-clear",type:Boolean})],z.prototype,"withClear",2),k([(0,r.MZ)()],z.prototype,"placeholder",2),k([(0,r.MZ)({type:Boolean,reflect:!0})],z.prototype,"readonly",2),k([(0,r.MZ)({attribute:"password-toggle",type:Boolean})],z.prototype,"passwordToggle",2),k([(0,r.MZ)({attribute:"password-visible",type:Boolean})],z.prototype,"passwordVisible",2),k([(0,r.MZ)({attribute:"without-spin-buttons",type:Boolean,reflect:!0})],z.prototype,"withoutSpinButtons",2),k([(0,r.MZ)({type:Boolean,reflect:!0})],z.prototype,"required",2),k([(0,r.MZ)()],z.prototype,"pattern",2),k([(0,r.MZ)({type:Number})],z.prototype,"minlength",2),k([(0,r.MZ)({type:Number})],z.prototype,"maxlength",2),k([(0,r.MZ)()],z.prototype,"min",2),k([(0,r.MZ)()],z.prototype,"max",2),k([(0,r.MZ)()],z.prototype,"step",2),k([(0,r.MZ)()],z.prototype,"autocapitalize",2),k([(0,r.MZ)({type:Boolean,converter:{fromAttribute:t=>!(!t||"off"===t),toAttribute:t=>t?"on":"off"}})],z.prototype,"autocorrect",2),k([(0,r.MZ)()],z.prototype,"autocomplete",2),k([(0,r.MZ)({type:Boolean})],z.prototype,"autofocus",2),k([(0,r.MZ)()],z.prototype,"enterkeyhint",2),k([(0,r.MZ)({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],z.prototype,"spellcheck",2),k([(0,r.MZ)()],z.prototype,"inputmode",2),k([(0,r.MZ)({attribute:"with-label",type:Boolean})],z.prototype,"withLabel",2),k([(0,r.MZ)({attribute:"with-hint",type:Boolean})],z.prototype,"withHint",2),k([(0,p.w)("step",{waitUntilFirstUpdate:!0})],z.prototype,"handleStepChange",1),z=k([(0,r.EM)("wa-input")],z),null===(O=(Z=z).disableWarning)||void 0===O||O.call(Z,"change-in-update"),e()}catch(C){e(C)}})},96272:function(t,e,i){i.d(e,{A:function(){return r}});let o;var r=(0,i(5124).AH)(o||(o=(t=>t)`:host{border-width:0}:host(:focus){outline:0}.text-field{display:flex;align-items:stretch;justify-content:start;position:relative;transition:inherit;height:var(--wa-form-control-height);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);cursor:text;color:var(--wa-form-control-value-color);font-size:var(--wa-form-control-value-font-size);font-family:inherit;font-weight:var(--wa-form-control-value-font-weight);line-height:var(--wa-form-control-value-line-height);vertical-align:middle;width:100%;transition:background-color var(--wa-transition-normal),border-color var(--wa-transition-normal),outline-color var(--wa-transition-fast);transition-timing-function:var(--wa-transition-easing);background-color:var(--wa-form-control-background-color);box-shadow:var(--box-shadow);padding:0 var(--wa-form-control-padding-inline);outline:var(--wa-focus-ring-style) var(--wa-focus-ring-width) transparent;outline-offset:var(--wa-focus-ring-offset)}.text-field:focus-within{outline-color:var(--wa-color-focus)}.text-field:has(:disabled){cursor:not-allowed;opacity:.5}:host([appearance=outlined]) .text-field{background-color:var(--wa-form-control-background-color);border-color:var(--wa-form-control-border-color)}:host([appearance=filled]) .text-field{background-color:var(--wa-color-neutral-fill-quiet);border-color:var(--wa-color-neutral-fill-quiet)}:host([appearance=filled-outlined]) .text-field{background-color:var(--wa-color-neutral-fill-quiet);border-color:var(--wa-form-control-border-color)}:host([pill]) .text-field{border-radius:var(--wa-border-radius-pill)!important}.text-field:has(:-webkit-autofill),.text-field:has(:autofill){background-color:var(--wa-color-brand-fill-quiet)!important}.text-field input,.text-field textarea{height:100%;padding:0;border:none;outline:0;box-shadow:none;margin:0;cursor:inherit;-webkit-appearance:none;font:inherit}:is(.text-field input,.text-field textarea):-webkit-autofill,:is(.text-field input,.text-field textarea):-webkit-autofill:active,:is(.text-field input,.text-field textarea):-webkit-autofill:focus,:is(.text-field input,.text-field textarea):-webkit-autofill:hover{-webkit-background-clip:text;background-color:transparent;-webkit-text-fill-color:inherit}input{flex:1 1 auto;min-width:0;height:100%;transition:inherit;background-color:rgb(118 118 118 / 0);height:calc(var(--wa-form-control-height) - var(--border-width) * 2);padding-block:0;color:inherit}input:autofill,input:autofill:active,input:autofill:focus,input:autofill:hover{box-shadow:none;caret-color:var(--wa-form-control-value-color)}input::placeholder{color:var(--wa-form-control-placeholder-color);user-select:none;-webkit-user-select:none}input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{-webkit-appearance:none}input:focus{outline:0}textarea:autofill,textarea:autofill:active,textarea:autofill:focus,textarea:autofill:hover{box-shadow:none;caret-color:var(--wa-form-control-value-color)}textarea::placeholder{color:var(--wa-form-control-placeholder-color);user-select:none;-webkit-user-select:none}.end,.start{display:inline-flex;flex:0 0 auto;align-items:center;cursor:default}:is(.start,.end)::slotted(wa-icon){color:var(--wa-color-neutral-on-quiet)}.start::slotted(*){margin-inline-end:var(--wa-form-control-padding-inline)}.end::slotted(*){margin-inline-start:var(--wa-form-control-padding-inline)}.clear,.password-toggle{display:inline-flex;align-items:center;justify-content:center;font-size:inherit;color:var(--wa-color-neutral-on-quiet);border:none;background:0 0;padding:0;transition:var(--wa-transition-normal) color;cursor:pointer;margin-inline-start:var(--wa-form-control-padding-inline)}@media (hover:hover){:is(.clear,.password-toggle):hover{color:color-mix(in oklab,currentColor,var(--wa-color-mix-hover))}}:is(.clear,.password-toggle):active{color:color-mix(in oklab,currentColor,var(--wa-color-mix-active))}:is(.clear,.password-toggle):focus{outline:0}::-ms-reveal{display:none}:host([without-spin-buttons]) input[type=number]{-moz-appearance:textfield}:host([without-spin-buttons]) input[type=number]::-webkit-inner-spin-button,:host([without-spin-buttons]) input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;display:none}`))},29344:function(t,e,i){i.a(t,async function(t,o){try{i.d(e,{A:function(){return A}});i(27495),i(62953);var r=i(5124),a=i(67576),n=i(6412),s=i(63672),l=i(34514),d=i(40991),c=i(92070),h=i(41268),u=i(9395),p=i(62676),f=i(15477),m=i(31896),v=i(17060),b=i(19978),g=t([v]);v=(g.then?(await g)():g)[0];let k,C,E,$=t=>t;var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,x=(t,e,i,o)=>{for(var r,a=o>1?void 0:o?w(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o?r(e,i,a):r(a))||a);return o&&a&&y(e,i,a),a};let A=class extends p.q{static get validators(){return[...super.validators,(0,h.i)()]}get value(){var t;return null!==(t=this._value)&&void 0!==t?t:"on"}set value(t){this._value=t}handleSizeChange(){(0,d.b)(this.localName,this.size)}get checked(){var t;return this.valueHasChanged?Boolean(this._checked):null!==(t=this._checked)&&void 0!==t?t:this.defaultChecked}set checked(t){this._checked=Boolean(t),this.valueHasChanged=!0}handleClick(){this.hasInteracted=!0,this.checked=!this.checked,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})}handleKeyDown(t){const e="rtl"===this.localize.dir();"ArrowLeft"===t.key&&(t.preventDefault(),this.checked=e,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))})),"ArrowRight"===t.key&&(t.preventDefault(),this.checked=!e,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}))}willUpdate(t){super.willUpdate(t),(t.has("value")||t.has("checked")||t.has("defaultChecked"))&&this.handleValueOrCheckedChange()}handleValueOrCheckedChange(){this.setValue(this.checked?this.value:null,this._value),this.updateValidity()}handleStateChange(){this.hasUpdated&&(this.input.checked=this.checked),this.customStates.set("checked",this.checked),this.updateValidity()}handleDisabledChange(){this.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}setValue(t,e){this.checked?this.internals.setFormValue(null!=t?t:"on",e):this.internals.setFormValue(null,null)}formResetCallback(){this._checked=null,super.formResetCallback(),this.handleValueOrCheckedChange()}render(){const t=this.hasUpdated?this.hasSlotController.test("hint"):this.withHint,e=!!this.hint||!!t;return(0,r.qy)(k||(k=$` <label part="base" class="${0}"> <input class="input" type="checkbox" title="${0}" name="${0}" value="${0}" .checked="${0}" .disabled="${0}" .required="${0}" role="switch" aria-checked="${0}" aria-describedby="hint" @click="${0}" @keydown="${0}"> <span part="control" class="switch"> <span part="thumb" class="thumb"></span> </span> <slot part="label" class="label"></slot> </label> <slot id="hint" name="hint" part="hint" class="${0}" aria-hidden="${0}">${0}</slot> `),(0,n.H)({checked:this.checked,disabled:this.disabled}),this.title,(0,s.J)(this.name),(0,s.J)(this.value),(0,l.V)(this.checked),this.disabled,this.required,this.checked?"true":"false",this.handleClick,this.handleKeyDown,(0,n.H)({"has-slotted":e}),e?"false":"true",this.hint)}constructor(){var t;super(...arguments),this.hasSlotController=new c.X(this,"hint"),this.localize=new v.c(this),this.title="",this.name=null,this._value=null!==(t=this.getAttribute("value"))&&void 0!==t?t:null,this.size="m",this.disabled=!1,this._checked=null,this.defaultChecked=this.hasAttribute("checked"),this.required=!1,this.hint="",this.withHint=!1}};A.shadowRootOptions=Object.assign(Object.assign({},p.q.shadowRootOptions),{},{delegatesFocus:!0}),A.css=[f.A,m.A,b.A],x([(0,a.P)('input[type="checkbox"]')],A.prototype,"input",2),x([(0,a.MZ)()],A.prototype,"title",2),x([(0,a.MZ)({reflect:!0})],A.prototype,"name",2),x([(0,a.MZ)({reflect:!0})],A.prototype,"value",1),x([(0,a.MZ)({reflect:!0})],A.prototype,"size",2),x([(0,u.w)("size")],A.prototype,"handleSizeChange",1),x([(0,a.MZ)({type:Boolean})],A.prototype,"disabled",2),x([(0,a.MZ)({type:Boolean,attribute:!1})],A.prototype,"checked",1),x([(0,a.MZ)({type:Boolean,attribute:"checked",reflect:!0})],A.prototype,"defaultChecked",2),x([(0,a.MZ)({type:Boolean,reflect:!0})],A.prototype,"required",2),x([(0,a.MZ)({attribute:"hint"})],A.prototype,"hint",2),x([(0,a.MZ)({attribute:"with-hint",type:Boolean})],A.prototype,"withHint",2),x([(0,u.w)(["checked","defaultChecked"])],A.prototype,"handleStateChange",1),x([(0,u.w)("disabled",{waitUntilFirstUpdate:!0})],A.prototype,"handleDisabledChange",1),A=x([(0,a.EM)("wa-switch")],A),null===(C=(E=A).disableWarning)||void 0===C||C.call(E,"change-in-update"),o()}catch(k){o(k)}})},19978:function(t,e,i){i.d(e,{A:function(){return r}});let o;var r=(0,i(5124).AH)(o||(o=(t=>t)`:host{--height:var(--wa-form-control-toggle-size);--width:calc(var(--height) * 1.75);--thumb-size:0.75em;display:inline-flex;line-height:var(--wa-form-control-value-line-height)}label{position:relative;display:flex;align-items:center;font:inherit;color:var(--wa-form-control-value-color);vertical-align:middle;cursor:pointer}.switch{flex:0 0 auto;position:relative;display:flex;align-items:center;justify-content:center;width:var(--width);height:var(--height);background-color:var(--wa-form-control-background-color);border-color:var(--wa-form-control-border-color);border-radius:var(--height);border-style:var(--wa-form-control-border-style);border-width:var(--wa-form-control-border-width);transition-property:translate,background,border-color,box-shadow;transition-duration:var(--wa-transition-normal);transition-timing-function:var(--wa-transition-easing)}.switch .thumb{aspect-ratio:1/1;width:var(--thumb-size);height:var(--thumb-size);background-color:var(--wa-form-control-border-color);border-radius:50%;translate:calc((var(--width) - var(--height))/ -2);transition:inherit}.switch .thumb:dir(rtl){translate:calc((var(--width) - var(--height))/ 2)}.input{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}label:not(.disabled) .input:focus-visible~.switch .thumb{outline:var(--wa-focus-ring);outline-offset:var(--wa-focus-ring-offset)}.checked .switch{background-color:var(--wa-form-control-activated-color);border-color:var(--wa-form-control-activated-color)}.checked .switch .thumb{background-color:var(--wa-color-surface-default);translate:calc((var(--width) - var(--height))/ 2)}.checked .switch .thumb:dir(rtl){translate:calc((var(--width) - var(--height))/ -2)}label:has(> :disabled){opacity:.5;cursor:not-allowed}[part~=label]{display:inline-block;line-height:var(--height);margin-inline-start:.5em;user-select:none;-webkit-user-select:none}:host([required]) [part~=label]::after{content:var(--wa-form-control-required-content);color:var(--wa-form-control-required-content-color);margin-inline-start:var(--wa-form-control-required-content-offset)}@media (forced-colors:active){:checked+.switch .thumb,:checked:enabled+.switch:hover .thumb{background-color:ButtonText}}`))},52630:function(t,e,i){i.a(t,async function(t,o){try{i.d(e,{A:function(){return $}});i(74423),i(44114),i(18111),i(22489),i(3362),i(27495),i(62953);var r=i(5124),a=i(67576),n=i(6412),s=i(17051),l=i(42462),d=i(28438),c=i(98779),h=i(27259),u=i(25877),p=i(984),f=i(95010),m=i(9395),v=i(717),b=i(40158),g=i(51920),y=t([b]);b=(y.then?(await y)():y)[0];let C,E=t=>t;var w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,k=(t,e,i,o)=>{for(var r,a=o>1?void 0:o?x(e,i):e,n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o?r(e,i,a):r(a))||a);return o&&a&&w(e,i,a),a};let $=class extends v.A{connectedCallback(){super.connectedCallback(),this.eventController.signal.aborted&&(this.eventController=new AbortController),this.addEventListener("mouseout",this.handleMouseOut),this.open&&(this.open=!1,this.updateComplete.then(()=>{this.open=!0})),this.id||(this.id=(0,f.N)("wa-tooltip-")),this.for&&this.anchor?(this.anchor=null,this.handleForChange()):this.for&&this.handleForChange()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,u.Fw)(this),this.eventController.abort(),this.anchor&&this.removeFromAriaLabelledBy(this.anchor,this.id)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}addToAriaLabelledBy(t,e){const i=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean);i.includes(e)||(i.push(e),t.setAttribute("aria-labelledby",i.join(" ")))}removeFromAriaLabelledBy(t,e){const i=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).filter(t=>t!==e);i.length>0?t.setAttribute("aria-labelledby",i.join(" ")):t.removeAttribute("aria-labelledby")}async handleOpenChange(){if(this.open){if(this.disabled)return;const t=new c.k;if(this.dispatchEvent(t),t.defaultPrevented)return void(this.open=!1);document.addEventListener("keydown",this.handleDocumentKeyDown,{signal:this.eventController.signal}),(0,u.AZ)(this),this.body.hidden=!1,this.popup.active=!0,await(0,h.Ud)(this.popup.popup,"show-with-scale"),this.popup.reposition(),this.dispatchEvent(new l.q)}else{const t=new d.L;if(this.dispatchEvent(t),t.defaultPrevented)return void(this.open=!1);document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,u.Fw)(this),await(0,h.Ud)(this.popup.popup,"hide-with-scale"),this.popup.active=!1,this.body.hidden=!0,this.dispatchEvent(new s.Z)}}handleForChange(){const t=this.getRootNode();if(!t)return;const e=this.for?t.getElementById(this.for):null,i=this.anchor;if(e===i)return;const{signal:o}=this.eventController;e&&(this.addToAriaLabelledBy(e,this.id),e.addEventListener("blur",this.handleBlur,{capture:!0,signal:o}),e.addEventListener("focus",this.handleFocus,{capture:!0,signal:o}),e.addEventListener("click",this.handleClick,{signal:o}),e.addEventListener("mouseover",this.handleMouseOver,{signal:o}),e.addEventListener("mouseout",this.handleMouseOut,{signal:o})),i&&(this.removeFromAriaLabelledBy(i,this.id),i.removeEventListener("blur",this.handleBlur,{capture:!0}),i.removeEventListener("focus",this.handleFocus,{capture:!0}),i.removeEventListener("click",this.handleClick),i.removeEventListener("mouseover",this.handleMouseOver),i.removeEventListener("mouseout",this.handleMouseOut)),this.anchor=e}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,(0,p.l)(this,"wa-after-show")}async hide(){if(this.open)return this.open=!1,(0,p.l)(this,"wa-after-hide")}render(){return(0,r.qy)(C||(C=E` <wa-popup part="base" exportparts="
popup:base__popup,
arrow:base__arrow
" class="${0}" placement="${0}" distance="${0}" skidding="${0}" flip shift ?arrow="${0}" hover-bridge .anchor="${0}"> <div part="body" class="body"> <slot></slot> </div> </wa-popup> `),(0,n.H)({tooltip:!0,"tooltip-open":this.open}),this.placement,this.distance,this.skidding,!this.withoutArrow,this.anchor)}constructor(){super(...arguments),this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.showDelay=150,this.hideDelay=0,this.trigger="hover focus",this.withoutArrow=!1,this.for=null,this.anchor=null,this.eventController=new AbortController,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleDocumentKeyDown=t=>{"Escape"===t.key&&this.open&&(0,u.a0)(this)&&(t.preventDefault(),t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{this.hasTrigger("hover")&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),this.showDelay))},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){var t;const e=Boolean(null===(t=this.anchor)||void 0===t?void 0:t.matches(":hover")),i=this.matches(":hover");if(e||i)return;clearTimeout(this.hoverTimeout),e||i||(this.hoverTimeout=window.setTimeout(()=>{this.hide()},this.hideDelay))}}}};$.css=g.A,$.dependencies={"wa-popup":b.A},k([(0,a.P)("slot:not([name])")],$.prototype,"defaultSlot",2),k([(0,a.P)(".body")],$.prototype,"body",2),k([(0,a.P)("wa-popup")],$.prototype,"popup",2),k([(0,a.MZ)()],$.prototype,"placement",2),k([(0,a.MZ)({type:Boolean,reflect:!0})],$.prototype,"disabled",2),k([(0,a.MZ)({type:Number})],$.prototype,"distance",2),k([(0,a.MZ)({type:Boolean,reflect:!0})],$.prototype,"open",2),k([(0,a.MZ)({type:Number})],$.prototype,"skidding",2),k([(0,a.MZ)({attribute:"show-delay",type:Number})],$.prototype,"showDelay",2),k([(0,a.MZ)({attribute:"hide-delay",type:Number})],$.prototype,"hideDelay",2),k([(0,a.MZ)()],$.prototype,"trigger",2),k([(0,a.MZ)({attribute:"without-arrow",type:Boolean,reflect:!0})],$.prototype,"withoutArrow",2),k([(0,a.MZ)()],$.prototype,"for",2),k([(0,a.wk)()],$.prototype,"anchor",2),k([(0,m.w)("open",{waitUntilFirstUpdate:!0})],$.prototype,"handleOpenChange",1),k([(0,m.w)("for")],$.prototype,"handleForChange",1),k([(0,m.w)(["distance","placement","skidding"])],$.prototype,"handleOptionsChange",1),k([(0,m.w)("disabled")],$.prototype,"handleDisabledChange",1),$=k([(0,a.EM)("wa-tooltip")],$),o()}catch(C){o(C)}})},51920:function(t,e,i){i.d(e,{A:function(){return r}});let o;var r=(0,i(5124).AH)(o||(o=(t=>t)`:host{--max-width:30ch;display:inline-block;position:absolute;color:var(--wa-tooltip-content-color);font-size:var(--wa-tooltip-font-size);line-height:var(--wa-tooltip-line-height);text-align:start;white-space:normal}.tooltip{--arrow-size:var(--wa-tooltip-arrow-size);--arrow-color:var(--wa-tooltip-background-color)}.tooltip::part(popup){z-index:1000}.tooltip[placement^=top]::part(popup){transform-origin:bottom}.tooltip[placement^=bottom]::part(popup){transform-origin:top}.tooltip[placement^=left]::part(popup){transform-origin:right}.tooltip[placement^=right]::part(popup){transform-origin:left}.body{display:block;width:max-content;max-width:var(--max-width);border-radius:var(--wa-tooltip-border-radius);background-color:var(--wa-tooltip-background-color);border:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);padding:.25em .5em;user-select:none;-webkit-user-select:none}.tooltip{--popup-border-width:var(--wa-tooltip-border-width)}.tooltip::part(arrow){border-bottom:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);border-right:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color)}`))},37541:function(t,e,i){i.d(e,{I:function(){return o}});class o extends Event{constructor(){super("wa-clear",{bubbles:!0,cancelable:!1,composed:!0})}}},984:function(t,e,i){i.d(e,{l:function(){return o}});i(3362);function o(t,e){return new Promise(i=>{t.addEventListener(e,function o(r){r.target===t&&(t.removeEventListener(e,o),i())})})}},95010:function(t,e,i){i.d(e,{q:function(){return r},N:function(){return a}});i(54743),i(11745),i(16573),i(78100),i(77936),i(21489),i(48140),i(75044),i(21903),i(91134),i(28845),i(373),i(37467),i(44732),i(79577),i(16632),i(34226),i(9486),i(20456);let o=(t=21)=>{let e="",i=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&i[t]];return e};function r(t,e,i){const o=t=>Object.is(t,-0)?0:t;return o(t<e?e:t>i?i:t)}function a(t=""){return`${t}${o()}`}},28225:function(t,e,i){i.d(e,{U:function(){return o}});i(74423),i(62953);function o(t,e){const i=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;"Enter"!==t.key||i||setTimeout(()=>{t.defaultPrevented||t.isComposing||function(t){let e=null;"form"in t&&(e=t.form);!e&&"getForm"in t&&(e=t.getForm());if(!e)return;const i=[...e.elements];if(1===i.length)return void e.requestSubmit(null);const o=i.find(t=>"submit"===t.type&&!t.matches(":disabled"));if(!o)return;["input","button"].includes(o.localName)?e.requestSubmit(o):o.click()}(e)})}},15477:function(t,e,i){i.d(e,{A:function(){return r}});let o;var r=(0,i(5124).AH)(o||(o=(t=>t)`:host{display:flex;flex-direction:column}[part~=form-control]{display:contents}:is([part~=form-control-label],[part~=label]).has-label,:is([part~=form-control-label],[part~=label]):has(:not(:empty)){display:inline-flex;color:var(--wa-form-control-label-color);font-weight:var(--wa-form-control-label-font-weight);line-height:var(--wa-form-control-label-line-height);margin-block-end:0.5em}:host([required]) :is([part~=form-control-label],[part~=label])::after{content:var(--wa-form-control-required-content);margin-inline-start:var(--wa-form-control-required-content-offset);color:var(--wa-form-control-required-content-color)}[part~=hint]{display:block;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)}[part~=hint]:not(.has-slotted,.has-hint){display:none}`))},75275:function(t,e,i){var o=i(40445),r=i(67576),a=(i(89463),i(62953),i(5124)),n=i(76482);const s=["focusin","focusout","pointerdown"];class l extends a.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,i;if(!t[d]){switch(t.type){default:return;case"focusin":this.visible=null!==(e=null===(i=this.control)||void 0===i?void 0:i.matches(":focus-visible"))&&void 0!==e&&e;break;case"focusout":case"pointerdown":this.visible=!1}t[d]=!0}}onControlChange(t,e){if(!a.S$)for(const i of s)null==t||t.removeEventListener(i,this),null==e||e.addEventListener(i,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 n.i(this,this.onControlChange.bind(this))}}(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],l.prototype,"visible",void 0),(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],l.prototype,"inward",void 0);const d=Symbol("handledByFocusRing");let c;const h=(0,a.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)}@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 u=class extends l{};u.styles=[h],u=(0,o.Cg)([(0,r.EM)("md-focus-ring")],u)},1024:function(t,e,i){i.d(e,{n:function(){return d}});i(89463),i(27495),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(25440),i(62953);var o=i(5124);i(74423);const r=["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"],a=r.map(s);function n(t){return a.includes(t)}function s(t){return t.replace("aria","aria-").replace(/Elements?/g,"").toLowerCase()}const l=Symbol("privateIgnoreAttributeChangesFor");function d(t){var e;if(o.S$)return t;class i extends t{attributeChangedCallback(t,e,i){if(!n(t))return void super.attributeChangedCallback(t,e,i);if(this[l].has(t))return;this[l].add(t),this.removeAttribute(t),this[l].delete(t);const o=h(t);null===i?delete this.dataset[o]:this.dataset[o]=i,this.requestUpdate(h(t),e)}getAttribute(t){return n(t)?super.getAttribute(c(t)):super.getAttribute(t)}removeAttribute(t){super.removeAttribute(t),n(t)&&(super.removeAttribute(c(t)),this.requestUpdate())}constructor(){super(...arguments),this[e]=new Set}}return e=l,function(t){for(const e of r){const i=s(e),o=c(i),r=h(i);t.createProperty(e,{attribute:i,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[r])&&void 0!==t?t:null},set(t){var i;const o=null!==(i=this.dataset[r])&&void 0!==i?i:null;t!==o&&(null===t?delete this.dataset[r]:this.dataset[r]=t,this.requestUpdate(e,o))}})}}(i),i}function c(t){return`data-${t}`}function h(t){return t.replace(/-\w/,t=>t[1].toUpperCase())}},27525:function(t,e,i){i.d(e,{A6:function(){return n},Ex:function(){return l},RN:function(){return h},RZ:function(){return r},c7:function(){return s},cG:function(){return u},u9:function(){return c},ub:function(){return a},wm:function(){return d},zT:function(){return o}});i(62953);function o(t,e=p){const i=s(t,e);return i&&(i.tabIndex=0,i.focus()),i}function r(t,e=p){const i=l(t,e);return i&&(i.tabIndex=0,i.focus()),i}function a(t,e=p){const i=n(t,e);return i&&(i.item.tabIndex=-1),i}function n(t,e=p){for(let i=0;i<t.length;i++){const o=t[i];if(0===o.tabIndex&&e(o))return{item:o,index:i}}return null}function s(t,e=p){for(const i of t)if(e(i))return i;return null}function l(t,e=p){for(let i=t.length-1;i>=0;i--){const o=t[i];if(e(o))return o}return null}function d(t,e,i=p,r=!0){if(e){const o=function(t,e,i=p,o=!0){for(let r=1;r<t.length;r++){const a=(r+e)%t.length;if(a<e&&!o)return null;const n=t[a];if(i(n))return n}return t[e]?t[e]:null}(t,e.index,i,r);return o&&(o.tabIndex=0,o.focus()),o}return o(t,i)}function c(t,e,i=p,o=!0){if(e){const r=function(t,e,i=p,o=!0){for(let r=1;r<t.length;r++){const a=(e-r+t.length)%t.length;if(a>e&&!o)return null;const n=t[a];if(i(n))return n}return t[e]?t[e]:null}(t,e.index,i,o);return r&&(r.tabIndex=0,r.focus()),r}return r(t,i)}function h(){return new Event("deactivate-items",{bubbles:!0,composed:!0})}function u(){return new Event("request-activation",{bubbles:!0,composed:!0})}function p(t){return!t.disabled}},82553:function(t,e,i){i.d(e,{R:function(){return r}});let o;const r=(0,i(5124).AH)(o||(o=(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))}@media(forced-colors:active){.disabled slot{color:GrayText}.list-item.disabled{color:GrayText;opacity:1}}`))},58168:function(t,e,i){i.d(e,{n:function(){return M}});i(62953);var o=i(40445),r=(i(75275),i(67576)),a=(i(27495),i(5124));let n,s=t=>t;class l extends a.WF{render(){return(0,a.qy)(n||(n=s` <slot name="container"></slot> <slot class="non-text" name="start"></slot> <div class="text"> <slot name="overline" @slotchange="${0}"></slot> <slot class="default-slot" @slotchange="${0}"></slot> <slot name="headline" @slotchange="${0}"></slot> <slot name="supporting-text" @slotchange="${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 i of this.textSlots)if(d(i)&&(e+=1),e>1){t=!0;break}this.multiline=t}constructor(){super(...arguments),this.multiline=!1}}function d(t){for(const i of t.assignedNodes({flatten:!0})){var e;const t=i.nodeType===Node.ELEMENT_NODE,o=i.nodeType===Node.TEXT_NODE&&(null===(e=i.textContent)||void 0===e?void 0:e.match(/\S/));if(t||o)return!0}return!1}(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],l.prototype,"multiline",void 0),(0,o.Cg)([(0,r.YG)(".text slot")],l.prototype,"textSlots",void 0);let c;const h=(0,a.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 u=class extends l{};u.styles=[h],u=(0,o.Cg)([(0,r.EM)("md-item")],u);i(71970);var p=i(6412),f=i(7872),m=i(1024),v=i(27525);let b,g,y,w,x,k,C,E,$=t=>t;const A=(0,m.n)(a.WF);class M extends A{get isDisabled(){return this.disabled&&"link"!==this.type}willUpdate(t){this.href&&(this.type="link"),super.willUpdate(t)}render(){return this.renderListItem((0,a.qy)(b||(b=$` <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 i;switch(this.type){case"link":i=(0,f.eu)(g||(g=$`a`));break;case"button":i=(0,f.eu)(y||(y=$`button`));break;default:i=(0,f.eu)(w||(w=$`li`))}const o="text"!==this.type,r=e&&this.target?this.target:a.s6;return(0,f.qy)(x||(x=$`
<${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}
@focus=${0}
>${0}</${0}>
`),i,this.isDisabled||!o?-1:0,this.isDisabled,this.ariaSelected||a.s6,this.ariaChecked||a.s6,this.ariaExpanded||a.s6,this.ariaHasPopup||a.s6,(0,p.H)(this.getRenderClasses()),this.href||a.s6,r,this.onFocus,t,i)}renderRipple(){return"text"===this.type?a.s6:(0,a.qy)(k||(k=$` <md-ripple part="ripple" for="item" ?disabled="${0}"></md-ripple>`),this.isDisabled)}renderFocusRing(){return"text"===this.type?a.s6:(0,a.qy)(C||(C=$` <md-focus-ring @visibility-changed="${0}" part="focus-ring" for="item" inward></md-focus-ring>`),this.onFocusRingVisibilityChanged)}onFocusRingVisibilityChanged(t){}getRenderClasses(){return{disabled:this.isDisabled}}renderBody(){return(0,a.qy)(E||(E=$` <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=""}}M.shadowRootOptions=Object.assign(Object.assign({},a.WF.shadowRootOptions),{},{delegatesFocus:!0}),(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],M.prototype,"disabled",void 0),(0,o.Cg)([(0,r.MZ)({reflect:!0})],M.prototype,"type",void 0),(0,o.Cg)([(0,r.MZ)({type:Boolean,attribute:"md-list-item",reflect:!0})],M.prototype,"isListItem",void 0),(0,o.Cg)([(0,r.MZ)()],M.prototype,"href",void 0),(0,o.Cg)([(0,r.MZ)()],M.prototype,"target",void 0),(0,o.Cg)([(0,r.P)(".list-item")],M.prototype,"listItemRoot",void 0)},71970:function(t,e,i){var o=i(40445),r=i(67576),a=i(91382),n=i(96245);let s=class extends a.n{};s.styles=[n.R],s=(0,o.Cg)([(0,r.EM)("md-ripple")],s)},34514:function(t,e,i){i.d(e,{V:function(){return n}});i(16280),i(62953);var o=i(5055),r=i(42017),a=i(63937);const n=(0,r.u$)(class extends r.WL{render(t){return t}update(t,[e]){if(e===o.c0||e===o.s6)return e;const i=t.element,n=t.name;if(t.type===r.OA.PROPERTY){if(e===i[n])return o.c0}else if(t.type===r.OA.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(n))return o.c0}else if(t.type===r.OA.ATTRIBUTE&&i.getAttribute(n)===e+"")return o.c0;return(0,a.mY)(t),e}constructor(t){if(super(t),t.type!==r.OA.PROPERTY&&t.type!==r.OA.ATTRIBUTE&&t.type!==r.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,a.Rt)(t))throw Error("`live` bindings can only contain a single expression")}})},89784:function(t,e,i){i.d(e,{W:function(){return s}});i(16280),i(74423),i(72712),i(18111),i(18237),i(27495),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(25440),i(62953);var o=i(5055),r=i(42017);const a="important",n=" !"+a,s=(0,r.u$)(class extends r.WL{render(t){return Object.keys(t).reduce((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const o of this.ft)null==e[o]&&(this.ft.delete(o),o.includes("-")?i.removeProperty(o):i[o]=null);for(const o in e){const t=e[o];if(null!=t){this.ft.add(o);const e="string"==typeof t&&t.endsWith(n);o.includes("-")||e?i.setProperty(o,e?t.slice(0,-11):t,e?a:""):i[o]=t}}return o.c0}constructor(t){var e;if(super(t),t.type!==r.OA.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}})}}]);