@loadsmart/miranda-wc 1.15.5 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ export { Tag } from './tag';
2
+ export type { TagProps, TagVariant, TagSize } from './tag';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { LitElement } from 'lit';
2
+ export type TagVariant = 'success' | 'neutral' | 'warning' | 'danger';
3
+ export type TagSize = 'small' | 'default' | 'large';
4
+ export interface TagProps {
5
+ variant?: TagVariant;
6
+ size?: TagSize;
7
+ isSkeleton?: boolean;
8
+ }
9
+ export declare class Tag extends LitElement {
10
+ static styles: import("lit").CSSResult[][];
11
+ static get properties(): {
12
+ variant: {
13
+ type: StringConstructor;
14
+ };
15
+ size: {
16
+ type: StringConstructor;
17
+ };
18
+ isSkeleton: {
19
+ type: BooleanConstructor;
20
+ attribute: string;
21
+ };
22
+ };
23
+ /**
24
+ * Tag variant.
25
+ */
26
+ variant: TagVariant;
27
+ /**
28
+ * Tag size.
29
+ */
30
+ size: TagSize;
31
+ /**
32
+ * Tag skeleton loader.
33
+ */
34
+ isSkeleton: boolean;
35
+ constructor();
36
+ render(): import("lit-html").TemplateResult<1>;
37
+ }
38
+ declare global {
39
+ interface HTMLElementTagNameMap {
40
+ 'm-tag': Tag;
41
+ }
42
+ }
43
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEtE,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpD,MAAM,WAAW,QAAQ;IACxB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,GAAI,SAAQ,UAAU;IAClC,OAAgB,MAAM,8BAAiB;IAEvC,WAAoB,UAAU;;;;;;;;;;;MAM7B;IAED;;OAEG;IACK,OAAO,EAAE,UAAU,CAAC;IAE5B;;OAEG;IACK,IAAI,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACK,UAAU,EAAE,OAAO,CAAC;;IAUnB,MAAM;CAuBf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,OAAO,EAAE,GAAG,CAAC;KACb;CACD"}
@@ -0,0 +1,3 @@
1
+ declare function tagStyles(): import("lit").CSSResult[];
2
+ export default tagStyles;
3
+ //# sourceMappingURL=tag.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.styles.ts"],"names":[],"mappings":"AAOA,iBAAS,SAAS,8BA8DjB;AAED,eAAe,SAAS,CAAC"}
package/dist/index.d.ts CHANGED
@@ -7,4 +7,5 @@ export * from './components/text';
7
7
  export * from './components/toggle-group';
8
8
  export * from './components/checkbox';
9
9
  export * from './components/radio-group';
10
+ export * from './components/tag';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -8,13 +8,13 @@ function t(t,o,e,r){if("a"===e&&!r)throw new TypeError("Private accessor was def
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */;var c;const h=window,u=h.trustedTypes,b=u?u.emptyScript:"",g=h.reactiveElementPolyfillSupport,m={toAttribute(t,o){switch(o){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},p=(t,o)=>o!==t&&(o==o||t==t),f={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:p};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=f){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||f}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(d(t))}else void 0!==t&&o.push(d(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{r?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}))})(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=f){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:m).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:m;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||p)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
11
+ */;var c;const h=window,u=h.trustedTypes,g=u?u.emptyScript:"",b=h.reactiveElementPolyfillSupport,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},p=(t,o)=>o!==t&&(o==o||t==t),f={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:p};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=f){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||f}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(d(t))}else void 0!==t&&o.push(d(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{r?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}))})(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=f){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:m).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:m;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||p)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- var y;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:$}),(null!==(c=h.reactiveElementVersions)&&void 0!==c?c:h.reactiveElementVersions=[]).push("1.6.1");const v=window,w=v.trustedTypes,x=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,z="?"+k,S=`<${z}>`,C=document,A=(t="")=>C.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,E=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,L=/^(?:script|style|textarea|title)$/i,U=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),N=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),P=new WeakMap,D=C.createTreeWalker(C,129,null,!1),G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=_;for(let o=0;o<e;o++){const e=t[o];let l,a,d=-1,c=0;for(;c<e.length&&(s.lastIndex=c,a=s.exec(e),null!==a);)c=s.lastIndex,s===_?"!--"===a[1]?s=W:void 0!==a[1]?s=E:void 0!==a[2]?(L.test(a[2])&&(i=RegExp("</"+a[2],"g")),s=B):void 0!==a[3]&&(s=B):s===B?">"===a[0]?(s=null!=i?i:_,d=-1):void 0===a[1]?d=-2:(d=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?B:'"'===a[3]?T:O):s===T||s===O?s=B:s===W||s===E?s=_:(s=B,i=void 0);const h=s===B&&t[o+1].startsWith("/>")?" ":"";n+=s===_?e+S:d>=0?(r.push(l),e.slice(0,d)+"$lit$"+e.slice(d)+k+h):e+k+(-2===d?(r.push(void 0),o):h)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(l):l,r]};class I{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,l=this.parts,[a,d]=G(t,o);if(this.el=I.createElement(a,e),D.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=D.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith("$lit$")||o.startsWith(k)){const e=d[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+"$lit$").split(k),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?F:"?"===o[1]?K:"@"===o[1]?Q:q})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(L.test(r.tagName)){const t=r.textContent.split(k),o=t.length-1;if(o>0){r.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),D.nextNode(),l.push({type:2,index:++i});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(k,t+1));)l.push({type:7,index:i}),t+=k.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,r){var i,n,s,l;if(o===N)return o;let a=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const d=j(o)?void 0:o._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,e,r)),void 0!==r?(null!==(s=(l=e)._$Co)&&void 0!==s?s:l._$Co=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Z(t,a._$AS(t,o.values),a,r)),o}class H{constructor(t,o){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:C).importNode(e,!0);D.currentNode=i;let n=D.nextNode(),s=0,l=0,a=r[0];for(;void 0!==a;){if(s===a.index){let o;2===a.type?o=new J(n,n.nextSibling,this,t):1===a.type?o=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(o=new X(n,this,t)),this.u.push(o),a=r[++l]}s!==(null==a?void 0:a.index)&&(n=D.nextNode(),s++)}return i}p(t){let o=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class J{constructor(t,o,e,r){var i;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cm=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),j(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==N&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,o=this._$AB){return this._$AA.parentNode.insertBefore(t,o)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==R&&j(this._$AH)?this._$AA.nextSibling.data=t:this.T(C.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=I.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.p(e);else{const t=new H(i,this),o=t.v(this.options);t.p(e),this.T(o),this._$AH=t}}_$AC(t){let o=P.get(t.strings);return void 0===o&&P.set(t.strings,o=new I(t)),o}k(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new J(this.O(A()),this.O(A()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cm=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class q{constructor(t,o,e,r,i){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Z(this,t,o,0),n=!j(t)||t!==this._$AH&&t!==N,n&&(this._$AH=t);else{const r=t;let s,l;for(t=i[0],s=0;s<i.length-1;s++)l=Z(this,r[e+s],o,s),l===N&&(l=this._$AH[s]),n||(n=!j(l)||l!==this._$AH[s]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+i[s+1]),this._$AH[s]=l}n&&!r&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class F extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}}const V=w?w.emptyScript:"";class K extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=Z(this,t,o,0))&&void 0!==e?e:R)===N)return;const r=this._$AH,i=t===R&&r!==R||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==R&&(r===R||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class X{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const Y=v.litHtmlPolyfillSupport;null==Y||Y(I,J),(null!==(y=v.litHtmlVersions)&&void 0!==y?y:v.litHtmlVersions=[]).push("2.6.1");
17
+ var y;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:$}),(null!==(c=h.reactiveElementVersions)&&void 0!==c?c:h.reactiveElementVersions=[]).push("1.6.1");const v=window,w=v.trustedTypes,x=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,z="?"+k,S=`<${z}>`,C=document,A=(t="")=>C.createComment(t),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,E=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),O=/'/g,T=/"/g,L=/^(?:script|style|textarea|title)$/i,U=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),N=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),P=new WeakMap,D=C.createTreeWalker(C,129,null,!1),G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",s=_;for(let o=0;o<e;o++){const e=t[o];let l,a,d=-1,c=0;for(;c<e.length&&(s.lastIndex=c,a=s.exec(e),null!==a);)c=s.lastIndex,s===_?"!--"===a[1]?s=W:void 0!==a[1]?s=E:void 0!==a[2]?(L.test(a[2])&&(i=RegExp("</"+a[2],"g")),s=B):void 0!==a[3]&&(s=B):s===B?">"===a[0]?(s=null!=i?i:_,d=-1):void 0===a[1]?d=-2:(d=s.lastIndex-a[2].length,l=a[1],s=void 0===a[3]?B:'"'===a[3]?T:O):s===T||s===O?s=B:s===W||s===E?s=_:(s=B,i=void 0);const h=s===B&&t[o+1].startsWith("/>")?" ":"";n+=s===_?e+S:d>=0?(r.push(l),e.slice(0,d)+"$lit$"+e.slice(d)+k+h):e+k+(-2===d?(r.push(void 0),o):h)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(l):l,r]};class I{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const s=t.length-1,l=this.parts,[a,d]=G(t,o);if(this.el=I.createElement(a,e),D.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=D.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith("$lit$")||o.startsWith(k)){const e=d[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+"$lit$").split(k),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?F:"?"===o[1]?K:"@"===o[1]?Q:q})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(L.test(r.tagName)){const t=r.textContent.split(k),o=t.length-1;if(o>0){r.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],A()),D.nextNode(),l.push({type:2,index:++i});r.append(t[o],A())}}}else if(8===r.nodeType)if(r.data===z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(k,t+1));)l.push({type:7,index:i}),t+=k.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function Z(t,o,e=t,r){var i,n,s,l;if(o===N)return o;let a=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const d=j(o)?void 0:o._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,e,r)),void 0!==r?(null!==(s=(l=e)._$Co)&&void 0!==s?s:l._$Co=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Z(t,a._$AS(t,o.values),a,r)),o}class H{constructor(t,o){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:C).importNode(e,!0);D.currentNode=i;let n=D.nextNode(),s=0,l=0,a=r[0];for(;void 0!==a;){if(s===a.index){let o;2===a.type?o=new J(n,n.nextSibling,this,t):1===a.type?o=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(o=new X(n,this,t)),this.u.push(o),a=r[++l]}s!==(null==a?void 0:a.index)&&(n=D.nextNode(),s++)}return i}p(t){let o=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class J{constructor(t,o,e,r){var i;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cm=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Z(this,t,o),j(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==N&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,o=this._$AB){return this._$AA.parentNode.insertBefore(t,o)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==R&&j(this._$AH)?this._$AA.nextSibling.data=t:this.T(C.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=I.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.p(e);else{const t=new H(i,this),o=t.v(this.options);t.p(e),this.T(o),this._$AH=t}}_$AC(t){let o=P.get(t.strings);return void 0===o&&P.set(t.strings,o=new I(t)),o}k(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new J(this.O(A()),this.O(A()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cm=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class q{constructor(t,o,e,r,i){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Z(this,t,o,0),n=!j(t)||t!==this._$AH&&t!==N,n&&(this._$AH=t);else{const r=t;let s,l;for(t=i[0],s=0;s<i.length-1;s++)l=Z(this,r[e+s],o,s),l===N&&(l=this._$AH[s]),n||(n=!j(l)||l!==this._$AH[s]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+i[s+1]),this._$AH[s]=l}n&&!r&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class F extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}}const V=w?w.emptyScript:"";class K extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=Z(this,t,o,0))&&void 0!==e?e:R)===N)return;const r=this._$AH,i=t===R&&r!==R||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==R&&(r===R||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class X{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const Y=v.litHtmlPolyfillSupport;null==Y||Y(I,J),(null!==(y=v.litHtmlVersions)&&void 0!==y?y:v.litHtmlVersions=[]).push("2.6.1");
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -31,7 +31,7 @@ const it=1,nt=t=>(...o)=>({_$litDirective$:t,values:o});class st{constructor(t){
31
31
  * @license
32
32
  * Copyright 2018 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
- */const lt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(o)}const i=t.element.classList;this.nt.forEach((t=>{t in o||(i.remove(t),this.nt.delete(t))}));for(const t in o){const e=!!o[t];e===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.nt.add(t)):(i.remove(t),this.nt.delete(t)))}return N}});var at;class dt extends et{constructor(){super(...arguments),at.set(this,void 0)}static get properties(){return{assignedForm:{type:String,attribute:"form"}}}get form(){return t(this,at,"f")}updated(o){super.updated(o),(o.has("form")||null==t(this,at,"f"))&&this.getAssignedForm()}getAssignedForm(){if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");o(this,at,t.getElementById(e),"f")}else o(this,at,this.closest("form"),"f")}}at=new WeakMap;var ct,ht,ut={},bt={};bt.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(ut,"i",{value:!0});var gt=bt;function mt(t){return gt.LoadsmartTheme[t]}function pt(t){var o=mt(t);return null==o?o:"--m-".concat(t)}var ft=Object.keys(gt.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function $t(t){return ft.filter((function(o){return o.startsWith(t)}))}var yt=$t("color-"),vt=$t("color-background-"),wt=$t("spacing-"),xt=$t("font-family-"),kt=$t("font-size-"),zt=$t("font-weight-"),St=$t("line-height-"),Ct=$t("border-"),At=$t("border-radius-"),jt=$t("opacity-"),Mt=$t("elevation-"),_t=$t("glow-"),Wt=$t("global-");function Et(t){return l(ct(t))}function Bt(t,o=1){return l(ct(t,o))}ut.BACKGROUND_COLOR_TOKENS=vt,ut.BORDER_RADIUS_TOKENS=At,ut.BORDER_TOKENS=Ct,ut.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],ut.COLOR_TOKENS=yt,ut.ELEVATION_TOKENS=Mt,ut.FONT_FAMILY_TOKENS=xt,ut.FONT_SIZE_TOKENS=kt,ut.FONT_WEIGHT_TOKENS=zt,ut.GLOBAL_TOKENS=Wt,ut.GLOW_TOKENS=_t,ut.LINE_HEIGHT_TOKENS=St,ut.OPACITY_TOKENS=jt,ut.SPACING_TOKENS=wt,ut.TOKENS=ft,ht=ut.getToken=mt,ct=ut.toCSSValue=function(t,o){var e=mt(t);return null==e?"":t.startsWith("color-")?"rgba(var(".concat(pt(t),", ").concat(e,"), ").concat(null!=o?o:1,")"):"var(".concat(pt(t),", ").concat(e,")")},ut.toCSSVariable=pt;var Ot={toArray:function(t){return null==t?[]:Array.isArray(t)?t:[t]}},Tt=Ot.toArray;function Lt(t){return l(`\n\t\t${function(t){return l(`\n\t\tmargin-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tmargin-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Ut(t){return l(`\n\t\t${function(t){return l(`\n\t\tmargin-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tmargin-block-end: ${t}\n\t`)}(t)}\n\t`)}function Nt(t){return l(`\n\t\t${function(t){return l(`\n\t\tpadding-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tpadding-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Rt(t){return l(`\n\t\t${function(t){return l(`\n\t\tpadding-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tpadding-block-end: ${t}\n\t`)}(t)}\n\t`)}const Pt={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Dt(t){const o=Tt(t).map((t=>function(t){const o={...Pt,...t};return l(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return l(`\n\t\ttransition: ${o}\n\t`)}function Gt(t){const o=l("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return l(`${o}\n${function(t){switch(t){case"hero-lg-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-9")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-9")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"hero-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-8")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-md":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-8")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"hero-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-7")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-7")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-lg-bold":return`\n\t\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\t\tfont-size: ${Et("font-size-6")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"heading-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-6")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-lg-bold":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"body-lg":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t\t`;case"body-md":case"number-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":case"number-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")}\n\t\t\t`;case"chips-md":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-1")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;default:return""}}(t)}`)}function It(t,o=""){return l(Tt(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Zt={active:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):focus,\n\t\t\t\t${t}:not(.is-disabled, :disabled):focus-within,\n\t\t\t\t${t}:not(.is-disabled, :disabled).is-focused`)).join(", "))},hover:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Ht(){return a`
34
+ */const lt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.nt.add(t);return this.render(o)}const i=t.element.classList;this.nt.forEach((t=>{t in o||(i.remove(t),this.nt.delete(t))}));for(const t in o){const e=!!o[t];e===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.nt.add(t)):(i.remove(t),this.nt.delete(t)))}return N}});var at;class dt extends et{constructor(){super(...arguments),at.set(this,void 0)}static get properties(){return{assignedForm:{type:String,attribute:"form"}}}get form(){return t(this,at,"f")}updated(o){super.updated(o),(o.has("form")||null==t(this,at,"f"))&&this.getAssignedForm()}getAssignedForm(){if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");o(this,at,t.getElementById(e),"f")}else o(this,at,this.closest("form"),"f")}}at=new WeakMap;var ct,ht,ut={},gt={};gt.LoadsmartTheme={"brand-color-brand":"20, 214, 77","brand-color-brand-accent-1":"0, 215, 215","brand-color-brand-accent-2":"132, 241, 30","border-radius-none":"0px","border-radius-s":"4px","border-radius-m":"8px","border-radius-l":"16px","border-radius-circle":"50%","border-none":0,"border-thin":"1px","border-medium":"2px","border-thick":"4px","color-background-primary":"252, 252, 255","color-background-secondary":"248, 249, 251","color-background-tertiary":"230, 237, 242","color-background-highlight":"202, 219, 221","color-background-inverted":"32, 41, 49","color-background-secondary-inverted":"61, 74, 85","color-border":"193, 206, 217","color-divider":"230, 237, 242","color-brand":"20, 214, 77","color-brand-accent-1":"0, 215, 215","color-brand-accent-2":"132, 241, 30","color-primary-20":"202, 219, 221","color-primary-60":"0, 84, 84","color-primary-100":"0, 51, 51","color-accent-20":"229, 245, 255","color-accent-60":"0, 98, 159","color-accent-100":"15, 66, 97","color-neutral-0":"252, 252, 255","color-neutral-10":"248, 249, 251","color-neutral-20":"230, 237, 242","color-neutral-40":"193, 206, 217","color-neutral-60":"94, 118, 138","color-neutral-80":"92, 106, 118","color-neutral-90":"61, 74, 85","color-neutral-100":"32, 41, 49","color-success-20":"227, 247, 239","color-success-60":"3, 124, 94","color-success-100":"0, 94, 71","color-danger-20":"255, 233, 230","color-danger-60":"186, 27, 27","color-danger-100":"104, 0, 3","color-warning-20":"255, 243, 214","color-warning-60":"248, 182, 14","color-warning-100":"102, 63, 25","color-text-primary":"32, 41, 49","color-text-secondary":"61, 74, 85","color-text-tertiary":"92, 106, 118","color-text-placeholder":"94, 118, 138","color-text-disabled":"193, 206, 217","color-text-inverted":"252, 252, 255","color-text-secondary-inverted":"193, 206, 217","color-text-error":"186, 27, 27","color-text-highlight":"0, 98, 159","color-text-link":"0, 98, 159","font-family-default":"'Manrope', sans-serif","font-family-title":"'PlusJakartaSans', 'Manrope', sans-serif","font-size-1":"0.625rem","font-size-2":"0.75rem","font-size-3":"0.875rem","font-size-4":"1rem","font-size-5":"1.25rem","font-size-6":"1.625rem","font-size-7":"2.375rem","font-size-8":"3rem","font-size-9":"3.625rem","font-weight-regular":500,"font-weight-medium":600,"font-weight-bold":700,"line-height-1":"100%","line-height-2":"125%","line-height-3":"130%","line-height-4":"140%","line-height-5":"150%","line-height-6":"180%","global-height-small":"1.75rem","global-height-default":"2.5rem","global-height-large":"3rem","opacity-0":"0%","opacity-20":"20%","opacity-40":"40%","opacity-60":"60%","opacity-100":"100%","elevation-1":"0px 0px 2px rgba(94, 118, 138, 0.1), 0px 1px 6px 2px rgba(61, 74, 85, 0.15)","elevation-2":"0px 1px 3px rgba(94, 118, 138, 0.2), 0px 4px 8px 3px rgba(61, 74, 85, 0.15)","elevation-3":"0px 0px 4px rgba(94, 118, 138, 0.2), 0px 6px 12px 6px rgba(61, 74, 85, 0.15)","elevation-4":"0px 5px 6px 4px rgba(94, 118, 138, 0.2), 0px 8px 10px rgba(61, 74, 85, 0.1)","glow-primary":"0.0px 0.0px 4.0px 0px rgb(3, 124, 94, .5)","glow-warning":"0.0px 0.0px 4.0px 0px rgba(255, 206, 79, 1.0)","spacing-1":"4px","spacing-2":"8px","spacing-3":"12px","spacing-4":"16px","spacing-5":"20px","spacing-6":"24px","spacing-8":"32px","spacing-10":"40px","spacing-12":"48px","spacing-14":"56px","spacing-16":"64px","spacing-20":"80px","spacing-30":"120px","spacing-0-5":"2px","platform-font-default":"'Manrope', sans-serif","platform-font-title":"'PlusJakartaSans', 'Manrope', sans-serif"},Object.defineProperty(ut,"i",{value:!0});var bt=gt;function mt(t){return bt.LoadsmartTheme[t]}function pt(t){var o=mt(t);return null==o?o:"--m-".concat(t)}var ft=Object.keys(bt.LoadsmartTheme).filter((function(t){return!t.startsWith("brand-")&&!t.startsWith("platform-")}));function $t(t){return ft.filter((function(o){return o.startsWith(t)}))}var yt=$t("color-"),vt=$t("color-background-"),wt=$t("spacing-"),xt=$t("font-family-"),kt=$t("font-size-"),zt=$t("font-weight-"),St=$t("line-height-"),Ct=$t("border-"),At=$t("border-radius-"),jt=$t("opacity-"),Mt=$t("elevation-"),_t=$t("glow-"),Wt=$t("global-");function Et(t){return l(ct(t))}function Bt(t,o=1){return l(ct(t,o))}ut.BACKGROUND_COLOR_TOKENS=vt,ut.BORDER_RADIUS_TOKENS=At,ut.BORDER_TOKENS=Ct,ut.BORDER_WIDTH_TOKENS=["border-none","border-thin","border-medium","border-thick"],ut.COLOR_TOKENS=yt,ut.ELEVATION_TOKENS=Mt,ut.FONT_FAMILY_TOKENS=xt,ut.FONT_SIZE_TOKENS=kt,ut.FONT_WEIGHT_TOKENS=zt,ut.GLOBAL_TOKENS=Wt,ut.GLOW_TOKENS=_t,ut.LINE_HEIGHT_TOKENS=St,ut.OPACITY_TOKENS=jt,ut.SPACING_TOKENS=wt,ut.TOKENS=ft,ht=ut.getToken=mt,ct=ut.toCSSValue=function(t,o){var e=mt(t);return null==e?"":t.startsWith("color-")?"rgba(var(".concat(pt(t),", ").concat(e,"), ").concat(null!=o?o:1,")"):"var(".concat(pt(t),", ").concat(e,")")},ut.toCSSVariable=pt;var Ot={toArray:function(t){return null==t?[]:Array.isArray(t)?t:[t]}},Tt=Ot.toArray;function Lt(t){return l(`\n\t\t${function(t){return l(`\n\t\tmargin-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tmargin-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Ut(t){return l(`\n\t\t${function(t){return l(`\n\t\tmargin-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tmargin-block-end: ${t}\n\t`)}(t)}\n\t`)}function Nt(t){return l(`\n\t\t${function(t){return l(`\n\t\tpadding-inline-end: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tpadding-inline-start: ${t}\n\t`)}(t)}\n\t`)}function Rt(t){return l(`\n\t\t${function(t){return l(`\n\t\tpadding-block-start: ${t}\n\t`)}(t)};\n\t\t${function(t){return l(`\n\t\tpadding-block-end: ${t}\n\t`)}(t)}\n\t`)}const Pt={property:"all",delay:"0s",duration:"0.35s",easing:"ease-in-out"};function Dt(t){const o=Tt(t).map((t=>function(t){const o={...Pt,...t};return l(`${o.property} ${o.duration} ${o.easing} ${o.delay}`)}(t))).join(", ");return l(`\n\t\ttransition: ${o}\n\t`)}function Gt(t){const o=l("\n\t\tfont-style: normal;\n\t\tfont-stretch: normal;\n\t\tletter-spacing: normal;\n\n\t\tfont-synthesis: none;\n\t\ttext-rendering: optimizeLegibility;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\t-webkit-text-size-adjust: 100%;\n\t");return l(`${o}\n${function(t){switch(t){case"hero-lg-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-9")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-9")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"hero-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-8")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-md":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-8")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"hero-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-7")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"hero-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\tfont-size: ${Et("font-size-7")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-lg-bold":return`\n\t\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\t\tfont-size: ${Et("font-size-6")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"heading-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-6")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"heading-md":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"heading-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"heading-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-title")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-lg-bold":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"body-lg":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-6")};\n\t\t\t\t\tfont-size: ${Et("font-size-5")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t\t`;case"body-md":case"number-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-md-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-md-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"body-md-bold-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-5")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm":case"number-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")}\n\t\t\t`;case"body-sm-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-regular")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"body-sm-bold":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"body-sm-bold-underline":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-4")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")};\n\t\t\t\ttext-decoration: underline\n\t\t\t`;case"button-lg":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-4")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"button-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"button-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t`;case"table-header-md":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-3")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;case"table-header-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")}\n\t\t\t`;case"chips-md":return`\n\t\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\t\tfont-size: ${Et("font-size-2")};\n\t\t\t\t\tfont-weight: ${Et("font-weight-bold")}\n\t\t\t\t`;case"chips-sm":return`\n\t\t\t\tfont-family: ${Et("font-family-default")};\n\t\t\t\tline-height: ${Et("line-height-1")};\n\t\t\t\tfont-size: ${Et("font-size-1")};\n\t\t\t\tfont-weight: ${Et("font-weight-medium")};\n\t\t\t\ttext-transform: uppercase\n\t\t\t`;default:return""}}(t)}`)}function It(t,o=""){return l(Tt(t).map((t=>[`${t}.is-disabled`,`${t}:disabled`].map((t=>[t,o].join(" "))).join(", "))).join(", "))}const Zt={active:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):active`)).join(", "))},focus:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):focus,\n\t\t\t\t${t}:not(.is-disabled, :disabled):focus-within,\n\t\t\t\t${t}:not(.is-disabled, :disabled).is-focused`)).join(", "))},hover:function(t){return l(Tt(t).map((t=>`${t}:not(.is-disabled, :disabled):hover`)).join(", "))}};function Ht(){return a`
35
35
  :host {
36
36
  --m-button-background-color: transparent;
37
37
  --m-button-base-size: ${Et("global-height-default")};
@@ -567,15 +567,15 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
567
567
  minmax(min(var(--m-grid-min-column-width), 100%), 1fr)
568
568
  );
569
569
  }
570
- `],window.customElements.define("m-grid",uo);const bo={gap:"spacing-4",sideWidth:"auto",minContentWidth:"50%",reversed:!1};function go(t){return t?"row-reverse":"row"}class mo extends et{static get properties(){return{gap:{type:String},sideWidth:{type:String,attribute:"side-width"},minContentWidth:{type:String,attribute:"min-content-width"},reversed:{type:Boolean}}}constructor(){super(),this.gap=bo.gap,this.sideWidth=bo.sideWidth,this.minContentWidth=bo.minContentWidth,this.reversed=bo.reversed}update(t){t.has("gap")&&this.style.setProperty("--m-sidebar-gap",ct(this.gap)||ct(bo.gap)),t.has("sideWidth")&&this.style.setProperty("--m-sidebar-side-width",this.sideWidth||bo.sideWidth),t.has("minContentWidth")&&this.style.setProperty("--m-sidebar-min-content-width",this.minContentWidth||bo.minContentWidth),t.has("reversed")&&this.style.setProperty("--m-sidebar-flex-direction",go(this.reversed)),super.update(t)}render(){return U`
570
+ `],window.customElements.define("m-grid",uo);const go={gap:"spacing-4",sideWidth:"auto",minContentWidth:"50%",reversed:!1};function bo(t){return t?"row-reverse":"row"}class mo extends et{static get properties(){return{gap:{type:String},sideWidth:{type:String,attribute:"side-width"},minContentWidth:{type:String,attribute:"min-content-width"},reversed:{type:Boolean}}}constructor(){super(),this.gap=go.gap,this.sideWidth=go.sideWidth,this.minContentWidth=go.minContentWidth,this.reversed=go.reversed}update(t){t.has("gap")&&this.style.setProperty("--m-sidebar-gap",ct(this.gap)||ct(go.gap)),t.has("sideWidth")&&this.style.setProperty("--m-sidebar-side-width",this.sideWidth||go.sideWidth),t.has("minContentWidth")&&this.style.setProperty("--m-sidebar-min-content-width",this.minContentWidth||go.minContentWidth),t.has("reversed")&&this.style.setProperty("--m-sidebar-flex-direction",bo(this.reversed)),super.update(t)}render(){return U`
571
571
  <slot name="sidebar"></slot>
572
572
  <slot name="content"></slot>
573
573
  `}}mo.styles=[a`
574
574
  :host {
575
- --m-sidebar-gap: ${Et(bo.gap)};
576
- --m-sidebar-flex-direction: ${l(go(bo.reversed))};
577
- --m-sidebar-side-width: ${l(bo.sideWidth)};
578
- --m-sidebar-min-content-width: ${l(bo.minContentWidth)};
575
+ --m-sidebar-gap: ${Et(go.gap)};
576
+ --m-sidebar-flex-direction: ${l(bo(go.reversed))};
577
+ --m-sidebar-side-width: ${l(go.sideWidth)};
578
+ --m-sidebar-min-content-width: ${l(go.minContentWidth)};
579
579
 
580
580
  display: flex;
581
581
  flex-wrap: wrap;
@@ -622,14 +622,14 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
622
622
  flex-basis: calc((var(--m-switcher-threshold) - 100%) * 999);
623
623
  flex-grow: 1;
624
624
  }
625
- `],window.customElements.define("m-switcher",fo);var yo,vo,wo,xo;function ko(t,o){return l(function(t,o){return void 0===o&&(o=16),"".concat(parseInt(String(t),10)/o,"rem")}(t,o))}class zo extends et{static get properties(){return{value:{type:Number,noAccessor:!0},max:{type:Number,noAccessor:!0}}}set value(e){const r=t(this,vo,"f");o(this,vo,$o(e,0,t(this,wo,"f")),"f"),this.requestUpdate("value",r)}get value(){return t(this,vo,"f")}set max(e){const r=t(this,wo,"f");o(this,wo,e<=0?100:e,"f"),o(this,vo,$o(t(this,vo,"f"),0,t(this,wo,"f")),"f"),this.requestUpdate("max",r)}get max(){return t(this,wo,"f")}constructor(){super(),yo.add(this),vo.set(this,0),wo.set(this,100),this.value=0,this.max=100}connectedCallback(){super.connectedCallback(),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0")}updated(){this.setAttribute("aria-valuenow",String(t(this,vo,"f"))),this.setAttribute("aria-valuemax",String(t(this,wo,"f")))}render(){return U`
625
+ `],window.customElements.define("m-switcher",fo);var yo,vo,wo,xo,ko=function(t,o){return void 0===o&&(o=16),"".concat(parseInt(String(t),10)/o,"rem")};function zo(t,o){return l(ko(t,o))}class So extends et{static get properties(){return{value:{type:Number,noAccessor:!0},max:{type:Number,noAccessor:!0}}}set value(e){const r=t(this,vo,"f");o(this,vo,$o(e,0,t(this,wo,"f")),"f"),this.requestUpdate("value",r)}get value(){return t(this,vo,"f")}set max(e){const r=t(this,wo,"f");o(this,wo,e<=0?100:e,"f"),o(this,vo,$o(t(this,vo,"f"),0,t(this,wo,"f")),"f"),this.requestUpdate("max",r)}get max(){return t(this,wo,"f")}constructor(){super(),yo.add(this),vo.set(this,0),wo.set(this,100),this.value=0,this.max=100}connectedCallback(){super.connectedCallback(),this.setAttribute("role","progressbar"),this.setAttribute("aria-valuemin","0")}updated(){this.setAttribute("aria-valuenow",String(t(this,vo,"f"))),this.setAttribute("aria-valuemax",String(t(this,wo,"f")))}render(){return U`
626
626
  <div class="bar">
627
627
  <span
628
628
  class="progress"
629
629
  style=${Kt({width:`${t(this,yo,"m",xo).call(this)}%`})}
630
630
  ></span>
631
631
  </div>
632
- `}}vo=new WeakMap,wo=new WeakMap,yo=new WeakSet,xo=function(){return 100*t(this,vo,"f")/t(this,wo,"f")},zo.styles=[a`
632
+ `}}vo=new WeakMap,wo=new WeakMap,yo=new WeakSet,xo=function(){return 100*t(this,vo,"f")/t(this,wo,"f")},So.styles=[a`
633
633
  :host {
634
634
  --m-progress-bar-progress-background: linear-gradient(
635
635
  45deg,
@@ -649,7 +649,7 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
649
649
  overflow: hidden;
650
650
 
651
651
  width: 100%;
652
- height: ${ko("8px")};
652
+ height: ${zo("8px")};
653
653
 
654
654
  border-radius: ${Et("border-radius-s")};
655
655
 
@@ -663,20 +663,20 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
663
663
 
664
664
  ${Dt([{property:"width"}])};
665
665
 
666
- height: ${ko("8px")};
666
+ height: ${zo("8px")};
667
667
 
668
668
  border-radius: ${Et("border-radius-s")};
669
669
 
670
670
  background: var(--m-progress-bar-progress-background);
671
671
  }
672
- `],window.customElements.define("m-progress-bar",zo);class So extends et{static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}constructor(){super(),this.variant="body-md",this.color="color-text-primary"}render(){return U`
672
+ `],window.customElements.define("m-progress-bar",So);class Co extends et{static get properties(){return{variant:{type:String,reflect:!0},color:{type:String}}}constructor(){super(),this.variant="body-md",this.color="color-text-primary"}render(){return U`
673
673
  <span
674
674
  class=${lt({"m-text":!0,"-body-lg-bold":"body-lg-bold"===this.variant,"-body-lg":"body-lg"===this.variant,"-body-md-bold-underline":"body-md-bold-underline"===this.variant,"-body-md-bold":"body-md-bold"===this.variant,"-body-md-underline":"body-md-underline"===this.variant,"-body-md":"body-md"===this.variant,"-body-sm-bold-underline":"body-sm-bold-underline"===this.variant,"-body-sm-bold":"body-sm-bold"===this.variant,"-body-sm-underline":"body-sm-underline"===this.variant,"-body-sm":"body-sm"===this.variant,"-button-lg":"button-lg"===this.variant,"-button-md":"button-md"===this.variant,"-button-sm":"button-sm"===this.variant,"-chips-md":"chips-md"===this.variant,"-chips-sm":"chips-sm"===this.variant,"-heading-lg-bold":"heading-lg-bold"===this.variant,"-heading-lg":"heading-lg"===this.variant,"-heading-md-bold":"heading-md-bold"===this.variant,"-heading-md":"heading-md"===this.variant,"-heading-sm-bold":"heading-sm-bold"===this.variant,"-heading-sm":"heading-sm"===this.variant,"-hero-lg-bold":"hero-lg-bold"===this.variant,"-hero-lg":"hero-lg"===this.variant,"-hero-md-bold":"hero-md-bold"===this.variant,"-hero-md":"hero-md"===this.variant,"-hero-sm-bold":"hero-sm-bold"===this.variant,"-hero-sm":"hero-sm"===this.variant,"-number-md":"number-md"===this.variant,"-number-sm":"number-sm"===this.variant,"-table-header-md":"table-header-md"===this.variant,"-table-header-sm":"table-header-sm"===this.variant})}
675
675
  style=${Kt({"--m-text-color":ct(this.color)})}
676
676
  >
677
677
  <slot></slot>
678
678
  </span>
679
- `}}So.styles=[a`
679
+ `}}Co.styles=[a`
680
680
  :host {
681
681
  --m-text-color: ${Bt("color-text-primary")};
682
682
  }
@@ -814,14 +814,14 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
814
814
  .-table-header-sm {
815
815
  ${Gt("table-header-sm")};
816
816
  }
817
- `],window.customElements.define("m-text",So);const Co="m-toggle";var Ao,jo={};Object.defineProperty(jo,"i",{value:!0});var Mo,_o,Wo,Eo,Bo,Oo,To,Lo,Uo,No,Ro,Po,Do,Go,Io=Ot;jo.SELECTION_TYPES=["single","single-strict","multiple"],Ao=jo.default=function(t){var o=t.type,e=void 0===o?"multiple":o;return"single"===e?{type:"single",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;var r=new Set;return r.add(String(e[e.length-1])),r},unselect:function(t,o){var e=Io.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;for(var r=new Set,i=0;i<e.length;i++){var n=String(e[i]);o.has(n)||(r.clear(),r.add(n))}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)[0]}}:"single-strict"===e?{type:"single-strict",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;var r=new Set;return r.add(String(e[e.length-1])),r},unselect:function(t,o){var e=Io.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length&&o.size>1;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++){var n=String(e[i]);o.has(n)||(r.clear(),r.add(n))}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)[0]}}:{type:"multiple",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.add(String(e[i]));return r},unselect:function(t,o){var e=Io.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Io.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++){var n=String(e[i]);o.has(n)?r.delete(n):r.add(n)}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)}}};class Zo{constructor(o,e,r){Mo.add(this),this.disabled=!1,this.event="m-select",_o.set(this,(t=>{if(this.disabled)return;if(null==this.type)return void console.warn("[SelectionController] Did you forget to set the selection type?");const{detail:{type:o,value:e}}=t;switch(o){case"select":this.select(Tt(e));break;case"unselect":this.unselect(Tt(e));break;case"toggle":this.toggle(Tt(e))}})),this.init=t=>{this.host.selection=this.strategy.init(t)},this.select=o=>{this.host.selection=this.strategy.select(o,this.host.selection),t(this,Mo,"m",Wo).call(this)},this.unselect=o=>{this.host.selection=this.strategy.unselect(o,this.host.selection),t(this,Mo,"m",Wo).call(this)},this.toggle=o=>{this.host.selection=this.strategy.toggle(o,this.host.selection),t(this,Mo,"m",Wo).call(this)},this.subscribe=()=>{this.host.addEventListener(this.event,t(this,_o,"f"))},this.unsubscribe=()=>{this.host.removeEventListener(this.event,t(this,_o,"f"))},this.host=o,this.type=e,this.event=r,this.strategy=Ao({type:e}),this.host.addController(this)}hostConnected(){this.subscribe()}hostDisconnected(){this.unsubscribe()}hostUpdate(){null!=this.host.type&&this.host.type!==this.type&&(this.unsubscribe(),this.host.removeController(this))}}_o=new WeakMap,Mo=new WeakSet,Wo=function(){const t={detail:{type:this.type,value:this.strategy.value(this.host.selection)},bubbles:!0,composed:!1};this.host.dispatchEvent(new CustomEvent("m-change",t))};class Ho extends et{static get properties(){return{disabled:{type:Boolean},role:{type:String,reflect:!0},showCheck:{type:Boolean,attribute:"show-check"},size:{type:String},type:{type:String},value:{},selection:{state:!0}}}constructor(){super(),Eo.add(this),Bo.set(this,null),Oo.set(this,null),this.showCheck=!1,this.size="default",this.type="single",this.selection=new Set}update(e){super.update(e),(null!=e.get("type")&&null!=this.type||null==t(this,Bo,"f"))&&(o(this,Bo,new Zo(this,this.type,Co),"f"),t(this,Bo,"f").init(Tt(this.value)),this.role=["single","single-strict"].includes(this.type)?"radiogroup":"group"),e.has("value")&&t(this,Bo,"f").init(Tt(this.value))}updated(o){super.updated(o),o.has("selection")&&t(this,Eo,"m",To).call(this).forEach((o=>{t(this,Eo,"m",Uo).call(this,o)})),o.has("disabled")&&t(this,Eo,"m",To).call(this).forEach((o=>{t(this,Eo,"m",No).call(this,o)})),o.has("role")&&t(this,Eo,"m",To).call(this).forEach((o=>{t(this,Eo,"m",Lo).call(this,o)}))}render(){return U`
817
+ `],window.customElements.define("m-text",Co);const Ao="m-toggle";var jo,Mo={};Object.defineProperty(Mo,"i",{value:!0});var _o,Wo,Eo,Bo,Oo,To,Lo,Uo,No,Ro,Po,Do,Go,Io,Zo=Ot;Mo.SELECTION_TYPES=["single","single-strict","multiple"],jo=Mo.default=function(t){var o=t.type,e=void 0===o?"multiple":o;return"single"===e?{type:"single",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;var r=new Set;return r.add(String(e[e.length-1])),r},unselect:function(t,o){var e=Zo.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;for(var r=new Set,i=0;i<e.length;i++){var n=String(e[i]);o.has(n)||(r.clear(),r.add(n))}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)[0]}}:"single-strict"===e?{type:"single-strict",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;var r=new Set;return r.add(String(e[e.length-1])),r},unselect:function(t,o){var e=Zo.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length&&o.size>1;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++){var n=String(e[i]);o.has(n)||(r.clear(),r.add(n))}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)[0]}}:{type:"multiple",init:function(t){return this.select(t,new Set)},select:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.add(String(e[i]));return r},unselect:function(t,o){var e=Zo.toArray(t);if(0===e.length||0===o.size)return o;for(var r=new Set(o),i=0;i<e.length;i++)r.delete(String(e[i]));return r},toggle:function(t,o){var e=Zo.toArray(t);if(0===e.length)return o;for(var r=new Set(o),i=0;i<e.length;i++){var n=String(e[i]);o.has(n)?r.delete(n):r.add(n)}return r},reset:function(t){return null==t?new Set:t},value:function(t){return null==t||0===t.size?null:Array.from(t)}}};class Ho{constructor(o,e,r){_o.add(this),this.disabled=!1,this.event="m-select",Wo.set(this,(t=>{if(this.disabled)return;if(null==this.type)return void console.warn("[SelectionController] Did you forget to set the selection type?");const{detail:{type:o,value:e}}=t;switch(o){case"select":this.select(Tt(e));break;case"unselect":this.unselect(Tt(e));break;case"toggle":this.toggle(Tt(e))}})),this.init=t=>{this.host.selection=this.strategy.init(t)},this.select=o=>{this.host.selection=this.strategy.select(o,this.host.selection),t(this,_o,"m",Eo).call(this)},this.unselect=o=>{this.host.selection=this.strategy.unselect(o,this.host.selection),t(this,_o,"m",Eo).call(this)},this.toggle=o=>{this.host.selection=this.strategy.toggle(o,this.host.selection),t(this,_o,"m",Eo).call(this)},this.subscribe=()=>{this.host.addEventListener(this.event,t(this,Wo,"f"))},this.unsubscribe=()=>{this.host.removeEventListener(this.event,t(this,Wo,"f"))},this.host=o,this.type=e,this.event=r,this.strategy=jo({type:e}),this.host.addController(this)}hostConnected(){this.subscribe()}hostDisconnected(){this.unsubscribe()}hostUpdate(){null!=this.host.type&&this.host.type!==this.type&&(this.unsubscribe(),this.host.removeController(this))}}Wo=new WeakMap,_o=new WeakSet,Eo=function(){const t={detail:{type:this.type,value:this.strategy.value(this.host.selection)},bubbles:!0,composed:!1};this.host.dispatchEvent(new CustomEvent("m-change",t))};class Jo extends et{static get properties(){return{disabled:{type:Boolean},role:{type:String,reflect:!0},showCheck:{type:Boolean,attribute:"show-check"},size:{type:String},type:{type:String},value:{},selection:{state:!0}}}constructor(){super(),Bo.add(this),Oo.set(this,null),To.set(this,null),this.showCheck=!1,this.size="default",this.type="single",this.selection=new Set}update(e){super.update(e),(null!=e.get("type")&&null!=this.type||null==t(this,Oo,"f"))&&(o(this,Oo,new Ho(this,this.type,Ao),"f"),t(this,Oo,"f").init(Tt(this.value)),this.role=["single","single-strict"].includes(this.type)?"radiogroup":"group"),e.has("value")&&t(this,Oo,"f").init(Tt(this.value))}updated(o){super.updated(o),o.has("selection")&&t(this,Bo,"m",Lo).call(this).forEach((o=>{t(this,Bo,"m",No).call(this,o)})),o.has("disabled")&&t(this,Bo,"m",Lo).call(this).forEach((o=>{t(this,Bo,"m",Ro).call(this,o)})),o.has("role")&&t(this,Bo,"m",Lo).call(this).forEach((o=>{t(this,Bo,"m",Uo).call(this,o)}))}render(){return U`
818
818
  <m-group
819
819
  class=${lt({"toggle-group":!0,"-single":"single"===this.type,"-single-strict":"single-strict"===this.type,"-multiple":"multiple"===this.type,"-small":"small"===this.size,"-show-check":this.showCheck})}
820
820
  gap="spacing-1"
821
821
  >
822
822
  <slot></slot>
823
823
  </m-group>
824
- `}}Bo=new WeakMap,Oo=new WeakMap,Eo=new WeakSet,To=function(){return null==t(this,Oo,"f")&&o(this,Oo,this.shadowRoot.querySelector("slot"),"f"),[...t(this,Oo,"f").assignedElements({flatten:!0})].filter((t=>"m-toggle"===t.tagName.toLowerCase()))},Lo=function(t){t.setAttribute("role",["single","single-strict"].includes(this.type)?"radio":"checkbox")},Uo=function(t){t.checked=this.selection.has(t.value)},No=function(t){t.disabled=this.disabled},Ho.styles=[[a`
824
+ `}}Oo=new WeakMap,To=new WeakMap,Bo=new WeakSet,Lo=function(){return null==t(this,To,"f")&&o(this,To,this.shadowRoot.querySelector("slot"),"f"),[...t(this,To,"f").assignedElements({flatten:!0})].filter((t=>"m-toggle"===t.tagName.toLowerCase()))},Uo=function(t){t.setAttribute("role",["single","single-strict"].includes(this.type)?"radio":"checkbox")},No=function(t){t.checked=this.selection.has(t.value)},Ro=function(t){t.disabled=this.disabled},Jo.styles=[[a`
825
825
  .toggle-group {
826
826
  inline-size: max-content;
827
827
 
@@ -847,7 +847,7 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
847
847
  .toggle-group.-show-check ::slotted(m-toggle[aria-checked='true']) {
848
848
  --m-toggle-icon-display: inline-flex;
849
849
  }
850
- `]],window.customElements.define("m-toggle-group",Ho);class Jo extends et{static get properties(){return{checked:{type:Boolean},disabled:{type:Boolean,reflect:!0},role:{type:String,reflect:!0},value:{type:String}}}constructor(){super(),Ro.add(this),this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("click",t(this,Ro,"m",Po))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",t(this,Ro,"m",Po))}updated(o){super.updated(o),o.has("disabled")&&t(this,Ro,"m",Do).call(this),o.has("checked")&&t(this,Ro,"m",Go).call(this)}render(){return U`
850
+ `]],window.customElements.define("m-toggle-group",Jo);class qo extends et{static get properties(){return{checked:{type:Boolean},disabled:{type:Boolean,reflect:!0},role:{type:String,reflect:!0},value:{type:String}}}constructor(){super(),Po.add(this),this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("click",t(this,Po,"m",Do))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",t(this,Po,"m",Do))}updated(o){super.updated(o),o.has("disabled")&&t(this,Po,"m",Go).call(this),o.has("checked")&&t(this,Po,"m",Io).call(this)}render(){return U`
851
851
  <button
852
852
  type="button"
853
853
  class=${lt({button:!0,toggle:!0})}
@@ -872,7 +872,7 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
872
872
 
873
873
  <slot></slot>
874
874
  </button>
875
- `}}Ro=new WeakSet,Po=function(){if(this.disabled)return;this.checked=!this.checked;const t={detail:{value:this.value,type:"toggle"},bubbles:!0,composed:!1};this.dispatchEvent(new CustomEvent(Co,t))},Do=function(){this.setAttribute("aria-disabled",String(this.disabled))},Go=function(){this.setAttribute("aria-checked",String(this.checked))},Jo.styles=[[Ht(),a`
875
+ `}}Po=new WeakSet,Do=function(){if(this.disabled)return;this.checked=!this.checked;const t={detail:{value:this.value,type:"toggle"},bubbles:!0,composed:!1};this.dispatchEvent(new CustomEvent(Ao,t))},Go=function(){this.setAttribute("aria-disabled",String(this.disabled))},Io=function(){this.setAttribute("aria-checked",String(this.checked))},qo.styles=[[Ht(),a`
876
876
  :host {
877
877
  /*
878
878
  * These custom properties are here because they are meant to be
@@ -918,22 +918,22 @@ const Kt=nt(class extends st{constructor(t){var o;if(super(t),t.type!==it||"styl
918
918
  block-size: var(--m-toggle-icon-size);
919
919
  inline-size: var(--m-toggle-icon-size);
920
920
  }
921
- `]],window.customElements.define("m-toggle",Jo);
921
+ `]],window.customElements.define("m-toggle",qo);
922
922
  /**
923
923
  * @license
924
924
  * Copyright 2018 Google LLC
925
925
  * SPDX-License-Identifier: BSD-3-Clause
926
926
  */
927
- const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};var Vo,Ko,Qo;class Xo extends et{static get properties(){return{name:{type:String},disabled:{type:Boolean,reflect:!0},checked:{type:Boolean,reflect:!0},indeterminate:{type:Boolean,reflect:!0}}}constructor(){super(),Vo.add(this),this.name=void 0,this.disabled=!1,this.checked=!1,this.indeterminate=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","checkbox")}disconnectedCallback(){super.connectedCallback()}firstUpdated(){this.input=this.renderRoot.querySelector("input"),this.label=this.renderRoot.querySelector("label")}updated(){t(this,Vo,"m",Ko).call(this)}render(){return U`
928
- <label for="${qo(this.id)}" class="check-input-label">
927
+ const Fo=t=>null!=t?t:R,Vo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};var Ko,Qo,Xo;class Yo extends et{static get properties(){return{name:{type:String},disabled:{type:Boolean,reflect:!0},checked:{type:Boolean,reflect:!0},indeterminate:{type:Boolean,reflect:!0}}}constructor(){super(),Ko.add(this),this.name=void 0,this.disabled=!1,this.checked=!1,this.indeterminate=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","checkbox")}disconnectedCallback(){super.connectedCallback()}firstUpdated(){this.input=this.renderRoot.querySelector("input"),this.label=this.renderRoot.querySelector("label")}updated(){t(this,Ko,"m",Qo).call(this)}render(){return U`
928
+ <label for="${Fo(this.id)}" class="check-input-label">
929
929
  <input
930
- id="${qo(this.id)}"
931
- name="${qo(this.name)}"
930
+ id="${Fo(this.id)}"
931
+ name="${Fo(this.name)}"
932
932
  type="checkbox"
933
933
  class="check-input"
934
934
  ?disabled="${this.disabled}"
935
935
  ?checked="${this.checked}"
936
- @change=${t(this,Vo,"m",Qo)}
936
+ @change=${t(this,Ko,"m",Xo)}
937
937
  />
938
938
  <svg
939
939
  class="check-icon"
@@ -957,7 +957,7 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
957
957
  <slot name="leading"></slot>
958
958
  <slot></slot>
959
959
  </label>
960
- `}}Vo=new WeakSet,Ko=function(){this.setAttribute("aria-disabled",this.disabled.toString()),this.setAttribute("aria-checked",this.indeterminate?"mixed":this.checked.toString()),this.input.indeterminate=this.indeterminate},Qo=function(t){const o=t.target,e=new CustomEvent("m-change",{cancelable:!1,composed:!1,bubbles:!0,detail:{checked:o.checked,indeterminate:o.indeterminate}});this.dispatchEvent(e),this.checked=o.checked,this.indeterminate=o.indeterminate},Xo.styles=[a`
960
+ `}}Ko=new WeakSet,Qo=function(){this.setAttribute("aria-disabled",this.disabled.toString()),this.setAttribute("aria-checked",this.indeterminate?"mixed":this.checked.toString()),this.input.indeterminate=this.indeterminate},Xo=function(t){const o=t.target,e=new CustomEvent("m-change",{cancelable:!1,composed:!1,bubbles:!0,detail:{checked:o.checked,indeterminate:o.indeterminate}});this.dispatchEvent(e),this.checked=o.checked,this.indeterminate=o.indeterminate},Yo.styles=[a`
961
961
  ${Zt.focus(".check-input-label")} {
962
962
  border-radius: 2px;
963
963
  outline: 1px solid ${Bt("color-primary-60")};
@@ -991,7 +991,7 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
991
991
  border-color: ${Bt("color-border")};
992
992
  border-width: ${Et("border-thin")};
993
993
  margin: 0;
994
- ${Dt([{property:"border",...Fo},{property:"background",...Fo}])};
994
+ ${Dt([{property:"border",...Vo},{property:"background",...Vo}])};
995
995
  }
996
996
 
997
997
  .check-input:indeterminate,
@@ -1044,7 +1044,7 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
1044
1044
  .check-input:indeterminate:not(:checked) ~ .indeterminate-icon {
1045
1045
  display: block;
1046
1046
  }
1047
- `],window.customElements.define("m-checkbox",Xo);const Yo="m-check";var te,oe,ee,re,ie,ne,se,le,ae,de;class ce extends et{static get properties(){return{value:{type:String},disabled:{type:Boolean,reflect:!0},checked:{type:Boolean,reflect:!0}}}constructor(){super(),te.add(this),this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radio"),this.addEventListener("click",this.handleClick)}updated(o){super.updated(o),o.has("disabled")&&t(this,te,"m",oe).call(this),o.has("checked")&&t(this,te,"m",ee).call(this)}render(){return U`
1047
+ `],window.customElements.define("m-checkbox",Yo);const te="m-check";var oe,ee,re,ie,ne,se,le,ae,de,ce;class he extends et{static get properties(){return{value:{type:String},disabled:{type:Boolean,reflect:!0},checked:{type:Boolean,reflect:!0}}}constructor(){super(),oe.add(this),this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radio"),this.addEventListener("click",this.handleClick)}updated(o){super.updated(o),o.has("disabled")&&t(this,oe,"m",ee).call(this),o.has("checked")&&t(this,oe,"m",re).call(this)}render(){return U`
1048
1048
  <button
1049
1049
  type="button"
1050
1050
  class="radio-button"
@@ -1056,7 +1056,7 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
1056
1056
  <slot name="leading"></slot>
1057
1057
  <slot></slot>
1058
1058
  </button>
1059
- `}handleClick(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();const o={detail:{value:this.value,type:"select"},bubbles:!0,composed:!1};this.dispatchEvent(new CustomEvent(Yo,o))}}te=new WeakSet,oe=function(){this.setAttribute("aria-disabled",String(this.disabled))},ee=function(){this.setAttribute("aria-checked",String(this.checked))},ce.styles=[a`
1059
+ `}handleClick(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();const o={detail:{value:this.value,type:"select"},bubbles:!0,composed:!1};this.dispatchEvent(new CustomEvent(te,o))}}oe=new WeakSet,ee=function(){this.setAttribute("aria-disabled",String(this.disabled))},re=function(){this.setAttribute("aria-checked",String(this.checked))},he.styles=[a`
1060
1060
  :host {
1061
1061
  --m-radio-border-color: ${Bt("color-border")};
1062
1062
  --m-radio-dot-check-color: ${Bt("color-primary-60")};
@@ -1159,13 +1159,13 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
1159
1159
  ${It(".radio-button","*")} {
1160
1160
  pointer-event: none;
1161
1161
  }
1162
- `],window.customElements.define("m-radio",ce);class he extends et{static get properties(){return{value:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},selection:{state:!0},orientation:{type:String}}}constructor(){super(),re.add(this),ie.set(this,null),ne.set(this,null),this.disabled=!1,this.selection=new Set,this.value="",this.orientation="vertical",this.type="single-strict"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radio-group"),o(this,ie,new Zo(this,this.type,Yo),"f")}update(o){super.update(o),o.has("value")&&t(this,ie,"f").init(Tt(this.value||t(this,re,"m",se).call(this))),o.has("selection")&&([this.value]=this.selection)}updated(o){super.updated(o),o.has("selection")&&t(this,re,"m",le).call(this).forEach((o=>{t(this,re,"m",ae).call(this,o)})),o.has("disabled")&&t(this,re,"m",le).call(this).forEach((o=>{t(this,re,"m",de).call(this,o)}))}render(){return U`
1162
+ `],window.customElements.define("m-radio",he);class ue extends et{static get properties(){return{value:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},selection:{state:!0},orientation:{type:String}}}constructor(){super(),ie.add(this),ne.set(this,null),se.set(this,null),this.disabled=!1,this.selection=new Set,this.value="",this.orientation="vertical",this.type="single-strict"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","radio-group"),o(this,ne,new Ho(this,this.type,te),"f")}update(o){super.update(o),o.has("value")&&t(this,ne,"f").init(Tt(this.value||t(this,ie,"m",le).call(this))),o.has("selection")&&([this.value]=this.selection)}updated(o){super.updated(o),o.has("selection")&&t(this,ie,"m",ae).call(this).forEach((o=>{t(this,ie,"m",de).call(this,o)})),o.has("disabled")&&t(this,ie,"m",ae).call(this).forEach((o=>{t(this,ie,"m",ce).call(this,o)}))}render(){return U`
1163
1163
  <div
1164
1164
  class=${lt({"radio-group":!0,"-vertical":"vertical"===this.orientation,"-horizontal":"horizontal"===this.orientation})}
1165
1165
  >
1166
1166
  <slot></slot>
1167
1167
  </div>
1168
- `}}ie=new WeakMap,ne=new WeakMap,re=new WeakSet,se=function(){var o;return null===(o=t(this,re,"m",le).call(this)[0])||void 0===o?void 0:o.value},le=function(){return null==t(this,ne,"f")&&o(this,ne,this.shadowRoot.querySelector("slot"),"f"),[...t(this,ne,"f").assignedElements({flatten:!0})].filter((t=>"m-radio"===t.tagName.toLowerCase()))},ae=function(t){t.checked=this.selection.has(t.value)},de=function(t){t.disabled=this.disabled},he.styles=[a`
1168
+ `}}ne=new WeakMap,se=new WeakMap,ie=new WeakSet,le=function(){var o;return null===(o=t(this,ie,"m",ae).call(this)[0])||void 0===o?void 0:o.value},ae=function(){return null==t(this,se,"f")&&o(this,se,this.shadowRoot.querySelector("slot"),"f"),[...t(this,se,"f").assignedElements({flatten:!0})].filter((t=>"m-radio"===t.tagName.toLowerCase()))},de=function(t){t.checked=this.selection.has(t.value)},ce=function(t){t.disabled=this.disabled},ue.styles=[a`
1169
1169
  .radio-group {
1170
1170
  display: flex;
1171
1171
  gap: ${Et("spacing-2")};
@@ -1176,5 +1176,83 @@ const qo=t=>null!=t?t:R,Fo={delay:"0s",duration:"0.35s",easing:"ease-in-out"};va
1176
1176
  .radio-group.-horizontal {
1177
1177
  flex-direction: row;
1178
1178
  }
1179
- `],window.customElements.define("m-radio-group",he);export{eo as ALIGN_ITEMS_VALUES,no as Box,Vt as Button,Qt as Card,Xt as CardBody,Yt as CardSubtitle,to as CardTitle,Xo as Checkbox,oo as Divider,uo as Grid,lo as Group,ro as JUSTIFY_CONTENT_VALUES,zo as ProgressBar,ce as Radio,he as RadioGroup,mo as Sidebar,co as Stack,fo as Switcher,So as Text,Jo as Toggle,Ho as ToggleGroup,io as defaultBoxProps,ho as defaultGridProps,so as defaultGroupProps,bo as defaultSidebarProps,ao as defaultStackProps,po as defaultSwitcherProps};
1179
+ `],window.customElements.define("m-radio-group",ue);class ge extends et{static get properties(){return{variant:{type:String},size:{type:String},isSkeleton:{type:Boolean,attribute:"is-skeleton"}}}constructor(){super(),this.variant="neutral",this.size="default",this.isSkeleton=!1}render(){return U`
1180
+ <span
1181
+ class=${lt({tag:!0,"-success":"success"===this.variant,"-neutral":"neutral"===this.variant,"-warning":"warning"===this.variant,"-danger":"danger"===this.variant,"-is-skeleton":this.isSkeleton,"-size-small":"small"===this.size,"-size-default":"default"===this.size,"-size-large":"large"===this.size})}
1182
+ >
1183
+ ${this.isSkeleton?U``:U`<slot name="leading"></slot>`}
1184
+ <slot></slot>
1185
+ </span>
1186
+ `}}ge.styles=[[a`
1187
+ @keyframes skeleton-loading {
1188
+ 0% {
1189
+ background-color: ${Bt("color-background-tertiary")};
1190
+ opacity: 0.3;
1191
+ }
1192
+ 50% {
1193
+ background-color: ${Bt("color-background-tertiary")};
1194
+ opacity: 0.6;
1195
+ }
1196
+ 100% {
1197
+ background-color: ${Bt("color-background-tertiary")};
1198
+ }
1199
+ }
1200
+ `,a`
1201
+ :host {
1202
+ --m-tag-skeleton-width: 100px;
1203
+ }
1204
+ .tag {
1205
+ display: inline-block;
1206
+ white-space: nowrap;
1207
+ overflow: hidden;
1208
+ text-overflow: ellipsis;
1209
+ box-sizing: border-box;
1210
+ max-width: 200px;
1211
+ border-radius: 100px;
1212
+ line-height: ${Et("line-height-1")};
1213
+ cursor: default;
1214
+ }
1215
+
1216
+ .tag slot[name='leading']::slotted(*) {
1217
+ margin-inline-end: ${Et("spacing-1")};
1218
+ }
1219
+
1220
+ .-size-small {
1221
+ ${Gt("chips-sm")};
1222
+ padding: ${Et("spacing-1")} ${Et("spacing-2")};
1223
+ block-size: ${zo("18px")};
1224
+ }
1225
+ .-size-default {
1226
+ ${Gt("chips-md")};
1227
+ padding: ${Et("spacing-2")} ${Et("spacing-3")};
1228
+ block-size: ${Et("global-height-small")};
1229
+ }
1230
+ .-size-large {
1231
+ ${Gt("button-lg")};
1232
+ padding: ${Et("spacing-3")} ${Et("spacing-4")};
1233
+ block-size: ${Et("global-height-default")};
1234
+ }
1235
+
1236
+ .-success {
1237
+ color: ${Bt("color-success-60")};
1238
+ background: ${Bt("color-success-20")};
1239
+ }
1240
+ .-neutral {
1241
+ color: ${Bt("color-text-tertiary")};
1242
+ background: ${Bt("color-background-tertiary")};
1243
+ }
1244
+ .-warning {
1245
+ color: ${Bt("color-warning-100")};
1246
+ background: ${Bt("color-warning-20")};
1247
+ }
1248
+ .-danger {
1249
+ color: ${Bt("color-danger-60")};
1250
+ background: ${Bt("color-danger-20")};
1251
+ }
1252
+
1253
+ .-is-skeleton {
1254
+ ${l("animation: skeleton-loading 1s linear infinite alternate;")};
1255
+ width: var(--m-tag-skeleton-width);
1256
+ }
1257
+ `]],window.customElements.define("m-tag",ge);export{eo as ALIGN_ITEMS_VALUES,no as Box,Vt as Button,Qt as Card,Xt as CardBody,Yt as CardSubtitle,to as CardTitle,Yo as Checkbox,oo as Divider,uo as Grid,lo as Group,ro as JUSTIFY_CONTENT_VALUES,So as ProgressBar,he as Radio,ue as RadioGroup,mo as Sidebar,co as Stack,fo as Switcher,ge as Tag,Co as Text,qo as Toggle,Jo as ToggleGroup,io as defaultBoxProps,ho as defaultGridProps,so as defaultGroupProps,go as defaultSidebarProps,ao as defaultStackProps,po as defaultSwitcherProps};
1180
1258
  //# sourceMappingURL=index.js.map