@momentum-design/components 0.51.0 → 0.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var Sl=Object.defineProperty;var _l=Object.getOwnPropertyDescriptor;var l=(i,t,e,r)=>{for(var o=r>1?void 0:r?_l(t,e):t,s=i.length-1,a;s>=0;s--)(a=i[s])&&(o=(r?a(t,e,o):a(o))||o);return r&&o&&Sl(t,e,o),o};var Hr=globalThis,Br=Hr.ShadowRoot&&(Hr.ShadyCSS===void 0||Hr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qo=Symbol(),gs=new WeakMap,lr=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==qo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Br&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=gs.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&gs.set(e,t))}return t}toString(){return this.cssText}},vs=i=>new lr(typeof i=="string"?i:i+"",void 0,qo),f=(i,...t)=>{let e=i.length===1?i[0]:t.reduce((r,o,s)=>r+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+i[s+1],i[0]);return new lr(e,i,qo)},Xo=(i,t)=>{if(Br)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),o=Hr.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=e.cssText,i.appendChild(r)}},Gr=Br?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return vs(e)})(i):i;var{is:Il,defineProperty:kl,getOwnPropertyDescriptor:wl,getOwnPropertyNames:Cl,getOwnPropertySymbols:Ll,getPrototypeOf:Nl}=Object,We=globalThis,ys=We.trustedTypes,Rl=ys?ys.emptyScript:"",Zo=We.reactiveElementPolyfillSupport,cr=(i,t)=>i,dr={toAttribute(i,t){switch(t){case Boolean:i=i?Rl:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},Yr=(i,t)=>!Il(i,t),xs={attribute:!0,type:String,converter:dr,reflect:!1,hasChanged:Yr},Es,Ts;(Es=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Ts=We.litPropertyMetadata)!=null||(We.litPropertyMetadata=new WeakMap);var Ce=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xs){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(t,r,e);o!==void 0&&kl(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){var a;let{get:o,set:s}=(a=wl(this.prototype,t))!=null?a:{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){let d=o==null?void 0:o.call(this);s.call(this,n),this.requestUpdate(t,d,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:xs}static _$Ei(){if(this.hasOwnProperty(cr("elementProperties")))return;let t=Nl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(cr("properties"))){let e=this.properties,r=[...Cl(e),...Ll(e)];for(let o of r)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,o]of e)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let o=this._$Eu(e,r);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let o of r)e.unshift(Gr(o))}else t!==void 0&&e.push(Gr(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,r;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Xo(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(r=>{var o;return(o=r.hostConnected)==null?void 0:o.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var r;return(r=e.hostDisconnected)==null?void 0:r.call(e)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){var s;let r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(o!==void 0&&r.reflect===!0){let a=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:dr).toAttribute(e,r.type);this._$Em=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$Em=null}}_$AK(t,e){var s;let r=this.constructor,o=r._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let a=r.getPropertyOptions(o),n=typeof a.converter=="function"?{fromAttribute:a.converter}:((s=a.converter)==null?void 0:s.fromAttribute)!==void 0?a.converter:dr;this._$Em=o,this[o]=n.fromAttribute(e,a.type),this._$Em=null}}requestUpdate(t,e,r){var o;if(t!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(t)),!((o=r.hasChanged)!=null?o:Yr)(this[t],e))return;this.P(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,r){var o;this._$AL.has(t)||this._$AL.set(t,e),r.reflect===!0&&this._$Em!==t&&((o=this._$Ej)!=null?o:this._$Ej=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.P(a,this[a],n)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(r=>{var o;return(o=r.hostUpdated)==null?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}},As;Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[cr("elementProperties")]=new Map,Ce[cr("finalized")]=new Map,Zo==null||Zo({ReactiveElement:Ce}),((As=We.reactiveElementVersions)!=null?As:We.reactiveElementVersions=[]).push("2.0.4");var pr=globalThis,Wr=pr.trustedTypes,Ss=Wr?Wr.createPolicy("lit-html",{createHTML:i=>i}):void 0,Qo="$lit$",Le=`lit$${Math.random().toFixed(9).slice(2)}$`,Jo="?"+Le,Ol=`<${Jo}>`,st=document,hr=()=>st.createComment(""),ur=i=>i===null||typeof i!="object"&&typeof i!="function",ei=Array.isArray,Ns=i=>ei(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",jo=`[
1
+ "use strict";(()=>{var Sl=Object.defineProperty;var _l=Object.getOwnPropertyDescriptor;var l=(i,t,e,r)=>{for(var o=r>1?void 0:r?_l(t,e):t,s=i.length-1,a;s>=0;s--)(a=i[s])&&(o=(r?a(t,e,o):a(o))||o);return r&&o&&Sl(t,e,o),o};var Hr=globalThis,Br=Hr.ShadowRoot&&(Hr.ShadyCSS===void 0||Hr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qo=Symbol(),gs=new WeakMap,lr=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==qo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Br&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=gs.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&gs.set(e,t))}return t}toString(){return this.cssText}},vs=i=>new lr(typeof i=="string"?i:i+"",void 0,qo),f=(i,...t)=>{let e=i.length===1?i[0]:t.reduce((r,o,s)=>r+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+i[s+1],i[0]);return new lr(e,i,qo)},Xo=(i,t)=>{if(Br)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),o=Hr.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=e.cssText,i.appendChild(r)}},Gr=Br?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return vs(e)})(i):i;var{is:Il,defineProperty:kl,getOwnPropertyDescriptor:Cl,getOwnPropertyNames:wl,getOwnPropertySymbols:Ll,getPrototypeOf:Nl}=Object,We=globalThis,ys=We.trustedTypes,Rl=ys?ys.emptyScript:"",Zo=We.reactiveElementPolyfillSupport,cr=(i,t)=>i,dr={toAttribute(i,t){switch(t){case Boolean:i=i?Rl:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},Yr=(i,t)=>!Il(i,t),xs={attribute:!0,type:String,converter:dr,reflect:!1,hasChanged:Yr},Es,Ts;(Es=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Ts=We.litPropertyMetadata)!=null||(We.litPropertyMetadata=new WeakMap);var we=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xs){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(t,r,e);o!==void 0&&kl(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){var a;let{get:o,set:s}=(a=Cl(this.prototype,t))!=null?a:{get(){return this[e]},set(n){this[e]=n}};return{get(){return o==null?void 0:o.call(this)},set(n){let d=o==null?void 0:o.call(this);s.call(this,n),this.requestUpdate(t,d,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:xs}static _$Ei(){if(this.hasOwnProperty(cr("elementProperties")))return;let t=Nl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(cr("properties"))){let e=this.properties,r=[...wl(e),...Ll(e)];for(let o of r)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,o]of e)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let o=this._$Eu(e,r);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let o of r)e.unshift(Gr(o))}else t!==void 0&&e.push(Gr(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,r;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)==null||r.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Xo(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(r=>{var o;return(o=r.hostConnected)==null?void 0:o.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var r;return(r=e.hostDisconnected)==null?void 0:r.call(e)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){var s;let r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(o!==void 0&&r.reflect===!0){let a=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:dr).toAttribute(e,r.type);this._$Em=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$Em=null}}_$AK(t,e){var s;let r=this.constructor,o=r._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let a=r.getPropertyOptions(o),n=typeof a.converter=="function"?{fromAttribute:a.converter}:((s=a.converter)==null?void 0:s.fromAttribute)!==void 0?a.converter:dr;this._$Em=o,this[o]=n.fromAttribute(e,a.type),this._$Em=null}}requestUpdate(t,e,r){var o;if(t!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(t)),!((o=r.hasChanged)!=null?o:Yr)(this[t],e))return;this.P(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,r){var o;this._$AL.has(t)||this._$AL.set(t,e),r.reflect===!0&&this._$Em!==t&&((o=this._$Ej)!=null?o:this._$Ej=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.P(a,this[a],n)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(r=>{var o;return(o=r.hostUpdated)==null?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}},As;we.elementStyles=[],we.shadowRootOptions={mode:"open"},we[cr("elementProperties")]=new Map,we[cr("finalized")]=new Map,Zo==null||Zo({ReactiveElement:we}),((As=We.reactiveElementVersions)!=null?As:We.reactiveElementVersions=[]).push("2.0.4");var pr=globalThis,Wr=pr.trustedTypes,Ss=Wr?Wr.createPolicy("lit-html",{createHTML:i=>i}):void 0,Qo="$lit$",Le=`lit$${Math.random().toFixed(9).slice(2)}$`,Jo="?"+Le,Ol=`<${Jo}>`,st=document,hr=()=>st.createComment(""),ur=i=>i===null||typeof i!="object"&&typeof i!="function",ei=Array.isArray,Ns=i=>ei(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",jo=`[
2
2
  \f\r]`,mr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_s=/-->/g,Is=/>/g,ot=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ks=/'/g,ws=/"/g,Rs=/^(?:script|style|textarea|title)$/i,ti=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),p=ti(1),em=ti(2),tm=ti(3),Ne=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),Cs=new WeakMap,it=st.createTreeWalker(st,129);function Os(i,t){if(!ei(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ss!==void 0?Ss.createHTML(t):t}var Ms=(i,t)=>{let e=i.length-1,r=[],o,s=t===2?"<svg>":t===3?"<math>":"",a=mr;for(let n=0;n<e;n++){let d=i[n],m,h,u=-1,x=0;for(;x<d.length&&(a.lastIndex=x,h=a.exec(d),h!==null);)x=a.lastIndex,a===mr?h[1]==="!--"?a=_s:h[1]!==void 0?a=Is:h[2]!==void 0?(Rs.test(h[2])&&(o=RegExp("</"+h[2],"g")),a=ot):h[3]!==void 0&&(a=ot):a===ot?h[0]===">"?(a=o!=null?o:mr,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,m=h[1],a=h[3]===void 0?ot:h[3]==='"'?ws:ks):a===ws||a===ks?a=ot:a===_s||a===Is?a=mr:(a=ot,o=void 0);let g=a===ot&&i[n+1].startsWith("/>")?" ":"";s+=a===mr?d+Ol:u>=0?(r.push(m),d.slice(0,u)+Qo+d.slice(u)+Le+g):d+Le+(u===-2?n:g)}return[Os(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},fr=class i{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let s=0,a=0,n=t.length-1,d=this.parts,[m,h]=Ms(t,e);if(this.el=i.createElement(m,r),it.currentNode=this.el.content,e===2||e===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=it.nextNode())!==null&&d.length<n;){if(o.nodeType===1){if(o.hasAttributes())for(let u of o.getAttributeNames())if(u.endsWith(Qo)){let x=h[a++],g=o.getAttribute(u).split(Le),E=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:E[2],strings:g,ctor:E[1]==="."?Xr:E[1]==="?"?Zr:E[1]==="@"?jr:nt}),o.removeAttribute(u)}else u.startsWith(Le)&&(d.push({type:6,index:s}),o.removeAttribute(u));if(Rs.test(o.tagName)){let u=o.textContent.split(Le),x=u.length-1;if(x>0){o.textContent=Wr?Wr.emptyScript:"";for(let g=0;g<x;g++)o.append(u[g],hr()),it.nextNode(),d.push({type:2,index:++s});o.append(u[x],hr())}}}else if(o.nodeType===8)if(o.data===Jo)d.push({type:2,index:s});else{let u=-1;for(;(u=o.data.indexOf(Le,u+1))!==-1;)d.push({type:7,index:s}),u+=Le.length-1}s++}}static createElement(t,e){let r=st.createElement("template");return r.innerHTML=t,r}};function at(i,t,e=i,r){var a,n,d;if(t===Ne)return t;let o=r!==void 0?(a=e.o)==null?void 0:a[r]:e.l,s=ur(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==s&&((n=o==null?void 0:o._$AO)==null||n.call(o,!1),s===void 0?o=void 0:(o=new s(i),o._$AT(i,e,r)),r!==void 0?((d=e.o)!=null?d:e.o=[])[r]=o:e.l=o),o!==void 0&&(t=at(i,o._$AS(i,t.values),o,r)),t}var qr=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var m;let{el:{content:e},parts:r}=this._$AD,o=((m=t==null?void 0:t.creationScope)!=null?m:st).importNode(e,!0);it.currentNode=o;let s=it.nextNode(),a=0,n=0,d=r[0];for(;d!==void 0;){if(a===d.index){let h;d.type===2?h=new Rt(s,s.nextSibling,this,t):d.type===1?h=new d.ctor(s,d.name,d.strings,this,t):d.type===6&&(h=new Kr(s,this,t)),this._$AV.push(h),d=r[++n]}a!==(d==null?void 0:d.index)&&(s=it.nextNode(),a++)}return it.currentNode=st,o}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},Rt=class i{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,r,o){var s;this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this.v=(s=o==null?void 0:o.isConnected)!=null?s:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),ur(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==Ne&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ns(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==v&&ur(this._$AH)?this._$AA.nextSibling.data=t:this.T(st.createTextNode(t)),this._$AH=t}$(t){var s;let{values:e,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=fr.createElement(Os(r.h,r.h[0]),this.options)),r);if(((s=this._$AH)==null?void 0:s._$AD)===o)this._$AH.p(e);else{let a=new qr(o,this),n=a.u(this.options);a.p(e),this.T(n),this._$AH=a}}_$AC(t){let e=Cs.get(t.strings);return e===void 0&&Cs.set(t.strings,e=new fr(t)),e}k(t){ei(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,o=0;for(let s of t)o===e.length?e.push(r=new i(this.O(hr()),this.O(hr()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=v}_$AI(t,e=this,r,o){let s=this.strings,a=!1;if(s===void 0)t=at(this,t,e,0),a=!ur(t)||t!==this._$AH&&t!==Ne,a&&(this._$AH=t);else{let n=t,d,m;for(t=s[0],d=0;d<s.length-1;d++)m=at(this,n[r+d],e,d),m===Ne&&(m=this._$AH[d]),a||(a=!ur(m)||m!==this._$AH[d]),m===v?t=v:t!==v&&(t+=(m!=null?m:"")+s[d+1]),this._$AH[d]=m}a&&!o&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},Xr=class extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}},Zr=class extends nt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==v)}},jr=class extends nt{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){var a;if((t=(a=at(this,t,e,0))!=null?a:v)===Ne)return;let r=this._$AH,o=t===v&&r!==v||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==v&&(r===v||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;typeof this._$AH=="function"?this._$AH.call((r=(e=this.options)==null?void 0:e.host)!=null?r:this.element,t):this._$AH.handleEvent(t)}},Kr=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}},Ds={M:Qo,P:Le,A:Jo,C:1,L:Ms,R:qr,D:Ns,V:at,I:Rt,H:nt,N:Zr,U:jr,B:Xr,F:Kr},Ko=pr.litHtmlPolyfillSupport,Ls;Ko==null||Ko(fr,Rt),((Ls=pr.litHtmlVersions)!=null?Ls:pr.litHtmlVersions=[]).push("3.2.0");var $s=(i,t,e)=>{var s,a;let r=(s=e==null?void 0:e.renderBefore)!=null?s:t,o=r._$litPart$;if(o===void 0){let n=(a=e==null?void 0:e.renderBefore)!=null?a:null;r._$litPart$=o=new Rt(t.insertBefore(hr(),n),n,void 0,e!=null?e:{})}return o._$AI(i),o};var qe=class extends Ce{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,r;let t=super.createRenderRoot();return(r=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=$s(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return Ne}},zs;qe._$litElement$=!0,qe.finalized=!0,(zs=globalThis.litElementHydrateSupport)==null||zs.call(globalThis,{LitElement:qe});var ri=globalThis.litElementPolyfillSupport;ri==null||ri({LitElement:qe});var Ps;((Ps=globalThis.litElementVersions)!=null?Ps:globalThis.litElementVersions=[]).push("4.1.0");var Ml={attribute:!0,type:String,converter:dr,reflect:!1,hasChanged:Yr},Dl=(i=Ml,t,e)=>{let{kind:r,metadata:o}=e,s=globalThis.litPropertyMetadata.get(o);if(s===void 0&&globalThis.litPropertyMetadata.set(o,s=new Map),s.set(e.name,i),r==="accessor"){let{name:a}=e;return{set(n){let d=t.get.call(this);t.set.call(this,n),this.requestUpdate(a,d,i)},init(n){return n!==void 0&&this.P(a,void 0,i),n}}}if(r==="setter"){let{name:a}=e;return function(n){let d=this[a];t.call(this,n),this.requestUpdate(a,d,i)}}throw Error("Unsupported decorator location: "+r)};function c(i){return(t,e)=>typeof e=="object"?Dl(i,t,e):((r,o,s)=>{let a=o.hasOwnProperty(s);return o.constructor.createProperty(s,a?{...r,wrapped:!0}:r),a?Object.getOwnPropertyDescriptor(o,s):void 0})(i,t,e)}function $(i){return c({...i,state:!0,attribute:!1})}var Re=(i,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(i,t,e),e);function Ot(i,t){return(e,r,o)=>{let s=a=>{var n,d;return(d=(n=a.renderRoot)==null?void 0:n.querySelector(i))!=null?d:null};if(t){let{get:a,set:n}=typeof r=="object"?e:o!=null?o:(()=>{let d=Symbol();return{get(){return this[d]},set(m){this[d]=m}}})();return Re(e,r,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&n.call(this,d)),d}})}return Re(e,r,{get(){return s(this)}})}}function ue(i){return(t,e)=>{let{slot:r,selector:o}=i!=null?i:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Re(t,e,{get(){var d,m;let a=(d=this.renderRoot)==null?void 0:d.querySelector(s),n=(m=a==null?void 0:a.assignedElements(i))!=null?m:[];return o===void 0?n:n.filter(h=>h.matches(o))}})}}function Vs(i){return(t,e)=>{let{slot:r}=i!=null?i:{},o="slot"+(r?`[name=${r}]`:":not([name])");return Re(t,e,{get(){var a,n;let s=(a=this.renderRoot)==null?void 0:a.querySelector(o);return(n=s==null?void 0:s.assignedNodes(i))!=null?n:[]}})}}var C=f`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ks=/'/g,Cs=/"/g,Rs=/^(?:script|style|textarea|title)$/i,ti=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),p=ti(1),em=ti(2),tm=ti(3),Ne=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),ws=new WeakMap,it=st.createTreeWalker(st,129);function Os(i,t){if(!ei(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ss!==void 0?Ss.createHTML(t):t}var Ms=(i,t)=>{let e=i.length-1,r=[],o,s=t===2?"<svg>":t===3?"<math>":"",a=mr;for(let n=0;n<e;n++){let d=i[n],m,h,u=-1,x=0;for(;x<d.length&&(a.lastIndex=x,h=a.exec(d),h!==null);)x=a.lastIndex,a===mr?h[1]==="!--"?a=_s:h[1]!==void 0?a=Is:h[2]!==void 0?(Rs.test(h[2])&&(o=RegExp("</"+h[2],"g")),a=ot):h[3]!==void 0&&(a=ot):a===ot?h[0]===">"?(a=o!=null?o:mr,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,m=h[1],a=h[3]===void 0?ot:h[3]==='"'?Cs:ks):a===Cs||a===ks?a=ot:a===_s||a===Is?a=mr:(a=ot,o=void 0);let g=a===ot&&i[n+1].startsWith("/>")?" ":"";s+=a===mr?d+Ol:u>=0?(r.push(m),d.slice(0,u)+Qo+d.slice(u)+Le+g):d+Le+(u===-2?n:g)}return[Os(i,s+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},fr=class i{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let s=0,a=0,n=t.length-1,d=this.parts,[m,h]=Ms(t,e);if(this.el=i.createElement(m,r),it.currentNode=this.el.content,e===2||e===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=it.nextNode())!==null&&d.length<n;){if(o.nodeType===1){if(o.hasAttributes())for(let u of o.getAttributeNames())if(u.endsWith(Qo)){let x=h[a++],g=o.getAttribute(u).split(Le),E=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:E[2],strings:g,ctor:E[1]==="."?Xr:E[1]==="?"?Zr:E[1]==="@"?jr:nt}),o.removeAttribute(u)}else u.startsWith(Le)&&(d.push({type:6,index:s}),o.removeAttribute(u));if(Rs.test(o.tagName)){let u=o.textContent.split(Le),x=u.length-1;if(x>0){o.textContent=Wr?Wr.emptyScript:"";for(let g=0;g<x;g++)o.append(u[g],hr()),it.nextNode(),d.push({type:2,index:++s});o.append(u[x],hr())}}}else if(o.nodeType===8)if(o.data===Jo)d.push({type:2,index:s});else{let u=-1;for(;(u=o.data.indexOf(Le,u+1))!==-1;)d.push({type:7,index:s}),u+=Le.length-1}s++}}static createElement(t,e){let r=st.createElement("template");return r.innerHTML=t,r}};function at(i,t,e=i,r){var a,n,d;if(t===Ne)return t;let o=r!==void 0?(a=e.o)==null?void 0:a[r]:e.l,s=ur(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==s&&((n=o==null?void 0:o._$AO)==null||n.call(o,!1),s===void 0?o=void 0:(o=new s(i),o._$AT(i,e,r)),r!==void 0?((d=e.o)!=null?d:e.o=[])[r]=o:e.l=o),o!==void 0&&(t=at(i,o._$AS(i,t.values),o,r)),t}var qr=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var m;let{el:{content:e},parts:r}=this._$AD,o=((m=t==null?void 0:t.creationScope)!=null?m:st).importNode(e,!0);it.currentNode=o;let s=it.nextNode(),a=0,n=0,d=r[0];for(;d!==void 0;){if(a===d.index){let h;d.type===2?h=new Rt(s,s.nextSibling,this,t):d.type===1?h=new d.ctor(s,d.name,d.strings,this,t):d.type===6&&(h=new Kr(s,this,t)),this._$AV.push(h),d=r[++n]}a!==(d==null?void 0:d.index)&&(s=it.nextNode(),a++)}return it.currentNode=st,o}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},Rt=class i{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,r,o){var s;this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this.v=(s=o==null?void 0:o.isConnected)!=null?s:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),ur(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==Ne&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ns(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==v&&ur(this._$AH)?this._$AA.nextSibling.data=t:this.T(st.createTextNode(t)),this._$AH=t}$(t){var s;let{values:e,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=fr.createElement(Os(r.h,r.h[0]),this.options)),r);if(((s=this._$AH)==null?void 0:s._$AD)===o)this._$AH.p(e);else{let a=new qr(o,this),n=a.u(this.options);a.p(e),this.T(n),this._$AH=a}}_$AC(t){let e=ws.get(t.strings);return e===void 0&&ws.set(t.strings,e=new fr(t)),e}k(t){ei(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,o=0;for(let s of t)o===e.length?e.push(r=new i(this.O(hr()),this.O(hr()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=v}_$AI(t,e=this,r,o){let s=this.strings,a=!1;if(s===void 0)t=at(this,t,e,0),a=!ur(t)||t!==this._$AH&&t!==Ne,a&&(this._$AH=t);else{let n=t,d,m;for(t=s[0],d=0;d<s.length-1;d++)m=at(this,n[r+d],e,d),m===Ne&&(m=this._$AH[d]),a||(a=!ur(m)||m!==this._$AH[d]),m===v?t=v:t!==v&&(t+=(m!=null?m:"")+s[d+1]),this._$AH[d]=m}a&&!o&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},Xr=class extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}},Zr=class extends nt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==v)}},jr=class extends nt{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){var a;if((t=(a=at(this,t,e,0))!=null?a:v)===Ne)return;let r=this._$AH,o=t===v&&r!==v||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==v&&(r===v||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;typeof this._$AH=="function"?this._$AH.call((r=(e=this.options)==null?void 0:e.host)!=null?r:this.element,t):this._$AH.handleEvent(t)}},Kr=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}},Ds={M:Qo,P:Le,A:Jo,C:1,L:Ms,R:qr,D:Ns,V:at,I:Rt,H:nt,N:Zr,U:jr,B:Xr,F:Kr},Ko=pr.litHtmlPolyfillSupport,Ls;Ko==null||Ko(fr,Rt),((Ls=pr.litHtmlVersions)!=null?Ls:pr.litHtmlVersions=[]).push("3.2.0");var $s=(i,t,e)=>{var s,a;let r=(s=e==null?void 0:e.renderBefore)!=null?s:t,o=r._$litPart$;if(o===void 0){let n=(a=e==null?void 0:e.renderBefore)!=null?a:null;r._$litPart$=o=new Rt(t.insertBefore(hr(),n),n,void 0,e!=null?e:{})}return o._$AI(i),o};var qe=class extends we{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,r;let t=super.createRenderRoot();return(r=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=$s(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return Ne}},zs;qe._$litElement$=!0,qe.finalized=!0,(zs=globalThis.litElementHydrateSupport)==null||zs.call(globalThis,{LitElement:qe});var ri=globalThis.litElementPolyfillSupport;ri==null||ri({LitElement:qe});var Ps;((Ps=globalThis.litElementVersions)!=null?Ps:globalThis.litElementVersions=[]).push("4.1.0");var Ml={attribute:!0,type:String,converter:dr,reflect:!1,hasChanged:Yr},Dl=(i=Ml,t,e)=>{let{kind:r,metadata:o}=e,s=globalThis.litPropertyMetadata.get(o);if(s===void 0&&globalThis.litPropertyMetadata.set(o,s=new Map),s.set(e.name,i),r==="accessor"){let{name:a}=e;return{set(n){let d=t.get.call(this);t.set.call(this,n),this.requestUpdate(a,d,i)},init(n){return n!==void 0&&this.P(a,void 0,i),n}}}if(r==="setter"){let{name:a}=e;return function(n){let d=this[a];t.call(this,n),this.requestUpdate(a,d,i)}}throw Error("Unsupported decorator location: "+r)};function c(i){return(t,e)=>typeof e=="object"?Dl(i,t,e):((r,o,s)=>{let a=o.hasOwnProperty(s);return o.constructor.createProperty(s,a?{...r,wrapped:!0}:r),a?Object.getOwnPropertyDescriptor(o,s):void 0})(i,t,e)}function $(i){return c({...i,state:!0,attribute:!1})}var Re=(i,t,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(i,t,e),e);function Ot(i,t){return(e,r,o)=>{let s=a=>{var n,d;return(d=(n=a.renderRoot)==null?void 0:n.querySelector(i))!=null?d:null};if(t){let{get:a,set:n}=typeof r=="object"?e:o!=null?o:(()=>{let d=Symbol();return{get(){return this[d]},set(m){this[d]=m}}})();return Re(e,r,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&n.call(this,d)),d}})}return Re(e,r,{get(){return s(this)}})}}function ue(i){return(t,e)=>{let{slot:r,selector:o}=i!=null?i:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Re(t,e,{get(){var d,m;let a=(d=this.renderRoot)==null?void 0:d.querySelector(s),n=(m=a==null?void 0:a.assignedElements(i))!=null?m:[];return o===void 0?n:n.filter(h=>h.matches(o))}})}}function Vs(i){return(t,e)=>{let{slot:r}=i!=null?i:{},o="slot"+(r?`[name=${r}]`:":not([name])");return Re(t,e,{get(){var a,n;let s=(a=this.renderRoot)==null?void 0:a.querySelector(o);return(n=s==null?void 0:s.assignedNodes(i))!=null?n:[]}})}}var w=f`
4
4
  :host {
5
5
  align-items: center;
6
6
  display: flex;
@@ -166,7 +166,7 @@
166
166
  :host([variant="informational"]:active){
167
167
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
168
168
  }
169
- `,Us=[C,$l,...R()];var Fs=f`
169
+ `,Us=[w,$l,...R()];var Fs=f`
170
170
  :host {
171
171
  box-sizing: border-box;
172
172
  }
@@ -180,7 +180,7 @@
180
180
  :host {
181
181
  display: contents;
182
182
  }
183
- `,Gs=zl;var eo=class extends y{constructor({context:t,initialValue:e}){super(),this.context=new Dt(this,{context:t,initialValue:e})}render(){return this.updateContext(),p`<slot></slot>`}};eo.styles=[...y.styles,Gs];var Ys=eo;var $t=Ys;var Pl={PREFIX:"mdc",SEPARATOR:"-"},Vl={NAMESPACE:Pl},ii=Vl;var Ul=i=>[ii.NAMESPACE.PREFIX,i].join(ii.NAMESPACE.SEPARATOR),b={constructTagName:Ul};var Hp=b.constructTagName("buttonsimple"),br={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},zt={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},to={SIZE:br[32],TYPE:zt.BUTTON,ROLE:"button"};var gr=b.constructTagName("text"),_={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},w={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},te={TYPE:_.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:w.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Ws=b.constructTagName("alertchip"),lt={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Pt={VARIANT:lt.NEUTRAL,TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:w.SPAN,SIZE:br[24],ROLE:"button"};var qs=i=>({[lt.ERROR]:"error-legacy-badge-filled",[lt.WARNING]:"warning-badge-filled",[lt.SUCCESS]:"check-circle-badge-filled",[lt.INFORMATIONAL]:"info-badge-filled",[lt.NEUTRAL]:"dnd-presence-badge-filled"})[i];var se=i=>{class t extends i{}return l([c({reflect:!0,type:Boolean})],t.prototype,"disabled",2),t};var ro=i=>{class t extends i{constructor(){super(...arguments);this.tabIndex=0}}return l([c({reflect:!0,type:Number})],t.prototype,"tabIndex",2),t};var Fl=[C,f`
183
+ `,Gs=zl;var eo=class extends y{constructor({context:t,initialValue:e}){super(),this.context=new Dt(this,{context:t,initialValue:e})}render(){return this.updateContext(),p`<slot></slot>`}};eo.styles=[...y.styles,Gs];var Ys=eo;var $t=Ys;var Pl={PREFIX:"mdc",SEPARATOR:"-"},Vl={NAMESPACE:Pl},ii=Vl;var Ul=i=>[ii.NAMESPACE.PREFIX,i].join(ii.NAMESPACE.SEPARATOR),b={constructTagName:Ul};var Hp=b.constructTagName("buttonsimple"),br={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},zt={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},to={SIZE:br[32],TYPE:zt.BUTTON,ROLE:"button"};var gr=b.constructTagName("text"),_={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},C={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},te={TYPE:_.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:C.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Ws=b.constructTagName("alertchip"),lt={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Pt={VARIANT:lt.NEUTRAL,TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:C.SPAN,SIZE:br[24],ROLE:"button"};var qs=i=>({[lt.ERROR]:"error-legacy-badge-filled",[lt.WARNING]:"warning-badge-filled",[lt.SUCCESS]:"check-circle-badge-filled",[lt.INFORMATIONAL]:"info-badge-filled",[lt.NEUTRAL]:"dnd-presence-badge-filled"})[i];var se=i=>{class t extends i{}return l([c({reflect:!0,type:Boolean})],t.prototype,"disabled",2),t};var ro=i=>{class t extends i{constructor(){super(...arguments);this.tabIndex=0}}return l([c({reflect:!0,type:Number})],t.prototype,"tabIndex",2),t};var Fl=[w,f`
184
184
  :host {
185
185
  border: 0.0625rem solid transparent;
186
186
  cursor: pointer;
@@ -491,7 +491,7 @@
491
491
  display: block;
492
492
  font-family: var(--mdc-text-font-family);
493
493
  }
494
- `,Zs],js=Hl;var Ut=class extends y{constructor(){super(...arguments);this.type=te.TYPE;this.tagname=te.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case w.H1:return p`<h1 part=${te.CSS_PART_TEXT}><slot></slot></h1>`;case w.H2:return p`<h2 part=${te.CSS_PART_TEXT}><slot></slot></h2>`;case w.H3:return p`<h3 part=${te.CSS_PART_TEXT}><slot></slot></h3>`;case w.H4:return p`<h4 part=${te.CSS_PART_TEXT}><slot></slot></h4>`;case w.H5:return p`<h5 part=${te.CSS_PART_TEXT}><slot></slot></h5>`;case w.H6:return p`<h6 part=${te.CSS_PART_TEXT}><slot></slot></h6>`;case w.DIV:return p`<div part=${te.CSS_PART_TEXT}><slot></slot></div>`;case w.SPAN:return p`<span part=${te.CSS_PART_TEXT}><slot></slot></span>`;case w.SMALL:return p`<small part=${te.CSS_PART_TEXT}><slot></slot></small>`;case w.P:default:return p`<p part=${te.CSS_PART_TEXT}><slot></slot></p>`}}};Ut.styles=[...y.styles,...js],l([c({attribute:"type",reflect:!0,type:String})],Ut.prototype,"type",2),l([c({attribute:"tagname",reflect:!0,type:String})],Ut.prototype,"tagname",2);var ai=Ut;ai.register(gr);var Bl=ai;var Gl=[C,f`
494
+ `,Zs],js=Hl;var Ut=class extends y{constructor(){super(...arguments);this.type=te.TYPE;this.tagname=te.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case C.H1:return p`<h1 part=${te.CSS_PART_TEXT}><slot></slot></h1>`;case C.H2:return p`<h2 part=${te.CSS_PART_TEXT}><slot></slot></h2>`;case C.H3:return p`<h3 part=${te.CSS_PART_TEXT}><slot></slot></h3>`;case C.H4:return p`<h4 part=${te.CSS_PART_TEXT}><slot></slot></h4>`;case C.H5:return p`<h5 part=${te.CSS_PART_TEXT}><slot></slot></h5>`;case C.H6:return p`<h6 part=${te.CSS_PART_TEXT}><slot></slot></h6>`;case C.DIV:return p`<div part=${te.CSS_PART_TEXT}><slot></slot></div>`;case C.SPAN:return p`<span part=${te.CSS_PART_TEXT}><slot></slot></span>`;case C.SMALL:return p`<small part=${te.CSS_PART_TEXT}><slot></slot></small>`;case C.P:default:return p`<p part=${te.CSS_PART_TEXT}><slot></slot></p>`}}};Ut.styles=[...y.styles,...js],l([c({attribute:"type",reflect:!0,type:String})],Ut.prototype,"type",2),l([c({attribute:"tagname",reflect:!0,type:String})],Ut.prototype,"tagname",2);var ai=Ut;ai.register(gr);var Bl=ai;var Gl=[w,f`
495
495
  :host {
496
496
  --mdc-icon-fill-color: currentColor;
497
497
  --mdc-icon-size: var(--computed-icon-size);
@@ -551,7 +551,7 @@
551
551
  <div part="trailing-section">
552
552
  <slot name="trailing"></slot>
553
553
  </div>
554
- </header>`}};ao.styles=[...y.styles,...na];var ci=ao;var la=b.constructTagName("appheader");ci.register(la);var Kl=ci;var A=i=>i!=null?i:v;var ca=b.constructTagName("avatar"),X={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},di=99,Ql="user-regular",M={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Ft={TYPE:X.PHOTO,SIZE:M[32],ICON_NAME:Ql};var no=i=>{class t extends i{constructor(){super(...arguments);this.size=Ft.SIZE;this.isTyping=!1}}return l([c({type:String})],t.prototype,"src",2),l([c({type:String})],t.prototype,"initials",2),l([c({type:String})],t.prototype,"presence",2),l([c({type:Number,reflect:!0,attribute:"size"})],t.prototype,"size",2),l([c({type:Number})],t.prototype,"counter",2),l([c({type:Boolean,attribute:"is-typing"})],t.prototype,"isTyping",2),t};var K=i=>{class t extends i{}return l([c({type:String,attribute:"icon-name"})],t.prototype,"iconName",2),t};var Jl=[C,f`
554
+ </header>`}};ao.styles=[...y.styles,...na];var ci=ao;var la=b.constructTagName("appheader");ci.register(la);var Kl=ci;var A=i=>i!=null?i:v;var ca=b.constructTagName("avatar"),X={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},di=99,Ql="user-regular",M={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Ft={TYPE:X.PHOTO,SIZE:M[32],ICON_NAME:Ql};var no=i=>{class t extends i{constructor(){super(...arguments);this.size=Ft.SIZE;this.isTyping=!1}}return l([c({type:String})],t.prototype,"src",2),l([c({type:String})],t.prototype,"initials",2),l([c({type:String})],t.prototype,"presence",2),l([c({type:Number,reflect:!0,attribute:"size"})],t.prototype,"size",2),l([c({type:Number})],t.prototype,"counter",2),l([c({type:Boolean,attribute:"is-typing"})],t.prototype,"isTyping",2),t};var K=i=>{class t extends i{}return l([c({type:String,attribute:"icon-name"})],t.prototype,"iconName",2),t};var Jl=[w,f`
555
555
  :host {
556
556
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
557
557
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -705,7 +705,7 @@
705
705
  ${this.getLoadingContent()}
706
706
  ${this.getPresenceTemplateBasedOnType(e)}
707
707
  </div>
708
- `}};xr.styles=[...y.styles,...da],l([$()],xr.prototype,"isPhotoLoaded",2);var mi=xr;var ec=[C,f`
708
+ `}};xr.styles=[...y.styles,...da],l([$()],xr.prototype,"isPhotoLoaded",2);var mi=xr;var ec=[w,f`
709
709
  :host {
710
710
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
711
711
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -809,7 +809,7 @@
809
809
  @error="${this.handleOnError}"
810
810
  ></mdc-icon>
811
811
  </div>
812
- `}};ct.styles=[...y.styles,...fa],l([c({type:String,reflect:!0})],ct.prototype,"type",2),l([c({type:String,reflect:!0})],ct.prototype,"size",2),l([$()],ct.prototype,"currentIconType",2);var pi=ct;pi.register(ma);var tc=pi;mi.register(ca);var rc=mi;var Er=b.constructTagName("button"),Ze={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Tr={40:40,32:32,28:28,24:24},Ae={64:64,52:52,20:20,...Tr},lo={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Bt={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Se={VARIANT:Ze.PRIMARY,SIZE:Tr[32],COLOR:lo.DEFAULT,TYPE_INTERNAL:Bt.ICON,TYPE:zt.BUTTON};var oc=[C,f`
812
+ `}};ct.styles=[...y.styles,...fa],l([c({type:String,reflect:!0})],ct.prototype,"type",2),l([c({type:String,reflect:!0})],ct.prototype,"size",2),l([$()],ct.prototype,"currentIconType",2);var pi=ct;pi.register(ma);var tc=pi;mi.register(ca);var rc=mi;var Er=b.constructTagName("button"),Ze={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Tr={40:40,32:32,28:28,24:24},Ae={64:64,52:52,20:20,...Tr},lo={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Bt={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Se={VARIANT:Ze.PRIMARY,SIZE:Tr[32],COLOR:lo.DEFAULT,TYPE_INTERNAL:Bt.ICON,TYPE:zt.BUTTON};var oc=[w,f`
813
813
  :host {
814
814
  padding: unset;
815
815
  margin: unset;
@@ -827,7 +827,7 @@
827
827
  size="${A(this.size)}"
828
828
  src="${A(this.src)}"
829
829
  ></mdc-avatar>
830
- `}};Ar.styles=[...ga],l([c({type:String,attribute:"aria-label"})],Ar.prototype,"ariaLabel",2);var hi=Ar;var va=b.constructTagName("avatarbutton");hi.register(va);var ic=hi;var co={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Sr=i=>(...t)=>({_$litDirective$:i,values:t}),Gt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this.t=t,this._$AM=e,this.i=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Yt=Sr(class extends Gt{constructor(i){var t;if(super(i),i.type!==co.ATTRIBUTE||i.name!=="class"||((t=i.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var r,o;if(this.st===void 0){this.st=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!((r=this.nt)!=null&&r.has(s))&&this.st.add(s);return this.render(t)}let e=i.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let a=!!t[s];a===this.st.has(s)||(o=this.nt)!=null&&o.has(s)||(a?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return Ne}});var ya=b.constructTagName("badge"),Me={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},mo={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},po={PRIMARY:"primary",SECONDARY:"secondary"},_r={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ab={...po,..._r},je={TYPE:Me.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:po.PRIMARY,ICON_SIZE:1};var sc=[C,f`
830
+ `}};Ar.styles=[...ga],l([c({type:String,attribute:"aria-label"})],Ar.prototype,"ariaLabel",2);var hi=Ar;var va=b.constructTagName("avatarbutton");hi.register(va);var ic=hi;var co={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Sr=i=>(...t)=>({_$litDirective$:i,values:t}),Gt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this.t=t,this._$AM=e,this.i=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Yt=Sr(class extends Gt{constructor(i){var t;if(super(i),i.type!==co.ATTRIBUTE||i.name!=="class"||((t=i.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var r,o;if(this.st===void 0){this.st=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!((r=this.nt)!=null&&r.has(s))&&this.st.add(s);return this.render(t)}let e=i.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let a=!!t[s];a===this.st.has(s)||(o=this.nt)!=null&&o.has(s)||(a?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return Ne}});var ya=b.constructTagName("badge"),Me={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},mo={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},po={PRIMARY:"primary",SECONDARY:"secondary"},_r={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ab={...po,..._r},je={TYPE:Me.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:po.PRIMARY,ICON_SIZE:1};var sc=[w,f`
831
831
  :host {
832
832
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
833
833
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -905,7 +905,7 @@
905
905
  `}getBadgeDot(){return p`<div class="mdc-badge-dot ${Yt({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return p`
906
906
  <mdc-text
907
907
  type="${_.BODY_SMALL_MEDIUM}"
908
- tagname="${w.DIV}"
908
+ tagname="${C.DIV}"
909
909
  class="mdc-badge-text ${Yt({"mdc-badge-overlay":this.overlay})}"
910
910
  >
911
911
  ${this.getCounterText(this.maxCounter,this.counter)}
@@ -1112,7 +1112,7 @@
1112
1112
  --mdc-button-secondary-hover-background-color: var(--mds-color-theme-button-secondary-hover);
1113
1113
  --mdc-button-secondary-pressed-background-color: var(--mds-color-theme-button-secondary-pressed);
1114
1114
  }
1115
- `,ka=[mc];var wa=i=>{switch(i){case Ae[64]:return 2;case Ae[52]:return 1.75;case Ae[40]:return 1.25;default:return 1}},kr=i=>{let t=i.split("-"),e=["bold","filled","regular","light"];return t.filter(r=>!e.includes(r)).join("-")};var ne=class extends ae{constructor(){super(...arguments);this.variant=Se.VARIANT;this.size=Se.SIZE;this.color=Se.COLOR;this.role="button";this.typeInternal=Se.TYPE_INTERNAL;this.iconSize=1}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}modifyIconName(e){e?(this.prefixIcon&&(this.prevPrefixIcon=this.prefixIcon,this.prefixIcon=`${kr(this.prefixIcon)}-filled`),this.postfixIcon&&(this.prevPostfixIcon=this.postfixIcon,this.postfixIcon=`${kr(this.postfixIcon)}-filled`)):(this.prevPrefixIcon&&(this.prefixIcon=this.prevPrefixIcon),this.prevPostfixIcon&&(this.postfixIcon=this.prevPostfixIcon))}setVariant(e){this.setAttribute("variant",Object.values(Ze).includes(e)?e:Se.VARIANT)}setSize(e){let o=this.typeInternal===Bt.ICON?Object.values(Ae).includes(e)&&!(e===Ae[20]&&this.variant!==Ze.TERTIARY):Object.values(Tr).includes(e);this.setAttribute("size",o?`${e}`:`${Se.SIZE}`),this.iconSize=wa(e)}setColor(e){!Object.values(lo).includes(e)||this.variant===Ze.TERTIARY?this.setAttribute("color",`${Se.COLOR}`):this.setAttribute("color",e)}inferButtonType(){var r,o;let e=(o=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"))==null?void 0:o.assignedNodes().filter(s=>{var a;return s.nodeType!==Node.TEXT_NODE||((a=s.textContent)==null?void 0:a.trim())}).length;e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Bt.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Bt.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Bt.PILL,this.setAttribute("data-btn-type","pill"))}render(){return p`
1115
+ `,ka=[mc];var Ca=i=>{switch(i){case Ae[64]:return 2;case Ae[52]:return 1.75;case Ae[40]:return 1.25;default:return 1}},kr=i=>{let t=i.split("-"),e=["bold","filled","regular","light"];return t.filter(r=>!e.includes(r)).join("-")};var ne=class extends ae{constructor(){super(...arguments);this.variant=Se.VARIANT;this.size=Se.SIZE;this.color=Se.COLOR;this.role="button";this.typeInternal=Se.TYPE_INTERNAL;this.iconSize=1}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}modifyIconName(e){e?(this.prefixIcon&&(this.prevPrefixIcon=this.prefixIcon,this.prefixIcon=`${kr(this.prefixIcon)}-filled`),this.postfixIcon&&(this.prevPostfixIcon=this.postfixIcon,this.postfixIcon=`${kr(this.postfixIcon)}-filled`)):(this.prevPrefixIcon&&(this.prefixIcon=this.prevPrefixIcon),this.prevPostfixIcon&&(this.postfixIcon=this.prevPostfixIcon))}setVariant(e){this.setAttribute("variant",Object.values(Ze).includes(e)?e:Se.VARIANT)}setSize(e){let o=this.typeInternal===Bt.ICON?Object.values(Ae).includes(e)&&!(e===Ae[20]&&this.variant!==Ze.TERTIARY):Object.values(Tr).includes(e);this.setAttribute("size",o?`${e}`:`${Se.SIZE}`),this.iconSize=Ca(e)}setColor(e){!Object.values(lo).includes(e)||this.variant===Ze.TERTIARY?this.setAttribute("color",`${Se.COLOR}`):this.setAttribute("color",e)}inferButtonType(){var r,o;let e=(o=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"))==null?void 0:o.assignedNodes().filter(s=>{var a;return s.nodeType!==Node.TEXT_NODE||((a=s.textContent)==null?void 0:a.trim())}).length;e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Bt.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!e&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Bt.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Bt.PILL,this.setAttribute("data-btn-type","pill"))}render(){return p`
1116
1116
  ${this.prefixIcon?p` <mdc-icon
1117
1117
  name="${this.prefixIcon}"
1118
1118
  part="prefix-icon"
@@ -1128,7 +1128,7 @@
1128
1128
  length-unit="rem"
1129
1129
  >
1130
1130
  </mdc-icon>`:""}
1131
- `}};ne.styles=[...ae.styles,...ka],l([c({type:String,attribute:"prefix-icon",reflect:!0})],ne.prototype,"prefixIcon",2),l([c({type:String,attribute:"postfix-icon",reflect:!0})],ne.prototype,"postfixIcon",2),l([c({type:String})],ne.prototype,"variant",2),l([c({type:Number})],ne.prototype,"size",2),l([c({type:String})],ne.prototype,"color",2),l([c({type:String,reflect:!0})],ne.prototype,"role",2),l([$()],ne.prototype,"typeInternal",2),l([$()],ne.prototype,"iconSize",2);var gi=ne;gi.register(Er);var pc=gi;var P=i=>{class t extends i{constructor(){super(...arguments);this.dataAriaLabel=null}}return l([c({type:String,reflect:!0,attribute:"data-aria-label"})],t.prototype,"dataAriaLabel",2),t};var G=[];for(let i=0;i<256;++i)G.push((i+256).toString(16).slice(1));function Ca(i,t=0){return(G[i[t+0]]+G[i[t+1]]+G[i[t+2]]+G[i[t+3]]+"-"+G[i[t+4]]+G[i[t+5]]+"-"+G[i[t+6]]+G[i[t+7]]+"-"+G[i[t+8]]+G[i[t+9]]+"-"+G[i[t+10]]+G[i[t+11]]+G[i[t+12]]+G[i[t+13]]+G[i[t+14]]+G[i[t+15]]).toLowerCase()}var vi,hc=new Uint8Array(16);function yi(){if(!vi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");vi=crypto.getRandomValues.bind(crypto)}return vi(hc)}var uc=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),xi={randomUUID:uc};function fc(i,t,e){var o,s,a;if(xi.randomUUID&&!t&&!i)return xi.randomUUID();i=i||{};let r=(a=(s=i.random)!=null?s:(o=i.rng)==null?void 0:o.call(i))!=null?a:yi();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(e=e||0,e<0||e+16>t.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let n=0;n<16;++n)t[e+n]=r[n];return t}return Ca(r)}var De=fc;var Q=i=>{class t extends i{constructor(...o){super(o);this.name="";this.value="";this.internals=this.attachInternals(),this.id=`mdc-input-${De()}`}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return t.formAssociated=!0,l([c({reflect:!0,type:String})],t.prototype,"name",2),l([c({reflect:!0,type:String})],t.prototype,"value",2),l([c({reflect:!0,type:String,attribute:"validation-message"})],t.prototype,"validationMessage",2),l([Ot("input")],t.prototype,"inputElement",2),t};var La=b.constructTagName("formfieldwrapper"),B={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},V={VALIDATION:B.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id"},dt={TAGNAME:w.SPAN,TYPE:_.BODY_MIDSIZE_REGULAR,HEADER_TYPE:_.BODY_MIDSIZE_BOLD};var bc=[C,f`
1131
+ `}};ne.styles=[...ae.styles,...ka],l([c({type:String,attribute:"prefix-icon",reflect:!0})],ne.prototype,"prefixIcon",2),l([c({type:String,attribute:"postfix-icon",reflect:!0})],ne.prototype,"postfixIcon",2),l([c({type:String})],ne.prototype,"variant",2),l([c({type:Number})],ne.prototype,"size",2),l([c({type:String})],ne.prototype,"color",2),l([c({type:String,reflect:!0})],ne.prototype,"role",2),l([$()],ne.prototype,"typeInternal",2),l([$()],ne.prototype,"iconSize",2);var gi=ne;gi.register(Er);var pc=gi;var P=i=>{class t extends i{constructor(){super(...arguments);this.dataAriaLabel=null}}return l([c({type:String,reflect:!0,attribute:"data-aria-label"})],t.prototype,"dataAriaLabel",2),t};var G=[];for(let i=0;i<256;++i)G.push((i+256).toString(16).slice(1));function wa(i,t=0){return(G[i[t+0]]+G[i[t+1]]+G[i[t+2]]+G[i[t+3]]+"-"+G[i[t+4]]+G[i[t+5]]+"-"+G[i[t+6]]+G[i[t+7]]+"-"+G[i[t+8]]+G[i[t+9]]+"-"+G[i[t+10]]+G[i[t+11]]+G[i[t+12]]+G[i[t+13]]+G[i[t+14]]+G[i[t+15]]).toLowerCase()}var vi,hc=new Uint8Array(16);function yi(){if(!vi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");vi=crypto.getRandomValues.bind(crypto)}return vi(hc)}var uc=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),xi={randomUUID:uc};function fc(i,t,e){var o,s,a;if(xi.randomUUID&&!t&&!i)return xi.randomUUID();i=i||{};let r=(a=(s=i.random)!=null?s:(o=i.rng)==null?void 0:o.call(i))!=null?a:yi();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(e=e||0,e<0||e+16>t.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let n=0;n<16;++n)t[e+n]=r[n];return t}return wa(r)}var De=fc;var Q=i=>{class t extends i{constructor(...o){super(o);this.name="";this.value="";this.internals=this.attachInternals(),this.id=`mdc-input-${De()}`}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return t.formAssociated=!0,l([c({reflect:!0,type:String})],t.prototype,"name",2),l([c({reflect:!0,type:String})],t.prototype,"value",2),l([c({reflect:!0,type:String,attribute:"validation-message"})],t.prototype,"validationMessage",2),l([Ot("input")],t.prototype,"inputElement",2),t};var La=b.constructTagName("formfieldwrapper"),B={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},V={VALIDATION:B.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id"},dt={TAGNAME:C.SPAN,TYPE:_.BODY_MIDSIZE_REGULAR,HEADER_TYPE:_.BODY_MIDSIZE_BOLD};var bc=[w,f`
1132
1132
  :host {
1133
1133
  flex-direction: column;
1134
1134
  align-items: flex-start;
@@ -1477,7 +1477,7 @@
1477
1477
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
1478
1478
  cursor: auto;
1479
1479
  }
1480
- `,Da=[C,yc,...R()];var $a=b.constructTagName("chip"),xc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},qt={COLOR:xc.DEFAULT,TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:w.SPAN,SIZE:br[24],ROLE:"button"};var Xt=class extends K(ae){constructor(){super(...arguments);this.color=qt.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=qt.ROLE,this.size=qt.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?p`
1480
+ `,Da=[w,yc,...R()];var $a=b.constructTagName("chip"),xc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},qt={COLOR:xc.DEFAULT,TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:C.SPAN,SIZE:br[24],ROLE:"button"};var Xt=class extends K(ae){constructor(){super(...arguments);this.color=qt.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=qt.ROLE,this.size=qt.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?p`
1481
1481
  <mdc-icon
1482
1482
  name="${this.iconName}"
1483
1483
  length-unit="rem"
@@ -1485,7 +1485,7 @@
1485
1485
  `:v}render(){return p`
1486
1486
  ${this.renderIcon()}
1487
1487
  <mdc-text type="${qt.TEXT_TYPE}" tagname="${qt.TAG_NAME}">${this.label}</mdc-text>
1488
- `}};Xt.styles=[...y.styles,...Da],l([c({type:String,reflect:!0})],Xt.prototype,"color",2),l([c({type:String})],Xt.prototype,"label",2);var Zt=Xt;Zt.register($a);var Ec=Zt;var Ie=Math.min,j=Math.max,Cr=Math.round,Lr=Math.floor,fe=i=>({x:i,y:i}),Tc={left:"right",right:"left",bottom:"top",top:"bottom"},Ac={start:"end",end:"start"};function uo(i,t,e){return j(i,Ie(t,e))}function pt(i,t){return typeof i=="function"?i(t):i}function ze(i){return i.split("-")[0]}function ht(i){return i.split("-")[1]}function Ai(i){return i==="x"?"y":"x"}function fo(i){return i==="y"?"height":"width"}function Ke(i){return["top","bottom"].includes(ze(i))?"y":"x"}function bo(i){return Ai(Ke(i))}function za(i,t,e){e===void 0&&(e=!1);let r=ht(i),o=bo(i),s=fo(o),a=o==="x"?r===(e?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=wr(a)),[a,wr(a)]}function Pa(i){let t=wr(i);return[ho(i),t,ho(t)]}function ho(i){return i.replace(/start|end/g,t=>Ac[t])}function Sc(i,t,e){let r=["left","right"],o=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(i){case"top":case"bottom":return e?t?o:r:t?r:o;case"left":case"right":return t?s:a;default:return[]}}function Va(i,t,e,r){let o=ht(i),s=Sc(ze(i),e==="start",r);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(ho)))),s}function wr(i){return i.replace(/left|right|bottom|top/g,t=>Tc[t])}function _c(i){return{top:0,right:0,bottom:0,left:0,...i}}function Si(i){return typeof i!="number"?_c(i):{top:i,right:i,bottom:i,left:i}}function ut(i){let{x:t,y:e,width:r,height:o}=i;return{width:r,height:o,top:e,left:t,right:t+r,bottom:e+o,x:t,y:e}}function Ua(i,t,e){let{reference:r,floating:o}=i,s=Ke(t),a=bo(t),n=fo(a),d=ze(t),m=s==="y",h=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,x=r[n]/2-o[n]/2,g;switch(d){case"top":g={x:h,y:r.y-o.height};break;case"bottom":g={x:h,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:u};break;case"left":g={x:r.x-o.width,y:u};break;default:g={x:r.x,y:r.y}}switch(ht(t)){case"start":g[a]-=x*(e&&m?-1:1);break;case"end":g[a]+=x*(e&&m?-1:1);break}return g}var Fa=async(i,t,e)=>{let{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=e,n=s.filter(Boolean),d=await(a.isRTL==null?void 0:a.isRTL(t)),m=await a.getElementRects({reference:i,floating:t,strategy:o}),{x:h,y:u}=Ua(m,r,d),x=r,g={},E=0;for(let T=0;T<n.length;T++){let{name:I,fn:S}=n[T],{x:k,y:N,data:F,reset:z}=await S({x:h,y:u,initialPlacement:r,placement:x,strategy:o,middlewareData:g,rects:m,platform:a,elements:{reference:i,floating:t}});h=k!=null?k:h,u=N!=null?N:u,g={...g,[I]:{...g[I],...F}},z&&E<=50&&(E++,typeof z=="object"&&(z.placement&&(x=z.placement),z.rects&&(m=z.rects===!0?await a.getElementRects({reference:i,floating:t,strategy:o}):z.rects),{x:h,y:u}=Ua(m,x,d)),T=-1)}return{x:h,y:u,placement:x,strategy:o,middlewareData:g}};async function go(i,t){var e;t===void 0&&(t={});let{x:r,y:o,platform:s,rects:a,elements:n,strategy:d}=i,{boundary:m="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:x=!1,padding:g=0}=pt(t,i),E=Si(g),I=n[x?u==="floating"?"reference":"floating":u],S=ut(await s.getClippingRect({element:(e=await(s.isElement==null?void 0:s.isElement(I)))==null||e?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(n.floating)),boundary:m,rootBoundary:h,strategy:d})),k=u==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n.floating)),F=await(s.isElement==null?void 0:s.isElement(N))?await(s.getScale==null?void 0:s.getScale(N))||{x:1,y:1}:{x:1,y:1},z=ut(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:k,offsetParent:N,strategy:d}):k);return{top:(S.top-z.top+E.top)/F.y,bottom:(z.bottom-S.bottom+E.bottom)/F.y,left:(S.left-z.left+E.left)/F.x,right:(z.right-S.right+E.right)/F.x}}var Ha=i=>({name:"arrow",options:i,async fn(t){let{x:e,y:r,placement:o,rects:s,platform:a,elements:n,middlewareData:d}=t,{element:m,padding:h=0}=pt(i,t)||{};if(m==null)return{};let u=Si(h),x={x:e,y:r},g=bo(o),E=fo(g),T=await a.getDimensions(m),I=g==="y",S=I?"top":"left",k=I?"bottom":"right",N=I?"clientHeight":"clientWidth",F=s.reference[E]+s.reference[g]-x[g]-s.floating[E],z=x[g]-s.reference[g],ie=await(a.getOffsetParent==null?void 0:a.getOffsetParent(m)),pe=ie?ie[N]:0;(!pe||!await(a.isElement==null?void 0:a.isElement(ie)))&&(pe=n.floating[N]||s.floating[E]);let ke=F/2-z/2,ve=pe/2-T[E]/2-1,he=Ie(u[S],ve),He=Ie(u[k],ve),ye=he,Be=pe-T[E]-He,q=pe/2-T[E]/2+ke,Nt=uo(ye,q,Be),we=!d.arrow&&ht(o)!=null&&q!==Nt&&s.reference[E]/2-(q<ye?he:He)-T[E]/2<0,xe=we?q<ye?q-ye:q-Be:0;return{[g]:x[g]+xe,data:{[g]:Nt,centerOffset:q-Nt-xe,...we&&{alignmentOffset:xe}},reset:we}}});var Ba=function(i){return i===void 0&&(i={}),{name:"flip",options:i,async fn(t){var e,r;let{placement:o,middlewareData:s,rects:a,initialPlacement:n,platform:d,elements:m}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:x,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:T=!0,...I}=pt(i,t);if((e=s.arrow)!=null&&e.alignmentOffset)return{};let S=ze(o),k=Ke(n),N=ze(n)===n,F=await(d.isRTL==null?void 0:d.isRTL(m.floating)),z=x||(N||!T?[wr(n)]:Pa(n)),ie=E!=="none";!x&&ie&&z.push(...Va(n,T,E,F));let pe=[n,...z],ke=await go(t,I),ve=[],he=((r=s.flip)==null?void 0:r.overflows)||[];if(h&&ve.push(ke[S]),u){let q=za(o,a,F);ve.push(ke[q[0]],ke[q[1]])}if(he=[...he,{placement:o,overflows:ve}],!ve.every(q=>q<=0)){var He,ye;let q=(((He=s.flip)==null?void 0:He.index)||0)+1,Nt=pe[q];if(Nt)return{data:{index:q,overflows:he},reset:{placement:Nt}};let we=(ye=he.filter(xe=>xe.overflows[0]<=0).sort((xe,Ge)=>xe.overflows[1]-Ge.overflows[1])[0])==null?void 0:ye.placement;if(!we)switch(g){case"bestFit":{var Be;let xe=(Be=he.filter(Ge=>{if(ie){let Ye=Ke(Ge.placement);return Ye===k||Ye==="y"}return!0}).map(Ge=>[Ge.placement,Ge.overflows.filter(Ye=>Ye>0).reduce((Ye,Al)=>Ye+Al,0)]).sort((Ge,Ye)=>Ge[1]-Ye[1])[0])==null?void 0:Be[0];xe&&(we=xe);break}case"initialPlacement":we=n;break}if(o!==we)return{reset:{placement:we}}}return{}}}};async function Ic(i,t){let{placement:e,platform:r,elements:o}=i,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ze(e),n=ht(e),d=Ke(e)==="y",m=["left","top"].includes(a)?-1:1,h=s&&d?-1:1,u=pt(t,i),{mainAxis:x,crossAxis:g,alignmentAxis:E}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return n&&typeof E=="number"&&(g=n==="end"?E*-1:E),d?{x:g*h,y:x*m}:{x:x*m,y:g*h}}var Ga=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(t){var e,r;let{x:o,y:s,placement:a,middlewareData:n}=t,d=await Ic(t,i);return a===((e=n.offset)==null?void 0:e.placement)&&(r=n.arrow)!=null&&r.alignmentOffset?{}:{x:o+d.x,y:s+d.y,data:{...d,placement:a}}}}},Ya=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(t){let{x:e,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:n={fn:I=>{let{x:S,y:k}=I;return{x:S,y:k}}},...d}=pt(i,t),m={x:e,y:r},h=await go(t,d),u=Ke(ze(o)),x=Ai(u),g=m[x],E=m[u];if(s){let I=x==="y"?"top":"left",S=x==="y"?"bottom":"right",k=g+h[I],N=g-h[S];g=uo(k,g,N)}if(a){let I=u==="y"?"top":"left",S=u==="y"?"bottom":"right",k=E+h[I],N=E-h[S];E=uo(k,E,N)}let T=n.fn({...t,[x]:g,[u]:E});return{...T,data:{x:T.x-e,y:T.y-r,enabled:{[x]:s,[u]:a}}}}}};var Wa=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(t){var e,r;let{placement:o,rects:s,platform:a,elements:n}=t,{apply:d=()=>{},...m}=pt(i,t),h=await go(t,m),u=ze(o),x=ht(o),g=Ke(o)==="y",{width:E,height:T}=s.floating,I,S;u==="top"||u==="bottom"?(I=u,S=x===(await(a.isRTL==null?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(S=u,I=x==="end"?"top":"bottom");let k=T-h.top-h.bottom,N=E-h.left-h.right,F=Ie(T-h[I],k),z=Ie(E-h[S],N),ie=!t.middlewareData.shift,pe=F,ke=z;if((e=t.middlewareData.shift)!=null&&e.enabled.x&&(ke=N),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(pe=k),ie&&!x){let he=j(h.left,0),He=j(h.right,0),ye=j(h.top,0),Be=j(h.bottom,0);g?ke=E-2*(he!==0||He!==0?he+He:j(h.left,h.right)):pe=T-2*(ye!==0||Be!==0?ye+Be:j(h.top,h.bottom))}await d({...t,availableWidth:ke,availableHeight:pe});let ve=await a.getDimensions(n.floating);return E!==ve.width||T!==ve.height?{reset:{rects:!0}}:{}}}};function vo(){return typeof window<"u"}function ft(i){return Xa(i)?(i.nodeName||"").toLowerCase():"#document"}function J(i){var t;return(i==null||(t=i.ownerDocument)==null?void 0:t.defaultView)||window}function be(i){var t;return(t=(Xa(i)?i.ownerDocument:i.document)||window.document)==null?void 0:t.documentElement}function Xa(i){return vo()?i instanceof Node||i instanceof J(i).Node:!1}function le(i){return vo()?i instanceof Element||i instanceof J(i).Element:!1}function ge(i){return vo()?i instanceof HTMLElement||i instanceof J(i).HTMLElement:!1}function qa(i){return!vo()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof J(i).ShadowRoot}function Kt(i){let{overflow:t,overflowX:e,overflowY:r,display:o}=ce(i);return/auto|scroll|overlay|hidden|clip/.test(t+r+e)&&!["inline","contents"].includes(o)}function Za(i){return["table","td","th"].includes(ft(i))}function Nr(i){return[":popover-open",":modal"].some(t=>{try{return i.matches(t)}catch{return!1}})}function yo(i){let t=xo(),e=le(i)?ce(i):i;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(e.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(e.contain||"").includes(r))}function ja(i){let t=Pe(i);for(;ge(t)&&!bt(t);){if(yo(t))return t;if(Nr(t))return null;t=Pe(t)}return null}function xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bt(i){return["html","body","#document"].includes(ft(i))}function ce(i){return J(i).getComputedStyle(i)}function Rr(i){return le(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function Pe(i){if(ft(i)==="html")return i;let t=i.assignedSlot||i.parentNode||qa(i)&&i.host||be(i);return qa(t)?t.host:t}function Ka(i){let t=Pe(i);return bt(t)?i.ownerDocument?i.ownerDocument.body:i.body:ge(t)&&Kt(t)?t:Ka(t)}function jt(i,t,e){var r;t===void 0&&(t=[]),e===void 0&&(e=!0);let o=Ka(i),s=o===((r=i.ownerDocument)==null?void 0:r.body),a=J(o);if(s){let n=Eo(a);return t.concat(a,a.visualViewport||[],Kt(o)?o:[],n&&e?jt(n):[])}return t.concat(o,jt(o,[],e))}function Eo(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function en(i){let t=ce(i),e=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ge(i),s=o?i.offsetWidth:e,a=o?i.offsetHeight:r,n=Cr(e)!==s||Cr(r)!==a;return n&&(e=s,r=a),{width:e,height:r,$:n}}function Ii(i){return le(i)?i:i.contextElement}function Qt(i){let t=Ii(i);if(!ge(t))return fe(1);let e=t.getBoundingClientRect(),{width:r,height:o,$:s}=en(t),a=(s?Cr(e.width):e.width)/r,n=(s?Cr(e.height):e.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!n||!Number.isFinite(n))&&(n=1),{x:a,y:n}}var kc=fe(0);function tn(i){let t=J(i);return!xo()||!t.visualViewport?kc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wc(i,t,e){return t===void 0&&(t=!1),!e||t&&e!==J(i)?!1:t}function gt(i,t,e,r){t===void 0&&(t=!1),e===void 0&&(e=!1);let o=i.getBoundingClientRect(),s=Ii(i),a=fe(1);t&&(r?le(r)&&(a=Qt(r)):a=Qt(i));let n=wc(s,e,r)?tn(s):fe(0),d=(o.left+n.x)/a.x,m=(o.top+n.y)/a.y,h=o.width/a.x,u=o.height/a.y;if(s){let x=J(s),g=r&&le(r)?J(r):r,E=x,T=Eo(E);for(;T&&r&&g!==E;){let I=Qt(T),S=T.getBoundingClientRect(),k=ce(T),N=S.left+(T.clientLeft+parseFloat(k.paddingLeft))*I.x,F=S.top+(T.clientTop+parseFloat(k.paddingTop))*I.y;d*=I.x,m*=I.y,h*=I.x,u*=I.y,d+=N,m+=F,E=J(T),T=Eo(E)}}return ut({width:h,height:u,x:d,y:m})}function ki(i,t){let e=Rr(i).scrollLeft;return t?t.left+e:gt(be(i)).left+e}function rn(i,t,e){e===void 0&&(e=!1);let r=i.getBoundingClientRect(),o=r.left+t.scrollLeft-(e?0:ki(i,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Cc(i){let{elements:t,rect:e,offsetParent:r,strategy:o}=i,s=o==="fixed",a=be(r),n=t?Nr(t.floating):!1;if(r===a||n&&s)return e;let d={scrollLeft:0,scrollTop:0},m=fe(1),h=fe(0),u=ge(r);if((u||!u&&!s)&&((ft(r)!=="body"||Kt(a))&&(d=Rr(r)),ge(r))){let g=gt(r);m=Qt(r),h.x=g.x+r.clientLeft,h.y=g.y+r.clientTop}let x=a&&!u&&!s?rn(a,d,!0):fe(0);return{width:e.width*m.x,height:e.height*m.y,x:e.x*m.x-d.scrollLeft*m.x+h.x+x.x,y:e.y*m.y-d.scrollTop*m.y+h.y+x.y}}function Lc(i){return Array.from(i.getClientRects())}function Nc(i){let t=be(i),e=Rr(i),r=i.ownerDocument.body,o=j(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=j(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+ki(i),n=-e.scrollTop;return ce(r).direction==="rtl"&&(a+=j(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:n}}function Rc(i,t){let e=J(i),r=be(i),o=e.visualViewport,s=r.clientWidth,a=r.clientHeight,n=0,d=0;if(o){s=o.width,a=o.height;let m=xo();(!m||m&&t==="fixed")&&(n=o.offsetLeft,d=o.offsetTop)}return{width:s,height:a,x:n,y:d}}function Oc(i,t){let e=gt(i,!0,t==="fixed"),r=e.top+i.clientTop,o=e.left+i.clientLeft,s=ge(i)?Qt(i):fe(1),a=i.clientWidth*s.x,n=i.clientHeight*s.y,d=o*s.x,m=r*s.y;return{width:a,height:n,x:d,y:m}}function Qa(i,t,e){let r;if(t==="viewport")r=Rc(i,e);else if(t==="document")r=Nc(be(i));else if(le(t))r=Oc(t,e);else{let o=tn(i);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ut(r)}function on(i,t){let e=Pe(i);return e===t||!le(e)||bt(e)?!1:ce(e).position==="fixed"||on(e,t)}function Mc(i,t){let e=t.get(i);if(e)return e;let r=jt(i,[],!1).filter(n=>le(n)&&ft(n)!=="body"),o=null,s=ce(i).position==="fixed",a=s?Pe(i):i;for(;le(a)&&!bt(a);){let n=ce(a),d=yo(a);!d&&n.position==="fixed"&&(o=null),(s?!d&&!o:!d&&n.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Kt(a)&&!d&&on(i,a))?r=r.filter(h=>h!==a):o=n,a=Pe(a)}return t.set(i,r),r}function Dc(i){let{element:t,boundary:e,rootBoundary:r,strategy:o}=i,a=[...e==="clippingAncestors"?Nr(t)?[]:Mc(t,this._c):[].concat(e),r],n=a[0],d=a.reduce((m,h)=>{let u=Qa(t,h,o);return m.top=j(u.top,m.top),m.right=Ie(u.right,m.right),m.bottom=Ie(u.bottom,m.bottom),m.left=j(u.left,m.left),m},Qa(t,n,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function $c(i){let{width:t,height:e}=en(i);return{width:t,height:e}}function zc(i,t,e){let r=ge(t),o=be(t),s=e==="fixed",a=gt(i,!0,s,t),n={scrollLeft:0,scrollTop:0},d=fe(0);if(r||!r&&!s)if((ft(t)!=="body"||Kt(o))&&(n=Rr(t)),r){let x=gt(t,!0,s,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}else o&&(d.x=ki(o));let m=o&&!r&&!s?rn(o,n):fe(0),h=a.left+n.scrollLeft-d.x-m.x,u=a.top+n.scrollTop-d.y-m.y;return{x:h,y:u,width:a.width,height:a.height}}function _i(i){return ce(i).position==="static"}function Ja(i,t){if(!ge(i)||ce(i).position==="fixed")return null;if(t)return t(i);let e=i.offsetParent;return be(i)===e&&(e=e.ownerDocument.body),e}function sn(i,t){let e=J(i);if(Nr(i))return e;if(!ge(i)){let o=Pe(i);for(;o&&!bt(o);){if(le(o)&&!_i(o))return o;o=Pe(o)}return e}let r=Ja(i,t);for(;r&&Za(r)&&_i(r);)r=Ja(r,t);return r&&bt(r)&&_i(r)&&!yo(r)?e:r||ja(i)||e}var Pc=async function(i){let t=this.getOffsetParent||sn,e=this.getDimensions,r=await e(i.floating);return{reference:zc(i.reference,await t(i.floating),i.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vc(i){return ce(i).direction==="rtl"}var Uc={convertOffsetParentRelativeRectToViewportRelativeRect:Cc,getDocumentElement:be,getClippingRect:Dc,getOffsetParent:sn,getElementRects:Pc,getClientRects:Lc,getDimensions:$c,getScale:Qt,isElement:le,isRTL:Vc};function Fc(i,t){let e=null,r,o=be(i);function s(){var n;clearTimeout(r),(n=e)==null||n.disconnect(),e=null}function a(n,d){n===void 0&&(n=!1),d===void 0&&(d=1),s();let{left:m,top:h,width:u,height:x}=i.getBoundingClientRect();if(n||t(),!u||!x)return;let g=Lr(h),E=Lr(o.clientWidth-(m+u)),T=Lr(o.clientHeight-(h+x)),I=Lr(m),k={rootMargin:-g+"px "+-E+"px "+-T+"px "+-I+"px",threshold:j(0,Ie(1,d))||1},N=!0;function F(z){let ie=z[0].intersectionRatio;if(ie!==d){if(!N)return a();ie?a(!1,ie):r=setTimeout(()=>{a(!1,1e-7)},1e3)}N=!1}try{e=new IntersectionObserver(F,{...k,root:o.ownerDocument})}catch{e=new IntersectionObserver(F,k)}e.observe(i)}return a(!0),s}function an(i,t,e,r){r===void 0&&(r={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,m=Ii(i),h=o||s?[...m?jt(m):[],...jt(t)]:[];h.forEach(S=>{o&&S.addEventListener("scroll",e,{passive:!0}),s&&S.addEventListener("resize",e)});let u=m&&n?Fc(m,e):null,x=-1,g=null;a&&(g=new ResizeObserver(S=>{let[k]=S;k&&k.target===m&&g&&(g.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var N;(N=g)==null||N.observe(t)})),e()}),m&&!d&&g.observe(m),g.observe(t));let E,T=d?gt(i):null;d&&I();function I(){let S=gt(i);T&&(S.x!==T.x||S.y!==T.y||S.width!==T.width||S.height!==T.height)&&e(),T=S,E=requestAnimationFrame(I)}return e(),()=>{var S;h.forEach(k=>{o&&k.removeEventListener("scroll",e),s&&k.removeEventListener("resize",e)}),u==null||u(),(S=g)==null||S.disconnect(),g=null,d&&cancelAnimationFrame(E)}}var nn=Ga;var ln=Ya,cn=Ba,dn=Wa;var mn=Ha;var pn=(i,t,e)=>{let r=new Map,o={platform:Uc,...e},s={...o.platform,_c:r};return Fa(i,t,{...o,platform:s})};var Hc=f`
1488
+ `}};Xt.styles=[...y.styles,...Da],l([c({type:String,reflect:!0})],Xt.prototype,"color",2),l([c({type:String})],Xt.prototype,"label",2);var Zt=Xt;Zt.register($a);var Ec=Zt;var Ie=Math.min,j=Math.max,wr=Math.round,Lr=Math.floor,fe=i=>({x:i,y:i}),Tc={left:"right",right:"left",bottom:"top",top:"bottom"},Ac={start:"end",end:"start"};function uo(i,t,e){return j(i,Ie(t,e))}function pt(i,t){return typeof i=="function"?i(t):i}function ze(i){return i.split("-")[0]}function ht(i){return i.split("-")[1]}function Ai(i){return i==="x"?"y":"x"}function fo(i){return i==="y"?"height":"width"}function Ke(i){return["top","bottom"].includes(ze(i))?"y":"x"}function bo(i){return Ai(Ke(i))}function za(i,t,e){e===void 0&&(e=!1);let r=ht(i),o=bo(i),s=fo(o),a=o==="x"?r===(e?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Cr(a)),[a,Cr(a)]}function Pa(i){let t=Cr(i);return[ho(i),t,ho(t)]}function ho(i){return i.replace(/start|end/g,t=>Ac[t])}function Sc(i,t,e){let r=["left","right"],o=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(i){case"top":case"bottom":return e?t?o:r:t?r:o;case"left":case"right":return t?s:a;default:return[]}}function Va(i,t,e,r){let o=ht(i),s=Sc(ze(i),e==="start",r);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(ho)))),s}function Cr(i){return i.replace(/left|right|bottom|top/g,t=>Tc[t])}function _c(i){return{top:0,right:0,bottom:0,left:0,...i}}function Si(i){return typeof i!="number"?_c(i):{top:i,right:i,bottom:i,left:i}}function ut(i){let{x:t,y:e,width:r,height:o}=i;return{width:r,height:o,top:e,left:t,right:t+r,bottom:e+o,x:t,y:e}}function Ua(i,t,e){let{reference:r,floating:o}=i,s=Ke(t),a=bo(t),n=fo(a),d=ze(t),m=s==="y",h=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,x=r[n]/2-o[n]/2,g;switch(d){case"top":g={x:h,y:r.y-o.height};break;case"bottom":g={x:h,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:u};break;case"left":g={x:r.x-o.width,y:u};break;default:g={x:r.x,y:r.y}}switch(ht(t)){case"start":g[a]-=x*(e&&m?-1:1);break;case"end":g[a]+=x*(e&&m?-1:1);break}return g}var Fa=async(i,t,e)=>{let{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=e,n=s.filter(Boolean),d=await(a.isRTL==null?void 0:a.isRTL(t)),m=await a.getElementRects({reference:i,floating:t,strategy:o}),{x:h,y:u}=Ua(m,r,d),x=r,g={},E=0;for(let T=0;T<n.length;T++){let{name:I,fn:S}=n[T],{x:k,y:N,data:F,reset:z}=await S({x:h,y:u,initialPlacement:r,placement:x,strategy:o,middlewareData:g,rects:m,platform:a,elements:{reference:i,floating:t}});h=k!=null?k:h,u=N!=null?N:u,g={...g,[I]:{...g[I],...F}},z&&E<=50&&(E++,typeof z=="object"&&(z.placement&&(x=z.placement),z.rects&&(m=z.rects===!0?await a.getElementRects({reference:i,floating:t,strategy:o}):z.rects),{x:h,y:u}=Ua(m,x,d)),T=-1)}return{x:h,y:u,placement:x,strategy:o,middlewareData:g}};async function go(i,t){var e;t===void 0&&(t={});let{x:r,y:o,platform:s,rects:a,elements:n,strategy:d}=i,{boundary:m="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:x=!1,padding:g=0}=pt(t,i),E=Si(g),I=n[x?u==="floating"?"reference":"floating":u],S=ut(await s.getClippingRect({element:(e=await(s.isElement==null?void 0:s.isElement(I)))==null||e?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(n.floating)),boundary:m,rootBoundary:h,strategy:d})),k=u==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(n.floating)),F=await(s.isElement==null?void 0:s.isElement(N))?await(s.getScale==null?void 0:s.getScale(N))||{x:1,y:1}:{x:1,y:1},z=ut(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:k,offsetParent:N,strategy:d}):k);return{top:(S.top-z.top+E.top)/F.y,bottom:(z.bottom-S.bottom+E.bottom)/F.y,left:(S.left-z.left+E.left)/F.x,right:(z.right-S.right+E.right)/F.x}}var Ha=i=>({name:"arrow",options:i,async fn(t){let{x:e,y:r,placement:o,rects:s,platform:a,elements:n,middlewareData:d}=t,{element:m,padding:h=0}=pt(i,t)||{};if(m==null)return{};let u=Si(h),x={x:e,y:r},g=bo(o),E=fo(g),T=await a.getDimensions(m),I=g==="y",S=I?"top":"left",k=I?"bottom":"right",N=I?"clientHeight":"clientWidth",F=s.reference[E]+s.reference[g]-x[g]-s.floating[E],z=x[g]-s.reference[g],ie=await(a.getOffsetParent==null?void 0:a.getOffsetParent(m)),pe=ie?ie[N]:0;(!pe||!await(a.isElement==null?void 0:a.isElement(ie)))&&(pe=n.floating[N]||s.floating[E]);let ke=F/2-z/2,ve=pe/2-T[E]/2-1,he=Ie(u[S],ve),He=Ie(u[k],ve),ye=he,Be=pe-T[E]-He,q=pe/2-T[E]/2+ke,Nt=uo(ye,q,Be),Ce=!d.arrow&&ht(o)!=null&&q!==Nt&&s.reference[E]/2-(q<ye?he:He)-T[E]/2<0,xe=Ce?q<ye?q-ye:q-Be:0;return{[g]:x[g]+xe,data:{[g]:Nt,centerOffset:q-Nt-xe,...Ce&&{alignmentOffset:xe}},reset:Ce}}});var Ba=function(i){return i===void 0&&(i={}),{name:"flip",options:i,async fn(t){var e,r;let{placement:o,middlewareData:s,rects:a,initialPlacement:n,platform:d,elements:m}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:x,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:T=!0,...I}=pt(i,t);if((e=s.arrow)!=null&&e.alignmentOffset)return{};let S=ze(o),k=Ke(n),N=ze(n)===n,F=await(d.isRTL==null?void 0:d.isRTL(m.floating)),z=x||(N||!T?[Cr(n)]:Pa(n)),ie=E!=="none";!x&&ie&&z.push(...Va(n,T,E,F));let pe=[n,...z],ke=await go(t,I),ve=[],he=((r=s.flip)==null?void 0:r.overflows)||[];if(h&&ve.push(ke[S]),u){let q=za(o,a,F);ve.push(ke[q[0]],ke[q[1]])}if(he=[...he,{placement:o,overflows:ve}],!ve.every(q=>q<=0)){var He,ye;let q=(((He=s.flip)==null?void 0:He.index)||0)+1,Nt=pe[q];if(Nt)return{data:{index:q,overflows:he},reset:{placement:Nt}};let Ce=(ye=he.filter(xe=>xe.overflows[0]<=0).sort((xe,Ge)=>xe.overflows[1]-Ge.overflows[1])[0])==null?void 0:ye.placement;if(!Ce)switch(g){case"bestFit":{var Be;let xe=(Be=he.filter(Ge=>{if(ie){let Ye=Ke(Ge.placement);return Ye===k||Ye==="y"}return!0}).map(Ge=>[Ge.placement,Ge.overflows.filter(Ye=>Ye>0).reduce((Ye,Al)=>Ye+Al,0)]).sort((Ge,Ye)=>Ge[1]-Ye[1])[0])==null?void 0:Be[0];xe&&(Ce=xe);break}case"initialPlacement":Ce=n;break}if(o!==Ce)return{reset:{placement:Ce}}}return{}}}};async function Ic(i,t){let{placement:e,platform:r,elements:o}=i,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ze(e),n=ht(e),d=Ke(e)==="y",m=["left","top"].includes(a)?-1:1,h=s&&d?-1:1,u=pt(t,i),{mainAxis:x,crossAxis:g,alignmentAxis:E}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return n&&typeof E=="number"&&(g=n==="end"?E*-1:E),d?{x:g*h,y:x*m}:{x:x*m,y:g*h}}var Ga=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(t){var e,r;let{x:o,y:s,placement:a,middlewareData:n}=t,d=await Ic(t,i);return a===((e=n.offset)==null?void 0:e.placement)&&(r=n.arrow)!=null&&r.alignmentOffset?{}:{x:o+d.x,y:s+d.y,data:{...d,placement:a}}}}},Ya=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(t){let{x:e,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:n={fn:I=>{let{x:S,y:k}=I;return{x:S,y:k}}},...d}=pt(i,t),m={x:e,y:r},h=await go(t,d),u=Ke(ze(o)),x=Ai(u),g=m[x],E=m[u];if(s){let I=x==="y"?"top":"left",S=x==="y"?"bottom":"right",k=g+h[I],N=g-h[S];g=uo(k,g,N)}if(a){let I=u==="y"?"top":"left",S=u==="y"?"bottom":"right",k=E+h[I],N=E-h[S];E=uo(k,E,N)}let T=n.fn({...t,[x]:g,[u]:E});return{...T,data:{x:T.x-e,y:T.y-r,enabled:{[x]:s,[u]:a}}}}}};var Wa=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(t){var e,r;let{placement:o,rects:s,platform:a,elements:n}=t,{apply:d=()=>{},...m}=pt(i,t),h=await go(t,m),u=ze(o),x=ht(o),g=Ke(o)==="y",{width:E,height:T}=s.floating,I,S;u==="top"||u==="bottom"?(I=u,S=x===(await(a.isRTL==null?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(S=u,I=x==="end"?"top":"bottom");let k=T-h.top-h.bottom,N=E-h.left-h.right,F=Ie(T-h[I],k),z=Ie(E-h[S],N),ie=!t.middlewareData.shift,pe=F,ke=z;if((e=t.middlewareData.shift)!=null&&e.enabled.x&&(ke=N),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(pe=k),ie&&!x){let he=j(h.left,0),He=j(h.right,0),ye=j(h.top,0),Be=j(h.bottom,0);g?ke=E-2*(he!==0||He!==0?he+He:j(h.left,h.right)):pe=T-2*(ye!==0||Be!==0?ye+Be:j(h.top,h.bottom))}await d({...t,availableWidth:ke,availableHeight:pe});let ve=await a.getDimensions(n.floating);return E!==ve.width||T!==ve.height?{reset:{rects:!0}}:{}}}};function vo(){return typeof window<"u"}function ft(i){return Xa(i)?(i.nodeName||"").toLowerCase():"#document"}function J(i){var t;return(i==null||(t=i.ownerDocument)==null?void 0:t.defaultView)||window}function be(i){var t;return(t=(Xa(i)?i.ownerDocument:i.document)||window.document)==null?void 0:t.documentElement}function Xa(i){return vo()?i instanceof Node||i instanceof J(i).Node:!1}function le(i){return vo()?i instanceof Element||i instanceof J(i).Element:!1}function ge(i){return vo()?i instanceof HTMLElement||i instanceof J(i).HTMLElement:!1}function qa(i){return!vo()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof J(i).ShadowRoot}function Kt(i){let{overflow:t,overflowX:e,overflowY:r,display:o}=ce(i);return/auto|scroll|overlay|hidden|clip/.test(t+r+e)&&!["inline","contents"].includes(o)}function Za(i){return["table","td","th"].includes(ft(i))}function Nr(i){return[":popover-open",":modal"].some(t=>{try{return i.matches(t)}catch{return!1}})}function yo(i){let t=xo(),e=le(i)?ce(i):i;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(e.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(e.contain||"").includes(r))}function ja(i){let t=Pe(i);for(;ge(t)&&!bt(t);){if(yo(t))return t;if(Nr(t))return null;t=Pe(t)}return null}function xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bt(i){return["html","body","#document"].includes(ft(i))}function ce(i){return J(i).getComputedStyle(i)}function Rr(i){return le(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function Pe(i){if(ft(i)==="html")return i;let t=i.assignedSlot||i.parentNode||qa(i)&&i.host||be(i);return qa(t)?t.host:t}function Ka(i){let t=Pe(i);return bt(t)?i.ownerDocument?i.ownerDocument.body:i.body:ge(t)&&Kt(t)?t:Ka(t)}function jt(i,t,e){var r;t===void 0&&(t=[]),e===void 0&&(e=!0);let o=Ka(i),s=o===((r=i.ownerDocument)==null?void 0:r.body),a=J(o);if(s){let n=Eo(a);return t.concat(a,a.visualViewport||[],Kt(o)?o:[],n&&e?jt(n):[])}return t.concat(o,jt(o,[],e))}function Eo(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function en(i){let t=ce(i),e=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ge(i),s=o?i.offsetWidth:e,a=o?i.offsetHeight:r,n=wr(e)!==s||wr(r)!==a;return n&&(e=s,r=a),{width:e,height:r,$:n}}function Ii(i){return le(i)?i:i.contextElement}function Qt(i){let t=Ii(i);if(!ge(t))return fe(1);let e=t.getBoundingClientRect(),{width:r,height:o,$:s}=en(t),a=(s?wr(e.width):e.width)/r,n=(s?wr(e.height):e.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!n||!Number.isFinite(n))&&(n=1),{x:a,y:n}}var kc=fe(0);function tn(i){let t=J(i);return!xo()||!t.visualViewport?kc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cc(i,t,e){return t===void 0&&(t=!1),!e||t&&e!==J(i)?!1:t}function gt(i,t,e,r){t===void 0&&(t=!1),e===void 0&&(e=!1);let o=i.getBoundingClientRect(),s=Ii(i),a=fe(1);t&&(r?le(r)&&(a=Qt(r)):a=Qt(i));let n=Cc(s,e,r)?tn(s):fe(0),d=(o.left+n.x)/a.x,m=(o.top+n.y)/a.y,h=o.width/a.x,u=o.height/a.y;if(s){let x=J(s),g=r&&le(r)?J(r):r,E=x,T=Eo(E);for(;T&&r&&g!==E;){let I=Qt(T),S=T.getBoundingClientRect(),k=ce(T),N=S.left+(T.clientLeft+parseFloat(k.paddingLeft))*I.x,F=S.top+(T.clientTop+parseFloat(k.paddingTop))*I.y;d*=I.x,m*=I.y,h*=I.x,u*=I.y,d+=N,m+=F,E=J(T),T=Eo(E)}}return ut({width:h,height:u,x:d,y:m})}function ki(i,t){let e=Rr(i).scrollLeft;return t?t.left+e:gt(be(i)).left+e}function rn(i,t,e){e===void 0&&(e=!1);let r=i.getBoundingClientRect(),o=r.left+t.scrollLeft-(e?0:ki(i,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function wc(i){let{elements:t,rect:e,offsetParent:r,strategy:o}=i,s=o==="fixed",a=be(r),n=t?Nr(t.floating):!1;if(r===a||n&&s)return e;let d={scrollLeft:0,scrollTop:0},m=fe(1),h=fe(0),u=ge(r);if((u||!u&&!s)&&((ft(r)!=="body"||Kt(a))&&(d=Rr(r)),ge(r))){let g=gt(r);m=Qt(r),h.x=g.x+r.clientLeft,h.y=g.y+r.clientTop}let x=a&&!u&&!s?rn(a,d,!0):fe(0);return{width:e.width*m.x,height:e.height*m.y,x:e.x*m.x-d.scrollLeft*m.x+h.x+x.x,y:e.y*m.y-d.scrollTop*m.y+h.y+x.y}}function Lc(i){return Array.from(i.getClientRects())}function Nc(i){let t=be(i),e=Rr(i),r=i.ownerDocument.body,o=j(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=j(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+ki(i),n=-e.scrollTop;return ce(r).direction==="rtl"&&(a+=j(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:n}}function Rc(i,t){let e=J(i),r=be(i),o=e.visualViewport,s=r.clientWidth,a=r.clientHeight,n=0,d=0;if(o){s=o.width,a=o.height;let m=xo();(!m||m&&t==="fixed")&&(n=o.offsetLeft,d=o.offsetTop)}return{width:s,height:a,x:n,y:d}}function Oc(i,t){let e=gt(i,!0,t==="fixed"),r=e.top+i.clientTop,o=e.left+i.clientLeft,s=ge(i)?Qt(i):fe(1),a=i.clientWidth*s.x,n=i.clientHeight*s.y,d=o*s.x,m=r*s.y;return{width:a,height:n,x:d,y:m}}function Qa(i,t,e){let r;if(t==="viewport")r=Rc(i,e);else if(t==="document")r=Nc(be(i));else if(le(t))r=Oc(t,e);else{let o=tn(i);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ut(r)}function on(i,t){let e=Pe(i);return e===t||!le(e)||bt(e)?!1:ce(e).position==="fixed"||on(e,t)}function Mc(i,t){let e=t.get(i);if(e)return e;let r=jt(i,[],!1).filter(n=>le(n)&&ft(n)!=="body"),o=null,s=ce(i).position==="fixed",a=s?Pe(i):i;for(;le(a)&&!bt(a);){let n=ce(a),d=yo(a);!d&&n.position==="fixed"&&(o=null),(s?!d&&!o:!d&&n.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Kt(a)&&!d&&on(i,a))?r=r.filter(h=>h!==a):o=n,a=Pe(a)}return t.set(i,r),r}function Dc(i){let{element:t,boundary:e,rootBoundary:r,strategy:o}=i,a=[...e==="clippingAncestors"?Nr(t)?[]:Mc(t,this._c):[].concat(e),r],n=a[0],d=a.reduce((m,h)=>{let u=Qa(t,h,o);return m.top=j(u.top,m.top),m.right=Ie(u.right,m.right),m.bottom=Ie(u.bottom,m.bottom),m.left=j(u.left,m.left),m},Qa(t,n,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function $c(i){let{width:t,height:e}=en(i);return{width:t,height:e}}function zc(i,t,e){let r=ge(t),o=be(t),s=e==="fixed",a=gt(i,!0,s,t),n={scrollLeft:0,scrollTop:0},d=fe(0);if(r||!r&&!s)if((ft(t)!=="body"||Kt(o))&&(n=Rr(t)),r){let x=gt(t,!0,s,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}else o&&(d.x=ki(o));let m=o&&!r&&!s?rn(o,n):fe(0),h=a.left+n.scrollLeft-d.x-m.x,u=a.top+n.scrollTop-d.y-m.y;return{x:h,y:u,width:a.width,height:a.height}}function _i(i){return ce(i).position==="static"}function Ja(i,t){if(!ge(i)||ce(i).position==="fixed")return null;if(t)return t(i);let e=i.offsetParent;return be(i)===e&&(e=e.ownerDocument.body),e}function sn(i,t){let e=J(i);if(Nr(i))return e;if(!ge(i)){let o=Pe(i);for(;o&&!bt(o);){if(le(o)&&!_i(o))return o;o=Pe(o)}return e}let r=Ja(i,t);for(;r&&Za(r)&&_i(r);)r=Ja(r,t);return r&&bt(r)&&_i(r)&&!yo(r)?e:r||ja(i)||e}var Pc=async function(i){let t=this.getOffsetParent||sn,e=this.getDimensions,r=await e(i.floating);return{reference:zc(i.reference,await t(i.floating),i.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vc(i){return ce(i).direction==="rtl"}var Uc={convertOffsetParentRelativeRectToViewportRelativeRect:wc,getDocumentElement:be,getClippingRect:Dc,getOffsetParent:sn,getElementRects:Pc,getClientRects:Lc,getDimensions:$c,getScale:Qt,isElement:le,isRTL:Vc};function Fc(i,t){let e=null,r,o=be(i);function s(){var n;clearTimeout(r),(n=e)==null||n.disconnect(),e=null}function a(n,d){n===void 0&&(n=!1),d===void 0&&(d=1),s();let{left:m,top:h,width:u,height:x}=i.getBoundingClientRect();if(n||t(),!u||!x)return;let g=Lr(h),E=Lr(o.clientWidth-(m+u)),T=Lr(o.clientHeight-(h+x)),I=Lr(m),k={rootMargin:-g+"px "+-E+"px "+-T+"px "+-I+"px",threshold:j(0,Ie(1,d))||1},N=!0;function F(z){let ie=z[0].intersectionRatio;if(ie!==d){if(!N)return a();ie?a(!1,ie):r=setTimeout(()=>{a(!1,1e-7)},1e3)}N=!1}try{e=new IntersectionObserver(F,{...k,root:o.ownerDocument})}catch{e=new IntersectionObserver(F,k)}e.observe(i)}return a(!0),s}function an(i,t,e,r){r===void 0&&(r={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,m=Ii(i),h=o||s?[...m?jt(m):[],...jt(t)]:[];h.forEach(S=>{o&&S.addEventListener("scroll",e,{passive:!0}),s&&S.addEventListener("resize",e)});let u=m&&n?Fc(m,e):null,x=-1,g=null;a&&(g=new ResizeObserver(S=>{let[k]=S;k&&k.target===m&&g&&(g.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var N;(N=g)==null||N.observe(t)})),e()}),m&&!d&&g.observe(m),g.observe(t));let E,T=d?gt(i):null;d&&I();function I(){let S=gt(i);T&&(S.x!==T.x||S.y!==T.y||S.width!==T.width||S.height!==T.height)&&e(),T=S,E=requestAnimationFrame(I)}return e(),()=>{var S;h.forEach(k=>{o&&k.removeEventListener("scroll",e),s&&k.removeEventListener("resize",e)}),u==null||u(),(S=g)==null||S.disconnect(),g=null,d&&cancelAnimationFrame(E)}}var nn=Ga;var ln=Ya,cn=Ba,dn=Wa;var mn=Ha;var pn=(i,t,e)=>{let r=new Map,o={platform:Uc,...e},s={...o.platform,_c:r};return Fa(i,t,{...o,platform:s})};var Hc=f`
1489
1489
  :host {
1490
1490
  --mdc-popover-arrow-border-radius: 0.1875rem;
1491
1491
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -1592,7 +1592,7 @@
1592
1592
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
1593
1593
  border-bottom-left-radius: 100%;
1594
1594
  }
1595
- `,hn=[Hc];var un=b.constructTagName("popover"),Ve={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Or={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Mr={TONAL:"tonal",CONTRAST:"contrast"},O={PLACEMENT:Ve.BOTTOM,TRIGGER:Or.CLICK,COLOR:Mr.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1};var fn=i=>{class t extends i{constructor(...o){super(...o);this.enabledFocusTrap=O.FOCUS_TRAP;this.enabledPreventScroll=O.PREVENT_SCROLL;this.focusTrapIndex=-1;this.focusableElements=[];this.shouldWrapFocus=()=>!0;this.addEventListener("keydown",this.handleKeydown)}deactivateFocusTrap(){this.enabledFocusTrap=!1,this.enabledPreventScroll=!1,this.focusTrapIndex=-1,document.body.style.overflow=""}hasNoClientRects(o){return o.getClientRects().length===0}hasZeroDimensions(o){let{width:s,height:a}=o.getBoundingClientRect(),{offsetWidth:n,offsetHeight:d}=o;return n+d+a+s===0}isNotVisible(o){return this.hasZeroDimensions(o)||this.hasNoClientRects(o)}hasHiddenStyle(o){let{display:s,opacity:a,visibility:n}=o.style;return s==="none"||a==="0"||n==="hidden"||n==="collapse"}hasComputedHidden(o){let s=getComputedStyle(o);return s.visibility==="hidden"||s.height==="0"||s.display==="none"}isHidden(o){return o.hasAttribute("hidden")||o.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(o)||this.isNotVisible(o)||this.hasComputedHidden(o)}isNotTabbable(o){return o.getAttribute("tabindex")==="-1"}isInteractiveElement(o){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(o.tagName)||o instanceof HTMLAnchorElement&&o.hasAttribute("href")||o instanceof HTMLInputElement&&o.type!=="hidden"||(o instanceof HTMLAudioElement||o instanceof HTMLVideoElement)&&o.hasAttribute("controls")||(o instanceof HTMLImageElement||o instanceof HTMLObjectElement)&&o.hasAttribute("usemap")||o.hasAttribute("tabindex")&&o.tabIndex>-1)}isFocusable(o){return this.isHidden(o)||this.isNotTabbable(o)?!1:this.isInteractiveElement(o)}findFocusable(o,s=new Set){return o instanceof HTMLElement&&this.isFocusable(o)&&s.add(o),Array.from(o.children).forEach(n=>{let d=n;this.isFocusable(d)&&s.add(d),d.shadowRoot?this.findFocusable(d.shadowRoot,s):d.tagName==="SLOT"?d.assignedElements({flatten:!0}).forEach(h=>{h instanceof HTMLElement&&this.findFocusable(h,s)}):this.findFocusable(d,s)}),[...s]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(o=0){this.focusableElements.length!==0&&(this.enabledPreventScroll&&(document.body.style.overflow="hidden"),this.focusableElements[o]&&(this.focusTrapIndex=o,this.focusableElements[o].focus()))}calculateNextIndex(o,s){let{length:a}=this.focusableElements,n=this.shouldWrapFocus();if(o===-1)return s>0?0:a-1;let d=o+s;return n?(d<0&&(d=a-1),d>=a&&(d=0)):(d<0&&(d=0),d>=a&&(d=a-1)),d}getDeepActiveElement(){var s;let o=document.activeElement||document.body;for(;o instanceof HTMLElement&&((s=o.shadowRoot)!=null&&s.activeElement);)o=o.shadowRoot.activeElement;return o||document.body}findElement(o){return this.focusableElements.findIndex(s=>this.isEqualFocusNode(o,s))}isEqualFocusNode(o,s){return o.nodeType>=0?s.isEqualNode(o)&&s===o:!1}trapFocus(o){if(this.focusableElements.length===0)return;let s=this.getDeepActiveElement(),a=this.findElement(s);o?this.focusTrapIndex=this.calculateNextIndex(a,-1):this.focusTrapIndex=this.calculateNextIndex(a,1);let n=this.focusableElements[this.focusTrapIndex];n&&n.focus()}handleKeydown(o){!this.enabledFocusTrap||!this.focusableElements.length||o.key==="Tab"&&(o.preventDefault(),this.trapFocus(o.shiftKey))}}return l([c({type:Boolean})],t.prototype,"enabledFocusTrap",2),l([c({type:Boolean})],t.prototype,"enabledPreventScroll",2),t};var wi=class{constructor(){this.stack=[]}push(t){this.stack.push(t)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(t){this.stack=this.stack.filter(e=>e!==t)}clear(){this.stack=[]}},vt=new wi;var yt=class{static dispatchPopoverEvent(t,e){e.dispatchEvent(new CustomEvent(t,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowPopover(t){this.dispatchPopoverEvent("shown",t)}static onHidePopover(t){this.dispatchPopoverEvent("hidden",t)}static onCreatedPopover(t){this.dispatchPopoverEvent("created",t)}static onDestroyedPopover(t){this.dispatchPopoverEvent("destroyed",t)}};var To=class{constructor(t){this.arrowPixelChange=!1;this.popover=t}setupDelay(){try{let[t,e]=this.popover.delay.split(",").map(r=>{let o=parseInt(r,10);if(Number.isNaN(o)||o<0)throw new Error(`Invalid delay value: ${r}`);return o});return[t,e]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(t){let e=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(e.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,o=this.popover.offsetHeight||0,s=this.popover.offsetWidth||0;if(e)switch(t.split("-")[0]){case"top":e.style.height=r,e.style.bottom=`calc(-1 * (${r}))`,e.style.left="50%",e.style.width=`${s}px`;break;case"left":e.style.height=`${o}px`,e.style.width=r,e.style.right=`calc(-1.5 * (${r}))`;break;case"right":e.style.height=`${o}px`,e.style.width=r,e.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:e.style.height=r,e.style.top=`calc(-1 * (${r}))`,e.style.left="50%",e.style.width=`${s}px`;break}}setupAppendTo(){if(this.popover.appendTo){let t=document.getElementById(this.popover.appendTo);t&&t.appendChild(this.popover)}}setupAccessibility(){var t,e,r;this.popover.toggleAttribute("aria-modal",this.popover.interactive),this.popover.interactive&&(this.popover.ariaLabel||(this.popover.ariaLabel=((t=this.popover.triggerElement)==null?void 0:t.ariaLabel)||((e=this.popover.triggerElement)==null?void 0:e.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateArrowStyle(t,e){var h;if(!this.popover.arrowElement)return;let r=e.split("-")[0],o={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:s,y:a}=t,n=this.popover.arrowElement.getBoundingClientRect(),d=(h=this.popover.arrowElement.offsetParent)==null?void 0:h.getBoundingClientRect();if(!this.arrowPixelChange){let u=d!=null&&d[o]?12-Math.abs(n[o]-d[o]):0;Math.round(u)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let m=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:s!=null?`${s}px`:"",top:a!=null?`${a}px`:"",[o]:`${-this.popover.arrowElement.offsetHeight/2-m}px`})}updatePopoverStyle(t,e){Object.assign(this.popover.style,{left:`${t}px`,top:`${e}px`})}createBackdrop(){var t;if(!this.popover.backdropElement){let e=document.createElement("div");e.classList.add("popover-backdrop"),(t=this.popover.parentElement)==null||t.appendChild(e);let r=document.createElement("style");r.textContent=`
1595
+ `,hn=[Hc];var un=b.constructTagName("popover"),Ve={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Or={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Mr={TONAL:"tonal",CONTRAST:"contrast"},O={PLACEMENT:Ve.BOTTOM,TRIGGER:Or.CLICK,COLOR:Mr.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1};var fn=i=>{class t extends i{constructor(...o){super(...o);this.enabledFocusTrap=O.FOCUS_TRAP;this.enabledPreventScroll=O.PREVENT_SCROLL;this.focusTrapIndex=-1;this.focusableElements=[];this.shouldWrapFocus=()=>!0;this.addEventListener("keydown",this.handleKeydown)}deactivateFocusTrap(){this.enabledFocusTrap=!1,this.enabledPreventScroll=!1,this.focusTrapIndex=-1,document.body.style.overflow=""}hasNoClientRects(o){return o.getClientRects().length===0}hasZeroDimensions(o){let{width:s,height:a}=o.getBoundingClientRect(),{offsetWidth:n,offsetHeight:d}=o;return n+d+a+s===0}isNotVisible(o){return this.hasZeroDimensions(o)||this.hasNoClientRects(o)}hasHiddenStyle(o){let{display:s,opacity:a,visibility:n}=o.style;return s==="none"||a==="0"||n==="hidden"||n==="collapse"}hasComputedHidden(o){let s=getComputedStyle(o);return s.visibility==="hidden"||s.height==="0"||s.display==="none"}isHidden(o){return o.hasAttribute("hidden")||o.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(o)||this.isNotVisible(o)||this.hasComputedHidden(o)}isNotTabbable(o){return o.getAttribute("tabindex")==="-1"}isInteractiveElement(o){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(o.tagName)||o instanceof HTMLAnchorElement&&o.hasAttribute("href")||o instanceof HTMLInputElement&&o.type!=="hidden"||(o instanceof HTMLAudioElement||o instanceof HTMLVideoElement)&&o.hasAttribute("controls")||(o instanceof HTMLImageElement||o instanceof HTMLObjectElement)&&o.hasAttribute("usemap")||o.hasAttribute("tabindex")&&o.tabIndex>-1)}isFocusable(o){return this.isHidden(o)||this.isNotTabbable(o)?!1:this.isInteractiveElement(o)}findFocusable(o,s=new Set){return o instanceof HTMLElement&&this.isFocusable(o)&&s.add(o),Array.from(o.children).forEach(n=>{let d=n;this.isFocusable(d)&&s.add(d),d.shadowRoot?this.findFocusable(d.shadowRoot,s):d.tagName==="SLOT"?d.assignedElements({flatten:!0}).forEach(h=>{h instanceof HTMLElement&&this.findFocusable(h,s)}):this.findFocusable(d,s)}),[...s]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(o=0){this.focusableElements.length!==0&&(this.enabledPreventScroll&&(document.body.style.overflow="hidden"),this.focusableElements[o]&&(this.focusTrapIndex=o,this.focusableElements[o].focus()))}calculateNextIndex(o,s){let{length:a}=this.focusableElements,n=this.shouldWrapFocus();if(o===-1)return s>0?0:a-1;let d=o+s;return n?(d<0&&(d=a-1),d>=a&&(d=0)):(d<0&&(d=0),d>=a&&(d=a-1)),d}getDeepActiveElement(){var s;let o=document.activeElement||document.body;for(;o instanceof HTMLElement&&((s=o.shadowRoot)!=null&&s.activeElement);)o=o.shadowRoot.activeElement;return o||document.body}findElement(o){return this.focusableElements.findIndex(s=>this.isEqualFocusNode(o,s))}isEqualFocusNode(o,s){return o.nodeType>=0?s.isEqualNode(o)&&s===o:!1}trapFocus(o){if(this.focusableElements.length===0)return;let s=this.getDeepActiveElement(),a=this.findElement(s);o?this.focusTrapIndex=this.calculateNextIndex(a,-1):this.focusTrapIndex=this.calculateNextIndex(a,1);let n=this.focusableElements[this.focusTrapIndex];n&&n.focus()}handleKeydown(o){!this.enabledFocusTrap||!this.focusableElements.length||o.key==="Tab"&&(o.preventDefault(),this.trapFocus(o.shiftKey))}}return l([c({type:Boolean})],t.prototype,"enabledFocusTrap",2),l([c({type:Boolean})],t.prototype,"enabledPreventScroll",2),t};var Ci=class{constructor(){this.stack=[]}push(t){this.stack.push(t)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(t){this.stack=this.stack.filter(e=>e!==t)}clear(){this.stack=[]}},vt=new Ci;var yt=class{static dispatchPopoverEvent(t,e){e.dispatchEvent(new CustomEvent(t,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowPopover(t){this.dispatchPopoverEvent("shown",t)}static onHidePopover(t){this.dispatchPopoverEvent("hidden",t)}static onCreatedPopover(t){this.dispatchPopoverEvent("created",t)}static onDestroyedPopover(t){this.dispatchPopoverEvent("destroyed",t)}};var To=class{constructor(t){this.arrowPixelChange=!1;this.popover=t}setupDelay(){try{let[t,e]=this.popover.delay.split(",").map(r=>{let o=parseInt(r,10);if(Number.isNaN(o)||o<0)throw new Error(`Invalid delay value: ${r}`);return o});return[t,e]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(t){let e=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(e.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,o=this.popover.offsetHeight||0,s=this.popover.offsetWidth||0;if(e)switch(t.split("-")[0]){case"top":e.style.height=r,e.style.bottom=`calc(-1 * (${r}))`,e.style.left="50%",e.style.width=`${s}px`;break;case"left":e.style.height=`${o}px`,e.style.width=r,e.style.right=`calc(-1.5 * (${r}))`;break;case"right":e.style.height=`${o}px`,e.style.width=r,e.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:e.style.height=r,e.style.top=`calc(-1 * (${r}))`,e.style.left="50%",e.style.width=`${s}px`;break}}setupAppendTo(){if(this.popover.appendTo){let t=document.getElementById(this.popover.appendTo);t&&t.appendChild(this.popover)}}setupAccessibility(){var t,e,r;this.popover.toggleAttribute("aria-modal",this.popover.interactive),this.popover.interactive&&(this.popover.ariaLabel||(this.popover.ariaLabel=((t=this.popover.triggerElement)==null?void 0:t.ariaLabel)||((e=this.popover.triggerElement)==null?void 0:e.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateArrowStyle(t,e){var h;if(!this.popover.arrowElement)return;let r=e.split("-")[0],o={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:s,y:a}=t,n=this.popover.arrowElement.getBoundingClientRect(),d=(h=this.popover.arrowElement.offsetParent)==null?void 0:h.getBoundingClientRect();if(!this.arrowPixelChange){let u=d!=null&&d[o]?12-Math.abs(n[o]-d[o]):0;Math.round(u)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let m=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:s!=null?`${s}px`:"",top:a!=null?`${a}px`:"",[o]:`${-this.popover.arrowElement.offsetHeight/2-m}px`})}updatePopoverStyle(t,e){Object.assign(this.popover.style,{left:`${t}px`,top:`${e}px`})}createBackdrop(){var t;if(!this.popover.backdropElement){let e=document.createElement("div");e.classList.add("popover-backdrop"),(t=this.popover.parentElement)==null||t.appendChild(e);let r=document.createElement("style");r.textContent=`
1596
1596
  .popover-backdrop {
1597
1597
  position: fixed;
1598
1598
  top: 0;
@@ -1616,7 +1616,7 @@
1616
1616
  <div part="popover-content">
1617
1617
  <slot></slot>
1618
1618
  </div>
1619
- `}};L.styles=[...y.styles,...hn],l([c({type:String,reflect:!0})],L.prototype,"id",2),l([c({type:String,reflect:!0})],L.prototype,"triggerID",2),l([c({type:String,reflect:!0})],L.prototype,"trigger",2),l([c({type:String,reflect:!0})],L.prototype,"placement",2),l([c({type:String,reflect:!0})],L.prototype,"color",2),l([c({type:Boolean,reflect:!0})],L.prototype,"visible",2),l([c({type:Number,reflect:!0})],L.prototype,"offset",2),l([c({type:Boolean,reflect:!0,attribute:"focus-trap"})],L.prototype,"focusTrap",2),l([c({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],L.prototype,"preventScroll",2),l([c({type:Boolean,reflect:!0,attribute:"show-arrow"})],L.prototype,"showArrow",2),l([c({type:Boolean,reflect:!0,attribute:"close-button"})],L.prototype,"closeButton",2),l([c({type:Boolean,reflect:!0})],L.prototype,"interactive",2),l([c({type:String,reflect:!0})],L.prototype,"delay",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],L.prototype,"hideOnEscape",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],L.prototype,"hideOnBlur",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],L.prototype,"hideOnOutsideClick",2),l([c({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],L.prototype,"focusBackToTrigger",2),l([c({type:Boolean,reflect:!0})],L.prototype,"backdrop",2),l([c({type:Boolean,reflect:!0})],L.prototype,"flip",2),l([c({type:Boolean,reflect:!0})],L.prototype,"size",2),l([c({type:Number,reflect:!0,attribute:"z-index"})],L.prototype,"zIndex",2),l([c({type:String,reflect:!0,attribute:"append-to"})],L.prototype,"appendTo",2),l([c({type:String,attribute:"close-button-aria-label"})],L.prototype,"closeButtonAriaLabel",2),l([c({type:String,reflect:!0})],L.prototype,"role",2),l([c({type:String,reflect:!0,attribute:"aria-labelledby"})],L.prototype,"ariaLabelledby",2),l([c({type:String,reflect:!0,attribute:"aria-describedby"})],L.prototype,"ariaDescribedby",2),l([c({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],L.prototype,"disableAriaExpanded",2);var Qe=L;var bn=b.constructTagName("coachmark"),xt={COLOR:Mr.CONTRAST,TRIGGER:Or.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Et=class extends Qe{constructor(){super(...arguments);this.trigger=xt.TRIGGER;this.showArrow=xt.ARROW;this.closeButton=xt.CLOSE_BUTTON;this.disableAriaExpanded=xt.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=xt.COLOR,this.showArrow=xt.ARROW}};l([c({type:String,reflect:!0})],Et.prototype,"trigger",2),l([c({type:Boolean,attribute:"show-arrow"})],Et.prototype,"showArrow",2),l([c({type:Boolean,reflect:!0,attribute:"close-button"})],Et.prototype,"closeButton",2),l([c({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Et.prototype,"disableAriaExpanded",2);var Ci=Et;Ci.register(bn);var Bc=Ci;var gn=b.constructTagName("divider"),Dr={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Li={SOLID:"solid",GRADIENT:"gradient"},Je={POSITIVE:"positive",NEGATIVE:"negative"},$r={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Tt={ORIENTATION:Dr.HORIZONTAL,VARIANT:Li.SOLID,ARROW_DIRECTION:Je.NEGATIVE,BUTTON_DIRECTION:Je.NEGATIVE};var Gc=[C,f`
1619
+ `}};L.styles=[...y.styles,...hn],l([c({type:String,reflect:!0})],L.prototype,"id",2),l([c({type:String,reflect:!0})],L.prototype,"triggerID",2),l([c({type:String,reflect:!0})],L.prototype,"trigger",2),l([c({type:String,reflect:!0})],L.prototype,"placement",2),l([c({type:String,reflect:!0})],L.prototype,"color",2),l([c({type:Boolean,reflect:!0})],L.prototype,"visible",2),l([c({type:Number,reflect:!0})],L.prototype,"offset",2),l([c({type:Boolean,reflect:!0,attribute:"focus-trap"})],L.prototype,"focusTrap",2),l([c({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],L.prototype,"preventScroll",2),l([c({type:Boolean,reflect:!0,attribute:"show-arrow"})],L.prototype,"showArrow",2),l([c({type:Boolean,reflect:!0,attribute:"close-button"})],L.prototype,"closeButton",2),l([c({type:Boolean,reflect:!0})],L.prototype,"interactive",2),l([c({type:String,reflect:!0})],L.prototype,"delay",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],L.prototype,"hideOnEscape",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],L.prototype,"hideOnBlur",2),l([c({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],L.prototype,"hideOnOutsideClick",2),l([c({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],L.prototype,"focusBackToTrigger",2),l([c({type:Boolean,reflect:!0})],L.prototype,"backdrop",2),l([c({type:Boolean,reflect:!0})],L.prototype,"flip",2),l([c({type:Boolean,reflect:!0})],L.prototype,"size",2),l([c({type:Number,reflect:!0,attribute:"z-index"})],L.prototype,"zIndex",2),l([c({type:String,reflect:!0,attribute:"append-to"})],L.prototype,"appendTo",2),l([c({type:String,attribute:"close-button-aria-label"})],L.prototype,"closeButtonAriaLabel",2),l([c({type:String,reflect:!0})],L.prototype,"role",2),l([c({type:String,reflect:!0,attribute:"aria-labelledby"})],L.prototype,"ariaLabelledby",2),l([c({type:String,reflect:!0,attribute:"aria-describedby"})],L.prototype,"ariaDescribedby",2),l([c({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],L.prototype,"disableAriaExpanded",2);var Qe=L;var bn=b.constructTagName("coachmark"),xt={COLOR:Mr.CONTRAST,TRIGGER:Or.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Et=class extends Qe{constructor(){super(...arguments);this.trigger=xt.TRIGGER;this.showArrow=xt.ARROW;this.closeButton=xt.CLOSE_BUTTON;this.disableAriaExpanded=xt.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=xt.COLOR,this.showArrow=xt.ARROW}};l([c({type:String,reflect:!0})],Et.prototype,"trigger",2),l([c({type:Boolean,attribute:"show-arrow"})],Et.prototype,"showArrow",2),l([c({type:Boolean,reflect:!0,attribute:"close-button"})],Et.prototype,"closeButton",2),l([c({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Et.prototype,"disableAriaExpanded",2);var wi=Et;wi.register(bn);var Bc=wi;var gn=b.constructTagName("divider"),Dr={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Li={SOLID:"solid",GRADIENT:"gradient"},Je={POSITIVE:"positive",NEGATIVE:"negative"},$r={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Tt={ORIENTATION:Dr.HORIZONTAL,VARIANT:Li.SOLID,ARROW_DIRECTION:Je.NEGATIVE,BUTTON_DIRECTION:Je.NEGATIVE};var Gc=[w,f`
1620
1620
  :host {
1621
1621
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
1622
1622
  --mdc-divider-width: 0.0625rem;
@@ -1998,7 +1998,7 @@
1998
1998
  opacity: 0;
1999
1999
  pointer-events: none;
2000
2000
  }
2001
- `,...R(!0)],An=jc;Z.register(La);var de=Z;var Sn=b.constructTagName("input"),_o={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},$i={OFF:"off",ON:"on"},zi={TEXT:"text",SEARCH:"search"},_n={MAX_LENGTH:10,VALIDATION:B.ERROR},Ue={VALIDATION:B.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ze.TERTIARY,CLEAR_BUTTON_SIZE:Ae[20],PREFIX_TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:w.SPAN,AUTO_COMPLETE:$i.OFF,INPUT_TYPE:zi.TEXT};var U=class extends Q(P(de)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=_o.OFF;this.autocomplete=$i.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.inputElement.checkValidity(),this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setInputValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&this.handleValueChange()}setInputValidity(){this.requiredLabel&&this.validationMessage&&this.value===""?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()}attributeChangedCallback(e,r,o){super.attributeChangedCallback(e,r,o),["maxlength","minlength","pattern","required"].includes(e)&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(a=>{this.onerror&&this.onerror(a)})}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity()}onChange(e){this.updateValue(),this.setInputValidity();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?p`
2001
+ `,...R(!0)],An=jc;Z.register(La);var de=Z;var Sn=b.constructTagName("input"),_o={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},$i={OFF:"off",ON:"on"},zi={TEXT:"text",SEARCH:"search"},_n={MAX_LENGTH:10,VALIDATION:B.ERROR},Ue={VALIDATION:B.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ze.TERTIARY,CLEAR_BUTTON_SIZE:Ae[20],PREFIX_TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:C.SPAN,AUTO_COMPLETE:$i.OFF,INPUT_TYPE:zi.TEXT};var U=class extends Q(P(de)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=_o.OFF;this.autocomplete=$i.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.inputElement.checkValidity(),this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setInputValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&this.handleValueChange()}setInputValidity(){this.requiredLabel&&this.validationMessage&&this.value===""?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()}attributeChangedCallback(e,r,o){super.attributeChangedCallback(e,r,o),["maxlength","minlength","pattern","required"].includes(e)&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(a=>{this.onerror&&this.onerror(a)})}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity()}onChange(e){this.updateValue(),this.setInputValidity();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?p`
2002
2002
  <mdc-icon
2003
2003
  class="leading-icon"
2004
2004
  part="leading-icon"
@@ -2092,7 +2092,7 @@
2092
2092
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2093
2093
  cursor: auto;
2094
2094
  }
2095
- `,In=[C,Qc];var kn=b.constructTagName("inputchip"),Io={TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:w.SPAN,CLOSE_ICON:"cancel-bold"};var At=class extends K(se(y)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?p`
2095
+ `,In=[w,Qc];var kn=b.constructTagName("inputchip"),Io={TEXT_TYPE:_.BODY_MIDSIZE_REGULAR,TAG_NAME:C.SPAN,CLOSE_ICON:"cancel-bold"};var At=class extends K(se(y)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?p`
2096
2096
  <mdc-icon
2097
2097
  name="${this.iconName}"
2098
2098
  length-unit="rem"
@@ -2109,7 +2109,7 @@
2109
2109
  size="20"
2110
2110
  @click="${this.handleClose}"
2111
2111
  ></mdc-button>
2112
- `}};At.styles=[...y.styles,...In],l([c({type:String})],At.prototype,"label",2),l([c({type:Boolean})],At.prototype,"error",2),l([c({type:String,attribute:"clear-aria-label"})],At.prototype,"clearAriaLabel",2);var Pi=At;Pi.register(kn);var Jc=Pi;var wn=b.constructTagName("link"),ko={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},wo={LARGE:1,MIDSIZE:.875,SMALL:.75},Co={INLINE:!1,INVERTED:!1,LINK_SIZE:ko.LARGE};var ed=[C,f`
2112
+ `}};At.styles=[...y.styles,...In],l([c({type:String})],At.prototype,"label",2),l([c({type:Boolean})],At.prototype,"error",2),l([c({type:String,attribute:"clear-aria-label"})],At.prototype,"clearAriaLabel",2);var Pi=At;Pi.register(kn);var Jc=Pi;var Cn=b.constructTagName("link"),ko={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Co={LARGE:1,MIDSIZE:.875,SMALL:.75},wo={INLINE:!1,INVERTED:!1,LINK_SIZE:ko.LARGE};var ed=[w,f`
2113
2113
 
2114
2114
  :host {
2115
2115
 
@@ -2232,11 +2232,11 @@
2232
2232
  :host(:active)::part(link-container) {
2233
2233
  box-shadow: none;
2234
2234
  }
2235
- `],Cn=ed;var St=class extends se(K(y)){constructor(){super(...arguments);this.inline=Co.INLINE;this.inverted=Co.INVERTED;this.size=Co.LINK_SIZE;this.prevTabindex=null}getIconSize(){switch(this.size){case ko.SMALL:return wo.SMALL;case ko.MIDSIZE:return wo.MIDSIZE;default:return wo.LARGE}}setDisabled(e){e?(this.prevTabindex=this.hasAttribute("tabindex")?this.tabIndex:null,this.tabIndex=-1,this.setAttribute("aria-disabled","true")):this.prevTabindex===null?(this.removeAttribute("tabindex"),this.removeAttribute("aria-disabled")):(this.tabIndex=this.prevTabindex,this.removeAttribute("aria-disabled"))}updateTrailingIcon(){var o,s;let e=(s=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"))==null?void 0:s.assignedElements({flatten:!0}).find(a=>a.tagName==="A"),r=this.getIconSize();if(this.iconName&&e){let a=document.createElement("mdc-icon");a.setAttribute("name",this.iconName),a.setAttribute("size",`${r}`),a.setAttribute("length-unit","rem"),e.appendChild(a)}}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return p`
2235
+ `],wn=ed;var St=class extends se(K(y)){constructor(){super(...arguments);this.inline=wo.INLINE;this.inverted=wo.INVERTED;this.size=wo.LINK_SIZE;this.prevTabindex=null}getIconSize(){switch(this.size){case ko.SMALL:return Co.SMALL;case ko.MIDSIZE:return Co.MIDSIZE;default:return Co.LARGE}}setDisabled(e){e?(this.prevTabindex=this.hasAttribute("tabindex")?this.tabIndex:null,this.tabIndex=-1,this.setAttribute("aria-disabled","true")):this.prevTabindex===null?(this.removeAttribute("tabindex"),this.removeAttribute("aria-disabled")):(this.tabIndex=this.prevTabindex,this.removeAttribute("aria-disabled"))}updateTrailingIcon(){var o,s;let e=(s=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"))==null?void 0:s.assignedElements({flatten:!0}).find(a=>a.tagName==="A"),r=this.getIconSize();if(this.iconName&&e){let a=document.createElement("mdc-icon");a.setAttribute("name",this.iconName),a.setAttribute("size",`${r}`),a.setAttribute("length-unit","rem"),e.appendChild(a)}}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return p`
2236
2236
  <div part='link-container' class='mdc-focus-ring'>
2237
2237
  <slot @slotchange=${this.updateTrailingIcon}></slot>
2238
2238
  </div>
2239
- `}};St.styles=[...y.styles,...Cn],l([c({type:Boolean,reflect:!0})],St.prototype,"inline",2),l([c({type:Boolean,reflect:!0})],St.prototype,"inverted",2),l([c({type:String,reflect:!0})],St.prototype,"size",2);var Vi=St;Vi.register(wn);var td=Vi;var Lo=b.constructTagName("listitem"),Ui={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Ln={VARIANT:Ui.FULL_WIDTH};var Nn=b.constructTagName("list"),Fi="header-id";var rd=f`
2239
+ `}};St.styles=[...y.styles,...wn],l([c({type:Boolean,reflect:!0})],St.prototype,"inline",2),l([c({type:Boolean,reflect:!0})],St.prototype,"inverted",2),l([c({type:String,reflect:!0})],St.prototype,"size",2);var Vi=St;Vi.register(Cn);var td=Vi;var Lo=b.constructTagName("listitem"),Ui={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Ln={VARIANT:Ui.FULL_WIDTH};var Nn=b.constructTagName("list"),Fi="header-id";var rd=f`
2240
2240
  :host::part(header-text) {
2241
2241
  padding: 0.5rem 0.75rem;
2242
2242
  }
@@ -2245,7 +2245,7 @@
2245
2245
  id="${Fi}"
2246
2246
  part="header-text"
2247
2247
  type="${_.BODY_MIDSIZE_BOLD}"
2248
- tagname="${w.SPAN}"
2248
+ tagname="${C.SPAN}"
2249
2249
  >${this.headerText}</mdc-text>
2250
2250
  `:v;return p`
2251
2251
  <div
@@ -2328,7 +2328,7 @@
2328
2328
  }
2329
2329
  `,On=[id,...R()];var me=class extends P(se(ro(y))){constructor(){super(...arguments);this.variant=Ln.VARIANT}connectedCallback(){super.connectedCallback(),this.role=this.role||"listitem"}getText(e,r,o){return o?p`
2330
2330
  <slot name="${e}">
2331
- <mdc-text part="${e}" type="${r}" tagname="${w.SPAN}">${o}</mdc-text>
2331
+ <mdc-text part="${e}" type="${r}" tagname="${C.SPAN}">${o}</mdc-text>
2332
2332
  </slot>
2333
2333
  `:v}disableSlottedChildren(e){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(r=>{e?r.setAttribute("disabled",""):r.removeAttribute("disabled")})}update(e){super.update(e),e.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled))}render(){return p`
2334
2334
  <div part="leading">
@@ -2389,7 +2389,7 @@
2389
2389
  id="${Gi}"
2390
2390
  part="header-text"
2391
2391
  type="${_.BODY_MIDSIZE_BOLD}"
2392
- tagname="${w.SPAN}"
2392
+ tagname="${C.SPAN}"
2393
2393
  >${this.label}</mdc-text>
2394
2394
  `:v;return p`
2395
2395
  <div
@@ -2573,7 +2573,7 @@
2573
2573
  ${this.renderProgressbar()}
2574
2574
  ${this.renderHelperText()}
2575
2575
  `}
2576
- `}};It.styles=[...de.styles,...Fn],l([c({type:String,reflect:!0})],It.prototype,"variant",2),l([c({type:String,reflect:!0})],It.prototype,"value",2),l([c({type:Boolean,attribute:"error"})],It.prototype,"error",2);var Zi=It;Zi.register(Hn);var bd=Zi;var gd=[C,f`
2576
+ `}};It.styles=[...de.styles,...Fn],l([c({type:String,reflect:!0})],It.prototype,"variant",2),l([c({type:String,reflect:!0})],It.prototype,"value",2),l([c({type:Boolean,attribute:"error"})],It.prototype,"error",2);var Zi=It;Zi.register(Hn);var bd=Zi;var gd=[w,f`
2577
2577
  :host{
2578
2578
  --mdc-radio-inner-circle-size: 0.375rem;
2579
2579
  --mdc-radio-text-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -2918,7 +2918,7 @@
2918
2918
  :host([help-text-type="warning"])::part(base-container) {
2919
2919
  border-color: var(--mdc-select-warning-border-color);
2920
2920
  }
2921
- `,Kn=[_d,...R(!0)];var ee=class extends Q(P(Z)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.baseIconName=$o.ARROW_DOWN;this.selectedValue="";this.showPopover=!1;this.activeDescendant=""}connectedCallback(){super.connectedCallback(),this.value=void 0,this.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydown)}getAllValidOptions(){var e;return((e=this.optionsList)==null?void 0:e.map(r=>r.tagName.toLowerCase()===Vr?r:r.tagName.toLowerCase()===No?Array.from(r.children).filter(o=>o.tagName.toLowerCase()===Vr):[]).flat())||[]}handlePopoverOpen(){this.baseIconName=$o.ARROW_UP}handlePopoverClose(){this.baseIconName=$o.ARROW_DOWN}updateTabIndexForAllOptions(e){var o;let r=!1;this.getAllValidOptions().forEach(s=>{s===e?(this.setSelectedValue(s),r=!0,s.setAttribute("selected",""),s.setAttribute("tabindex","0")):(s==null||s.setAttribute("tabindex","-1"),s==null||s.removeAttribute("selected"))}),!r&&((o=this.getAllValidOptions()[0])==null||o.setAttribute("tabindex","0"))}handleOptionsClick(e){this.updateTabIndexForAllOptions(e.target)}setSelectedValue(e){var r,o,s,a;this.selectedValueText=(o=(r=e==null?void 0:e.getAttribute("label"))!=null?r:e==null?void 0:e.textContent)!=null?o:"",this.selectedValue=(a=(s=e==null?void 0:e.getAttribute("value"))!=null?s:e==null?void 0:e.textContent)!=null?a:"",this.internals.setFormValue(this.selectedValue),this.manageRequired(),this.dispatchChange(this.selectedValue)}manageRequired(){!this.selectedValue&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.selectedValue="",this.selectedValueText=void 0,this.internals.setFormValue(this.selectedValue),this.updateTabIndexForAllOptions()}formStateRestoreCallback(e){this.selectedValue=e,this.selectedValueText=e}dispatchChange(e){e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:e},composed:!0,bubbles:!0}))}handleKeydown(e){this.showPopover?this.handlePopoverOnOpen(e):this.handlePopoverOnClose(e)}handlePopoverOnOpen(e){var r;switch(e.key){case D.SPACE:this.updateTabIndexForAllOptions(e.target),this.closePopover();break;case D.ENTER:this.updateTabIndexForAllOptions(e.target),this.closePopover(),(r=this.form)==null||r.requestSubmit();break;case D.ESCAPE:this.closePopover();break;case D.HOME:this.setFocusAndTabIndex(0);break;case D.END:this.setFocusAndTabIndex(this.getAllValidOptions().length-1);break;case D.ARROW_DOWN:case D.ARROW_UP:case D.PAGE_DOWN:case D.PAGE_UP:this.handleOptionsNavigation(e),this.updateActivedescendant(e.target);break;default:break}}handlePopoverOnClose(e){switch(e.key){case D.ARROW_DOWN:case D.ARROW_UP:case D.ENTER:case D.SPACE:this.openPopover(),e.preventDefault();break;case D.HOME:this.openPopover(),this.setFocusAndTabIndex(0);break;case D.END:this.openPopover(),this.setFocusAndTabIndex(this.getAllValidOptions().length-1);break;default:break}}handleOptionsNavigation(e){let r=this.getAllValidOptions(),o=r.findIndex(a=>a===e.target),s=this.getNewIndexBasedOnKey(e.key,o,r.length);s!==-1&&(this.setFocusAndTabIndex(s),e.preventDefault())}getNewIndexBasedOnKey(e,r,o){return e===D.ARROW_DOWN&&r!==o-1?r+1:e===D.ARROW_UP&&r>0?r-1:e===D.PAGE_DOWN?r+10>o?o-1:r+10:e===D.PAGE_UP?r-10<0?0:r-10:-1}updateActivedescendant(e){var o,s;let r=this.getAllValidOptions().findIndex(a=>a===e);this.activeDescendant=(s=(o=this.getAllValidOptions()[r])==null?void 0:o.id)!=null?s:""}resetActivedescendant(){this.activeDescendant=""}setFocusAndTabIndex(e){var r;(r=this.getAllValidOptions()[e])==null||r.focus(),this.getAllValidOptions().forEach((o,s)=>{let a=e===s?"0":"-1";o==null||o.setAttribute("tabindex",a)})}openPopover(){this.showPopover=!0,this.resetActivedescendant()}closePopover(){this.showPopover=!1,this.resetActivedescendant()}firstUpdated(){let e=this.getAllValidOptions(),r=e.findIndex(o=>o==null?void 0:o.hasAttribute("selected"));r!==-1?(this.setSelectedValue(e[r]),this.updateTabIndexForAllOptions(e[r])):this.placeholder?this.placeholder&&this.manageRequired():(this.setSelectedValue(e[0]),this.updateTabIndexForAllOptions())}getNativeSelect(){var e;return p`
2921
+ `,Kn=[_d,...R(!0)];var ee=class extends Q(P(Z)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.baseIconName=$o.ARROW_DOWN;this.selectedValue="";this.displayPopover=!1;this.activeDescendant=""}connectedCallback(){super.connectedCallback(),this.value=void 0,this.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydown)}getAllValidOptions(){var e;return((e=this.optionsList)==null?void 0:e.map(r=>r.tagName.toLowerCase()===Vr?r:r.tagName.toLowerCase()===No?Array.from(r.children).filter(o=>o.tagName.toLowerCase()===Vr):[]).flat())||[]}handlePopoverOpen(){this.baseIconName=$o.ARROW_UP}handlePopoverClose(){this.baseIconName=$o.ARROW_DOWN}updateTabIndexForAllOptions(e){var o;let r=!1;this.getAllValidOptions().forEach(s=>{s===e?(this.setSelectedValue(s),r=!0,s.setAttribute("selected",""),s.setAttribute("tabindex","0")):(s==null||s.setAttribute("tabindex","-1"),s==null||s.removeAttribute("selected"))}),!r&&((o=this.getAllValidOptions()[0])==null||o.setAttribute("tabindex","0"))}handleOptionsClick(e){this.updateTabIndexForAllOptions(e.target)}setSelectedValue(e){var r,o,s,a;this.selectedValueText=(o=(r=e==null?void 0:e.getAttribute("label"))!=null?r:e==null?void 0:e.textContent)!=null?o:"",this.selectedValue=(a=(s=e==null?void 0:e.getAttribute("value"))!=null?s:e==null?void 0:e.textContent)!=null?a:"",this.internals.setFormValue(this.selectedValue),this.manageRequired(),this.dispatchChange(this.selectedValue)}manageRequired(){!this.selectedValue&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.selectedValue="",this.selectedValueText=void 0,this.internals.setFormValue(this.selectedValue),this.updateTabIndexForAllOptions()}formStateRestoreCallback(e){this.selectedValue=e,this.selectedValueText=e}dispatchChange(e){e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:e},composed:!0,bubbles:!0}))}handleKeydown(e){this.displayPopover?this.handlePopoverOnOpen(e):this.handlePopoverOnClose(e)}handlePopoverOnOpen(e){var r;switch(e.key){case D.SPACE:this.updateTabIndexForAllOptions(e.target),this.closePopover();break;case D.ENTER:this.updateTabIndexForAllOptions(e.target),this.closePopover(),(r=this.form)==null||r.requestSubmit();break;case D.ESCAPE:this.closePopover();break;case D.HOME:this.setFocusAndTabIndex(0);break;case D.END:this.setFocusAndTabIndex(this.getAllValidOptions().length-1);break;case D.ARROW_DOWN:case D.ARROW_UP:case D.PAGE_DOWN:case D.PAGE_UP:this.handleOptionsNavigation(e),this.updateActivedescendant(e.target);break;default:break}}handlePopoverOnClose(e){switch(e.key){case D.ARROW_DOWN:case D.ARROW_UP:case D.ENTER:case D.SPACE:this.openPopover(),e.preventDefault();break;case D.HOME:this.openPopover(),this.setFocusAndTabIndex(0);break;case D.END:this.openPopover(),this.setFocusAndTabIndex(this.getAllValidOptions().length-1);break;default:break}}handleOptionsNavigation(e){let r=this.getAllValidOptions(),o=r.findIndex(a=>a===e.target),s=this.getNewIndexBasedOnKey(e.key,o,r.length);s!==-1&&(this.setFocusAndTabIndex(s),e.preventDefault())}getNewIndexBasedOnKey(e,r,o){return e===D.ARROW_DOWN&&r!==o-1?r+1:e===D.ARROW_UP&&r>0?r-1:e===D.PAGE_DOWN?r+10>o?o-1:r+10:e===D.PAGE_UP?r-10<0?0:r-10:-1}updateActivedescendant(e){var o,s;let r=this.getAllValidOptions().findIndex(a=>a===e);this.activeDescendant=(s=(o=this.getAllValidOptions()[r])==null?void 0:o.id)!=null?s:""}resetActivedescendant(){this.activeDescendant=""}setFocusAndTabIndex(e){var r;(r=this.getAllValidOptions()[e])==null||r.focus(),this.getAllValidOptions().forEach((o,s)=>{let a=e===s?"0":"-1";o==null||o.setAttribute("tabindex",a)})}openPopover(){this.displayPopover=!0,this.resetActivedescendant()}closePopover(){this.displayPopover=!1,this.resetActivedescendant()}firstUpdated(){let e=this.getAllValidOptions(),r=e.findIndex(o=>o==null?void 0:o.hasAttribute("selected"));r!==-1?(this.setSelectedValue(e[r]),this.updateTabIndexForAllOptions(e[r])):this.placeholder?this.placeholder&&this.manageRequired():(this.setSelectedValue(e[0]),this.updateTabIndexForAllOptions())}getNativeSelect(){var e;return p`
2922
2922
  <select
2923
2923
  part="native-select"
2924
2924
  id="${this.id}"
@@ -2930,7 +2930,7 @@
2930
2930
  ?disabled="${this.disabled}"
2931
2931
  ?required="${!!this.requiredLabel}"
2932
2932
  aria-activedescendant="${this.activeDescendant}"
2933
- aria-expanded="${this.showPopover}"
2933
+ aria-expanded="${this.displayPopover}"
2934
2934
  aria-haspopup="listbox"
2935
2935
  aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
2936
2936
  aria-labelledby="${this.label?V.HEADING_ID:""}"
@@ -2953,7 +2953,7 @@
2953
2953
  id="options-popover"
2954
2954
  triggerid="select-base-triggerid"
2955
2955
  interactive
2956
- ?visible="${this.showPopover}"
2956
+ ?visible="${this.displayPopover}"
2957
2957
  hide-on-outside-click
2958
2958
  focus-back-to-trigger
2959
2959
  focus-trap
@@ -2978,7 +2978,7 @@
2978
2978
  <mdc-text
2979
2979
  part="base-text ${this.selectedValueText?"selected":""}"
2980
2980
  type="${_.BODY_MIDSIZE_REGULAR}"
2981
- tagname="${w.SPAN}"
2981
+ tagname="${C.SPAN}"
2982
2982
  >
2983
2983
  ${(e=this.selectedValueText)!=null?e:this.placeholder}
2984
2984
  </mdc-text>
@@ -2990,7 +2990,7 @@
2990
2990
  ${this.getPopoverContent()}
2991
2991
  </div>
2992
2992
  ${this.renderHelperText()}
2993
- `}};ee.styles=[...Z.styles,...Kn],l([c({type:String})],ee.prototype,"placeholder",2),l([c({type:Boolean})],ee.prototype,"readonly",2),l([c({type:String,attribute:"height"})],ee.prototype,"height",2),l([ue()],ee.prototype,"optionsList",2),l([$()],ee.prototype,"baseIconName",2),l([$()],ee.prototype,"selectedValueText",2),l([$()],ee.prototype,"selectedValue",2),l([$()],ee.prototype,"showPopover",2),l([$()],ee.prototype,"activeDescendant",2),l([Ot("select")],ee.prototype,"inputElement",2);var es=ee;es.register(jn);var Id=es;var kd=[C,f`
2993
+ `}};ee.styles=[...Z.styles,...Kn],l([c({type:String})],ee.prototype,"placeholder",2),l([c({type:Boolean})],ee.prototype,"readonly",2),l([c({type:String,attribute:"height"})],ee.prototype,"height",2),l([ue()],ee.prototype,"optionsList",2),l([$()],ee.prototype,"baseIconName",2),l([$()],ee.prototype,"selectedValueText",2),l([$()],ee.prototype,"selectedValue",2),l([$()],ee.prototype,"displayPopover",2),l([$()],ee.prototype,"activeDescendant",2),l([Ot("select")],ee.prototype,"inputElement",2);var es=ee;es.register(jn);var Id=es;var kd=[w,f`
2994
2994
  :host {
2995
2995
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
2996
2996
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -3052,11 +3052,11 @@
3052
3052
  stroke-dashoffset: -292;
3053
3053
  }
3054
3054
  }
3055
- `],Qn=kd;var Jn=b.constructTagName("spinner"),wd={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Cd={STANDALONE:"standalone",BUTTON:"button"},zo={VARIANT:Cd.STANDALONE,SIZE:wd.MIDSIZE,INVERTED:!1};var rt=class extends y{constructor(){super(...arguments);this.inverted=zo.INVERTED;this.size=zo.SIZE;this.ariaLabel=null;this.variant=zo.VARIANT}updated(e){super.updated(e),e.has("ariaLabel")&&(this.role=this.ariaLabel?"img":null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return p`
3055
+ `],Qn=kd;var Jn=b.constructTagName("spinner"),Cd={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},wd={STANDALONE:"standalone",BUTTON:"button"},zo={VARIANT:wd.STANDALONE,SIZE:Cd.MIDSIZE,INVERTED:!1};var rt=class extends y{constructor(){super(...arguments);this.inverted=zo.INVERTED;this.size=zo.SIZE;this.ariaLabel=null;this.variant=zo.VARIANT}updated(e){super.updated(e),e.has("ariaLabel")&&(this.role=this.ariaLabel?"img":null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return p`
3056
3056
  <svg part="container" viewBox="0 0 100 100">
3057
3057
  <circle part="circle" cx="50" cy="50" r="46"></circle>
3058
3058
  </svg>
3059
- `}};rt.styles=[...y.styles,...Qn],l([c({type:Boolean,reflect:!0})],rt.prototype,"inverted",2),l([c({type:String,reflect:!0})],rt.prototype,"size",2),l([c({type:String,attribute:"aria-label"})],rt.prototype,"ariaLabel",2),l([c({type:String,reflect:!0})],rt.prototype,"variant",2);var ts=rt;ts.register(Jn);var Ld=ts;var Nd=[C,f`
3059
+ `}};rt.styles=[...y.styles,...Qn],l([c({type:Boolean,reflect:!0})],rt.prototype,"inverted",2),l([c({type:String,reflect:!0})],rt.prototype,"size",2),l([c({type:String,attribute:"aria-label"})],rt.prototype,"ariaLabel",2),l([c({type:String,reflect:!0})],rt.prototype,"variant",2);var ts=rt;ts.register(Jn);var Ld=ts;var Nd=[w,f`
3060
3060
 
3061
3061
  :host {
3062
3062
  --mdc-tab-content-gap: 0.5rem;
@@ -3304,7 +3304,7 @@
3304
3304
  ${this.iconName?p` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:v}
3305
3305
  ${this.text?p` <mdc-text
3306
3306
  type=${this.active?_.BODY_MIDSIZE_BOLD:_.BODY_MIDSIZE_MEDIUM}
3307
- tagname=${w.SPAN}
3307
+ tagname=${C.SPAN}
3308
3308
  data-text=${this.text}
3309
3309
  part="text"
3310
3310
  >${this.text}</mdc-text
@@ -3505,7 +3505,7 @@
3505
3505
  * {
3506
3506
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
3507
3507
  }
3508
- `,sl=[Dd];var nr=class extends $t{constructor(){super({context:Fo.context,initialValue:new Fo(ns.THEMECLASS)});this.themeclass=ns.THEMECLASS}static get Context(){return Fo.context}updated(e){super.updated(e),e.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};nr.styles=[...$t.styles,...sl],l([$()],nr.prototype,"currentThemeClass",2),l([c({type:String})],nr.prototype,"themeclass",2);var ls=nr;ls.register(Vo);var $d=ls;var zd=[C,f`
3508
+ `,sl=[Dd];var nr=class extends $t{constructor(){super({context:Fo.context,initialValue:new Fo(ns.THEMECLASS)});this.themeclass=ns.THEMECLASS}static get Context(){return Fo.context}updated(e){super.updated(e),e.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};nr.styles=[...$t.styles,...sl],l([$()],nr.prototype,"currentThemeClass",2),l([c({type:String})],nr.prototype,"themeclass",2);var ls=nr;ls.register(Vo);var $d=ls;var zd=[w,f`
3509
3509
  :host {
3510
3510
  --mdc-toggle-width: 3rem;
3511
3511
  --mdc-toggle-height: 1.5rem;
@@ -3657,7 +3657,7 @@
3657
3657
  border: var(--mdc-toggle-border);
3658
3658
  }
3659
3659
  }
3660
- `,...R(!0)],al=zd;var nl=b.constructTagName("toggle"),cs={DEFAULT:"default",COMPACT:"compact"},ds={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},ll={compact:.75,default:1.25},ms={SIZE:cs.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var wt=class extends Q(P(de)){constructor(){super(...arguments);this.checked=!1;this.size=ms.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}manageRequired(){!this.checked&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let e=null;this.checked?e=this.value?this.value:"isActive":e=null,this.manageRequired(),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(cs).includes(e)?e:ms.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return p`
3660
+ `,...R(!0)],al=zd;var nl=b.constructTagName("toggle"),cs={DEFAULT:"default",COMPACT:"compact"},ds={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},ll={compact:.75,default:1.25},ms={SIZE:cs.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var Ct=class extends Q(P(de)){constructor(){super(...arguments);this.checked=!1;this.size=ms.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}manageRequired(){!this.checked&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let e=null;this.checked?e=this.value?this.value:"isActive":e=null,this.manageRequired(),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(e){var r;e.key==="Enter"&&((r=this.form)==null||r.requestSubmit())}handleChange(e){this.toggleState();let r=e.constructor;this.dispatchEvent(new r(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(cs).includes(e)?e:ms.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return p`
3661
3661
  <div class="mdc-toggle__container mdc-focus-ring">
3662
3662
  <input
3663
3663
  id="${this.id}"
@@ -3688,10 +3688,10 @@
3688
3688
  </div>
3689
3689
  ${this.renderLabel()}
3690
3690
  ${this.renderHelperText()}
3691
- `}};wt.styles=[...de.styles,...al],l([c({type:Boolean,reflect:!0})],wt.prototype,"checked",2),l([c({type:String,reflect:!0})],wt.prototype,"size",2),l([c({type:Boolean,reflect:!0})],wt.prototype,"autofocus",2);var ps=wt;ps.register(nl);var Pd=ps;function Ct(i,t,e){var s;let r=(s=e.initialDeps)!=null?s:[],o;return()=>{var a,n,d,m;let h;e.key&&((a=e.debug)!=null&&a.call(e))&&(h=Date.now());let u=i();if(!(u.length!==r.length||u.some((E,T)=>r[T]!==E)))return o;r=u;let g;if(e.key&&((n=e.debug)!=null&&n.call(e))&&(g=Date.now()),o=t(...u),e.key&&((d=e.debug)!=null&&d.call(e))){let E=Math.round((Date.now()-h)*100)/100,T=Math.round((Date.now()-g)*100)/100,I=T/16,S=(k,N)=>{for(k=String(k);k.length<N;)k=" "+k;return k};console.info(`%c\u23F1 ${S(T,5)} /${S(E,5)} ms`,`
3691
+ `}};Ct.styles=[...de.styles,...al],l([c({type:Boolean,reflect:!0})],Ct.prototype,"checked",2),l([c({type:String,reflect:!0})],Ct.prototype,"size",2),l([c({type:Boolean,reflect:!0})],Ct.prototype,"autofocus",2);var ps=Ct;ps.register(nl);var Pd=ps;function wt(i,t,e){var s;let r=(s=e.initialDeps)!=null?s:[],o;return()=>{var a,n,d,m;let h;e.key&&((a=e.debug)!=null&&a.call(e))&&(h=Date.now());let u=i();if(!(u.length!==r.length||u.some((E,T)=>r[T]!==E)))return o;r=u;let g;if(e.key&&((n=e.debug)!=null&&n.call(e))&&(g=Date.now()),o=t(...u),e.key&&((d=e.debug)!=null&&d.call(e))){let E=Math.round((Date.now()-h)*100)/100,T=Math.round((Date.now()-g)*100)/100,I=T/16,S=(k,N)=>{for(k=String(k);k.length<N;)k=" "+k;return k};console.info(`%c\u23F1 ${S(T,5)} /${S(E,5)} ms`,`
3692
3692
  font-size: .6rem;
3693
3693
  font-weight: bold;
3694
- color: hsl(${Math.max(0,Math.min(120-120*I,120))}deg 100% 31%);`,e==null?void 0:e.key)}return(m=e==null?void 0:e.onChange)==null||m.call(e,o),o}}function Ho(i,t){if(i===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return i}var cl=(i,t)=>Math.abs(i-t)<1,dl=(i,t,e)=>{let r;return function(...o){i.clearTimeout(r),r=i.setTimeout(()=>t.apply(this,o),e)}};var Vd=i=>i,Ud=i=>{let t=Math.max(i.startIndex-i.overscan,0),e=Math.min(i.endIndex+i.overscan,i.count-1),r=[];for(let o=t;o<=e;o++)r.push(o);return r},pl=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=a=>{let{width:n,height:d}=a;t({width:Math.round(n),height:Math.round(d)})};if(o(e.getBoundingClientRect()),!r.ResizeObserver)return()=>{};let s=new r.ResizeObserver(a=>{let n=a[0];if(n!=null&&n.borderBoxSize){let d=n.borderBoxSize[0];if(d){o({width:d.inlineSize,height:d.blockSize});return}}o(e.getBoundingClientRect())});return s.observe(e,{box:"border-box"}),()=>{s.unobserve(e)}},ml={passive:!0};var Fd=typeof window>"u"?!0:"onscrollend"in window,hl=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=0,s=i.options.useScrollendEvent&&Fd?()=>{}:dl(r,()=>{t(o,!1)},i.options.isScrollingResetDelay),a=m=>()=>{let{horizontal:h,isRtl:u}=i.options;o=h?e.scrollLeft*(u&&-1||1):e.scrollTop,s(),t(o,m)},n=a(!0),d=a(!1);return d(),e.addEventListener("scroll",n,ml),e.addEventListener("scrollend",d,ml),()=>{e.removeEventListener("scroll",n),e.removeEventListener("scrollend",d)}};var Hd=(i,t,e)=>{if(t!=null&&t.borderBoxSize){let r=t.borderBoxSize[0];if(r)return Math.round(r[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(i.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var ul=(i,{adjustments:t=0,behavior:e},r)=>{var o,s;let a=i+t;(s=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||s.call(o,{[r.options.horizontal?"left":"top"]:a,behavior:e})},Bo=class{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,r=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(o=>{o.forEach(s=>{this._measureElement(s.target,s)})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),e=null},observe:o=>{var s;return(s=r())==null?void 0:s.observe(o,{box:"border-box"})},unobserve:o=>{var s;return(s=r())==null?void 0:s.unobserve(o)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([r,o])=>{typeof o>"u"&&delete e[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Vd,rangeExtractor:Ud,onChange:()=>{},measureElement:Hd,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,e)},this.maybeNotify=Ct(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var o;var e;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(o=(e=this.scrollElement)==null?void 0:e.window)!=null?o:null,this.elementsCache.forEach(s=>{this.observer.observe(s)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,s=>{this.scrollRect=s,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(s,a)=>{this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()<s?"forward":"backward":null,this.scrollOffset=s,this.isScrolling=a,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,r)=>{let o=new Map,s=new Map;for(let a=r-1;a>=0;a--){let n=e[a];if(o.has(n.lane))continue;let d=s.get(n.lane);if(d==null||n.end>d.end?s.set(n.lane,n):n.end<d.end&&o.set(n.lane,!0),o.size===this.options.lanes)break}return s.size===this.options.lanes?Array.from(s.values()).sort((a,n)=>a.end===n.end?a.index-n.index:a.end-n.end)[0]:void 0},this.getMeasurementOptions=Ct(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,r,o,s,a)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:r,scrollMargin:o,getItemKey:s,enabled:a}),{key:!1}),this.getMeasurements=Ct(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:r,scrollMargin:o,getItemKey:s,enabled:a},n)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(h=>{this.itemSizeCache.set(h.key,h.size)}));let d=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let m=this.measurementsCache.slice(0,d);for(let h=d;h<e;h++){let u=s(h),x=this.options.lanes===1?m[h-1]:this.getFurthestMeasurement(m,h),g=x?x.end+this.options.gap:r+o,E=n.get(u),T=typeof E=="number"?E:this.options.estimateSize(h),I=g+T,S=x?x.lane:h%this.options.lanes;m[h]={index:h,start:g,size:T,end:I,key:u,lane:S}}return this.measurementsCache=m,m},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ct(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,r,o)=>this.range=e.length>0&&r>0?Bd({measurements:e,outerSize:r,scrollOffset:o}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Ct(()=>{let e=null,r=null,o=this.calculateRange();return o&&(e=o.startIndex,r=o.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,r]},(e,r,o,s,a)=>s===null||a===null?[]:e({startIndex:s,endIndex:a,overscan:r,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let r=this.options.indexAttribute,o=e.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(e,r)=>{let o=this.indexFromElement(e),s=this.measurementsCache[o];if(!s)return;let a=s.key,n=this.elementsCache.get(a);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(a,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,r,this))},this.resizeItem=(e,r)=>{var n;let o=this.measurementsCache[e];if(!o)return;let s=(n=this.itemSizeCache.get(o.key))!=null?n:o.size,a=r-s;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,a,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(e,void 0)},this.getVirtualItems=Ct(()=>[this.getIndexes(),this.getMeasurements()],(e,r)=>{let o=[];for(let s=0,a=e.length;s<a;s++){let n=e[s],d=r[n];o.push(d)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let r=this.getMeasurements();if(r.length!==0)return Ho(r[fl(0,r.length-1,o=>Ho(r[o]).start,e)])},this.getOffsetForAlignment=(e,r)=>{let o=this.getSize(),s=this.getScrollOffset();r==="auto"&&e>=s+o&&(r="end"),r==="end"&&(e-=o);let a=this.options.horizontal?"scrollWidth":"scrollHeight",d=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[a]:this.scrollElement[a]:0)-o;return Math.max(Math.min(d,e),0)},this.getOffsetForIndex=(e,r="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let o=this.measurementsCache[e];if(!o)return;let s=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(o.end>=a+s-this.options.scrollPaddingEnd)r="end";else if(o.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];let n=o.start-this.options.scrollPaddingStart+(o.size-s)/2;switch(r){case"center":return[this.getOffsetForAlignment(n,r),r];case"end":return[this.getOffsetForAlignment(o.end+this.options.scrollPaddingEnd,r),r];default:return[this.getOffsetForAlignment(o.start-this.options.scrollPaddingStart,r),r]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(e,{align:r="auto",behavior:o}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let s=this.getOffsetForIndex(e,r);if(!s)return;let[a,n]=s;this._scrollToOffset(a,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[m]=Ho(this.getOffsetForIndex(e,n));cl(m,this.getScrollOffset())||this.scrollToIndex(e,{align:n,behavior:o})}else this.scrollToIndex(e,{align:n,behavior:o})}))},this.scrollBy=(e,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var s;var e;let r=this.getMeasurements(),o;return r.length===0?o=this.options.paddingStart:o=this.options.lanes===1?(s=(e=r[r.length-1])==null?void 0:e.end)!=null?s:0:Math.max(...r.slice(-this.options.lanes).map(a=>a.end)),Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:r,behavior:o})=>{this.options.scrollToFn(e,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}},fl=(i,t,e,r)=>{for(;i<=t;){let o=(i+t)/2|0,s=e(o);if(s<r)i=o+1;else if(s>r)t=o-1;else return o}return i>0?i-1:0};function Bd({measurements:i,outerSize:t,scrollOffset:e}){let r=i.length-1,s=fl(0,r,n=>i[n].start,e),a=s;for(;a<r&&i[a].end<e+t;)a++;return{startIndex:s,endIndex:a}}var hs=class{constructor(t,e){this.cleanup=()=>{},(this.host=t).addController(this);let r={...e,onChange:(o,s)=>{var a;this.host.updateComplete.then(()=>this.host.requestUpdate()),(a=e.onChange)==null||a.call(e,o,s)}};this.virtualizer=new Bo(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Go=class extends hs{constructor(t,e){super(t,{observeElementRect:pl,observeElementOffset:hl,scrollToFn:ul,...e})}};var{I:Hw}=Ds;var bl=i=>i.strings===void 0;var Fr=(i,t)=>{var r;let e=i._$AN;if(e===void 0)return!1;for(let o of e)(r=o._$AO)==null||r.call(o,t,!1),Fr(o,t);return!0},Yo=i=>{let t,e;do{if((t=i._$AM)===void 0)break;e=t._$AN,e.delete(i),i=t}while((e==null?void 0:e.size)===0)},gl=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),Wd(t)}};function Gd(i){this._$AN!==void 0?(Yo(this),this._$AM=i,gl(this)):this._$AM=i}function Yd(i,t=!1,e=0){let r=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(r))for(let s=e;s<r.length;s++)Fr(r[s],!1),Yo(r[s]);else r!=null&&(Fr(r,!1),Yo(r));else Fr(this,i)}var Wd=i=>{var t,e;i.type==co.CHILD&&((t=i._$AP)!=null||(i._$AP=Yd),(e=i._$AQ)!=null||(i._$AQ=Gd))},Wo=class extends Gt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),gl(this),this.isConnected=t._$AU}_$AO(t,e=!0){var r,o;t!==this.isConnected&&(this.isConnected=t,t?(r=this.reconnected)==null||r.call(this):(o=this.disconnected)==null||o.call(this)),e&&(Fr(this,t),Yo(this))}setValue(t){if(bl(this.t))this.t._$AI(t,this);else{let e=[...this.t._$AH];e[this.i]=t,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var vl=()=>new fs,fs=class{},us=new WeakMap,yl=Sr(class extends Wo{render(i){return v}update(i,[t]){var r;let e=t!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=t,this.ht=(r=i.options)==null?void 0:r.host,this.rt(this.ct=i.element)),v}rt(i){var t;if(this.isConnected||(i=void 0),typeof this.Y=="function"){let e=(t=this.ht)!=null?t:globalThis,r=us.get(e);r===void 0&&(r=new WeakMap,us.set(e,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.set(this.Y,i),i!==void 0&&this.Y.call(this.ht,i)}else this.Y.value=i}get lt(){var i,t,e;return typeof this.Y=="function"?(t=us.get((i=this.ht)!=null?i:globalThis))==null?void 0:t.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var qd=[f`
3694
+ color: hsl(${Math.max(0,Math.min(120-120*I,120))}deg 100% 31%);`,e==null?void 0:e.key)}return(m=e==null?void 0:e.onChange)==null||m.call(e,o),o}}function Ho(i,t){if(i===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return i}var cl=(i,t)=>Math.abs(i-t)<1,dl=(i,t,e)=>{let r;return function(...o){i.clearTimeout(r),r=i.setTimeout(()=>t.apply(this,o),e)}};var Vd=i=>i,Ud=i=>{let t=Math.max(i.startIndex-i.overscan,0),e=Math.min(i.endIndex+i.overscan,i.count-1),r=[];for(let o=t;o<=e;o++)r.push(o);return r},pl=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=a=>{let{width:n,height:d}=a;t({width:Math.round(n),height:Math.round(d)})};if(o(e.getBoundingClientRect()),!r.ResizeObserver)return()=>{};let s=new r.ResizeObserver(a=>{let n=a[0];if(n!=null&&n.borderBoxSize){let d=n.borderBoxSize[0];if(d){o({width:d.inlineSize,height:d.blockSize});return}}o(e.getBoundingClientRect())});return s.observe(e,{box:"border-box"}),()=>{s.unobserve(e)}},ml={passive:!0};var Fd=typeof window>"u"?!0:"onscrollend"in window,hl=(i,t)=>{let e=i.scrollElement;if(!e)return;let r=i.targetWindow;if(!r)return;let o=0,s=i.options.useScrollendEvent&&Fd?()=>{}:dl(r,()=>{t(o,!1)},i.options.isScrollingResetDelay),a=m=>()=>{let{horizontal:h,isRtl:u}=i.options;o=h?e.scrollLeft*(u&&-1||1):e.scrollTop,s(),t(o,m)},n=a(!0),d=a(!1);return d(),e.addEventListener("scroll",n,ml),e.addEventListener("scrollend",d,ml),()=>{e.removeEventListener("scroll",n),e.removeEventListener("scrollend",d)}};var Hd=(i,t,e)=>{if(t!=null&&t.borderBoxSize){let r=t.borderBoxSize[0];if(r)return Math.round(r[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(i.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var ul=(i,{adjustments:t=0,behavior:e},r)=>{var o,s;let a=i+t;(s=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||s.call(o,{[r.options.horizontal?"left":"top"]:a,behavior:e})},Bo=class{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,r=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(o=>{o.forEach(s=>{this._measureElement(s.target,s)})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),e=null},observe:o=>{var s;return(s=r())==null?void 0:s.observe(o,{box:"border-box"})},unobserve:o=>{var s;return(s=r())==null?void 0:s.unobserve(o)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([r,o])=>{typeof o>"u"&&delete e[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Vd,rangeExtractor:Ud,onChange:()=>{},measureElement:Hd,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,e)},this.maybeNotify=wt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var o;var e;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(o=(e=this.scrollElement)==null?void 0:e.window)!=null?o:null,this.elementsCache.forEach(s=>{this.observer.observe(s)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,s=>{this.scrollRect=s,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(s,a)=>{this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()<s?"forward":"backward":null,this.scrollOffset=s,this.isScrolling=a,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,r)=>{let o=new Map,s=new Map;for(let a=r-1;a>=0;a--){let n=e[a];if(o.has(n.lane))continue;let d=s.get(n.lane);if(d==null||n.end>d.end?s.set(n.lane,n):n.end<d.end&&o.set(n.lane,!0),o.size===this.options.lanes)break}return s.size===this.options.lanes?Array.from(s.values()).sort((a,n)=>a.end===n.end?a.index-n.index:a.end-n.end)[0]:void 0},this.getMeasurementOptions=wt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,r,o,s,a)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:r,scrollMargin:o,getItemKey:s,enabled:a}),{key:!1}),this.getMeasurements=wt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:r,scrollMargin:o,getItemKey:s,enabled:a},n)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(h=>{this.itemSizeCache.set(h.key,h.size)}));let d=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let m=this.measurementsCache.slice(0,d);for(let h=d;h<e;h++){let u=s(h),x=this.options.lanes===1?m[h-1]:this.getFurthestMeasurement(m,h),g=x?x.end+this.options.gap:r+o,E=n.get(u),T=typeof E=="number"?E:this.options.estimateSize(h),I=g+T,S=x?x.lane:h%this.options.lanes;m[h]={index:h,start:g,size:T,end:I,key:u,lane:S}}return this.measurementsCache=m,m},{key:!1,debug:()=>this.options.debug}),this.calculateRange=wt(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,r,o)=>this.range=e.length>0&&r>0?Bd({measurements:e,outerSize:r,scrollOffset:o}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=wt(()=>{let e=null,r=null,o=this.calculateRange();return o&&(e=o.startIndex,r=o.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,r]},(e,r,o,s,a)=>s===null||a===null?[]:e({startIndex:s,endIndex:a,overscan:r,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let r=this.options.indexAttribute,o=e.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(e,r)=>{let o=this.indexFromElement(e),s=this.measurementsCache[o];if(!s)return;let a=s.key,n=this.elementsCache.get(a);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(a,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,r,this))},this.resizeItem=(e,r)=>{var n;let o=this.measurementsCache[e];if(!o)return;let s=(n=this.itemSizeCache.get(o.key))!=null?n:o.size,a=r-s;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,a,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(e,void 0)},this.getVirtualItems=wt(()=>[this.getIndexes(),this.getMeasurements()],(e,r)=>{let o=[];for(let s=0,a=e.length;s<a;s++){let n=e[s],d=r[n];o.push(d)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let r=this.getMeasurements();if(r.length!==0)return Ho(r[fl(0,r.length-1,o=>Ho(r[o]).start,e)])},this.getOffsetForAlignment=(e,r)=>{let o=this.getSize(),s=this.getScrollOffset();r==="auto"&&e>=s+o&&(r="end"),r==="end"&&(e-=o);let a=this.options.horizontal?"scrollWidth":"scrollHeight",d=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[a]:this.scrollElement[a]:0)-o;return Math.max(Math.min(d,e),0)},this.getOffsetForIndex=(e,r="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let o=this.measurementsCache[e];if(!o)return;let s=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(o.end>=a+s-this.options.scrollPaddingEnd)r="end";else if(o.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];let n=o.start-this.options.scrollPaddingStart+(o.size-s)/2;switch(r){case"center":return[this.getOffsetForAlignment(n,r),r];case"end":return[this.getOffsetForAlignment(o.end+this.options.scrollPaddingEnd,r),r];default:return[this.getOffsetForAlignment(o.start-this.options.scrollPaddingStart,r),r]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(e,{align:r="auto",behavior:o}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let s=this.getOffsetForIndex(e,r);if(!s)return;let[a,n]=s;this._scrollToOffset(a,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[m]=Ho(this.getOffsetForIndex(e,n));cl(m,this.getScrollOffset())||this.scrollToIndex(e,{align:n,behavior:o})}else this.scrollToIndex(e,{align:n,behavior:o})}))},this.scrollBy=(e,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var s;var e;let r=this.getMeasurements(),o;return r.length===0?o=this.options.paddingStart:o=this.options.lanes===1?(s=(e=r[r.length-1])==null?void 0:e.end)!=null?s:0:Math.max(...r.slice(-this.options.lanes).map(a=>a.end)),Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:r,behavior:o})=>{this.options.scrollToFn(e,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}},fl=(i,t,e,r)=>{for(;i<=t;){let o=(i+t)/2|0,s=e(o);if(s<r)i=o+1;else if(s>r)t=o-1;else return o}return i>0?i-1:0};function Bd({measurements:i,outerSize:t,scrollOffset:e}){let r=i.length-1,s=fl(0,r,n=>i[n].start,e),a=s;for(;a<r&&i[a].end<e+t;)a++;return{startIndex:s,endIndex:a}}var hs=class{constructor(t,e){this.cleanup=()=>{},(this.host=t).addController(this);let r={...e,onChange:(o,s)=>{var a;this.host.updateComplete.then(()=>this.host.requestUpdate()),(a=e.onChange)==null||a.call(e,o,s)}};this.virtualizer=new Bo(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Go=class extends hs{constructor(t,e){super(t,{observeElementRect:pl,observeElementOffset:hl,scrollToFn:ul,...e})}};var{I:HC}=Ds;var bl=i=>i.strings===void 0;var Fr=(i,t)=>{var r;let e=i._$AN;if(e===void 0)return!1;for(let o of e)(r=o._$AO)==null||r.call(o,t,!1),Fr(o,t);return!0},Yo=i=>{let t,e;do{if((t=i._$AM)===void 0)break;e=t._$AN,e.delete(i),i=t}while((e==null?void 0:e.size)===0)},gl=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),Wd(t)}};function Gd(i){this._$AN!==void 0?(Yo(this),this._$AM=i,gl(this)):this._$AM=i}function Yd(i,t=!1,e=0){let r=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(r))for(let s=e;s<r.length;s++)Fr(r[s],!1),Yo(r[s]);else r!=null&&(Fr(r,!1),Yo(r));else Fr(this,i)}var Wd=i=>{var t,e;i.type==co.CHILD&&((t=i._$AP)!=null||(i._$AP=Yd),(e=i._$AQ)!=null||(i._$AQ=Gd))},Wo=class extends Gt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),gl(this),this.isConnected=t._$AU}_$AO(t,e=!0){var r,o;t!==this.isConnected&&(this.isConnected=t,t?(r=this.reconnected)==null||r.call(this):(o=this.disconnected)==null||o.call(this)),e&&(Fr(this,t),Yo(this))}setValue(t){if(bl(this.t))this.t._$AI(t,this);else{let e=[...this.t._$AH];e[this.i]=t,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var vl=()=>new fs,fs=class{},us=new WeakMap,yl=Sr(class extends Wo{render(i){return v}update(i,[t]){var r;let e=t!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=t,this.ht=(r=i.options)==null?void 0:r.host,this.rt(this.ct=i.element)),v}rt(i){var t;if(this.isConnected||(i=void 0),typeof this.Y=="function"){let e=(t=this.ht)!=null?t:globalThis,r=us.get(e);r===void 0&&(r=new WeakMap,us.set(e,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.set(this.Y,i),i!==void 0&&this.Y.call(this.ht,i)}else this.Y.value=i}get lt(){var i,t,e;return typeof this.Y=="function"?(t=us.get((i=this.ht)!=null?i:globalThis))==null?void 0:t.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var qd=[f`
3695
3695
  :host::part(scroll) {
3696
3696
  height: 100%;
3697
3697
  width: 100%;
@@ -3701,7 +3701,7 @@
3701
3701
  position: relative;
3702
3702
  width: 100%;
3703
3703
  }
3704
- `],xl=qd;var El=b.constructTagName("virtualizedlist"),iC=b.constructTagName("virtualizedwrapper"),Tl={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Lt=class extends y{constructor(){super();this.virtualizerProps=Tl.VIRTUALIZER_PROPS;this.scrollElementRef=vl();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){super.update(e),e.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(e){super.firstUpdated(e),this.setVirtualizerOptions()}setVirtualizerOptions(){var e;(e=this.virtualizer)==null||e.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var e;this.virtualizerController=new Go(this,{count:this.virtualizerProps.count,estimateSize:(e=this.virtualizerProps)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(e){var n,d;this.virtualizer=e.getVirtualizer();let{getTotalSize:r,getVirtualItems:o,measureElement:s}=this.virtualizer,a=o();if(a!==this.virtualItems){this.virtualItems=a;let m=o(),h={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(d=(n=m[0])==null?void 0:n.start)!=null?d:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:m,measureElement:s,listStyle:h})}return p`<div
3704
+ `],xl=qd;var El=b.constructTagName("virtualizedlist"),iw=b.constructTagName("virtualizedwrapper"),Tl={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Lt=class extends y{constructor(){super();this.virtualizerProps=Tl.VIRTUALIZER_PROPS;this.scrollElementRef=vl();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){super.update(e),e.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(e){super.firstUpdated(e),this.setVirtualizerOptions()}setVirtualizerOptions(){var e;(e=this.virtualizer)==null||e.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var e;this.virtualizerController=new Go(this,{count:this.virtualizerProps.count,estimateSize:(e=this.virtualizerProps)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(e){var n,d;this.virtualizer=e.getVirtualizer();let{getTotalSize:r,getVirtualItems:o,measureElement:s}=this.virtualizer,a=o();if(a!==this.virtualItems){this.virtualItems=a;let m=o(),h={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(d=(n=m[0])==null?void 0:n.start)!=null?d:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:m,measureElement:s,listStyle:h})}return p`<div
3705
3705
  part="container"
3706
3706
  style="height: ${r()}px;"
3707
3707
  >