@momentum-design/components 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/browser/index.js +18 -16
  2. package/dist/browser/index.js.map +3 -3
  3. package/dist/components/avatar/avatar.component.d.ts +1 -1
  4. package/dist/components/avatar/avatar.component.js +5 -5
  5. package/dist/components/avatar/avatar.constants.d.ts +1 -1
  6. package/dist/components/avatar/avatar.constants.js +1 -1
  7. package/dist/components/badge/badge.component.d.ts +1 -1
  8. package/dist/components/badge/badge.component.js +6 -5
  9. package/dist/components/badge/badge.constants.d.ts +2 -2
  10. package/dist/components/badge/badge.constants.js +1 -1
  11. package/dist/components/badge/badge.styles.js +2 -0
  12. package/dist/components/icon/icon.component.d.ts +8 -6
  13. package/dist/components/icon/icon.component.js +20 -11
  14. package/dist/components/icon/icon.constants.d.ts +1 -1
  15. package/dist/components/icon/icon.constants.js +1 -1
  16. package/dist/components/iconprovider/iconprovider.component.d.ts +6 -1
  17. package/dist/components/iconprovider/iconprovider.component.js +15 -2
  18. package/dist/components/iconprovider/iconprovider.constants.d.ts +3 -1
  19. package/dist/components/iconprovider/iconprovider.constants.js +8 -1
  20. package/dist/components/iconprovider/iconprovider.context.d.ts +2 -1
  21. package/dist/components/iconprovider/iconprovider.stories.utils.d.ts +1 -2
  22. package/dist/components/iconprovider/iconprovider.stories.utils.js +4 -3
  23. package/dist/components/text/text.utils.d.ts +1 -1
  24. package/dist/components/text/text.utils.js +1 -1
  25. package/dist/custom-elements.json +56 -21
  26. package/dist/react/icon/index.d.ts +2 -2
  27. package/dist/react/icon/index.js +2 -2
  28. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var De=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var c=(r,t,e,s)=>{for(var o=s>1?void 0:s?ze(t,e):t,n=r.length-1,i;n>=0;n--)(i=r[n])&&(o=(s?i(t,e,o):i(o))||o);return s&&o&&De(t,e,o),o};var J=globalThis,Z=J.ShadowRoot&&(J.ShadyCSS===void 0||J.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ft=Symbol(),jt=new WeakMap,D=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ft)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(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Vt=r=>new D(typeof r=="string"?r:r+"",void 0,ft),f=(r,...t)=>{let e=r.length===1?r[0]:t.reduce((s,o,n)=>s+(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)+r[n+1],r[0]);return new D(e,r,ft)},gt=(r,t)=>{if(Z)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),o=J.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},tt=Z?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Vt(e)})(r):r;var{is:qe,defineProperty:Fe,getOwnPropertyDescriptor:je,getOwnPropertyNames:Ve,getOwnPropertySymbols:We,getPrototypeOf:Ge}=Object,S=globalThis,Wt=S.trustedTypes,Be=Wt?Wt.emptyScript:"",yt=S.reactiveElementPolyfillSupport,z=(r,t)=>r,q={toAttribute(r,t){switch(t){case Boolean:r=r?Be:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},et=(r,t)=>!qe(r,t),Gt={attribute:!0,type:String,converter:q,reflect:!1,hasChanged:et},Bt,Xt;(Bt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Xt=S.litPropertyMetadata)!=null||(S.litPropertyMetadata=new WeakMap);var E=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=Gt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&Fe(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){var i;let{get:o,set:n}=(i=je(this.prototype,t))!=null?i:{get(){return this[e]},set(l){this[e]=l}};return{get(){return o==null?void 0:o.call(this)},set(l){let a=o==null?void 0:o.call(this);n.call(this,l),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Gt}static _$Ei(){if(this.hasOwnProperty(z("elementProperties")))return;let t=Ge(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(z("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(z("properties"))){let e=this.properties,s=[...Ve(e),...We(e)];for(let o of s)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let o of s)e.unshift(tt(o))}else t!==void 0&&e.push(tt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return gt(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(s=>{var o;return(o=s.hostConnected)==null?void 0:o.call(s)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;let s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){let i=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:q).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(t,e){var n;let s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let i=s.getPropertyOptions(o),l=typeof i.converter=="function"?{fromAttribute:i.converter}:((n=i.converter)==null?void 0:n.fromAttribute)!==void 0?i.converter:q;this._$Em=o,this[o]=l.fromAttribute(e,i.type),this._$Em=null}}requestUpdate(t,e,s){var o;if(t!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(t)),!((o=s.hasChanged)!=null?o:et)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){var o;this._$AL.has(t)||this._$AL.set(t,e),s.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 s,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[i,l]of this._$Ep)this[i]=l;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,l]of n)l.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.P(i,this[i],l)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(n=>{var i;return(i=n.hostUpdate)==null?void 0:i.call(n)}),this.update(e)):this._$EU()}catch(n){throw t=!1,this._$EU(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),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){}},Yt;E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[z("elementProperties")]=new Map,E[z("finalized")]=new Map,yt==null||yt({ReactiveElement:E}),((Yt=S.reactiveElementVersions)!=null?Yt:S.reactiveElementVersions=[]).push("2.0.4");var Xe={attribute:!0,type:String,converter:q,reflect:!1,hasChanged:et},Ye=(r=Xe,t,e)=>{let{kind:s,metadata:o}=e,n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(e.name,r),s==="accessor"){let{name:i}=e;return{set(l){let a=t.get.call(this);t.set.call(this,l),this.requestUpdate(i,a,r)},init(l){return l!==void 0&&this.P(i,void 0,r),l}}}if(s==="setter"){let{name:i}=e;return function(l){let a=this[i];t.call(this,l),this.requestUpdate(i,a,r)}}throw Error("Unsupported decorator location: "+s)};function h(r){return(t,e)=>typeof e=="object"?Ye(r,t,e):((s,o,n)=>{let i=o.hasOwnProperty(n);return o.constructor.createProperty(n,i?{...s,wrapped:!0}:s),i?Object.getOwnPropertyDescriptor(o,n):void 0})(r,t,e)}function xt(r){return h({...r,state:!0,attribute:!1})}var Ke={PREFIX:"mdc",SEPARATOR:"-"},Qe={NAMESPACE:Ke},vt=Qe;var Je=r=>[vt.NAMESPACE.PREFIX,r].join(vt.NAMESPACE.SEPARATOR),y={constructTagName:Je};var Ze="mds-theme-stable",ts="-",es=r=>[Ze,r].join(ts),ss={getFullQualifiedTheme:es},bt=ss;var ot=y.constructTagName("themeprovider"),Kt={DARK_WEBEX:"darkWebex",LIGHT_WEBEX:"lightWebex"},Qt=Object.values(Kt).map(r=>bt.getFullQualifiedTheme(r)),Et={THEME:bt.getFullQualifiedTheme(Kt.DARK_WEBEX)};var j=globalThis,rt=j.trustedTypes,Jt=rt?rt.createPolicy("lit-html",{createHTML:r=>r}):void 0,ie="$lit$",T=`lit$${Math.random().toFixed(9).slice(2)}$`,ne="?"+T,os=`<${ne}>`,M=document,V=()=>M.createComment(""),W=r=>r===null||typeof r!="object"&&typeof r!="function",wt=Array.isArray,rs=r=>wt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",At=`[
2
- \f\r]`,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,te=/>/g,P=RegExp(`>|${At}(?:([^\\s"'>=/]+)(${At}*=${At}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,se=/"/g,ae=/^(?:script|style|textarea|title)$/i,Pt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),g=Pt(1),no=Pt(2),ao=Pt(3),A=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),oe=new WeakMap,R=M.createTreeWalker(M,129);function le(r,t){if(!wt(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jt!==void 0?Jt.createHTML(t):t}var is=(r,t)=>{let e=r.length-1,s=[],o,n=t===2?"<svg>":t===3?"<math>":"",i=F;for(let l=0;l<e;l++){let a=r[l],m,d,p=-1,b=0;for(;b<a.length&&(i.lastIndex=b,d=i.exec(a),d!==null);)b=i.lastIndex,i===F?d[1]==="!--"?i=Zt:d[1]!==void 0?i=te:d[2]!==void 0?(ae.test(d[2])&&(o=RegExp("</"+d[2],"g")),i=P):d[3]!==void 0&&(i=P):i===P?d[0]===">"?(i=o!=null?o:F,p=-1):d[1]===void 0?p=-2:(p=i.lastIndex-d[2].length,m=d[1],i=d[3]===void 0?P:d[3]==='"'?se:ee):i===se||i===ee?i=P:i===Zt||i===te?i=F:(i=P,o=void 0);let $=i===P&&r[l+1].startsWith("/>")?" ":"";n+=i===F?a+os:p>=0?(s.push(m),a.slice(0,p)+ie+a.slice(p)+T+$):a+T+(p===-2?l:$)}return[le(r,n+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},G=class r{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let n=0,i=0,l=t.length-1,a=this.parts,[m,d]=is(t,e);if(this.el=r.createElement(m,s),R.currentNode=this.el.content,e===2||e===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=R.nextNode())!==null&&a.length<l;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(ie)){let b=d[i++],$=o.getAttribute(p).split(T),Q=/([.?@])?(.*)/.exec(b);a.push({type:1,index:n,name:Q[2],strings:$,ctor:Q[1]==="."?St:Q[1]==="?"?Tt:Q[1]==="@"?Ct:L}),o.removeAttribute(p)}else p.startsWith(T)&&(a.push({type:6,index:n}),o.removeAttribute(p));if(ae.test(o.tagName)){let p=o.textContent.split(T),b=p.length-1;if(b>0){o.textContent=rt?rt.emptyScript:"";for(let $=0;$<b;$++)o.append(p[$],V()),R.nextNode(),a.push({type:2,index:++n});o.append(p[b],V())}}}else if(o.nodeType===8)if(o.data===ne)a.push({type:2,index:n});else{let p=-1;for(;(p=o.data.indexOf(T,p+1))!==-1;)a.push({type:7,index:n}),p+=T.length-1}n++}}static createElement(t,e){let s=M.createElement("template");return s.innerHTML=t,s}};function U(r,t,e=r,s){var i,l,a;if(t===A)return t;let o=s!==void 0?(i=e.o)==null?void 0:i[s]:e.l,n=W(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((l=o==null?void 0:o._$AO)==null||l.call(o,!1),n===void 0?o=void 0:(o=new n(r),o._$AT(r,e,s)),s!==void 0?((a=e.o)!=null?a:e.o=[])[s]=o:e.l=o),o!==void 0&&(t=U(r,o._$AS(r,t.values),o,s)),t}var $t=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:s}=this._$AD,o=((m=t==null?void 0:t.creationScope)!=null?m:M).importNode(e,!0);R.currentNode=o;let n=R.nextNode(),i=0,l=0,a=s[0];for(;a!==void 0;){if(i===a.index){let d;a.type===2?d=new B(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new Nt(n,this,t)),this._$AV.push(d),a=s[++l]}i!==(a==null?void 0:a.index)&&(n=R.nextNode(),i++)}return R.currentNode=M,o}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},B=class r{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,s,o){var n;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this.v=(n=o==null?void 0:o.isConnected)!=null?n:!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=U(this,t,e),W(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==A&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):rs(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!==u&&W(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=G.createElement(le(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(e);else{let i=new $t(o,this),l=i.u(this.options);i.p(e),this.T(l),this._$AH=i}}_$AC(t){let e=oe.get(t.strings);return e===void 0&&oe.set(t.strings,e=new G(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,o=0;for(let n of t)o===e.length?e.push(s=new r(this.O(V()),this.O(V()),this,this.options)):s=e[o],s._$AI(n),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.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))}},L=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(t,e=this,s,o){let n=this.strings,i=!1;if(n===void 0)t=U(this,t,e,0),i=!W(t)||t!==this._$AH&&t!==A,i&&(this._$AH=t);else{let l=t,a,m;for(t=n[0],a=0;a<n.length-1;a++)m=U(this,l[s+a],e,a),m===A&&(m=this._$AH[a]),i||(i=!W(m)||m!==this._$AH[a]),m===u?t=u:t!==u&&(t+=(m!=null?m:"")+n[a+1]),this._$AH[a]=m}i&&!o&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},St=class extends L{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},Tt=class extends L{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},Ct=class extends L{constructor(t,e,s,o,n){super(t,e,s,o,n),this.type=5}_$AI(t,e=this){var i;if((t=(i=U(this,t,e,0))!=null?i:u)===A)return;let s=this._$AH,o=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==u&&(s===u||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},Nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}};var _t=j.litHtmlPolyfillSupport,re;_t==null||_t(G,B),((re=j.litHtmlVersions)!=null?re:j.litHtmlVersions=[]).push("3.2.0");var ce=(r,t,e)=>{var n,i;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,o=s._$litPart$;if(o===void 0){let l=(i=e==null?void 0:e.renderBefore)!=null?i:null;s._$litPart$=o=new B(t.insertBefore(V(),l),l,void 0,e!=null?e:{})}return o._$AI(r),o};var C=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(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=ce(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 A}},he;C._$litElement$=!0,C.finalized=!0,(he=globalThis.litElementHydrateSupport)==null||he.call(globalThis,{LitElement:C});var Rt=globalThis.litElementPolyfillSupport;Rt==null||Rt({LitElement:C});var pe;((pe=globalThis.litElementVersions)!=null?pe:globalThis.litElementVersions=[]).push("4.1.0");var Mt=class extends C{static register(t){customElements.get(t)||customElements.define(t,this)}},de=Mt;var x=de;var N=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s!=null?s:!1}};var O=class{constructor(t,e,s,o){var n;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(i,l)=>{this.unsubscribe&&(this.unsubscribe!==l&&(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,l)),this.unsubscribe=l},this.host=t,e.context!==void 0){let i=e;this.context=i.context,this.callback=i.callback,this.subscribe=(n=i.subscribe)!=null?n:!1}else this.context=e,this.callback=s,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 N(this.context,this.t,this.subscribe))}};var it=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var Ut=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},H=class extends it{constructor(t,e,s){var o,n;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=i=>{let l=i.composedPath()[0];i.context===this.context&&l!==this.host&&(i.stopPropagation(),this.addCallback(i.callback,l,i.subscribe))},this.onProviderRequest=i=>{let l=i.composedPath()[0];if(i.context!==this.context||l===this.host)return;let a=new Set;for(let[m,{consumerHost:d}]of this.subscriptions)a.has(m)||(a.add(m),d.dispatchEvent(new N(this.context,m,!0)));i.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,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 Ut(this.context))}};var ns=f`
1
+ "use strict";(()=>{var De=Object.defineProperty;var Fe=Object.getOwnPropertyDescriptor;var c=(r,t,e,s)=>{for(var o=s>1?void 0:s?Fe(t,e):t,n=r.length-1,i;n>=0;n--)(i=r[n])&&(o=(s?i(t,e,o):i(o))||o);return s&&o&&De(t,e,o),o};var tt=globalThis,et=tt.ShadowRoot&&(tt.ShadyCSS===void 0||tt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),jt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==xt)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(et&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Gt=r=>new k(typeof r=="string"?r:r+"",void 0,xt),f=(r,...t)=>{let e=r.length===1?r[0]:t.reduce((s,o,n)=>s+(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)+r[n+1],r[0]);return new k(e,r,xt)},vt=(r,t)=>{if(et)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),o=tt.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,r.appendChild(s)}},st=et?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Gt(e)})(r):r;var{is:qe,defineProperty:je,getOwnPropertyDescriptor:Ge,getOwnPropertyNames:Ve,getOwnPropertySymbols:We,getPrototypeOf:Be}=Object,S=globalThis,Vt=S.trustedTypes,Xe=Vt?Vt.emptyScript:"",bt=S.reactiveElementPolyfillSupport,D=(r,t)=>r,F={toAttribute(r,t){switch(t){case Boolean:r=r?Xe:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},ot=(r,t)=>!qe(r,t),Wt={attribute:!0,type:String,converter:F,reflect:!1,hasChanged:ot},Bt,Xt;(Bt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Xt=S.litPropertyMetadata)!=null||(S.litPropertyMetadata=new WeakMap);var E=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=Wt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&je(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){var i;let{get:o,set:n}=(i=Ge(this.prototype,t))!=null?i:{get(){return this[e]},set(a){this[e]=a}};return{get(){return o==null?void 0:o.call(this)},set(a){let l=o==null?void 0:o.call(this);n.call(this,a),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Wt}static _$Ei(){if(this.hasOwnProperty(D("elementProperties")))return;let t=Be(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(D("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(D("properties"))){let e=this.properties,s=[...Ve(e),...We(e)];for(let o of s)this.createProperty(o,e[o])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let o of s)e.unshift(st(o))}else t!==void 0&&e.push(st(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return vt(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(s=>{var o;return(o=s.hostConnected)==null?void 0:o.call(s)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;let s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){let i=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:F).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(t,e){var n;let s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){let i=s.getPropertyOptions(o),a=typeof i.converter=="function"?{fromAttribute:i.converter}:((n=i.converter)==null?void 0:n.fromAttribute)!==void 0?i.converter:F;this._$Em=o,this[o]=a.fromAttribute(e,i.type),this._$Em=null}}requestUpdate(t,e,s){var o;if(t!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(t)),!((o=s.hasChanged)!=null?o:ot)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){var o;this._$AL.has(t)||this._$AL.set(t,e),s.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 s,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=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 t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(o=this._$EO)==null||o.forEach(n=>{var i;return(i=n.hostUpdate)==null?void 0:i.call(n)}),this.update(e)):this._$EU()}catch(n){throw t=!1,this._$EU(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.call(s)}),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){}},Zt;E.elementStyles=[],E.shadowRootOptions={mode:"open"},E[D("elementProperties")]=new Map,E[D("finalized")]=new Map,bt==null||bt({ReactiveElement:E}),((Zt=S.reactiveElementVersions)!=null?Zt:S.reactiveElementVersions=[]).push("2.0.4");var Ze={attribute:!0,type:String,converter:F,reflect:!1,hasChanged:ot},Ye=(r=Ze,t,e)=>{let{kind:s,metadata:o}=e,n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),n.set(e.name,r),s==="accessor"){let{name:i}=e;return{set(a){let l=t.get.call(this);t.set.call(this,a),this.requestUpdate(i,l,r)},init(a){return a!==void 0&&this.P(i,void 0,r),a}}}if(s==="setter"){let{name:i}=e;return function(a){let l=this[i];t.call(this,a),this.requestUpdate(i,l,r)}}throw Error("Unsupported decorator location: "+s)};function h(r){return(t,e)=>typeof e=="object"?Ye(r,t,e):((s,o,n)=>{let i=o.hasOwnProperty(n);return o.constructor.createProperty(n,i?{...s,wrapped:!0}:s),i?Object.getOwnPropertyDescriptor(o,n):void 0})(r,t,e)}function rt(r){return h({...r,state:!0,attribute:!1})}var Ke={PREFIX:"mdc",SEPARATOR:"-"},Qe={NAMESPACE:Ke},Et=Qe;var Je=r=>[Et.NAMESPACE.PREFIX,r].join(Et.NAMESPACE.SEPARATOR),y={constructTagName:Je};var ts="mds-theme-stable",es="-",ss=r=>[ts,r].join(es),os={getFullQualifiedTheme:ss},At=os;var nt=y.constructTagName("themeprovider"),Yt={DARK_WEBEX:"darkWebex",LIGHT_WEBEX:"lightWebex"},Kt=Object.values(Yt).map(r=>At.getFullQualifiedTheme(r)),_t={THEME:At.getFullQualifiedTheme(Yt.DARK_WEBEX)};var j=globalThis,at=j.trustedTypes,Qt=at?at.createPolicy("lit-html",{createHTML:r=>r}):void 0,ie="$lit$",T=`lit$${Math.random().toFixed(9).slice(2)}$`,ne="?"+T,rs=`<${ne}>`,U=document,G=()=>U.createComment(""),V=r=>r===null||typeof r!="object"&&typeof r!="function",Rt=Array.isArray,is=r=>Rt(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",$t=`[
2
+ \f\r]`,q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jt=/-->/g,te=/>/g,P=RegExp(`>|${$t}(?:([^\\s"'>=/]+)(${$t}*=${$t}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,se=/"/g,ae=/^(?:script|style|textarea|title)$/i,Ut=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),g=Ut(1),ao=Ut(2),lo=Ut(3),A=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),oe=new WeakMap,R=U.createTreeWalker(U,129);function le(r,t){if(!Rt(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qt!==void 0?Qt.createHTML(t):t}var ns=(r,t)=>{let e=r.length-1,s=[],o,n=t===2?"<svg>":t===3?"<math>":"",i=q;for(let a=0;a<e;a++){let l=r[a],d,m,p=-1,b=0;for(;b<l.length&&(i.lastIndex=b,m=i.exec(l),m!==null);)b=i.lastIndex,i===q?m[1]==="!--"?i=Jt:m[1]!==void 0?i=te:m[2]!==void 0?(ae.test(m[2])&&(o=RegExp("</"+m[2],"g")),i=P):m[3]!==void 0&&(i=P):i===P?m[0]===">"?(i=o!=null?o:q,p=-1):m[1]===void 0?p=-2:(p=i.lastIndex-m[2].length,d=m[1],i=m[3]===void 0?P:m[3]==='"'?se:ee):i===se||i===ee?i=P:i===Jt||i===te?i=q:(i=P,o=void 0);let $=i===P&&r[a+1].startsWith("/>")?" ":"";n+=i===q?l+rs:p>=0?(s.push(d),l.slice(0,p)+ie+l.slice(p)+T+$):l+T+(p===-2?a:$)}return[le(r,n+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},W=class r{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let n=0,i=0,a=t.length-1,l=this.parts,[d,m]=ns(t,e);if(this.el=r.createElement(d,s),R.currentNode=this.el.content,e===2||e===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=R.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(ie)){let b=m[i++],$=o.getAttribute(p).split(T),J=/([.?@])?(.*)/.exec(b);l.push({type:1,index:n,name:J[2],strings:$,ctor:J[1]==="."?Ct:J[1]==="?"?Nt:J[1]==="@"?wt:O}),o.removeAttribute(p)}else p.startsWith(T)&&(l.push({type:6,index:n}),o.removeAttribute(p));if(ae.test(o.tagName)){let p=o.textContent.split(T),b=p.length-1;if(b>0){o.textContent=at?at.emptyScript:"";for(let $=0;$<b;$++)o.append(p[$],G()),R.nextNode(),l.push({type:2,index:++n});o.append(p[b],G())}}}else if(o.nodeType===8)if(o.data===ne)l.push({type:2,index:n});else{let p=-1;for(;(p=o.data.indexOf(T,p+1))!==-1;)l.push({type:7,index:n}),p+=T.length-1}n++}}static createElement(t,e){let s=U.createElement("template");return s.innerHTML=t,s}};function L(r,t,e=r,s){var i,a,l;if(t===A)return t;let o=s!==void 0?(i=e.o)==null?void 0:i[s]:e.l,n=V(t)?void 0:t._$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(r),o._$AT(r,e,s)),s!==void 0?((l=e.o)!=null?l:e.o=[])[s]=o:e.l=o),o!==void 0&&(t=L(r,o._$AS(r,t.values),o,s)),t}var Tt=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 d;let{el:{content:e},parts:s}=this._$AD,o=((d=t==null?void 0:t.creationScope)!=null?d:U).importNode(e,!0);R.currentNode=o;let n=R.nextNode(),i=0,a=0,l=s[0];for(;l!==void 0;){if(i===l.index){let m;l.type===2?m=new B(n,n.nextSibling,this,t):l.type===1?m=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(m=new Pt(n,this,t)),this._$AV.push(m),l=s[++a]}i!==(l==null?void 0:l.index)&&(n=R.nextNode(),i++)}return R.currentNode=U,o}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},B=class r{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this.v}constructor(t,e,s,o){var n;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this.v=(n=o==null?void 0:o.isConnected)!=null?n:!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=L(this,t,e),V(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==A&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):is(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!==u&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=W.createElement(le(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(e);else{let i=new Tt(o,this),a=i.u(this.options);i.p(e),this.T(a),this._$AH=i}}_$AC(t){let e=oe.get(t.strings);return e===void 0&&oe.set(t.strings,e=new W(t)),e}k(t){Rt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,o=0;for(let n of t)o===e.length?e.push(s=new r(this.O(G()),this.O(G()),this,this.options)):s=e[o],s._$AI(n),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.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))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(t,e=this,s,o){let n=this.strings,i=!1;if(n===void 0)t=L(this,t,e,0),i=!V(t)||t!==this._$AH&&t!==A,i&&(this._$AH=t);else{let a=t,l,d;for(t=n[0],l=0;l<n.length-1;l++)d=L(this,a[s+l],e,l),d===A&&(d=this._$AH[l]),i||(i=!V(d)||d!==this._$AH[l]),d===u?t=u:t!==u&&(t+=(d!=null?d:"")+n[l+1]),this._$AH[l]=d}i&&!o&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},Ct=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},Nt=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},wt=class extends O{constructor(t,e,s,o,n){super(t,e,s,o,n),this.type=5}_$AI(t,e=this){var i;if((t=(i=L(this,t,e,0))!=null?i:u)===A)return;let s=this._$AH,o=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==u&&(s===u||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},Pt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}};var St=j.litHtmlPolyfillSupport,re;St==null||St(W,B),((re=j.litHtmlVersions)!=null?re:j.litHtmlVersions=[]).push("3.2.0");var ce=(r,t,e)=>{var n,i;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,o=s._$litPart$;if(o===void 0){let a=(i=e==null?void 0:e.renderBefore)!=null?i:null;s._$litPart$=o=new B(t.insertBefore(G(),a),a,void 0,e!=null?e:{})}return o._$AI(r),o};var C=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(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=ce(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 A}},he;C._$litElement$=!0,C.finalized=!0,(he=globalThis.litElementHydrateSupport)==null||he.call(globalThis,{LitElement:C});var Mt=globalThis.litElementPolyfillSupport;Mt==null||Mt({LitElement:C});var pe;((pe=globalThis.litElementVersions)!=null?pe:globalThis.litElementVersions=[]).push("4.1.0");var Lt=class extends C{static register(t){customElements.get(t)||customElements.define(t,this)}},me=Lt;var v=me;var N=class extends Event{constructor(t,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=e,this.subscribe=s!=null?s:!1}};var H=class{constructor(t,e,s,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=t,e.context!==void 0){let i=e;this.context=i.context,this.callback=i.callback,this.subscribe=(n=i.subscribe)!=null?n:!1}else this.context=e,this.callback=s,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 N(this.context,this.t,this.subscribe))}};var lt=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:o}=this.subscriptions.get(t);t(this.value,o)}clearCallbacks(){this.subscriptions.clear()}};var Ot=class extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}},z=class extends lt{constructor(t,e,s){var o,n;super(e.context!==void 0?e.initialValue:s),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 l=new Set;for(let[d,{consumerHost:m}]of this.subscriptions)l.has(d)||(l.add(d),m.dispatchEvent(new N(this.context,d,!0)));i.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,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 Ot(this.context))}};var as=f`
4
4
  :host {
5
5
  border: 0;
6
6
  display: block;
@@ -9,7 +9,7 @@
9
9
  padding: 0;
10
10
  width: 100%;
11
11
  }
12
- `,ue=ns;var nt=class extends x{constructor({context:t,initialValue:e}){super(),this.context=new H(this,{context:t,initialValue:e})}render(){return this.updateContext(),g`<slot></slot>`}};nt.styles=ue;var fe=nt;var X=fe;var at=class{constructor(t){this.theme=t}};at.context=ot;var lt=at;var as=f`
12
+ `,ue=as;var ct=class extends v{constructor({context:t,initialValue:e}){super(),this.context=new z(this,{context:t,initialValue:e})}render(){return this.updateContext(),g`<slot></slot>`}};ct.styles=ue;var fe=ct;var X=fe;var ht=class{constructor(t){this.theme=t}};ht.context=nt;var pt=ht;var ls=f`
13
13
  :host {
14
14
  --mdc-themeprovider-font-family: "Momentum";
15
15
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
@@ -17,7 +17,7 @@
17
17
  font-family: var(--mdc-themeprovider-font-family);
18
18
  color: var(--mdc-themeprovider-color-default);
19
19
  }
20
- `,ge=as;var k=class extends X{constructor(){super({context:lt.context,initialValue:new lt(Et.THEME)});this.themes=Qt.join(" ");this.theme=Et.THEME}static get Context(){return lt.context}updated(e){super.updated(e),e.has("theme")&&this.updateActiveThemeClass()}updateContext(){let e=!1;this.context.value.theme!==this.theme&&(this.context.value.theme=this.theme,e=!0),e&&this.context.updateObservers()}updateActiveThemeClass(){this.classList.remove(...this.themes.split(" ")),this.classList.add(this.theme)}};k.styles=ge,c([h({type:String})],k.prototype,"themes",2),c([h({type:String})],k.prototype,"theme",2);var Lt=k;Lt.register(ot);var ls=Lt;var ct=f`
20
+ `,ge=ls;var I=class extends X{constructor(){super({context:pt.context,initialValue:new pt(_t.THEME)});this.themes=Kt.join(" ");this.theme=_t.THEME}static get Context(){return pt.context}updated(e){super.updated(e),e.has("theme")&&this.updateActiveThemeClass()}updateContext(){let e=!1;this.context.value.theme!==this.theme&&(this.context.value.theme=this.theme,e=!0),e&&this.context.updateObservers()}updateActiveThemeClass(){this.classList.remove(...this.themes.split(" ")),this.classList.add(this.theme)}};I.styles=ge,c([h({type:String})],I.prototype,"themes",2),c([h({type:String})],I.prototype,"theme",2);var Ht=I;Ht.register(nt);var cs=Ht;var mt=f`
21
21
  :host {
22
22
  align-items: center;
23
23
  display: flex;
@@ -25,13 +25,13 @@
25
25
  justify-content: center;
26
26
  width: fit-content;
27
27
  }
28
- `;var cs=[ct,f`
28
+ `;var hs=[mt,f`
29
29
  svg {
30
30
  height: 100%;
31
31
  width: 100%;
32
32
  fill: currentColor;
33
33
  }
34
- `],ye=cs;var hs=r=>{let{host:t,context:e,subscribe:s}=r;return new O(t,{context:e,subscribe:s!=null?s:!0})},ps={consume:hs},xe=ps;var ht=y.constructTagName("iconprovider"),ve=["svg"],Ot={FILE_EXTENSION:"svg",LENGTH_UNIT:"em"};var pt=class{};pt.context=ht;var dt=pt;var I=class extends X{constructor(){super({context:dt.context,initialValue:new dt});this.fileExtension=Ot.FILE_EXTENSION;this.lengthUnit=Ot.LENGTH_UNIT}static get Context(){return dt.context}updateValuesInContext(){this.fileExtension&&ve.includes(this.fileExtension)&&(this.context.value.fileExtension=this.fileExtension),this.context.value.url=this.url,this.context.value.lengthUnit=this.lengthUnit}updateContext(){let e=!1;(this.context.value.fileExtension!==this.fileExtension||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit)&&(this.updateValuesInContext(),e=!0),e&&this.context.updateObservers()}};c([h({type:String})],I.prototype,"url",2),c([h({type:String,attribute:"file-extension",reflect:!0})],I.prototype,"fileExtension",2),c([h({type:String,attribute:"length-unit",reflect:!0})],I.prototype,"lengthUnit",2);var Y=I;var be=async(r,t,e)=>fetch(`${r}/${t}.${e}`).then(s=>{if(!s.ok)throw new Error("There was a problem while fetching the icon!");return s.text()}).then(s=>new DOMParser().parseFromString(s,"text/html").body.children[0]);var Ee=y.constructTagName("icon"),Ht={NAME:void 0,SCALE:1};var v=class extends x{constructor(){super(...arguments);this.name=Ht.NAME;this.scale=Ht.SCALE;this.role=null;this.ariaLabel=null;this.iconProviderContext=xe.consume({host:this,context:Y.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:s}=this.iconProviderContext.value;if(s&&e&&this.name){let o=await be(s,this.name,e);this.iconData=o,this.setRoleOnIcon(),this.setAriaLabelOnIcon()}}}updateSize(){if(this.scale&&(this.lengthUnit||this.lengthUnitFromContext)){let e=`${this.scale}${this.lengthUnit||this.lengthUnitFromContext}`;this.style.width=e,this.style.height=e}}setRoleOnIcon(){var e,s;this.role?(e=this.iconData)==null||e.setAttribute("role",this.role):(s=this.iconData)==null||s.removeAttribute("role")}setAriaLabelOnIcon(){var e,s;this.ariaLabel?(e=this.iconData)==null||e.setAttribute("aria-label",this.ariaLabel):(s=this.iconData)==null||s.removeAttribute("aria-label")}updated(e){var s,o;super.updated(e),e.has("name")&&this.getIconData().catch(n=>{console.error(n)}),e.has("role")&&this.setRoleOnIcon(),e.has("ariaLabel")&&this.setAriaLabelOnIcon(),(e.has("scale")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(o=this.iconProviderContext.value)==null?void 0:o.lengthUnit,this.updateSize())}render(){return g` ${this.iconData} `}};v.styles=ye,c([xt()],v.prototype,"iconData",2),c([xt()],v.prototype,"lengthUnitFromContext",2),c([h({type:String,reflect:!0})],v.prototype,"name",2),c([h({type:Number})],v.prototype,"scale",2),c([h({type:String,attribute:"length-unit"})],v.prototype,"lengthUnit",2),c([h({type:String})],v.prototype,"role",2),c([h({type:String,attribute:"aria-label"})],v.prototype,"ariaLabel",2);var kt=v;kt.register(Ee);var ds=kt;Y.register(ht);var ms=Y;var It=r=>r!=null?r:u;var us=f`
34
+ `],ye=hs;var ps=r=>{let{host:t,context:e,subscribe:s}=r;return new H(t,{context:e,subscribe:s!=null?s:!0})},ms={consume:ps},xe=ms;var dt=y.constructTagName("iconprovider"),ve=["svg"],be=["em","rem","px"],Z={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",LENGTH_UNIT_SIZE:{px:16,em:1,rem:1}};var ut=class{};ut.context=dt;var ft=ut;var M=class extends X{constructor(){super({context:ft.context,initialValue:new ft});this.fileExtension=Z.FILE_EXTENSION;this.lengthUnit=Z.LENGTH_UNIT;this.size=Z.LENGTH_UNIT_SIZE[Z.LENGTH_UNIT]}static get Context(){return ft.context}updateValuesInContext(){this.fileExtension&&ve.includes(this.fileExtension)&&(this.context.value.fileExtension=this.fileExtension),this.context.value.url=this.url,this.lengthUnit&&be.includes(this.lengthUnit)&&(this.context.value.lengthUnit=this.lengthUnit),this.context.value.size=this.size}updateContext(){let e=!1;(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(),e=!0),e&&this.context.updateObservers()}};c([h({type:String})],M.prototype,"url",2),c([h({type:String,attribute:"file-extension",reflect:!0})],M.prototype,"fileExtension",2),c([h({type:String,attribute:"length-unit",reflect:!0})],M.prototype,"lengthUnit",2),c([h({type:Number,reflect:!0})],M.prototype,"size",2);var Y=M;var Ee=async(r,t,e)=>fetch(`${r}/${t}.${e}`).then(s=>{if(!s.ok)throw new Error("There was a problem while fetching the icon!");return s.text()}).then(s=>new DOMParser().parseFromString(s,"text/html").body.children[0]);var Ae=y.constructTagName("icon"),zt={NAME:void 0,SIZE:1};var x=class extends v{constructor(){super(...arguments);this.name=zt.NAME;this.role=null;this.ariaLabel=null;this.iconProviderContext=xe.consume({host:this,context:Y.Context})}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:e,url:s}=this.iconProviderContext.value;if(s&&e&&this.name){let o=await Ee(s,this.name,e);this.iconData=o,this.setRoleOnIcon(),this.setAriaLabelOnIcon()}}}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.width=s,this.style.height=s}}setRoleOnIcon(){var e,s;this.role?(e=this.iconData)==null||e.setAttribute("role",this.role):(s=this.iconData)==null||s.removeAttribute("role")}setAriaLabelOnIcon(){var e,s;this.ariaLabel?(e=this.iconData)==null||e.setAttribute("aria-label",this.ariaLabel):(s=this.iconData)==null||s.removeAttribute("aria-label")}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:zt.SIZE}updated(e){var s,o,n,i;super.updated(e),e.has("name")&&this.getIconData().catch(a=>{console.error(a)}),e.has("role")&&this.setRoleOnIcon(),e.has("ariaLabel")&&this.setAriaLabelOnIcon(),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.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 g` ${this.iconData} `}};x.styles=ye,c([rt()],x.prototype,"iconData",2),c([rt()],x.prototype,"lengthUnitFromContext",2),c([rt()],x.prototype,"sizeFromContext",2),c([h({type:String,reflect:!0})],x.prototype,"name",2),c([h({type:Number})],x.prototype,"size",2),c([h({type:String,attribute:"length-unit"})],x.prototype,"lengthUnit",2),c([h({type:String})],x.prototype,"role",2),c([h({type:String,attribute:"aria-label"})],x.prototype,"ariaLabel",2);var It=x;It.register(Ae);var ds=It;Y.register(dt);var us=Y;var K=r=>r!=null?r:u;var fs=f`
35
35
  :host {
36
36
  display: flex;
37
37
  justify-content: center;
@@ -46,14 +46,15 @@
46
46
  width: inherit;
47
47
  object-fit: cover;
48
48
  }
49
- `,Ae=us;var _e=y.constructTagName("avatar"),$e="rem",Dt={TYPE:"photo",SCALE:1.5};var w=class extends x{constructor(){super(...arguments);this.type=Dt.TYPE;this.scale=Dt.SCALE}updateSize(){if(this.scale){let e=`${this.scale}${$e}`;this.style.width=e,this.style.height=e}}updated(e){super.updated(e),e.has("scale")&&this.updateSize()}photoTemplate(){return g`
49
+ `,_e=fs;var $e=y.constructTagName("avatar"),Se="rem",kt={TYPE:"photo",SIZE:1.5};var w=class extends v{constructor(){super(...arguments);this.type=kt.TYPE;this.size=kt.SIZE}updateSize(){if(this.size){let e=`${this.size}${Se}`;this.style.width=e,this.style.height=e}}updated(e){super.updated(e),e.has("size")&&this.updateSize()}photoTemplate(){return g`
50
50
  <img
51
- src="${It(this.src)}"
52
- alt="${It(this.alt)}"
51
+ src="${K(this.src)}"
52
+ alt="${K(this.alt)}"
53
53
  />
54
- `}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=g``,g`${e}`}};w.styles=Ae,c([h({type:String,reflect:!0})],w.prototype,"type",2),c([h({type:String})],w.prototype,"alt",2),c([h({type:String})],w.prototype,"src",2),c([h({type:Number})],w.prototype,"scale",2);var zt=w;zt.register(_e);var fs=zt;var Se={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Te=r=>(...t)=>({_$litDirective$:r,values:t}),mt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Ce="important",gs=" !"+Ce,Ne=Te(class extends mt{constructor(r){var t;if(super(r),r.type!==Se.ATTRIBUTE||r.name!=="style"||((t=r.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((t,e)=>{let s=r[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(r,[t]){let{style:e}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let o=t[s];if(o!=null){this.ft.add(s);let n=typeof o=="string"&&o.endsWith(gs);s.includes("-")||n?e.setProperty(s,n?o.slice(0,-11):o,n?Ce:""):e[s]=o}}return A}});var we=y.constructTagName("badge"),Pe="warning-badge-filled",ut={TYPE:"regular",SCALE:1,LENGTH_UNIT:"rem"};var ys=[ct,f`
54
+ `}render(){let e;return this.type==="photo"?e=this.photoTemplate():e=g``,g`${e}`}};w.styles=_e,c([h({type:String,reflect:!0})],w.prototype,"type",2),c([h({type:String})],w.prototype,"alt",2),c([h({type:String})],w.prototype,"src",2),c([h({type:Number})],w.prototype,"size",2);var Dt=w;Dt.register($e);var gs=Dt;var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ce=r=>(...t)=>({_$litDirective$:r,values:t}),gt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this.t=t,this._$AM=e,this.i=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Ne="important",ys=" !"+Ne,we=Ce(class extends gt{constructor(r){var t;if(super(r),r.type!==Te.ATTRIBUTE||r.name!=="style"||((t=r.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((t,e)=>{let s=r[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(r,[t]){let{style:e}=r.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let o=t[s];if(o!=null){this.ft.add(s);let n=typeof o=="string"&&o.endsWith(ys);s.includes("-")||n?e.setProperty(s,n?o.slice(0,-11):o,n?Ne:""):e[s]=o}}return A}});var Pe=y.constructTagName("badge"),Re="warning-badge-filled",yt={TYPE:"regular",SIZE:1,LENGTH_UNIT:"rem"};var xs=[mt,f`
55
55
  :host {
56
56
  --mdc-badge-icon-background-color: var(--mds-color-theme-background-accent-normal);
57
+ --mdc-badge-icon-color: var(--mds-color-theme-common-text-primary-normal);
57
58
  }
58
59
 
59
60
  .mdc-badge-container {
@@ -62,15 +63,16 @@
62
63
  align-items: center;
63
64
  border-radius: 9999px;
64
65
  background-color: var(--mdc-badge-icon-background-color);
66
+ color: var(--mdc-badge-icon-color);
65
67
  }
66
68
 
67
69
  .mdc-badge-icon-container {
68
70
  height: 80%;
69
71
  width: 80%;
70
72
  }
71
- `],Re=ys;var _=class extends x{constructor(){super(...arguments);this.type=ut.TYPE;this.scale=ut.SCALE;this.lengthUnit=ut.LENGTH_UNIT}updateSize(){}updated(e){super.updated(e),(e.has("scale")||e.has("lengthUnit"))&&this.updateSize()}iconTemplate(){return g`<div class="mdc-badge-icon-container">
72
- <mdc-icon name="${this.iconName}" scale="100" length-unit="%"></mdc-icon>
73
- </div>`}textTemplate(){return g`${this.text}`}warningTemplate(){return g` <mdc-icon name="${Pe}" class="mdc-badge-warning"></mdc-icon> `}render(){let e,s=`${this.scale}${this.lengthUnit}`,o={width:s,height:s};switch(this.type){case"regular":e=g``;break;case"icon":e=this.iconTemplate();break;case"text":e=this.textTemplate(),o={height:o.height};break;case"warning":e=this.warningTemplate();break;default:e=g``;break}return g`<div class="mdc-badge-container" style=${Ne(o)}>${e}</div>`}};_.styles=Re,c([h({type:String,reflect:!0})],_.prototype,"type",2),c([h({type:Number})],_.prototype,"scale",2),c([h({type:String,attribute:"length-unit"})],_.prototype,"lengthUnit",2),c([h({type:String,attribute:"icon-name"})],_.prototype,"iconName",2),c([h({type:String})],_.prototype,"text",2);var qt=_;qt.register(we);var xs=qt;var Me=f`
73
+ `],Ue=xs;var _=class extends v{constructor(){super(...arguments);this.type=yt.TYPE;this.size=yt.SIZE;this.lengthUnit=yt.LENGTH_UNIT}updateSize(){}updated(e){super.updated(e),(e.has("size")||e.has("lengthUnit"))&&this.updateSize()}iconTemplate(){return g`<div class="mdc-badge-icon-container">
74
+ <mdc-icon name=${K(this.iconName)} size="100" length-unit="%"></mdc-icon>
75
+ </div>`}textTemplate(){return g`${this.text}`}warningTemplate(){return g` <mdc-icon name="${Re}" class="mdc-badge-warning"></mdc-icon> `}render(){let e,s=`${this.size}${this.lengthUnit}`,o={width:s,height:s};switch(this.type){case"regular":e=g``;break;case"icon":e=this.iconTemplate();break;case"text":e=this.textTemplate(),o={height:o.height};break;case"warning":e=this.warningTemplate();break;default:e=g``;break}return g`<div class="mdc-badge-container" style=${we(o)}>${e}</div>`}};_.styles=Ue,c([h({type:String,reflect:!0})],_.prototype,"type",2),c([h({type:Number})],_.prototype,"size",2),c([h({type:String,attribute:"length-unit"})],_.prototype,"lengthUnit",2),c([h({type:String,attribute:"icon-name"})],_.prototype,"iconName",2),c([h({type:String})],_.prototype,"text",2);var Ft=_;Ft.register(Pe);var vs=Ft;var Me=f`
74
76
  :host([type="heading-1"]) {
75
77
  font-size: 7.5rem;
76
78
  font-style: normal;
@@ -164,14 +166,14 @@
164
166
  line-height: 150%; /* 1.5rem */
165
167
  letter-spacing: 0.02rem;
166
168
  }
167
- `;var vs=[f`
169
+ `;var bs=[f`
168
170
  :host {
169
171
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
170
172
 
171
173
  display: block;
172
174
  font-family: var(--mdc-text-font-family);
173
175
  }
174
- `,Me],Ue=vs;var Le=r=>{let t=r.split("-");return{firstPart:t[0],secondPart:t[1]}},Oe=r=>{let{firstPart:t,secondPart:e}=Le(r);return t==="heading"&&+e>0&&+e<7},He=r=>r?Oe(r)?"heading":"paragraph":null,ke=r=>{if(r&&Oe(r)){let{secondPart:t}=Le(r);return t}return null};var K=class extends x{handleTypeChanged(){this.role=He(this.type),this.ariaLevel=ke(this.type)}updated(t){super.updated(t),t.has("type")&&this.handleTypeChanged()}render(){return g`<slot></slot>`}};K.styles=Ue,c([h({attribute:"type",reflect:!0,type:String})],K.prototype,"type",2);var Ft=K;var Ie=y.constructTagName("text");Ft.register(Ie);var bs=Ft;})();
176
+ `,Me],Le=bs;var Oe=r=>{let t=r.split("-");return{firstPart:t[0],secondPart:t[1]}},He=r=>{let{firstPart:t,secondPart:e}=Oe(r);return t==="heading"&&+e>0&&+e<7},ze=r=>r?He(r)?"heading":"paragraph":null,Ie=r=>{if(r&&He(r)){let{secondPart:t}=Oe(r);return t}return null};var Q=class extends v{handleTypeChanged(){this.role=ze(this.type),this.ariaLevel=Ie(this.type)}updated(t){super.updated(t),t.has("type")&&this.handleTypeChanged()}render(){return g`<slot></slot>`}};Q.styles=Le,c([h({attribute:"type",reflect:!0,type:String})],Q.prototype,"type",2);var qt=Q;var ke=y.constructTagName("text");qt.register(ke);var Es=qt;})();
175
177
  /*! Bundled license information:
176
178
 
177
179
  @lit/reactive-element/decorators/custom-element.js: