@momentum-design/components 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var Yt=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var l=(s,e,t,r)=>{for(var o=r>1?void 0:r?Ft(e,t):e,n=s.length-1,i;n>=0;n--)(i=s[n])&&(o=(r?i(e,t,o):i(o))||o);return r&&o&&Yt(e,t,o),o};var me=globalThis,pe=me.ShadowRoot&&(me.ShadyCSS===void 0||me.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Le=Symbol(),tt=new WeakMap,K=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==Le)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(pe&&e===void 0){let r=t!==void 0&&t.length===1;r&&(e=tt.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&tt.set(t,e))}return e}toString(){return this.cssText}},rt=s=>new K(typeof s=="string"?s:s+"",void 0,Le),g=(s,...e)=>{let t=s.length===1?s[0]:e.reduce((r,o,n)=>r+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+s[n+1],s[0]);return new K(t,s,Le)},we=(s,e)=>{if(pe)s.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let r=document.createElement("style"),o=me.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=t.cssText,s.appendChild(r)}},he=pe?s=>s:s=>s instanceof CSSStyleSheet?(e=>{let t="";for(let r of e.cssRules)t+=r.cssText;return rt(t)})(s):s;var{is:jt,defineProperty:Wt,getOwnPropertyDescriptor:Zt,getOwnPropertyNames:Kt,getOwnPropertySymbols:Qt,getPrototypeOf:Jt}=Object,L=globalThis,ot=L.trustedTypes,er=ot?ot.emptyScript:"",Ie=L.reactiveElementPolyfillSupport,Q=(s,e)=>s,J={toAttribute(s,e){switch(e){case Boolean:s=s?er:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,e){let t=s;switch(e){case Boolean:t=s!==null;break;case Number:t=s===null?null:Number(s);break;case Object:case Array:try{t=JSON.parse(s)}catch{t=null}}return t}},ue=(s,e)=>!jt(s,e),st={attribute:!0,type:String,converter:J,reflect:!1,hasChanged:ue},it,nt;(it=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(nt=L.litPropertyMetadata)!=null||(L.litPropertyMetadata=new WeakMap);var T=class extends HTMLElement{static addInitializer(e){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=st){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(e,r,t);o!==void 0&&Wt(this.prototype,e,o)}}static getPropertyDescriptor(e,t,r){var i;let{get:o,set:n}=(i=Zt(this.prototype,e))!=null?i:{get(){return this[t]},set(a){this[t]=a}};return{get(){return o==null?void 0:o.call(this)},set(a){let d=o==null?void 0:o.call(this);n.call(this,a),this.requestUpdate(e,d,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var t;return(t=this.elementProperties.get(e))!=null?t:st}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=Jt(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let t=this.properties,r=[...Kt(t),...Qt(t)];for(let o of r)this.createProperty(o,t[o])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[r,o]of t)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let o=this._$Eu(t,r);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)t.unshift(he(o))}else e!==void 0&&t.push(he(e));return t}static _$Eu(e,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)==null||r.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var t;let e=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return we(e,this.constructor.elementStyles),e}connectedCallback(){var e,t;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(r=>{var o;return(o=r.hostConnected)==null?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EC(e,t){var n;let r=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,r);if(o!==void 0&&r.reflect===!0){let i=(((n=r.converter)==null?void 0:n.toAttribute)!==void 0?r.converter:J).toAttribute(t,r.type);this._$Em=e,i==null?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(e,t){var n;let r=this.constructor,o=r._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let i=r.getPropertyOptions(o),a=typeof i.converter=="function"?{fromAttribute:i.converter}:((n=i.converter)==null?void 0:n.fromAttribute)!==void 0?i.converter:J;this._$Em=o,this[o]=a.fromAttribute(t,i.type),this._$Em=null}}requestUpdate(e,t,r){var o;if(e!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(e)),!((o=r.hasChanged)!=null?o:ue)(this[e],t))return;this.P(e,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,r){var o;this._$AL.has(e)||this._$AL.set(e,t),r.reflect===!0&&this._$Em!==e&&((o=this._$Ej)!=null?o:this._$Ej=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(o=this._$EO)==null||o.forEach(n=>{var i;return(i=n.hostUpdate)==null?void 0:i.call(n)}),this.update(t)):this._$EU()}catch(n){throw e=!1,this._$EU(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(r=>{var o;return(o=r.hostUpdated)==null?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}},at;T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[Q("elementProperties")]=new Map,T[Q("finalized")]=new Map,Ie==null||Ie({ReactiveElement:T}),((at=L.reactiveElementVersions)!=null?at:L.reactiveElementVersions=[]).push("2.0.4");var tr={attribute:!0,type:String,converter:J,reflect:!1,hasChanged:ue},rr=(s=tr,e,t)=>{let{kind:r,metadata:o}=t,n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(t.name,s),r==="accessor"){let{name:i}=t;return{set(a){let d=e.get.call(this);e.set.call(this,a),this.requestUpdate(i,d,s)},init(a){return a!==void 0&&this.P(i,void 0,s),a}}}if(r==="setter"){let{name:i}=t;return function(a){let d=this[i];e.call(this,a),this.requestUpdate(i,d,s)}}throw Error("Unsupported decorator location: "+r)};function c(s){return(e,t)=>typeof t=="object"?rr(s,e,t):((r,o,n)=>{let i=o.hasOwnProperty(n);return o.constructor.createProperty(n,i?{...r,wrapped:!0}:r),i?Object.getOwnPropertyDescriptor(o,n):void 0})(s,e,t)}function G(s){return c({...s,state:!0,attribute:!1})}var or={PREFIX:"mdc",SEPARATOR:"-"},sr={NAMESPACE:or},ze=sr;var ir=s=>[ze.NAMESPACE.PREFIX,s].join(ze.NAMESPACE.SEPARATOR),x={constructTagName:ir};var fe=x.constructTagName("themeprovider"),Me={THEMECLASS:"mds-theme-stable-darkWebex"};var te=globalThis,be=te.trustedTypes,dt=be?be.createPolicy("lit-html",{createHTML:s=>s}):void 0,gt="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,ft="?"+w,nr=`<${ft}>`,k=document,re=()=>k.createComment(""),oe=s=>s===null||typeof s!="object"&&typeof s!="function",Be=Array.isArray,ar=s=>Be(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",Oe=`[
1
+ "use strict";(()=>{var Yt=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var l=(s,e,t,r)=>{for(var o=r>1?void 0:r?Ft(e,t):e,n=s.length-1,i;n>=0;n--)(i=s[n])&&(o=(r?i(e,t,o):i(o))||o);return r&&o&&Yt(e,t,o),o};var me=globalThis,pe=me.ShadowRoot&&(me.ShadyCSS===void 0||me.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Le=Symbol(),tt=new WeakMap,K=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==Le)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(pe&&e===void 0){let r=t!==void 0&&t.length===1;r&&(e=tt.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&tt.set(t,e))}return e}toString(){return this.cssText}},rt=s=>new K(typeof s=="string"?s:s+"",void 0,Le),g=(s,...e)=>{let t=s.length===1?s[0]:e.reduce((r,o,n)=>r+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+s[n+1],s[0]);return new K(t,s,Le)},we=(s,e)=>{if(pe)s.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let r=document.createElement("style"),o=me.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=t.cssText,s.appendChild(r)}},he=pe?s=>s:s=>s instanceof CSSStyleSheet?(e=>{let t="";for(let r of e.cssRules)t+=r.cssText;return rt(t)})(s):s;var{is:jt,defineProperty:Wt,getOwnPropertyDescriptor:Zt,getOwnPropertyNames:Kt,getOwnPropertySymbols:Qt,getPrototypeOf:Jt}=Object,L=globalThis,ot=L.trustedTypes,er=ot?ot.emptyScript:"",Ie=L.reactiveElementPolyfillSupport,Q=(s,e)=>s,J={toAttribute(s,e){switch(e){case Boolean:s=s?er:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,e){let t=s;switch(e){case Boolean:t=s!==null;break;case Number:t=s===null?null:Number(s);break;case Object:case Array:try{t=JSON.parse(s)}catch{t=null}}return t}},ue=(s,e)=>!jt(s,e),st={attribute:!0,type:String,converter:J,reflect:!1,hasChanged:ue},it,nt;(it=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(nt=L.litPropertyMetadata)!=null||(L.litPropertyMetadata=new WeakMap);var T=class extends HTMLElement{static addInitializer(e){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=st){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let r=Symbol(),o=this.getPropertyDescriptor(e,r,t);o!==void 0&&Wt(this.prototype,e,o)}}static getPropertyDescriptor(e,t,r){var i;let{get:o,set:n}=(i=Zt(this.prototype,e))!=null?i:{get(){return this[t]},set(a){this[t]=a}};return{get(){return o==null?void 0:o.call(this)},set(a){let d=o==null?void 0:o.call(this);n.call(this,a),this.requestUpdate(e,d,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var t;return(t=this.elementProperties.get(e))!=null?t:st}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=Jt(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let t=this.properties,r=[...Kt(t),...Qt(t)];for(let o of r)this.createProperty(o,t[o])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[r,o]of t)this.elementProperties.set(r,o)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let o=this._$Eu(t,r);o!==void 0&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)t.unshift(he(o))}else e!==void 0&&t.push(he(e));return t}static _$Eu(e,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)==null||r.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var t;let e=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return we(e,this.constructor.elementStyles),e}connectedCallback(){var e,t;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(r=>{var o;return(o=r.hostConnected)==null?void 0:o.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EC(e,t){var n;let r=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,r);if(o!==void 0&&r.reflect===!0){let i=(((n=r.converter)==null?void 0:n.toAttribute)!==void 0?r.converter:J).toAttribute(t,r.type);this._$Em=e,i==null?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(e,t){var n;let r=this.constructor,o=r._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let i=r.getPropertyOptions(o),a=typeof i.converter=="function"?{fromAttribute:i.converter}:((n=i.converter)==null?void 0:n.fromAttribute)!==void 0?i.converter:J;this._$Em=o,this[o]=a.fromAttribute(t,i.type),this._$Em=null}}requestUpdate(e,t,r){var o;if(e!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(e)),!((o=r.hasChanged)!=null?o:ue)(this[e],t))return;this.P(e,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,r){var o;this._$AL.has(e)||this._$AL.set(e,t),r.reflect===!0&&this._$Em!==e&&((o=this._$Ej)!=null?o:this._$Ej=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(o=this._$EO)==null||o.forEach(n=>{var i;return(i=n.hostUpdate)==null?void 0:i.call(n)}),this.update(t)):this._$EU()}catch(n){throw e=!1,this._$EU(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(r=>{var o;return(o=r.hostUpdated)==null?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}},at;T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[Q("elementProperties")]=new Map,T[Q("finalized")]=new Map,Ie==null||Ie({ReactiveElement:T}),((at=L.reactiveElementVersions)!=null?at:L.reactiveElementVersions=[]).push("2.0.4");var tr={attribute:!0,type:String,converter:J,reflect:!1,hasChanged:ue},rr=(s=tr,e,t)=>{let{kind:r,metadata:o}=t,n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(t.name,s),r==="accessor"){let{name:i}=t;return{set(a){let d=e.get.call(this);e.set.call(this,a),this.requestUpdate(i,d,s)},init(a){return a!==void 0&&this.P(i,void 0,s),a}}}if(r==="setter"){let{name:i}=t;return function(a){let d=this[i];e.call(this,a),this.requestUpdate(i,d,s)}}throw Error("Unsupported decorator location: "+r)};function c(s){return(e,t)=>typeof t=="object"?rr(s,e,t):((r,o,n)=>{let i=o.hasOwnProperty(n);return o.constructor.createProperty(n,i?{...r,wrapped:!0}:r),i?Object.getOwnPropertyDescriptor(o,n):void 0})(s,e,t)}function G(s){return c({...s,state:!0,attribute:!1})}var or={PREFIX:"mdc",SEPARATOR:"-"},sr={NAMESPACE:or},ze=sr;var ir=s=>[ze.NAMESPACE.PREFIX,s].join(ze.NAMESPACE.SEPARATOR),y={constructTagName:ir};var fe=y.constructTagName("themeprovider"),Me={THEMECLASS:"mds-theme-stable-darkWebex"};var te=globalThis,be=te.trustedTypes,dt=be?be.createPolicy("lit-html",{createHTML:s=>s}):void 0,gt="$lit$",w=`lit$${Math.random().toFixed(9).slice(2)}$`,ft="?"+w,nr=`<${ft}>`,k=document,re=()=>k.createComment(""),oe=s=>s===null||typeof s!="object"&&typeof s!="function",Be=Array.isArray,ar=s=>Be(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",Oe=`[
2
2
  \f\r]`,ee=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lt=/-->/g,ct=/>/g,D=RegExp(`>|${Oe}(?:([^\\s"'>=/]+)(${Oe}*=${Oe}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),mt=/'/g,pt=/"/g,bt=/^(?:script|style|textarea|title)$/i,qe=s=>(e,...t)=>({_$litType$:s,strings:e,values:t}),m=qe(1),co=qe(2),mo=qe(3),C=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),ht=new WeakMap,P=k.createTreeWalker(k,129);function vt(s,e){if(!Be(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return dt!==void 0?dt.createHTML(e):e}var dr=(s,e)=>{let t=s.length-1,r=[],o,n=e===2?"<svg>":e===3?"<math>":"",i=ee;for(let a=0;a<t;a++){let d=s[a],u,h,p=-1,S=0;for(;S<d.length&&(i.lastIndex=S,h=i.exec(d),h!==null);)S=i.lastIndex,i===ee?h[1]==="!--"?i=lt:h[1]!==void 0?i=ct:h[2]!==void 0?(bt.test(h[2])&&(o=RegExp("</"+h[2],"g")),i=D):h[3]!==void 0&&(i=D):i===D?h[0]===">"?(i=o!=null?o:ee,p=-1):h[1]===void 0?p=-2:(p=i.lastIndex-h[2].length,u=h[1],i=h[3]===void 0?D:h[3]==='"'?pt:mt):i===pt||i===mt?i=D:i===lt||i===ct?i=ee:(i=D,o=void 0);let R=i===D&&s[a+1].startsWith("/>")?" ":"";n+=i===ee?d+nr:p>=0?(r.push(u),d.slice(0,p)+gt+d.slice(p)+w+R):d+w+(p===-2?a:R)}return[vt(s,n+(s[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},se=class s{constructor({strings:e,_$litType$:t},r){let o;this.parts=[];let n=0,i=0,a=e.length-1,d=this.parts,[u,h]=dr(e,t);if(this.el=s.createElement(u,r),P.currentNode=this.el.content,t===2||t===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=P.nextNode())!==null&&d.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(gt)){let S=h[i++],R=o.getAttribute(p).split(w),ce=/([.?@])?(.*)/.exec(S);d.push({type:1,index:n,name:ce[2],strings:R,ctor:ce[1]==="."?Pe:ce[1]==="?"?ke:ce[1]==="@"?He:q}),o.removeAttribute(p)}else p.startsWith(w)&&(d.push({type:6,index:n}),o.removeAttribute(p));if(bt.test(o.tagName)){let p=o.textContent.split(w),S=p.length-1;if(S>0){o.textContent=be?be.emptyScript:"";for(let R=0;R<S;R++)o.append(p[R],re()),P.nextNode(),d.push({type:2,index:++n});o.append(p[S],re())}}}else if(o.nodeType===8)if(o.data===ft)d.push({type:2,index:n});else{let p=-1;for(;(p=o.data.indexOf(w,p+1))!==-1;)d.push({type:7,index:n}),p+=w.length-1}n++}}static createElement(e,t){let r=k.createElement("template");return r.innerHTML=e,r}};function B(s,e,t=s,r){var i,a,d;if(e===C)return e;let o=r!==void 0?(i=t.o)==null?void 0:i[r]:t.l,n=oe(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((a=o==null?void 0:o._$AO)==null||a.call(o,!1),n===void 0?o=void 0:(o=new n(s),o._$AT(s,t,r)),r!==void 0?((d=t.o)!=null?d:t.o=[])[r]=o:t.l=o),o!==void 0&&(e=B(s,o._$AS(s,e.values),o,r)),e}var De=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var u;let{el:{content:t},parts:r}=this._$AD,o=((u=e==null?void 0:e.creationScope)!=null?u:k).importNode(t,!0);P.currentNode=o;let n=P.nextNode(),i=0,a=0,d=r[0];for(;d!==void 0;){if(i===d.index){let h;d.type===2?h=new ie(n,n.nextSibling,this,e):d.type===1?h=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(h=new Ge(n,this,e)),this._$AV.push(h),d=r[++a]}i!==(d==null?void 0:d.index)&&(n=P.nextNode(),i++)}return P.currentNode=k,o}p(e){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}},ie=class s{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this.v}constructor(e,t,r,o){var n;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=o,this.v=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=B(this,e,t),oe(e)?e===f||e==null||e===""?(this._$AH!==f&&this._$AR(),this._$AH=f):e!==this._$AH&&e!==C&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ar(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==f&&oe(this._$AH)?this._$AA.nextSibling.data=e:this.T(k.createTextNode(e)),this._$AH=e}$(e){var n;let{values:t,_$litType$:r}=e,o=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=se.createElement(vt(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(t);else{let i=new De(o,this),a=i.u(this.options);i.p(t),this.T(a),this._$AH=i}}_$AC(e){let t=ht.get(e.strings);return t===void 0&&ht.set(e.strings,t=new se(e)),t}k(e){Be(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,o=0;for(let n of e)o===t.length?t.push(r=new s(this.O(re()),this.O(re()),this,this.options)):r=t[o],r._$AI(n),o++;o<t.length&&(this._$AR(r&&r._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this.v=e,(t=this._$AP)==null||t.call(this,e))}},q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,o,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=f}_$AI(e,t=this,r,o){let n=this.strings,i=!1;if(n===void 0)e=B(this,e,t,0),i=!oe(e)||e!==this._$AH&&e!==C,i&&(this._$AH=e);else{let a=e,d,u;for(e=n[0],d=0;d<n.length-1;d++)u=B(this,a[r+d],t,d),u===C&&(u=this._$AH[d]),i||(i=!oe(u)||u!==this._$AH[d]),u===f?e=f:e!==f&&(e+=(u!=null?u:"")+n[d+1]),this._$AH[d]=u}i&&!o&&this.j(e)}j(e){e===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},Pe=class extends q{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===f?void 0:e}},ke=class extends q{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==f)}},He=class extends q{constructor(e,t,r,o,n){super(e,t,r,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=B(this,e,t,0))!=null?i:f)===C)return;let r=this._$AH,o=e===f&&r!==f||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,n=e!==f&&(r===f||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,e):this._$AH.handleEvent(e)}},Ge=class{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){B(this,e)}};var Ue=te.litHtmlPolyfillSupport,ut;Ue==null||Ue(se,ie),((ut=te.litHtmlVersions)!=null?ut:te.litHtmlVersions=[]).push("3.2.0");var xt=(s,e,t)=>{var n,i;let r=(n=t==null?void 0:t.renderBefore)!=null?n:e,o=r._$litPart$;if(o===void 0){let a=(i=t==null?void 0:t.renderBefore)!=null?i:null;r._$litPart$=o=new ie(e.insertBefore(re(),a),a,void 0,t!=null?t:{})}return o._$AI(s),o};var I=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let e=super.createRenderRoot();return(r=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=e.firstChild),e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=xt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this.o)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.o)==null||e.setConnected(!1)}render(){return C}},yt;I._$litElement$=!0,I.finalized=!0,(yt=globalThis.litElementHydrateSupport)==null||yt.call(globalThis,{LitElement:I});var Ve=globalThis.litElementPolyfillSupport;Ve==null||Ve({LitElement:I});var _t;((_t=globalThis.litElementVersions)!=null?_t:globalThis.litElementVersions=[]).push("4.1.0");var Et=g`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),mt=/'/g,pt=/"/g,bt=/^(?:script|style|textarea|title)$/i,qe=s=>(e,...t)=>({_$litType$:s,strings:e,values:t}),m=qe(1),co=qe(2),mo=qe(3),C=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),ht=new WeakMap,P=k.createTreeWalker(k,129);function vt(s,e){if(!Be(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return dt!==void 0?dt.createHTML(e):e}var dr=(s,e)=>{let t=s.length-1,r=[],o,n=e===2?"<svg>":e===3?"<math>":"",i=ee;for(let a=0;a<t;a++){let d=s[a],u,h,p=-1,S=0;for(;S<d.length&&(i.lastIndex=S,h=i.exec(d),h!==null);)S=i.lastIndex,i===ee?h[1]==="!--"?i=lt:h[1]!==void 0?i=ct:h[2]!==void 0?(bt.test(h[2])&&(o=RegExp("</"+h[2],"g")),i=D):h[3]!==void 0&&(i=D):i===D?h[0]===">"?(i=o!=null?o:ee,p=-1):h[1]===void 0?p=-2:(p=i.lastIndex-h[2].length,u=h[1],i=h[3]===void 0?D:h[3]==='"'?pt:mt):i===pt||i===mt?i=D:i===lt||i===ct?i=ee:(i=D,o=void 0);let R=i===D&&s[a+1].startsWith("/>")?" ":"";n+=i===ee?d+nr:p>=0?(r.push(u),d.slice(0,p)+gt+d.slice(p)+w+R):d+w+(p===-2?a:R)}return[vt(s,n+(s[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]},se=class s{constructor({strings:e,_$litType$:t},r){let o;this.parts=[];let n=0,i=0,a=e.length-1,d=this.parts,[u,h]=dr(e,t);if(this.el=s.createElement(u,r),P.currentNode=this.el.content,t===2||t===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=P.nextNode())!==null&&d.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(gt)){let S=h[i++],R=o.getAttribute(p).split(w),ce=/([.?@])?(.*)/.exec(S);d.push({type:1,index:n,name:ce[2],strings:R,ctor:ce[1]==="."?Pe:ce[1]==="?"?ke:ce[1]==="@"?He:q}),o.removeAttribute(p)}else p.startsWith(w)&&(d.push({type:6,index:n}),o.removeAttribute(p));if(bt.test(o.tagName)){let p=o.textContent.split(w),S=p.length-1;if(S>0){o.textContent=be?be.emptyScript:"";for(let R=0;R<S;R++)o.append(p[R],re()),P.nextNode(),d.push({type:2,index:++n});o.append(p[S],re())}}}else if(o.nodeType===8)if(o.data===ft)d.push({type:2,index:n});else{let p=-1;for(;(p=o.data.indexOf(w,p+1))!==-1;)d.push({type:7,index:n}),p+=w.length-1}n++}}static createElement(e,t){let r=k.createElement("template");return r.innerHTML=e,r}};function B(s,e,t=s,r){var i,a,d;if(e===C)return e;let o=r!==void 0?(i=t.o)==null?void 0:i[r]:t.l,n=oe(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((a=o==null?void 0:o._$AO)==null||a.call(o,!1),n===void 0?o=void 0:(o=new n(s),o._$AT(s,t,r)),r!==void 0?((d=t.o)!=null?d:t.o=[])[r]=o:t.l=o),o!==void 0&&(e=B(s,o._$AS(s,e.values),o,r)),e}var De=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var u;let{el:{content:t},parts:r}=this._$AD,o=((u=e==null?void 0:e.creationScope)!=null?u:k).importNode(t,!0);P.currentNode=o;let n=P.nextNode(),i=0,a=0,d=r[0];for(;d!==void 0;){if(i===d.index){let h;d.type===2?h=new ie(n,n.nextSibling,this,e):d.type===1?h=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(h=new Ge(n,this,e)),this._$AV.push(h),d=r[++a]}i!==(d==null?void 0:d.index)&&(n=P.nextNode(),i++)}return P.currentNode=k,o}p(e){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}},ie=class s{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this.v}constructor(e,t,r,o){var n;this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=o,this.v=(n=o==null?void 0:o.isConnected)!=null?n:!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=B(this,e,t),oe(e)?e===f||e==null||e===""?(this._$AH!==f&&this._$AR(),this._$AH=f):e!==this._$AH&&e!==C&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ar(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==f&&oe(this._$AH)?this._$AA.nextSibling.data=e:this.T(k.createTextNode(e)),this._$AH=e}$(e){var n;let{values:t,_$litType$:r}=e,o=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=se.createElement(vt(r.h,r.h[0]),this.options)),r);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(t);else{let i=new De(o,this),a=i.u(this.options);i.p(t),this.T(a),this._$AH=i}}_$AC(e){let t=ht.get(e.strings);return t===void 0&&ht.set(e.strings,t=new se(e)),t}k(e){Be(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,o=0;for(let n of e)o===t.length?t.push(r=new s(this.O(re()),this.O(re()),this,this.options)):r=t[o],r._$AI(n),o++;o<t.length&&(this._$AR(r&&r._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this.v=e,(t=this._$AP)==null||t.call(this,e))}},q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,o,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=f}_$AI(e,t=this,r,o){let n=this.strings,i=!1;if(n===void 0)e=B(this,e,t,0),i=!oe(e)||e!==this._$AH&&e!==C,i&&(this._$AH=e);else{let a=e,d,u;for(e=n[0],d=0;d<n.length-1;d++)u=B(this,a[r+d],t,d),u===C&&(u=this._$AH[d]),i||(i=!oe(u)||u!==this._$AH[d]),u===f?e=f:e!==f&&(e+=(u!=null?u:"")+n[d+1]),this._$AH[d]=u}i&&!o&&this.j(e)}j(e){e===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},Pe=class extends q{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===f?void 0:e}},ke=class extends q{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==f)}},He=class extends q{constructor(e,t,r,o,n){super(e,t,r,o,n),this.type=5}_$AI(e,t=this){var i;if((e=(i=B(this,e,t,0))!=null?i:f)===C)return;let r=this._$AH,o=e===f&&r!==f||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,n=e!==f&&(r===f||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,e):this._$AH.handleEvent(e)}},Ge=class{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){B(this,e)}};var Ue=te.litHtmlPolyfillSupport,ut;Ue==null||Ue(se,ie),((ut=te.litHtmlVersions)!=null?ut:te.litHtmlVersions=[]).push("3.2.0");var yt=(s,e,t)=>{var n,i;let r=(n=t==null?void 0:t.renderBefore)!=null?n:e,o=r._$litPart$;if(o===void 0){let a=(i=t==null?void 0:t.renderBefore)!=null?i:null;r._$litPart$=o=new ie(e.insertBefore(re(),a),a,void 0,t!=null?t:{})}return o._$AI(s),o};var I=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let e=super.createRenderRoot();return(r=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=e.firstChild),e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=yt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this.o)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.o)==null||e.setConnected(!1)}render(){return C}},xt;I._$litElement$=!0,I.finalized=!0,(xt=globalThis.litElementHydrateSupport)==null||xt.call(globalThis,{LitElement:I});var Ve=globalThis.litElementPolyfillSupport;Ve==null||Ve({LitElement:I});var _t;((_t=globalThis.litElementVersions)!=null?_t:globalThis.litElementVersions=[]).push("4.1.0");var Et=g`
4
4
  :host {
5
5
  box-sizing: border-box;
6
6
  }
@@ -10,11 +10,11 @@
10
10
  :host *::after {
11
11
  box-sizing: inherit;
12
12
  }
13
- `;var ve=class extends I{static register(e){customElements.get(e)||customElements.define(e,this)}};ve.styles=[Et];var At=ve;var b=At;var z=class extends Event{constructor(e,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.callback=t,this.subscribe=r!=null?r:!1}};var V=class{constructor(e,t,r,o){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,a)=>{this.unsubscribe&&(this.unsubscribe!==a&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=i,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(i,a)),this.unsubscribe=a},this.host=e,t.context!==void 0){let i=t;this.context=i.context,this.callback=i.callback,this.subscribe=(n=i.subscribe)!=null?n:!1}else this.context=t,this.callback=r,this.subscribe=o!=null?o:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new z(this.context,this.t,this.subscribe))}};var xe=class{get value(){return this.o}set value(e){this.setValue(e)}setValue(e,t=!1){let r=t||!Object.is(e,this.o);this.o=e,r&&this.updateObservers()}constructor(e){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},e!==void 0&&(this.value=e)}addCallback(e,t,r){if(!r)return void e(this.value);this.subscriptions.has(e)||this.subscriptions.set(e,{disposer:()=>{this.subscriptions.delete(e)},consumerHost:t});let{disposer:o}=this.subscriptions.get(e);e(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var Xe=class extends Event{constructor(e){super("context-provider",{bubbles:!0,composed:!0}),this.context=e}},X=class extends xe{constructor(e,t,r){var o,n;super(t.context!==void 0?t.initialValue:r),this.onContextRequest=i=>{let a=i.composedPath()[0];i.context===this.context&&a!==this.host&&(i.stopPropagation(),this.addCallback(i.callback,a,i.subscribe))},this.onProviderRequest=i=>{let a=i.composedPath()[0];if(i.context!==this.context||a===this.host)return;let d=new Set;for(let[u,{consumerHost:h}]of this.subscriptions)d.has(u)||(d.add(u),h.dispatchEvent(new z(this.context,u,!0)));i.stopPropagation()},this.host=e,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(n=(o=this.host).addController)==null||n.call(o,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Xe(this.context))}};var lr=g`
13
+ `;var ve=class extends I{static register(e){customElements.get(e)||customElements.define(e,this)}};ve.styles=[Et];var At=ve;var b=At;var z=class extends Event{constructor(e,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.callback=t,this.subscribe=r!=null?r:!1}};var V=class{constructor(e,t,r,o){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,a)=>{this.unsubscribe&&(this.unsubscribe!==a&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=i,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(i,a)),this.unsubscribe=a},this.host=e,t.context!==void 0){let i=t;this.context=i.context,this.callback=i.callback,this.subscribe=(n=i.subscribe)!=null?n:!1}else this.context=t,this.callback=r,this.subscribe=o!=null?o:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new z(this.context,this.t,this.subscribe))}};var ye=class{get value(){return this.o}set value(e){this.setValue(e)}setValue(e,t=!1){let r=t||!Object.is(e,this.o);this.o=e,r&&this.updateObservers()}constructor(e){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},e!==void 0&&(this.value=e)}addCallback(e,t,r){if(!r)return void e(this.value);this.subscriptions.has(e)||this.subscriptions.set(e,{disposer:()=>{this.subscriptions.delete(e)},consumerHost:t});let{disposer:o}=this.subscriptions.get(e);e(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var Xe=class extends Event{constructor(e){super("context-provider",{bubbles:!0,composed:!0}),this.context=e}},X=class extends ye{constructor(e,t,r){var o,n;super(t.context!==void 0?t.initialValue:r),this.onContextRequest=i=>{let a=i.composedPath()[0];i.context===this.context&&a!==this.host&&(i.stopPropagation(),this.addCallback(i.callback,a,i.subscribe))},this.onProviderRequest=i=>{let a=i.composedPath()[0];if(i.context!==this.context||a===this.host)return;let d=new Set;for(let[u,{consumerHost:h}]of this.subscriptions)d.has(u)||(d.add(u),h.dispatchEvent(new z(this.context,u,!0)));i.stopPropagation()},this.host=e,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(n=(o=this.host).addController)==null||n.call(o,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Xe(this.context))}};var lr=g`
14
14
  :host {
15
15
  display: contents;
16
16
  }
17
- `,Tt=lr;var ye=class extends b{constructor({context:e,initialValue:t}){super(),this.context=new X(this,{context:e,initialValue:t})}render(){return this.updateContext(),m`<slot></slot>`}};ye.styles=[...b.styles,Tt];var Ct=ye;var Y=Ct;var _e=class{constructor(e){this.themeclass=e}};_e.context=fe;var Ee=_e;var cr=g`
17
+ `,Tt=lr;var xe=class extends b{constructor({context:e,initialValue:t}){super(),this.context=new X(this,{context:e,initialValue:t})}render(){return this.updateContext(),m`<slot></slot>`}};xe.styles=[...b.styles,Tt];var Ct=xe;var Y=Ct;var _e=class{constructor(e){this.themeclass=e}};_e.context=fe;var Ee=_e;var cr=g`
18
18
  :host {
19
19
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
20
20
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -65,7 +65,7 @@
65
65
  width: 100%;
66
66
  fill: var(--mdc-icon-fill-color);
67
67
  }
68
- `],Nt=pr;var hr=s=>{let{host:e,context:t,subscribe:r}=s;return new V(e,{context:t,subscribe:r!=null?r:!0})},ur={consume:hr},Rt=ur;var Ae=x.constructTagName("iconprovider"),Lt=["svg"],wt=["em","rem","px"],gr={px:16,em:1,rem:1},M={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:gr.em};var Se=class{};Se.context=Ae;var Te=Se;var H=class extends Y{constructor(){super({context:Te.context,initialValue:new Te});this.fileExtension=M.FILE_EXTENSION;this.lengthUnit=M.LENGTH_UNIT;this.size=M.SIZE}static get Context(){return Te.context}updateValuesInContext(){this.fileExtension&&Lt.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=M.FILE_EXTENSION,this.context.value.fileExtension=M.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.lengthUnit&&wt.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=M.LENGTH_UNIT,this.context.value.lengthUnit=M.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size)&&(this.updateValuesInContext(),this.context.updateObservers())}};l([c({type:String})],H.prototype,"url",2),l([c({type:String,attribute:"file-extension",reflect:!0})],H.prototype,"fileExtension",2),l([c({type:String,attribute:"length-unit",reflect:!0})],H.prototype,"lengthUnit",2),l([c({type:Number,reflect:!0})],H.prototype,"size",2);var ne=H;var It=async(s,e,t)=>{let r=await fetch(`${s}/${e}.${t}`);if(!r.ok)throw new Error("There was a problem while fetching the icon!");let o=await r.text();return new DOMParser().parseFromString(o,"text/html").body.children[0]};var zt=x.constructTagName("icon"),Fe={NAME:void 0,SIZE:1};var E=class extends b{constructor(){super(...arguments);this.name=Fe.NAME;this.ariaLabel=null;this.iconProviderContext=Rt.consume({host:this,context:ne.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:t,url:r}=this.iconProviderContext.value;if(r&&t&&this.name){let o=await It(r,this.name,t);this.iconData=o,this.setRoleOnIcon(),this.setAriaLabelOnIcon(),this.setAriaHiddenOnIcon()}}}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.width=r,this.style.height=r}}setRoleOnIcon(){this.role=this.ariaLabel?"img":null}setAriaHiddenOnIcon(){var t;(t=this.iconData)==null||t.setAttribute("aria-hidden","true")}setAriaLabelOnIcon(){var t,r;this.ariaLabel?(t=this.iconData)==null||t.setAttribute("aria-label",this.ariaLabel):(r=this.iconData)==null||r.removeAttribute("aria-label")}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:Fe.SIZE}updated(t){var r,o,n,i;super.updated(t),t.has("name")&&this.getIconData().catch(a=>{console.error(a)}),t.has("ariaLabel")&&(this.setRoleOnIcon(),this.setAriaLabelOnIcon()),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(o=this.iconProviderContext.value)==null?void 0:o.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(i=this.iconProviderContext.value)==null?void 0:i.size,this.updateSize())}render(){return m` ${this.iconData} `}};E.styles=[...b.styles,...Nt],l([G()],E.prototype,"iconData",2),l([G()],E.prototype,"lengthUnitFromContext",2),l([G()],E.prototype,"sizeFromContext",2),l([c({type:String,reflect:!0})],E.prototype,"name",2),l([c({type:Number})],E.prototype,"size",2),l([c({type:String,attribute:"length-unit"})],E.prototype,"lengthUnit",2),l([c({type:String,attribute:"aria-label"})],E.prototype,"ariaLabel",2);var je=E;je.register(zt);var fr=je;ne.register(Ae);var br=ne;var ae=s=>s!=null?s:f;var vr=g`
68
+ `],Nt=pr;var hr=s=>{let{host:e,context:t,subscribe:r}=s;return new V(e,{context:t,subscribe:r!=null?r:!0})},ur={consume:hr},Rt=ur;var Ae=y.constructTagName("iconprovider"),Lt=["svg"],wt=["em","rem","px"],gr={px:16,em:1,rem:1},M={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:gr.em};var Se=class{};Se.context=Ae;var Te=Se;var H=class extends Y{constructor(){super({context:Te.context,initialValue:new Te});this.fileExtension=M.FILE_EXTENSION;this.lengthUnit=M.LENGTH_UNIT;this.size=M.SIZE}static get Context(){return Te.context}updateValuesInContext(){this.fileExtension&&Lt.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=M.FILE_EXTENSION,this.context.value.fileExtension=M.FILE_EXTENSION),this.context.value.url=this.url,this.context.value.size=this.size,this.lengthUnit&&wt.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=M.LENGTH_UNIT,this.context.value.lengthUnit=M.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size)&&(this.updateValuesInContext(),this.context.updateObservers())}};l([c({type:String})],H.prototype,"url",2),l([c({type:String,attribute:"file-extension",reflect:!0})],H.prototype,"fileExtension",2),l([c({type:String,attribute:"length-unit",reflect:!0})],H.prototype,"lengthUnit",2),l([c({type:Number,reflect:!0})],H.prototype,"size",2);var ne=H;var It=async(s,e,t)=>{let r=await fetch(`${s}/${e}.${t}`);if(!r.ok)throw new Error("There was a problem while fetching the icon!");let o=await r.text();return new DOMParser().parseFromString(o,"text/html").body.children[0]};var zt=y.constructTagName("icon"),Fe={NAME:void 0,SIZE:1};var E=class extends b{constructor(){super(...arguments);this.name=Fe.NAME;this.ariaLabel=null;this.iconProviderContext=Rt.consume({host:this,context:ne.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:t,url:r}=this.iconProviderContext.value;if(r&&t&&this.name){let o=await It(r,this.name,t);this.iconData=o,this.setRoleOnIcon(),this.setAriaLabelOnIcon(),this.setAriaHiddenOnIcon()}}}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.width=r,this.style.height=r}}setRoleOnIcon(){this.role=this.ariaLabel?"img":null}setAriaHiddenOnIcon(){var t;(t=this.iconData)==null||t.setAttribute("aria-hidden","true")}setAriaLabelOnIcon(){var t,r;this.ariaLabel?(t=this.iconData)==null||t.setAttribute("aria-label",this.ariaLabel):(r=this.iconData)==null||r.removeAttribute("aria-label")}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:Fe.SIZE}updated(t){var r,o,n,i;super.updated(t),t.has("name")&&this.getIconData().catch(a=>{console.error(a)}),t.has("ariaLabel")&&(this.setRoleOnIcon(),this.setAriaLabelOnIcon()),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(o=this.iconProviderContext.value)==null?void 0:o.lengthUnit,this.updateSize()),this.sizeFromContext!==((n=this.iconProviderContext.value)==null?void 0:n.size)&&(this.sizeFromContext=(i=this.iconProviderContext.value)==null?void 0:i.size,this.updateSize())}render(){return m` ${this.iconData} `}};E.styles=[...b.styles,...Nt],l([G()],E.prototype,"iconData",2),l([G()],E.prototype,"lengthUnitFromContext",2),l([G()],E.prototype,"sizeFromContext",2),l([c({type:String,reflect:!0})],E.prototype,"name",2),l([c({type:Number})],E.prototype,"size",2),l([c({type:String,attribute:"length-unit"})],E.prototype,"lengthUnit",2),l([c({type:String,attribute:"aria-label"})],E.prototype,"ariaLabel",2);var je=E;je.register(zt);var fr=je;ne.register(Ae);var br=ne;var ae=s=>s!=null?s:f;var vr=g`
69
69
  :host {
70
70
  display: flex;
71
71
  justify-content: center;
@@ -80,12 +80,12 @@
80
80
  width: inherit;
81
81
  object-fit: cover;
82
82
  }
83
- `,Mt=[vr];var Ot=x.constructTagName("avatar"),Ut="rem",We={TYPE:"photo",SIZE:1.5};var O=class extends b{constructor(){super(...arguments);this.type=We.TYPE;this.size=We.SIZE}updateSize(){if(this.size){let t=`${this.size}${Ut}`;this.style.width=t,this.style.height=t}}updated(t){super.updated(t),t.has("size")&&this.updateSize()}photoTemplate(){return m`
83
+ `,Mt=[vr];var Ot=y.constructTagName("avatar"),Ut="rem",We={TYPE:"photo",SIZE:1.5};var O=class extends b{constructor(){super(...arguments);this.type=We.TYPE;this.size=We.SIZE}updateSize(){if(this.size){let t=`${this.size}${Ut}`;this.style.width=t,this.style.height=t}}updated(t){super.updated(t),t.has("size")&&this.updateSize()}photoTemplate(){return m`
84
84
  <img
85
85
  src="${ae(this.src)}"
86
86
  alt="${ae(this.alt)}"
87
87
  />
88
- `}render(){let t;return this.type==="photo"?t=this.photoTemplate():t=m``,m`${t}`}};O.styles=[...b.styles,...Mt],l([c({type:String,reflect:!0})],O.prototype,"type",2),l([c({type:String})],O.prototype,"alt",2),l([c({type:String})],O.prototype,"src",2),l([c({type:Number})],O.prototype,"size",2);var Ze=O;Ze.register(Ot);var xr=Ze;var Dt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pt=s=>(...e)=>({_$litDirective$:s,values:e}),Ce=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this.t=e,this._$AM=t,this.i=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var $e=Pt(class extends Ce{constructor(s){var e;if(super(s),s.type!==Dt.ATTRIBUTE||s.name!=="class"||((e=s.strings)==null?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(e=>s[e]).join(" ")+" "}update(s,[e]){var r,o;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(e)}let t=s.element.classList;for(let n of this.st)n in e||(t.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||(o=this.nt)!=null&&o.has(n)||(i?(t.add(n),this.st.add(n)):(t.remove(n),this.st.delete(n)))}return C}});var kt=x.constructTagName("text"),Ke={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"},y={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},_={TYPE:Ke.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:y.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Ht=x.constructTagName("badge"),$={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ne={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Re={PRIMARY:"primary",SECONDARY:"secondary"},de={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Xi={...Re,...de},U={TYPE:$.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Re.PRIMARY,ICON_SIZE:1};var yr=[j,g`
88
+ `}render(){let t;return this.type==="photo"?t=this.photoTemplate():t=m``,m`${t}`}};O.styles=[...b.styles,...Mt],l([c({type:String,reflect:!0})],O.prototype,"type",2),l([c({type:String})],O.prototype,"alt",2),l([c({type:String})],O.prototype,"src",2),l([c({type:Number})],O.prototype,"size",2);var Ze=O;Ze.register(Ot);var yr=Ze;var Dt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Pt=s=>(...e)=>({_$litDirective$:s,values:e}),Ce=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this.t=e,this._$AM=t,this.i=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var $e=Pt(class extends Ce{constructor(s){var e;if(super(s),s.type!==Dt.ATTRIBUTE||s.name!=="class"||((e=s.strings)==null?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(e=>s[e]).join(" ")+" "}update(s,[e]){var r,o;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!((r=this.nt)!=null&&r.has(n))&&this.st.add(n);return this.render(e)}let t=s.element.classList;for(let n of this.st)n in e||(t.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||(o=this.nt)!=null&&o.has(n)||(i?(t.add(n),this.st.add(n)):(t.remove(n),this.st.delete(n)))}return C}});var kt=y.constructTagName("text"),Ke={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"},x={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},_={TYPE:Ke.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:x.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Ht=y.constructTagName("badge"),$={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ne={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Re={PRIMARY:"primary",SECONDARY:"secondary"},de={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Xi={...Re,...de},U={TYPE:$.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Re.PRIMARY,ICON_SIZE:1};var xr=[j,g`
89
89
  :host {
90
90
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
91
91
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -147,7 +147,7 @@
147
147
  background-color: var(--mdc-badge-secondary-background-color);
148
148
  color: var(--mdc-badge-secondary-foreground-color);
149
149
  }
150
- `],Gt=yr;var A=class extends b{constructor(){super(...arguments);this.variant=U.VARIANT;this.maxCounter=U.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,r){return r===void 0||typeof r!="number"||t===0?"":r>t?`${t}+`:t>U.MAX_COUNTER_LIMIT||r>U.MAX_COUNTER_LIMIT?`${U.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(t,r){return m`
150
+ `],Gt=xr;var A=class extends b{constructor(){super(...arguments);this.variant=U.VARIANT;this.maxCounter=U.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,r){return r===void 0||typeof r!="number"||t===0?"":r>t?`${t}+`:t>U.MAX_COUNTER_LIMIT||r>U.MAX_COUNTER_LIMIT?`${U.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(t,r){return m`
151
151
  <mdc-icon
152
152
  class="mdc-badge-icon ${$e({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${r}`]:!0})}"
153
153
  name="${ae(t)}"
@@ -156,13 +156,21 @@
156
156
  `}getBadgeDot(){return m`<div class="mdc-badge-dot ${$e({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return m`
157
157
  <mdc-text
158
158
  type="${Ke.BODY_SMALL_MEDIUM}"
159
- tagname="${y.DIV}"
159
+ tagname="${x.DIV}"
160
160
  class="mdc-badge-text ${$e({"mdc-badge-overlay":this.overlay})}"
161
161
  >
162
162
  ${this.getCounterText(this.maxCounter,this.counter)}
163
163
  </mdc-text>
164
164
  `}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Re).includes(this.variant)&&(this.variant=U.VARIANT);let{iconName:t,type:r,variant:o}=this;switch(r){case $.ICON:return this.getBadgeIcon(t||"",o);case $.COUNTER:return this.getBadgeCounterText();case $.SUCCESS:return this.getBadgeIcon(Ne.SUCCESS_ICON_NAME,de.SUCCESS);case $.WARNING:return this.getBadgeIcon(Ne.WARNING_ICON_NAME,de.WARNING);case $.ERROR:return this.getBadgeIcon(Ne.ERROR_ICON_NAME,de.ERROR);case $.DOT:default:return this.type=$.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};A.styles=[...b.styles,...Gt],l([c({type:String,reflect:!0})],A.prototype,"type",2),l([c({type:String,attribute:"icon-name"})],A.prototype,"iconName",2),l([c({type:String,reflect:!0})],A.prototype,"variant",2),l([c({type:Number})],A.prototype,"counter",2),l([c({type:Number,attribute:"max-counter",reflect:!0})],A.prototype,"maxCounter",2),l([c({type:Boolean})],A.prototype,"overlay",2),l([c({type:String,attribute:"aria-label"})],A.prototype,"ariaLabel",2);var Qe=A;var Bt=g`
165
- :host([type="headline-small-regular"])::part(text) {
165
+ :host([tagname])::part(text) {
166
+ font-size: unset;
167
+ font-weight: unset;
168
+ line-height: unset;
169
+ text-decoration: unset;
170
+ text-transform: unset;
171
+ }
172
+
173
+ :host([type="headline-small-regular"]) {
166
174
  font-size: var(--mds-font-apps-headline-small-regular-font-size);
167
175
  font-weight: var(--mds-font-apps-headline-small-regular-font-weight);
168
176
  line-height: var(--mds-font-apps-headline-small-regular-line-height);
@@ -170,7 +178,7 @@
170
178
  text-transform: var(--mds-font-apps-headline-small-regular-text-case);
171
179
  }
172
180
 
173
- :host([type="headline-small-light"])::part(text) {
181
+ :host([type="headline-small-light"]) {
174
182
  font-size: var(--mds-font-apps-headline-small-light-font-size);
175
183
  font-weight: var(--mds-font-apps-headline-small-light-font-weight);
176
184
  line-height: var(--mds-font-apps-headline-small-light-line-height);
@@ -178,7 +186,7 @@
178
186
  text-transform: var(--mds-font-apps-headline-small-light-text-case);
179
187
  }
180
188
 
181
- :host([type="heading-xlarge-bold"])::part(text) {
189
+ :host([type="heading-xlarge-bold"]) {
182
190
  font-size: var(--mds-font-apps-heading-xlarge-bold-font-size);
183
191
  font-weight: var(--mds-font-apps-heading-xlarge-bold-font-weight);
184
192
  line-height: var(--mds-font-apps-heading-xlarge-bold-line-height);
@@ -186,7 +194,7 @@
186
194
  text-transform: var(--mds-font-apps-heading-xlarge-bold-text-case);
187
195
  }
188
196
 
189
- :host([type="heading-xlarge-medium"])::part(text) {
197
+ :host([type="heading-xlarge-medium"]) {
190
198
  font-size: var(--mds-font-apps-heading-xlarge-medium-font-size);
191
199
  font-weight: var(--mds-font-apps-heading-xlarge-medium-font-weight);
192
200
  line-height: var(--mds-font-apps-heading-xlarge-medium-line-height);
@@ -194,7 +202,7 @@
194
202
  text-transform: var(--mds-font-apps-heading-xlarge-medium-text-case);
195
203
  }
196
204
 
197
- :host([type="heading-xlarge-regular"])::part(text) {
205
+ :host([type="heading-xlarge-regular"]) {
198
206
  font-size: var(--mds-font-apps-heading-xlarge-regular-font-size);
199
207
  font-weight: var(--mds-font-apps-heading-xlarge-regular-font-weight);
200
208
  line-height: var(--mds-font-apps-heading-xlarge-regular-line-height);
@@ -202,7 +210,7 @@
202
210
  text-transform: var(--mds-font-apps-heading-xlarge-regular-text-case);
203
211
  }
204
212
 
205
- :host([type="heading-large-bold"])::part(text) {
213
+ :host([type="heading-large-bold"]) {
206
214
  font-size: var(--mds-font-apps-heading-large-bold-font-size);
207
215
  font-weight: var(--mds-font-apps-heading-large-bold-font-weight);
208
216
  line-height: var(--mds-font-apps-heading-large-bold-line-height);
@@ -210,7 +218,7 @@
210
218
  text-transform: var(--mds-font-apps-heading-large-bold-text-case);
211
219
  }
212
220
 
213
- :host([type="heading-large-medium"])::part(text) {
221
+ :host([type="heading-large-medium"]) {
214
222
  font-size: var(--mds-font-apps-heading-large-medium-font-size);
215
223
  font-weight: var(--mds-font-apps-heading-large-medium-font-weight);
216
224
  line-height: var(--mds-font-apps-heading-large-medium-line-height);
@@ -218,7 +226,7 @@
218
226
  text-transform: var(--mds-font-apps-heading-large-medium-text-case);
219
227
  }
220
228
 
221
- :host([type="heading-large-regular"])::part(text) {
229
+ :host([type="heading-large-regular"]) {
222
230
  font-size: var(--mds-font-apps-heading-large-regular-font-size);
223
231
  font-weight: var(--mds-font-apps-heading-large-regular-font-weight);
224
232
  line-height: var(--mds-font-apps-heading-large-regular-line-height);
@@ -226,7 +234,7 @@
226
234
  text-transform: var(--mds-font-apps-heading-large-regular-text-case);
227
235
  }
228
236
 
229
- :host([type="heading-midsize-bold"])::part(text) {
237
+ :host([type="heading-midsize-bold"]) {
230
238
  font-size: var(--mds-font-apps-heading-midsize-bold-font-size);
231
239
  font-weight: var(--mds-font-apps-heading-midsize-bold-font-weight);
232
240
  line-height: var(--mds-font-apps-heading-midsize-bold-line-height);
@@ -234,7 +242,7 @@
234
242
  text-transform: var(--mds-font-apps-heading-midsize-bold-text-case);
235
243
  }
236
244
 
237
- :host([type="heading-midsize-medium"])::part(text) {
245
+ :host([type="heading-midsize-medium"]) {
238
246
  font-size: var(--mds-font-apps-heading-midsize-medium-font-size);
239
247
  font-weight: var(--mds-font-apps-heading-midsize-medium-font-weight);
240
248
  line-height: var(--mds-font-apps-heading-midsize-medium-line-height);
@@ -242,7 +250,7 @@
242
250
  text-transform: var(--mds-font-apps-heading-midsize-medium-text-case);
243
251
  }
244
252
 
245
- :host([type="heading-midsize-regular"])::part(text) {
253
+ :host([type="heading-midsize-regular"]) {
246
254
  font-size: var(--mds-font-apps-heading-midsize-regular-font-size);
247
255
  font-weight: var(--mds-font-apps-heading-midsize-regular-font-weight);
248
256
  line-height: var(--mds-font-apps-heading-midsize-regular-line-height);
@@ -250,7 +258,7 @@
250
258
  text-transform: var(--mds-font-apps-heading-midsize-regular-text-case);
251
259
  }
252
260
 
253
- :host([type="heading-small-bold"])::part(text) {
261
+ :host([type="heading-small-bold"]) {
254
262
  font-size: var(--mds-font-apps-heading-small-bold-font-size);
255
263
  font-weight: var(--mds-font-apps-heading-small-bold-font-weight);
256
264
  line-height: var(--mds-font-apps-heading-small-bold-line-height);
@@ -258,7 +266,7 @@
258
266
  text-transform: var(--mds-font-apps-heading-small-bold-text-case);
259
267
  }
260
268
 
261
- :host([type="heading-small-medium"])::part(text) {
269
+ :host([type="heading-small-medium"]) {
262
270
  font-size: var(--mds-font-apps-heading-small-medium-font-size);
263
271
  font-weight: var(--mds-font-apps-heading-small-medium-font-weight);
264
272
  line-height: var(--mds-font-apps-heading-small-medium-line-height);
@@ -266,7 +274,7 @@
266
274
  text-transform: var(--mds-font-apps-heading-small-medium-text-case);
267
275
  }
268
276
 
269
- :host([type="heading-small-regular"])::part(text) {
277
+ :host([type="heading-small-regular"]) {
270
278
  font-size: var(--mds-font-apps-heading-small-regular-font-size);
271
279
  font-weight: var(--mds-font-apps-heading-small-regular-font-weight);
272
280
  line-height: var(--mds-font-apps-heading-small-regular-line-height);
@@ -274,7 +282,7 @@
274
282
  text-transform: var(--mds-font-apps-heading-small-regular-text-case);
275
283
  }
276
284
 
277
- :host([type="body-large-bold"])::part(text) {
285
+ :host([type="body-large-bold"]) {
278
286
  font-size: var(--mds-font-apps-body-large-bold-font-size);
279
287
  font-weight: var(--mds-font-apps-body-large-bold-font-weight);
280
288
  line-height: var(--mds-font-apps-body-large-bold-line-height);
@@ -282,7 +290,7 @@
282
290
  text-transform: var(--mds-font-apps-body-large-bold-text-case);
283
291
  }
284
292
 
285
- :host([type="body-large-medium-underline"])::part(text) {
293
+ :host([type="body-large-medium-underline"]) {
286
294
  font-size: var(--mds-font-apps-body-large-medium-underline-font-size);
287
295
  font-weight: var(--mds-font-apps-body-large-medium-underline-font-weight);
288
296
  line-height: var(--mds-font-apps-body-large-medium-underline-line-height);
@@ -290,7 +298,7 @@
290
298
  text-transform: var(--mds-font-apps-body-large-medium-underline-text-case);
291
299
  }
292
300
 
293
- :host([type="body-large-medium"])::part(text) {
301
+ :host([type="body-large-medium"]) {
294
302
  font-size: var(--mds-font-apps-body-large-medium-font-size);
295
303
  font-weight: var(--mds-font-apps-body-large-medium-font-weight);
296
304
  line-height: var(--mds-font-apps-body-large-medium-line-height);
@@ -298,7 +306,7 @@
298
306
  text-transform: var(--mds-font-apps-body-large-medium-text-case);
299
307
  }
300
308
 
301
- :host([type="body-large-regular-underline"])::part(text) {
309
+ :host([type="body-large-regular-underline"]) {
302
310
  font-size: var(--mds-font-apps-body-large-regular-underline-font-size);
303
311
  font-weight: var(--mds-font-apps-body-large-regular-underline-font-weight);
304
312
  line-height: var(--mds-font-apps-body-large-regular-underline-line-height);
@@ -306,7 +314,7 @@
306
314
  text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
307
315
  }
308
316
 
309
- :host([type="body-large-regular"])::part(text) {
317
+ :host([type="body-large-regular"]) {
310
318
  font-size: var(--mds-font-apps-body-large-regular-font-size);
311
319
  font-weight: var(--mds-font-apps-body-large-regular-font-weight);
312
320
  line-height: var(--mds-font-apps-body-large-regular-line-height);
@@ -314,7 +322,7 @@
314
322
  text-transform: var(--mds-font-apps-body-large-regular-text-case);
315
323
  }
316
324
 
317
- :host([type="body-midsize-bold"])::part(text) {
325
+ :host([type="body-midsize-bold"]) {
318
326
  font-size: var(--mds-font-apps-body-midsize-bold-font-size);
319
327
  font-weight: var(--mds-font-apps-body-midsize-bold-font-weight);
320
328
  line-height: var(--mds-font-apps-body-midsize-bold-line-height);
@@ -322,7 +330,7 @@
322
330
  text-transform: var(--mds-font-apps-body-midsize-bold-text-case);
323
331
  }
324
332
 
325
- :host([type="body-midsize-medium-underline"])::part(text) {
333
+ :host([type="body-midsize-medium-underline"]) {
326
334
  font-size: var(--mds-font-apps-body-midsize-medium-underline-font-size);
327
335
  font-weight: var(--mds-font-apps-body-midsize-medium-underline-font-weight);
328
336
  line-height: var(--mds-font-apps-body-midsize-medium-underline-line-height);
@@ -330,7 +338,7 @@
330
338
  text-transform: var(--mds-font-apps-body-midsize-medium-underline-text-case);
331
339
  }
332
340
 
333
- :host([type="body-midsize-medium"])::part(text) {
341
+ :host([type="body-midsize-medium"]) {
334
342
  font-size: var(--mds-font-apps-body-midsize-medium-font-size);
335
343
  font-weight: var(--mds-font-apps-body-midsize-medium-font-weight);
336
344
  line-height: var(--mds-font-apps-body-midsize-medium-line-height);
@@ -338,7 +346,7 @@
338
346
  text-transform: var(--mds-font-apps-body-midsize-medium-text-case);
339
347
  }
340
348
 
341
- :host([type="body-midsize-regular-underline"])::part(text) {
349
+ :host([type="body-midsize-regular-underline"]) {
342
350
  font-size: var(--mds-font-apps-body-midsize-regular-underline-font-size);
343
351
  font-weight: var(--mds-font-apps-body-midsize-regular-underline-font-weight);
344
352
  line-height: var(--mds-font-apps-body-midsize-regular-underline-line-height);
@@ -346,7 +354,7 @@
346
354
  text-transform: var(--mds-font-apps-body-midsize-regular-underline-text-case);
347
355
  }
348
356
 
349
- :host([type="body-midsize-regular"])::part(text) {
357
+ :host([type="body-midsize-regular"]) {
350
358
  font-size: var(--mds-font-apps-body-midsize-regular-font-size);
351
359
  font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
352
360
  line-height: var(--mds-font-apps-body-midsize-regular-line-height);
@@ -354,7 +362,7 @@
354
362
  text-transform: var(--mds-font-apps-body-midsize-regular-text-case);
355
363
  }
356
364
 
357
- :host([type="body-small-bold"])::part(text) {
365
+ :host([type="body-small-bold"]) {
358
366
  font-size: var(--mds-font-apps-body-small-bold-font-size);
359
367
  font-weight: var(--mds-font-apps-body-small-bold-font-weight);
360
368
  line-height: var(--mds-font-apps-body-small-bold-line-height);
@@ -362,7 +370,7 @@
362
370
  text-transform: var(--mds-font-apps-body-small-bold-text-case);
363
371
  }
364
372
 
365
- :host([type="body-small-medium-underline"])::part(text) {
373
+ :host([type="body-small-medium-underline"]) {
366
374
  font-size: var(--mds-font-apps-body-small-medium-underline-font-size);
367
375
  font-weight: var(--mds-font-apps-body-small-medium-underline-font-weight);
368
376
  line-height: var(--mds-font-apps-body-small-medium-underline-line-height);
@@ -370,7 +378,7 @@
370
378
  text-transform: var(--mds-font-apps-body-small-medium-underline-text-case);
371
379
  }
372
380
 
373
- :host([type="body-small-medium"])::part(text) {
381
+ :host([type="body-small-medium"]) {
374
382
  font-size: var(--mds-font-apps-body-small-medium-font-size);
375
383
  font-weight: var(--mds-font-apps-body-small-medium-font-weight);
376
384
  line-height: var(--mds-font-apps-body-small-medium-line-height);
@@ -378,7 +386,7 @@
378
386
  text-transform: var(--mds-font-apps-body-small-medium-text-case);
379
387
  }
380
388
 
381
- :host([type="body-small-regular-underline"])::part(text) {
389
+ :host([type="body-small-regular-underline"]) {
382
390
  font-size: var(--mds-font-apps-body-small-regular-underline-font-size);
383
391
  font-weight: var(--mds-font-apps-body-small-regular-underline-font-weight);
384
392
  line-height: var(--mds-font-apps-body-small-regular-underline-line-height);
@@ -386,7 +394,7 @@
386
394
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
387
395
  }
388
396
 
389
- :host([type="body-small-regular"])::part(text) {
397
+ :host([type="body-small-regular"]) {
390
398
  font-size: var(--mds-font-apps-body-small-regular-font-size);
391
399
  font-weight: var(--mds-font-apps-body-small-regular-font-weight);
392
400
  line-height: var(--mds-font-apps-body-small-regular-line-height);
@@ -400,7 +408,7 @@
400
408
  display: block;
401
409
  font-family: var(--mdc-text-font-family);
402
410
  }
403
- `,Bt],qt=_r;var W=class extends b{constructor(){super(...arguments);this.type=_.TYPE;this.tagname=_.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case y.H1:return m`<h1 part=${_.CSS_PART_TEXT}><slot></slot></h1>`;case y.H2:return m`<h2 part=${_.CSS_PART_TEXT}><slot></slot></h2>`;case y.H3:return m`<h3 part=${_.CSS_PART_TEXT}><slot></slot></h3>`;case y.H4:return m`<h4 part=${_.CSS_PART_TEXT}><slot></slot></h4>`;case y.H5:return m`<h5 part=${_.CSS_PART_TEXT}><slot></slot></h5>`;case y.H6:return m`<h6 part=${_.CSS_PART_TEXT}><slot></slot></h6>`;case y.DIV:return m`<div part=${_.CSS_PART_TEXT}><slot></slot></div>`;case y.SPAN:return m`<span part=${_.CSS_PART_TEXT}><slot></slot></span>`;case y.SMALL:return m`<small part=${_.CSS_PART_TEXT}><slot></slot></small>`;case y.P:default:return m`<p part=${_.CSS_PART_TEXT}><slot></slot></p>`}}};W.styles=[...b.styles,...qt],l([c({attribute:"type",reflect:!0,type:String})],W.prototype,"type",2),l([c({attribute:"tagname",reflect:!0,type:String})],W.prototype,"tagname",2);var Je=W;Je.register(kt);var Er=Je;Qe.register(Ht);var Ar=Qe;var Vt=x.constructTagName("presence"),v={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},N={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},le={TYPE:v.ACTIVE,SIZE:N.SMALL};var Sr=[j,g`
411
+ `,Bt],qt=_r;var W=class extends b{constructor(){super(...arguments);this.type=_.TYPE;this.tagname=_.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case x.H1:return m`<h1 part=${_.CSS_PART_TEXT}><slot></slot></h1>`;case x.H2:return m`<h2 part=${_.CSS_PART_TEXT}><slot></slot></h2>`;case x.H3:return m`<h3 part=${_.CSS_PART_TEXT}><slot></slot></h3>`;case x.H4:return m`<h4 part=${_.CSS_PART_TEXT}><slot></slot></h4>`;case x.H5:return m`<h5 part=${_.CSS_PART_TEXT}><slot></slot></h5>`;case x.H6:return m`<h6 part=${_.CSS_PART_TEXT}><slot></slot></h6>`;case x.DIV:return m`<div part=${_.CSS_PART_TEXT}><slot></slot></div>`;case x.SPAN:return m`<span part=${_.CSS_PART_TEXT}><slot></slot></span>`;case x.SMALL:return m`<small part=${_.CSS_PART_TEXT}><slot></slot></small>`;case x.P:default:return m`<p part=${_.CSS_PART_TEXT}><slot></slot></p>`}}};W.styles=[...b.styles,...qt],l([c({attribute:"type",reflect:!0,type:String})],W.prototype,"type",2),l([c({attribute:"tagname",reflect:!0,type:String})],W.prototype,"tagname",2);var Je=W;Je.register(kt);var Er=Je;Qe.register(Ht);var Ar=Qe;var Vt=y.constructTagName("presence"),v={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},N={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},le={TYPE:v.ACTIVE,SIZE:N.SMALL};var Sr=[j,g`
404
412
  :host {
405
413
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
406
414