@fluid-topics/ft-typography 0.3.70 → 1.0.0-alpha.0

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.
@@ -97,4 +97,3 @@ export declare const FtTypographyBreadcrumb: import("lit").CSSResult;
97
97
  export declare const FtTypographyOverline: import("lit").CSSResult;
98
98
  export declare const FtTypographyButton: import("lit").CSSResult;
99
99
  export declare const FtTypographyStyles: import("lit").CSSResult;
100
- //# sourceMappingURL=ft-typography.css.d.ts.map
@@ -207,4 +207,3 @@ export const FtTypographyStyles = css `
207
207
  vertical-align: inherit;
208
208
  }
209
209
  `;
210
- //# sourceMappingURL=ft-typography.css.js.map
@@ -4,6 +4,5 @@ export declare class FtTypography extends FtLitElement implements FtTypographyPr
4
4
  static styles: import("lit").CSSResult[];
5
5
  element?: string;
6
6
  variant: FtTypographyVariants;
7
- protected render(): import("lit-html").TemplateResult<1 | 2>;
7
+ protected render(): import("lit-html").TemplateResult;
8
8
  }
9
- //# sourceMappingURL=ft-typography.d.ts.map
@@ -9,7 +9,7 @@ import { property } from "lit/decorators.js";
9
9
  import { FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { FtTypographyVariants } from "./ft-typography.properties";
11
11
  import { FtTypographyBody1, FtTypographyBody2, FtTypographyBreadcrumb, FtTypographyButton, FtTypographyCaption, FtTypographyOverline, FtTypographyStyles, FtTypographySubtitle1, FtTypographySubtitle2, FtTypographyTitle, FtTypographyTitleDense } from "./ft-typography.css";
12
- export class FtTypography extends FtLitElement {
12
+ class FtTypography extends FtLitElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.variant = FtTypographyVariants.body1;
@@ -48,4 +48,4 @@ __decorate([
48
48
  __decorate([
49
49
  property()
50
50
  ], FtTypography.prototype, "variant", void 0);
51
- //# sourceMappingURL=ft-typography.js.map
51
+ export { FtTypography };
@@ -4,32 +4,14 @@
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var n;const r=window,s=r.trustedTypes,h=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,l="?"+f,a=`<${l}>`,p=document,y=(t="")=>p.createComment(t),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c=Array.isArray,d=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,u=/-->/g,$=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),v=/'/g,b=/"/g,x=/^(?:script|style|textarea|title)$/i,w=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),z=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),T=new WeakMap,_=p.createTreeWalker(p,129,null,!1),A=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=d;for(let i=0;i<e;i++){const e=t[i];let h,l,p=-1,y=0;for(;y<e.length&&(s.lastIndex=y,l=s.exec(e),null!==l);)y=s.lastIndex,s===d?"!--"===l[1]?s=u:void 0!==l[1]?s=$:void 0!==l[2]?(x.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=m):void 0!==l[3]&&(s=m):s===m?">"===l[0]?(s=null!=n?n:d,p=-1):void 0===l[1]?p=-2:(p=s.lastIndex-l[2].length,h=l[1],s=void 0===l[3]?m:'"'===l[3]?b:v):s===b||s===v?s=m:s===u||s===$?s=d:(s=m,n=void 0);const g=s===m&&t[i+1].startsWith("/>")?" ":"";r+=s===d?e+a:p>=0?(o.push(h),e.slice(0,p)+"$lit$"+e.slice(p)+f+g):e+f+(-2===p?(o.push(void 0),i):g)}const l=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==h?h.createHTML(l):l,o]};class W{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const h=t.length-1,a=this.parts,[p,g]=A(t,i);if(this.el=W.createElement(p,e),_.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=_.nextNode())&&a.length<h;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(f)){const e=g[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(f),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?j:"?"===i[1]?I:"@"===i[1]?M:E})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(x.test(o.tagName)){const t=o.textContent.split(f),i=t.length-1;if(i>0){o.textContent=s?s.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),_.nextNode(),a.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===l)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)a.push({type:7,index:n}),t+=f.length-1}n++}}static createElement(t,i){const e=p.createElement("template");return e.innerHTML=t,e}}function H(t,i,e=t,o){var n,r,s,h;if(i===z)return i;let f=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const l=g(i)?void 0:i._$litDirective$;return(null==f?void 0:f.constructor)!==l&&(null===(r=null==f?void 0:f._$AO)||void 0===r||r.call(f,!1),void 0===l?f=void 0:(f=new l(t),f._$AT(t,e,o)),void 0!==o?(null!==(s=(h=e)._$Co)&&void 0!==s?s:h._$Co=[])[o]=f:e._$Cl=f),void 0!==f&&(i=H(t,f._$AS(t,i.values),f,o)),i}class N{constructor(t,i){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:p).importNode(e,!0);_.currentNode=n;let r=_.nextNode(),s=0,h=0,f=o[0];for(;void 0!==f;){if(s===f.index){let i;2===f.type?i=new F(r,r.nextSibling,this,t):1===f.type?i=new f.ctor(r,f.name,f.strings,this,t):6===f.type&&(i=new O(r,this,t)),this.u.push(i),f=o[++h]}s!==(null==f?void 0:f.index)&&(r=_.nextNode(),s++)}return n}p(t){let i=0;for(const e of this.u)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class F{constructor(t,i,e,o){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=H(this,t,i),g(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==z&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>c(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==S&&g(this._$AH)?this._$AA.nextSibling.data=t:this.T(p.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=W.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.p(e);else{const t=new N(n,this),i=t.v(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let i=T.get(t.strings);return void 0===i&&T.set(t.strings,i=new W(t)),i}k(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new F(this.O(y()),this.O(y()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cm=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class E{constructor(t,i,e,o,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=H(this,t,i,0),r=!g(t)||t!==this._$AH&&t!==z,r&&(this._$AH=t);else{const o=t;let s,h;for(t=n[0],s=0;s<n.length-1;s++)h=H(this,o[e+s],i,s),h===z&&(h=this._$AH[s]),r||(r=!g(h)||h!==this._$AH[s]),h===S?t=S:t!==S&&(t+=(null!=h?h:"")+n[s+1]),this._$AH[s]=h}r&&!o&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class j extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}const U=s?s.emptyScript:"";class I extends E{constructor(){super(...arguments),this.type=4}j(t){t&&t!==S?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}class M extends E{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=H(this,t,i,0))&&void 0!==e?e:S)===z)return;const o=this._$AH,n=t===S&&o!==S||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==S&&(o===S||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class O{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const R=r.litHtmlPolyfillSupport;null==R||R(W,F),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.4.0");
7
+ var n;const r=window,s=r.trustedTypes,h=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",l=`lit$${(Math.random()+"").slice(9)}$`,a="?"+l,p=`<${a}>`,y=document,g=()=>y.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,u="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,v=/>/g,b=RegExp(`>|${u}(?:([^\\s"'>=/]+)(${u}*=${u}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),x=/'/g,w=/"/g,z=/^(?:script|style|textarea|title)$/i,S=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),T=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),_=new WeakMap,W=y.createTreeWalker(y,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=$;for(let i=0;i<e;i++){const e=t[i];let h,a,y=-1,g=0;for(;g<e.length&&(s.lastIndex=g,a=s.exec(e),null!==a);)g=s.lastIndex,s===$?"!--"===a[1]?s=m:void 0!==a[1]?s=v:void 0!==a[2]?(z.test(a[2])&&(n=RegExp("</"+a[2],"g")),s=b):void 0!==a[3]&&(s=b):s===b?">"===a[0]?(s=null!=n?n:$,y=-1):void 0===a[1]?y=-2:(y=s.lastIndex-a[2].length,h=a[1],s=void 0===a[3]?b:'"'===a[3]?w:x):s===w||s===x?s=b:s===m||s===v?s=$:(s=b,n=void 0);const c=s===b&&t[i+1].startsWith("/>")?" ":"";r+=s===$?e+p:y>=0?(o.push(h),e.slice(0,y)+f+e.slice(y)+l+c):e+l+(-2===y?(o.push(void 0),i):c)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==h?h.createHTML(a):a,o]};class N{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const h=t.length-1,p=this.parts,[y,c]=H(t,i);if(this.el=N.createElement(y,e),W.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=W.nextNode())&&p.length<h;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(f)||i.startsWith(l)){const e=c[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+f).split(l),i=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?O:"@"===i[1]?R:j})}else p.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(z.test(o.tagName)){const t=o.textContent.split(l),i=t.length-1;if(i>0){o.textContent=s?s.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],g()),W.nextNode(),p.push({type:2,index:++n});o.append(t[i],g())}}}else if(8===o.nodeType)if(o.data===a)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(l,t+1));)p.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,i){const e=y.createElement("template");return e.innerHTML=t,e}}function F(t,i,e=t,o){var n,r,s,h;if(i===T)return i;let f=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const l=c(i)?void 0:i._$litDirective$;return(null==f?void 0:f.constructor)!==l&&(null===(r=null==f?void 0:f._$AO)||void 0===r||r.call(f,!1),void 0===l?f=void 0:(f=new l(t),f._$AT(t,e,o)),void 0!==o?(null!==(s=(h=e)._$Co)&&void 0!==s?s:h._$Co=[])[o]=f:e._$Cl=f),void 0!==f&&(i=F(t,f._$AS(t,i.values),f,o)),i}class E{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:y).importNode(e,!0);W.currentNode=n;let r=W.nextNode(),s=0,h=0,f=o[0];for(;void 0!==f;){if(s===f.index){let i;2===f.type?i=new U(r,r.nextSibling,this,t):1===f.type?i=new f.ctor(r,f.name,f.strings,this,t):6===f.type&&(i=new Z(r,this,t)),this._$AV.push(i),f=o[++h]}s!==(null==f?void 0:f.index)&&(r=W.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class U{constructor(t,i,e,o){var n;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=F(this,t,i),c(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>d(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&c(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=N.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new E(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=_.get(t.strings);return void 0===i&&_.set(t.strings,i=new N(t)),i}T(t){d(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new U(this.k(g()),this.k(g()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class j{constructor(t,i,e,o,n){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=F(this,t,i,0),r=!c(t)||t!==this._$AH&&t!==T,r&&(this._$AH=t);else{const o=t;let s,h;for(t=n[0],s=0;s<n.length-1;s++)h=F(this,o[e+s],i,s),h===T&&(h=this._$AH[s]),r||(r=!c(h)||h!==this._$AH[s]),h===A?t=A:t!==A&&(t+=(null!=h?h:"")+n[s+1]),this._$AH[s]=h}r&&!o&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const M=s?s.emptyScript:"";class O extends j{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,M):this.element.removeAttribute(this.name)}}class R extends j{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=F(this,t,i,0))&&void 0!==e?e:A)===T)return;const o=this._$AH,n=t===A&&o!==A||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==A&&(o===A||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){F(this,t)}}const C=r.litHtmlPolyfillSupport;null==C||C(N,U),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.7.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t._$litStatic$},G=t=>({_$litStatic$:t,r:Z}),k=new Map,K=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],h=[];let f,l=0,a=!1;for(;l<o;){for(f=i[l];l<o&&void 0!==(r=e[l],n=C(r));)f+=n+i[++l],a=!0;h.push(r),s.push(f),l++}if(l===o&&s.push(i[o]),a){const t=s.join("$$lit$$");void 0===(i=k.get(t))&&(s.raw=s,k.set(t,i=s)),e=h}return t(i,...e)})(w);var B;t.FtTypographyVariants=void 0,(B=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",B.title_dense="title-dense",B.subtitle1="subtitle1",B.subtitle2="subtitle2",B.body1="body1",B.body2="body2",B.caption="caption",B.breadcrumb="breadcrumb",B.overline="overline",B.button="button";const L=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),D={fontFamily:q,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},J={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-font-family",L),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-font-size",D.fontSize,"20px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",D.letterSpacing,"0.15px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-line-height",D.lineHeight,"1.2"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",D.textTransform,"inherit")},P={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",L),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",D.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",D.letterSpacing,"0.105px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",D.lineHeight,"1.7"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",D.textTransform,"inherit")},Q={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",D.fontSize,"16px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",D.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",D.letterSpacing,"0.144px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",D.lineHeight,"1.5"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",D.textTransform,"inherit")},V={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",D.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",D.letterSpacing,"0.098px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",D.lineHeight,"1.7"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",D.textTransform,"inherit")},X={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",D.fontSize,"16px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",D.letterSpacing,"0.496px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",D.lineHeight,"1.5"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",D.textTransform,"inherit")},Y={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",D.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",D.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",D.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",D.textTransform,"inherit")},tt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",D.fontSize,"12px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",D.letterSpacing,"0.396px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",D.lineHeight,"1.33"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",D.textTransform,"inherit")},it={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",D.fontSize,"10px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",D.letterSpacing,"0.33px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",D.lineHeight,"1.6"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",D.textTransform,"inherit")},et={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",D.fontSize,"10px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",D.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",D.letterSpacing,"1.5px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",D.lineHeight,"1.6"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",D.textTransform,"uppercase")},ot={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",D.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",D.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",D.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",D.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",D.textTransform,"uppercase")},nt=o.css`
13
+ const G=Symbol.for(""),k=t=>{if((null==t?void 0:t.r)===G)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:G}),B=new Map,L=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],h=[];let f,l=0,a=!1;for(;l<o;){for(f=i[l];l<o&&void 0!==(r=e[l],n=k(r));)f+=n+i[++l],a=!0;l!==o&&h.push(r),s.push(f),l++}if(l===o&&s.push(i[o]),a){const t=s.join("$$lit$$");void 0===(i=B.get(t))&&(s.raw=s,B.set(t,i=s)),e=h}return t(i,...e)})(S);var q;t.FtTypographyVariants=void 0,(q=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",q.title_dense="title-dense",q.subtitle1="subtitle1",q.subtitle2="subtitle2",q.body1="body1",q.body2="body2",q.caption="caption",q.breadcrumb="breadcrumb",q.overline="overline",q.button="button";const D=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),J=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),P={fontFamily:J,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Q={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-font-family",D),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-font-size",P.fontSize,"20px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",P.letterSpacing,"0.15px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-line-height",P.lineHeight,"1.2"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",P.textTransform,"inherit")},V={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",D),fontSize:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",P.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",P.letterSpacing,"0.105px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",P.lineHeight,"1.7"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",P.textTransform,"inherit")},X={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",P.fontSize,"16px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",P.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",P.letterSpacing,"0.144px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",P.lineHeight,"1.5"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",P.textTransform,"inherit")},Y={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",P.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",P.letterSpacing,"0.098px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",P.lineHeight,"1.7"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",P.textTransform,"inherit")},tt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",P.fontSize,"16px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",P.letterSpacing,"0.496px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",P.lineHeight,"1.5"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",P.textTransform,"inherit")},it={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",P.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",P.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",P.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",P.textTransform,"inherit")},et={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",P.fontSize,"12px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",P.letterSpacing,"0.396px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",P.lineHeight,"1.33"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",P.textTransform,"inherit")},ot={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",P.fontSize,"10px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",P.letterSpacing,"0.33px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",P.lineHeight,"1.6"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",P.textTransform,"inherit")},nt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",P.fontSize,"10px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",P.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",P.letterSpacing,"1.5px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",P.lineHeight,"1.6"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",P.textTransform,"uppercase")},rt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",J),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",P.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",P.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",P.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",P.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",P.textTransform,"uppercase")},st=o.css`
14
14
  .ft-typography--title {
15
- font-family: ${J.fontFamily};
16
- font-size: ${J.fontSize};
17
- font-weight: ${J.fontWeight};
18
- letter-spacing: ${J.letterSpacing};
19
- line-height: ${J.lineHeight};
20
- text-transform: ${J.textTransform};
21
- }
22
- `,rt=o.css`
23
- .ft-typography--title-dense {
24
- font-family: ${P.fontFamily};
25
- font-size: ${P.fontSize};
26
- font-weight: ${P.fontWeight};
27
- letter-spacing: ${P.letterSpacing};
28
- line-height: ${P.lineHeight};
29
- text-transform: ${P.textTransform};
30
- }
31
- `,st=o.css`
32
- .ft-typography--subtitle1 {
33
15
  font-family: ${Q.fontFamily};
34
16
  font-size: ${Q.fontSize};
35
17
  font-weight: ${Q.fontWeight};
@@ -38,7 +20,7 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
38
20
  text-transform: ${Q.textTransform};
39
21
  }
40
22
  `,ht=o.css`
41
- .ft-typography--subtitle2 {
23
+ .ft-typography--title-dense {
42
24
  font-family: ${V.fontFamily};
43
25
  font-size: ${V.fontSize};
44
26
  font-weight: ${V.fontWeight};
@@ -46,9 +28,8 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
46
28
  line-height: ${V.lineHeight};
47
29
  text-transform: ${V.textTransform};
48
30
  }
49
-
50
31
  `,ft=o.css`
51
- .ft-typography--body1 {
32
+ .ft-typography--subtitle1 {
52
33
  font-family: ${X.fontFamily};
53
34
  font-size: ${X.fontSize};
54
35
  font-weight: ${X.fontWeight};
@@ -57,7 +38,7 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
57
38
  text-transform: ${X.textTransform};
58
39
  }
59
40
  `,lt=o.css`
60
- .ft-typography--body2 {
41
+ .ft-typography--subtitle2 {
61
42
  font-family: ${Y.fontFamily};
62
43
  font-size: ${Y.fontSize};
63
44
  font-weight: ${Y.fontWeight};
@@ -65,8 +46,9 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
65
46
  line-height: ${Y.lineHeight};
66
47
  text-transform: ${Y.textTransform};
67
48
  }
49
+
68
50
  `,at=o.css`
69
- .ft-typography--caption {
51
+ .ft-typography--body1 {
70
52
  font-family: ${tt.fontFamily};
71
53
  font-size: ${tt.fontSize};
72
54
  font-weight: ${tt.fontWeight};
@@ -75,7 +57,7 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
75
57
  text-transform: ${tt.textTransform};
76
58
  }
77
59
  `,pt=o.css`
78
- .ft-typography--breadcrumb {
60
+ .ft-typography--body2 {
79
61
  font-family: ${it.fontFamily};
80
62
  font-size: ${it.fontSize};
81
63
  font-weight: ${it.fontWeight};
@@ -84,7 +66,7 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
84
66
  text-transform: ${it.textTransform};
85
67
  }
86
68
  `,yt=o.css`
87
- .ft-typography--overline {
69
+ .ft-typography--caption {
88
70
  font-family: ${et.fontFamily};
89
71
  font-size: ${et.fontSize};
90
72
  font-weight: ${et.fontWeight};
@@ -93,7 +75,7 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
93
75
  text-transform: ${et.textTransform};
94
76
  }
95
77
  `,gt=o.css`
96
- .ft-typography--button {
78
+ .ft-typography--breadcrumb {
97
79
  font-family: ${ot.fontFamily};
98
80
  font-size: ${ot.fontSize};
99
81
  font-weight: ${ot.fontWeight};
@@ -102,14 +84,32 @@ const Z=Symbol.for(""),C=t=>{if((null==t?void 0:t.r)===Z)return null==t?void 0:t
102
84
  text-transform: ${ot.textTransform};
103
85
  }
104
86
  `,ct=o.css`
87
+ .ft-typography--overline {
88
+ font-family: ${nt.fontFamily};
89
+ font-size: ${nt.fontSize};
90
+ font-weight: ${nt.fontWeight};
91
+ letter-spacing: ${nt.letterSpacing};
92
+ line-height: ${nt.lineHeight};
93
+ text-transform: ${nt.textTransform};
94
+ }
95
+ `,dt=o.css`
96
+ .ft-typography--button {
97
+ font-family: ${rt.fontFamily};
98
+ font-size: ${rt.fontSize};
99
+ font-weight: ${rt.fontWeight};
100
+ letter-spacing: ${rt.letterSpacing};
101
+ line-height: ${rt.lineHeight};
102
+ text-transform: ${rt.textTransform};
103
+ }
104
+ `,ut=o.css`
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `;var dt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class ut extends i.FtLitElement{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?K`
109
- <${G(this.element)}
108
+ `;var $t=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(n=t[h])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class mt extends i.FtLitElement{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?L`
109
+ <${K(this.element)}
110
110
  class="ft-typography ft-typography--${this.variant}">
111
111
  <slot></slot>
112
- </${G(this.element)}>
113
- `:K`
112
+ </${K(this.element)}>
113
+ `:L`
114
114
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}ut.styles=[nt,rt,st,ht,ft,lt,at,pt,yt,gt,ct],dt([e.property()],ut.prototype,"element",void 0),dt([e.property()],ut.prototype,"variant",void 0),i.customElement("ft-typography")(ut),t.FtTypography=ut,t.FtTypographyBody1=ft,t.FtTypographyBody1CssVariables=X,t.FtTypographyBody2=lt,t.FtTypographyBody2CssVariables=Y,t.FtTypographyBreadcrumb=pt,t.FtTypographyBreadcrumbCssVariables=it,t.FtTypographyButton=gt,t.FtTypographyButtonCssVariables=ot,t.FtTypographyCaption=at,t.FtTypographyCaptionCssVariables=tt,t.FtTypographyCssVariables=D,t.FtTypographyOverline=yt,t.FtTypographyOverlineCssVariables=et,t.FtTypographyStyles=ct,t.FtTypographySubtitle1=st,t.FtTypographySubtitle1CssVariables=Q,t.FtTypographySubtitle2=ht,t.FtTypographySubtitle2CssVariables=V,t.FtTypographyTitle=nt,t.FtTypographyTitleCssVariables=J,t.FtTypographyTitleDense=rt,t.FtTypographyTitleDenseCssVariables=P,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.litDecorators,ftGlobals.lit);
115
+ `}}mt.styles=[st,ht,ft,lt,at,pt,yt,gt,ct,dt,ut],$t([e.property()],mt.prototype,"element",void 0),$t([e.property()],mt.prototype,"variant",void 0),i.customElement("ft-typography")(mt),t.FtTypography=mt,t.FtTypographyBody1=at,t.FtTypographyBody1CssVariables=tt,t.FtTypographyBody2=pt,t.FtTypographyBody2CssVariables=it,t.FtTypographyBreadcrumb=gt,t.FtTypographyBreadcrumbCssVariables=ot,t.FtTypographyButton=dt,t.FtTypographyButtonCssVariables=rt,t.FtTypographyCaption=yt,t.FtTypographyCaptionCssVariables=et,t.FtTypographyCssVariables=P,t.FtTypographyOverline=ct,t.FtTypographyOverlineCssVariables=nt,t.FtTypographyStyles=ut,t.FtTypographySubtitle1=ft,t.FtTypographySubtitle1CssVariables=X,t.FtTypographySubtitle2=lt,t.FtTypographySubtitle2CssVariables=Y,t.FtTypographyTitle=st,t.FtTypographyTitleCssVariables=Q,t.FtTypographyTitleDense=ht,t.FtTypographyTitleDenseCssVariables=V}({},ftGlobals.wcUtils,ftGlobals.litDecorators,ftGlobals.lit);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)r.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?d(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(yt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(s.set(n,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)r.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?d(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const m=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ot){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -30,34 +30,24 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
30
30
  * Copyright 2019 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
32
  */
33
- const s=window,a=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new WeakMap;class c{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&h.set(e,t))}return t}toString(){return this.cssText}}const p=t=>new c("string"==typeof t?t:t+"",void 0,l),f=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new c(i,t,l)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=s.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},d=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
33
+ const s=window,a=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new WeakMap;let c=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=h.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&h.set(e,t))}return t}toString(){return this.cssText}};const p=t=>new c("string"==typeof t?t:t+"",void 0,l),f=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new c(i,t,l)},u=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=s.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},d=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */;var y;const g=window,v=g.trustedTypes,m=v?v.emptyScript:"",b=g.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w};class $ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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 e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=O){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:x).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:x;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(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,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.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,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
38
+ */;var y;const g=window,v=g.trustedTypes,m=v?v.emptyScript:"",b=g.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},w=(t,e)=>e!==t&&(e==e||t==t),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w};let S=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||O}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,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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 e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return u(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=O){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:x).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:x;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(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,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.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,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
43
  */
44
- var S;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:$}),(null!==(y=g.reactiveElementVersions)&&void 0!==y?y:g.reactiveElementVersions=[]).push("1.4.1");const N=window,E=N.trustedTypes,C=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,M="?"+R,F=`<${M}>`,U=document,k=(t="")=>U.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,T=/>/g,W=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),P=/'/g,H=/"/g,B=/^(?:script|style|textarea|title)$/i,_=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),D=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),I=new WeakMap,Z=U.createTreeWalker(U,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=j;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===j?"!--"===l[1]?s=L:void 0!==l[1]?s=T:void 0!==l[2]?(B.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=W):void 0!==l[3]&&(s=W):s===W?">"===l[0]?(s=null!=n?n:j,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?W:'"'===l[3]?H:P):s===H||s===P?s=W:s===L||s===T?s=j:(s=W,n=void 0);const p=s===W&&t[e+1].startsWith("/>")?" ":"";r+=s===j?i+F:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+R+p):i+R+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=J.createElement(l,i),Z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Z.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?Y:"?"===e[1]?et:"@"===e[1]?it:Q})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(B.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],k()),Z.nextNode(),a.push({type:2,index:++n});o.append(t[e],k())}}}else if(8===o.nodeType)if(o.data===M)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)a.push({type:7,index:n}),t+=R.length-1}n++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function q(t,e,i=t,o){var n,r,s,a;if(e===D)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=z(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,o)),e}class X{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);Z.currentNode=n;let r=Z.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new G(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new ot(r,this,t)),this.u.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Z.nextNode(),s++)}return n}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class G{constructor(t,e,i,o){var n;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),z(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==D&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==K&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new X(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new J(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new G(this.O(k()),this.O(k()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Q{constructor(t,e,i,o,n){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=q(this,t,e,0),r=!z(t)||t!==this._$AH&&t!==D,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=q(this,o[i+s],e,s),a===D&&(a=this._$AH[s]),r||(r=!z(a)||a!==this._$AH[s]),a===K?t=K:t!==K&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends Q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===K?void 0:t}}const tt=E?E.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==K?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class it extends Q{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=q(this,t,e,0))&&void 0!==i?i:K)===D)return;const o=this._$AH,n=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ot{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const nt=N.litHtmlPolyfillSupport;null==nt||nt(J,G),(null!==(S=N.litHtmlVersions)&&void 0!==S?S:N.litHtmlVersions=[]).push("2.4.0");
44
+ var $;S.finalized=!0,S.elementProperties=new Map,S.elementStyles=[],S.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:S}),(null!==(y=g.reactiveElementVersions)&&void 0!==y?y:g.reactiveElementVersions=[]).push("1.6.1");const N=window,E=N.trustedTypes,C=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,R="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,F="?"+M,U=`<${F}>`,k=document,z=()=>k.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,W=/>/g,H=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,_=/"/g,D=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),V=new WeakMap,J=k.createTreeWalker(k,129,null,!1),q=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=T;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===T?"!--"===l[1]?s=P:void 0!==l[1]?s=W:void 0!==l[2]?(D.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=H):void 0!==l[3]&&(s=H):s===H?">"===l[0]?(s=null!=n?n:T,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?H:'"'===l[3]?_:B):s===_||s===B?s=H:s===P||s===W?s=T:(s=H,n=void 0);const p=s===H&&t[e+1].startsWith("/>")?" ":"";r+=s===T?i+U:h>=0?(o.push(a),i.slice(0,h)+R+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,o]};class X{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=J.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(R)||e.startsWith(M)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+R).split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?ot:"@"===e[1]?nt:tt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(D.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=E?E.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],z()),J.nextNode(),a.push({type:2,index:++n});o.append(t[e],z())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,e){const i=k.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,o){var n,r,s,a;if(e===I)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=A(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=G(t,l._$AS(t,e.values),l,o)),e}class Q{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:k).importNode(i,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new Y(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new rt(r,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,o){var n;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),A(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>L(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new Q(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new X(t)),e}T(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new Y(this.k(z()),this.k(z()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,o,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=G(this,t,e,0),r=!A(t)||t!==this._$AH&&t!==I,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=G(this,o[i+s],e,s),a===I&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===Z?t=Z:t!==Z&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Z?void 0:t}}const it=E?E.emptyScript:"";class ot extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Z?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:Z)===I)return;const o=this._$AH,n=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Z&&(o===Z||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){G(this,t)}}const st=N.litHtmlPolyfillSupport;null==st||st(X,Y),(null!==($=N.litHtmlVersions)&&void 0!==$?$:N.litHtmlVersions=[]).push("2.7.3");
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
49
  */
50
- var rt,st;class at extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new G(e.insertBefore(k(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return D}}at.finalized=!0,at._$litElement$=!0,null===(rt=globalThis.litElementHydrateSupport)||void 0===rt||rt.call(globalThis,{LitElement:at});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:at}),(null!==(st=globalThis.litElementVersions)&&void 0!==st?st:globalThis.litElementVersions=[]).push("3.2.2");class ht{static create(t,e,i){let o=t=>p(null!=t?t:i),n=f`var(${p(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>f`var(${p(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=f`var(${p(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>f`var(${p(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):p(null!=e?e:t.defaultValue),o=f`var(${p(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>f`var(${p(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const ct={colorPrimary:ht.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ht.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ht.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ht.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ht.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ht.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ht.create("--ft-color-error","COLOR","#B00020"),colorOutline:ht.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ht.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ht.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ht.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ht.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ht.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ht.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ht.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ht.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ht.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ht.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ht.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ht.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ht.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ht.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ht.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ht.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ht.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ht.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ht.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ht.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ht.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ht.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ht.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ht.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ht.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ht.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ht.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ht.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ht.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ht.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ht.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ht.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ht.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ht.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ht.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ht.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ht.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ht.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ht.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ht.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ht.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ht.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ht.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ht.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ht.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ht.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ht.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ht.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ht.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ht.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ht.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ht.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ht.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ht.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
51
- /**
52
- * @license
53
- * Copyright 2021 Google LLC
54
- * SPDX-License-Identifier: BSD-3-Clause
55
- */var pt,ft,ut=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return u(n,this.constructor.elementStyles),n}}}(at)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),_`
56
- ${t.map((t=>_`
57
- <style>${t}</style>
58
- `))}
59
- ${this.getTemplate()}
60
- `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}ut([o()],dt.prototype,"exportpartsPrefix",void 0),ut([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!r(t,e),...null!=e?e:{}})}([])],dt.prototype,"exportpartsPrefixes",void 0),ut([o()],dt.prototype,"customStylesheet",void 0),f`
50
+ var at,lt;let ht=class extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new Y(e.insertBefore(z(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return I}};ht.finalized=!0,ht._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ht});const ct=globalThis.litElementPolyfillSupport;null==ct||ct({LitElement:ht}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.3.2");class pt{static create(t,e,i){let o=t=>p(null!=t?t:i),n=f`var(${p(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>f`var(${p(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=f`var(${p(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>f`var(${p(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):p(null!=e?e:t.defaultValue),o=f`var(${p(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>f`var(${p(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const ft={colorPrimary:pt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:pt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:pt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:pt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pt.create("--ft-color-error","COLOR","#B00020"),colorOutline:pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:pt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:pt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:pt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:pt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:pt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:pt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:pt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:pt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:pt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:pt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:pt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:pt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:pt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:pt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:pt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class ut extends ht{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return u(i,t.elementStyles),i}}var dt,yt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const gt=Symbol("constructorPrototype"),vt=Symbol("constructorName"),mt=Symbol("exportpartsDebouncer");class bt extends ut{constructor(){super(),this[dt]=new e(5),this[vt]=this.constructor.name,this[gt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vt]&&Object.setPrototypeOf(this,this[gt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[mt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var xt,wt;dt=mt,yt([o()],bt.prototype,"exportpartsPrefix",void 0),yt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!r(t,e),...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0),yt([o()],bt.prototype,"customStylesheet",void 0),f`
61
51
  .ft-no-text-select {
62
52
  -webkit-touch-callout: none;
63
53
  -webkit-user-select: none;
@@ -89,78 +79,14 @@ var rt,st;class at extends ${constructor(){super(...arguments),this.renderOption
89
79
  display: inline-block;
90
80
  width: 0;
91
81
  }
92
- `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ft=null===(pt=window.safari)||void 0===pt?void 0:pt.pushNotification)||void 0===ft||ft.toString());
82
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(wt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===wt||wt.toString());
93
83
  /**
94
84
  * @license
95
85
  * Copyright 2020 Google LLC
96
86
  * SPDX-License-Identifier: BSD-3-Clause
97
87
  */
98
- const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void 0:t._$litStatic$},vt=t=>({_$litStatic$:t,r:yt}),mt=new Map,bt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=gt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=mt.get(t))&&(s.raw=s,mt.set(t,e=s)),i=a}return t(e,...i)})(_);var xt;t.FtTypographyVariants=void 0,(xt=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",xt.title_dense="title-dense",xt.subtitle1="subtitle1",xt.subtitle2="subtitle2",xt.body1="body1",xt.body2="body2",xt.caption="caption",xt.breadcrumb="breadcrumb",xt.overline="overline",xt.button="button";const wt=ht.extend("--ft-typography-font-family",ct.titleFont),Ot=ht.extend("--ft-typography-font-family",ct.contentFont),$t={fontFamily:Ot,fontSize:ht.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ht.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ht.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ht.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ht.create("--ft-typography-text-transform","UNKNOWN","inherit")},St={fontFamily:ht.extend("--ft-typography-title-font-family",wt),fontSize:ht.extend("--ft-typography-title-font-size",$t.fontSize,"20px"),fontWeight:ht.extend("--ft-typography-title-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-title-letter-spacing",$t.letterSpacing,"0.15px"),lineHeight:ht.extend("--ft-typography-title-line-height",$t.lineHeight,"1.2"),textTransform:ht.extend("--ft-typography-title-text-transform",$t.textTransform,"inherit")},Nt={fontFamily:ht.extend("--ft-typography-title-dense-font-family",wt),fontSize:ht.extend("--ft-typography-title-dense-font-size",$t.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-title-dense-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-title-dense-letter-spacing",$t.letterSpacing,"0.105px"),lineHeight:ht.extend("--ft-typography-title-dense-line-height",$t.lineHeight,"1.7"),textTransform:ht.extend("--ft-typography-title-dense-text-transform",$t.textTransform,"inherit")},Et={fontFamily:ht.extend("--ft-typography-subtitle1-font-family",Ot),fontSize:ht.extend("--ft-typography-subtitle1-font-size",$t.fontSize,"16px"),fontWeight:ht.extend("--ft-typography-subtitle1-font-weight",$t.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-subtitle1-letter-spacing",$t.letterSpacing,"0.144px"),lineHeight:ht.extend("--ft-typography-subtitle1-line-height",$t.lineHeight,"1.5"),textTransform:ht.extend("--ft-typography-subtitle1-text-transform",$t.textTransform,"inherit")},Ct={fontFamily:ht.extend("--ft-typography-subtitle2-font-family",Ot),fontSize:ht.extend("--ft-typography-subtitle2-font-size",$t.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-subtitle2-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-subtitle2-letter-spacing",$t.letterSpacing,"0.098px"),lineHeight:ht.extend("--ft-typography-subtitle2-line-height",$t.lineHeight,"1.7"),textTransform:ht.extend("--ft-typography-subtitle2-text-transform",$t.textTransform,"inherit")},Rt={fontFamily:ht.extend("--ft-typography-body1-font-family",Ot),fontSize:ht.extend("--ft-typography-body1-font-size",$t.fontSize,"16px"),fontWeight:ht.extend("--ft-typography-body1-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-body1-letter-spacing",$t.letterSpacing,"0.496px"),lineHeight:ht.extend("--ft-typography-body1-line-height",$t.lineHeight,"1.5"),textTransform:ht.extend("--ft-typography-body1-text-transform",$t.textTransform,"inherit")},Mt={fontFamily:ht.extend("--ft-typography-body2-font-family",Ot),fontSize:ht.extend("--ft-typography-body2-font-size",$t.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-body2-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-body2-letter-spacing",$t.letterSpacing,"0.252px"),lineHeight:ht.extend("--ft-typography-body2-line-height",$t.lineHeight,"1.4"),textTransform:ht.extend("--ft-typography-body2-text-transform",$t.textTransform,"inherit")},Ft={fontFamily:ht.extend("--ft-typography-caption-font-family",Ot),fontSize:ht.extend("--ft-typography-caption-font-size",$t.fontSize,"12px"),fontWeight:ht.extend("--ft-typography-caption-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-caption-letter-spacing",$t.letterSpacing,"0.396px"),lineHeight:ht.extend("--ft-typography-caption-line-height",$t.lineHeight,"1.33"),textTransform:ht.extend("--ft-typography-caption-text-transform",$t.textTransform,"inherit")},Ut={fontFamily:ht.extend("--ft-typography-breadcrumb-font-family",Ot),fontSize:ht.extend("--ft-typography-breadcrumb-font-size",$t.fontSize,"10px"),fontWeight:ht.extend("--ft-typography-breadcrumb-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-breadcrumb-letter-spacing",$t.letterSpacing,"0.33px"),lineHeight:ht.extend("--ft-typography-breadcrumb-line-height",$t.lineHeight,"1.6"),textTransform:ht.extend("--ft-typography-breadcrumb-text-transform",$t.textTransform,"inherit")},kt={fontFamily:ht.extend("--ft-typography-overline-font-family",Ot),fontSize:ht.extend("--ft-typography-overline-font-size",$t.fontSize,"10px"),fontWeight:ht.extend("--ft-typography-overline-font-weight",$t.fontWeight,"normal"),letterSpacing:ht.extend("--ft-typography-overline-letter-spacing",$t.letterSpacing,"1.5px"),lineHeight:ht.extend("--ft-typography-overline-line-height",$t.lineHeight,"1.6"),textTransform:ht.extend("--ft-typography-overline-text-transform",$t.textTransform,"uppercase")},zt={fontFamily:ht.extend("--ft-typography-button-font-family",Ot),fontSize:ht.extend("--ft-typography-button-font-size",$t.fontSize,"14px"),fontWeight:ht.extend("--ft-typography-button-font-weight",$t.fontWeight,"600"),letterSpacing:ht.extend("--ft-typography-button-letter-spacing",$t.letterSpacing,"1.246px"),lineHeight:ht.extend("--ft-typography-button-line-height",$t.lineHeight,"1.15"),textTransform:ht.extend("--ft-typography-button-text-transform",$t.textTransform,"uppercase")},At=f`
88
+ const Ot=Symbol.for(""),St=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void 0:t._$litStatic$},$t=t=>({_$litStatic$:t,r:Ot}),Nt=new Map,Et=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=St(r));)l+=n+e[++h],c=!0;h!==o&&a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=Nt.get(t))&&(s.raw=s,Nt.set(t,e=s)),i=a}return t(e,...i)})(K);var Ct;t.FtTypographyVariants=void 0,(Ct=t.FtTypographyVariants||(t.FtTypographyVariants={})).title="title",Ct.title_dense="title-dense",Ct.subtitle1="subtitle1",Ct.subtitle2="subtitle2",Ct.body1="body1",Ct.body2="body2",Ct.caption="caption",Ct.breadcrumb="breadcrumb",Ct.overline="overline",Ct.button="button";const Rt=pt.extend("--ft-typography-font-family",ft.titleFont),Mt=pt.extend("--ft-typography-font-family",ft.contentFont),Ft={fontFamily:Mt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ut={fontFamily:pt.extend("--ft-typography-title-font-family",Rt),fontSize:pt.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),fontWeight:pt.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),lineHeight:pt.extend("--ft-typography-title-line-height",Ft.lineHeight,"1.2"),textTransform:pt.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit")},kt={fontFamily:pt.extend("--ft-typography-title-dense-font-family",Rt),fontSize:pt.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),lineHeight:pt.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"1.7"),textTransform:pt.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit")},zt={fontFamily:pt.extend("--ft-typography-subtitle1-font-family",Mt),fontSize:pt.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),fontWeight:pt.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),letterSpacing:pt.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),lineHeight:pt.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"1.5"),textTransform:pt.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit")},At={fontFamily:pt.extend("--ft-typography-subtitle2-font-family",Mt),fontSize:pt.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),lineHeight:pt.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"1.7"),textTransform:pt.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit")},Lt={fontFamily:pt.extend("--ft-typography-body1-font-family",Mt),fontSize:pt.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),fontWeight:pt.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),lineHeight:pt.extend("--ft-typography-body1-line-height",Ft.lineHeight,"1.5"),textTransform:pt.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit")},jt={fontFamily:pt.extend("--ft-typography-body2-font-family",Mt),fontSize:pt.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),lineHeight:pt.extend("--ft-typography-body2-line-height",Ft.lineHeight,"1.4"),textTransform:pt.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit")},Tt={fontFamily:pt.extend("--ft-typography-caption-font-family",Mt),fontSize:pt.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),fontWeight:pt.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),lineHeight:pt.extend("--ft-typography-caption-line-height",Ft.lineHeight,"1.33"),textTransform:pt.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit")},Pt={fontFamily:pt.extend("--ft-typography-breadcrumb-font-family",Mt),fontSize:pt.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),fontWeight:pt.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),lineHeight:pt.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"1.6"),textTransform:pt.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit")},Wt={fontFamily:pt.extend("--ft-typography-overline-font-family",Mt),fontSize:pt.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),fontWeight:pt.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),letterSpacing:pt.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),lineHeight:pt.extend("--ft-typography-overline-line-height",Ft.lineHeight,"1.6"),textTransform:pt.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase")},Ht={fontFamily:pt.extend("--ft-typography-button-font-family",Mt),fontSize:pt.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:pt.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:pt.extend("--ft-typography-button-line-height",Ft.lineHeight,"1.15"),textTransform:pt.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},Bt=f`
99
89
  .ft-typography--title {
100
- font-family: ${St.fontFamily};
101
- font-size: ${St.fontSize};
102
- font-weight: ${St.fontWeight};
103
- letter-spacing: ${St.letterSpacing};
104
- line-height: ${St.lineHeight};
105
- text-transform: ${St.textTransform};
106
- }
107
- `,jt=f`
108
- .ft-typography--title-dense {
109
- font-family: ${Nt.fontFamily};
110
- font-size: ${Nt.fontSize};
111
- font-weight: ${Nt.fontWeight};
112
- letter-spacing: ${Nt.letterSpacing};
113
- line-height: ${Nt.lineHeight};
114
- text-transform: ${Nt.textTransform};
115
- }
116
- `,Lt=f`
117
- .ft-typography--subtitle1 {
118
- font-family: ${Et.fontFamily};
119
- font-size: ${Et.fontSize};
120
- font-weight: ${Et.fontWeight};
121
- letter-spacing: ${Et.letterSpacing};
122
- line-height: ${Et.lineHeight};
123
- text-transform: ${Et.textTransform};
124
- }
125
- `,Tt=f`
126
- .ft-typography--subtitle2 {
127
- font-family: ${Ct.fontFamily};
128
- font-size: ${Ct.fontSize};
129
- font-weight: ${Ct.fontWeight};
130
- letter-spacing: ${Ct.letterSpacing};
131
- line-height: ${Ct.lineHeight};
132
- text-transform: ${Ct.textTransform};
133
- }
134
-
135
- `,Wt=f`
136
- .ft-typography--body1 {
137
- font-family: ${Rt.fontFamily};
138
- font-size: ${Rt.fontSize};
139
- font-weight: ${Rt.fontWeight};
140
- letter-spacing: ${Rt.letterSpacing};
141
- line-height: ${Rt.lineHeight};
142
- text-transform: ${Rt.textTransform};
143
- }
144
- `,Pt=f`
145
- .ft-typography--body2 {
146
- font-family: ${Mt.fontFamily};
147
- font-size: ${Mt.fontSize};
148
- font-weight: ${Mt.fontWeight};
149
- letter-spacing: ${Mt.letterSpacing};
150
- line-height: ${Mt.lineHeight};
151
- text-transform: ${Mt.textTransform};
152
- }
153
- `,Ht=f`
154
- .ft-typography--caption {
155
- font-family: ${Ft.fontFamily};
156
- font-size: ${Ft.fontSize};
157
- font-weight: ${Ft.fontWeight};
158
- letter-spacing: ${Ft.letterSpacing};
159
- line-height: ${Ft.lineHeight};
160
- text-transform: ${Ft.textTransform};
161
- }
162
- `,Bt=f`
163
- .ft-typography--breadcrumb {
164
90
  font-family: ${Ut.fontFamily};
165
91
  font-size: ${Ut.fontSize};
166
92
  font-weight: ${Ut.fontWeight};
@@ -169,7 +95,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
169
95
  text-transform: ${Ut.textTransform};
170
96
  }
171
97
  `,_t=f`
172
- .ft-typography--overline {
98
+ .ft-typography--title-dense {
173
99
  font-family: ${kt.fontFamily};
174
100
  font-size: ${kt.fontSize};
175
101
  font-weight: ${kt.fontWeight};
@@ -178,7 +104,7 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
178
104
  text-transform: ${kt.textTransform};
179
105
  }
180
106
  `,Dt=f`
181
- .ft-typography--button {
107
+ .ft-typography--subtitle1 {
182
108
  font-family: ${zt.fontFamily};
183
109
  font-size: ${zt.fontSize};
184
110
  font-weight: ${zt.fontWeight};
@@ -187,14 +113,78 @@ const yt=Symbol.for(""),gt=t=>{if((null==t?void 0:t.r)===yt)return null==t?void
187
113
  text-transform: ${zt.textTransform};
188
114
  }
189
115
  `,Kt=f`
116
+ .ft-typography--subtitle2 {
117
+ font-family: ${At.fontFamily};
118
+ font-size: ${At.fontSize};
119
+ font-weight: ${At.fontWeight};
120
+ letter-spacing: ${At.letterSpacing};
121
+ line-height: ${At.lineHeight};
122
+ text-transform: ${At.textTransform};
123
+ }
124
+
125
+ `,It=f`
126
+ .ft-typography--body1 {
127
+ font-family: ${Lt.fontFamily};
128
+ font-size: ${Lt.fontSize};
129
+ font-weight: ${Lt.fontWeight};
130
+ letter-spacing: ${Lt.letterSpacing};
131
+ line-height: ${Lt.lineHeight};
132
+ text-transform: ${Lt.textTransform};
133
+ }
134
+ `,Zt=f`
135
+ .ft-typography--body2 {
136
+ font-family: ${jt.fontFamily};
137
+ font-size: ${jt.fontSize};
138
+ font-weight: ${jt.fontWeight};
139
+ letter-spacing: ${jt.letterSpacing};
140
+ line-height: ${jt.lineHeight};
141
+ text-transform: ${jt.textTransform};
142
+ }
143
+ `,Vt=f`
144
+ .ft-typography--caption {
145
+ font-family: ${Tt.fontFamily};
146
+ font-size: ${Tt.fontSize};
147
+ font-weight: ${Tt.fontWeight};
148
+ letter-spacing: ${Tt.letterSpacing};
149
+ line-height: ${Tt.lineHeight};
150
+ text-transform: ${Tt.textTransform};
151
+ }
152
+ `,Jt=f`
153
+ .ft-typography--breadcrumb {
154
+ font-family: ${Pt.fontFamily};
155
+ font-size: ${Pt.fontSize};
156
+ font-weight: ${Pt.fontWeight};
157
+ letter-spacing: ${Pt.letterSpacing};
158
+ line-height: ${Pt.lineHeight};
159
+ text-transform: ${Pt.textTransform};
160
+ }
161
+ `,qt=f`
162
+ .ft-typography--overline {
163
+ font-family: ${Wt.fontFamily};
164
+ font-size: ${Wt.fontSize};
165
+ font-weight: ${Wt.fontWeight};
166
+ letter-spacing: ${Wt.letterSpacing};
167
+ line-height: ${Wt.lineHeight};
168
+ text-transform: ${Wt.textTransform};
169
+ }
170
+ `,Xt=f`
171
+ .ft-typography--button {
172
+ font-family: ${Ht.fontFamily};
173
+ font-size: ${Ht.fontSize};
174
+ font-weight: ${Ht.fontWeight};
175
+ letter-spacing: ${Ht.letterSpacing};
176
+ line-height: ${Ht.lineHeight};
177
+ text-transform: ${Ht.textTransform};
178
+ }
179
+ `,Gt=f`
190
180
  .ft-typography {
191
181
  vertical-align: inherit;
192
182
  }
193
- `;var It,Zt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Vt extends dt{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?bt`
194
- <${vt(this.element)}
183
+ `;var Qt,Yt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class te extends bt{constructor(){super(...arguments),this.variant=t.FtTypographyVariants.body1}render(){return this.element?Et`
184
+ <${$t(this.element)}
195
185
  class="ft-typography ft-typography--${this.variant}">
196
186
  <slot></slot>
197
- </${vt(this.element)}>
198
- `:bt`
187
+ </${$t(this.element)}>
188
+ `:Et`
199
189
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
200
- `}}Vt.styles=[At,jt,Lt,Tt,Wt,Pt,Ht,Bt,_t,Dt,Kt],Zt([o()],Vt.prototype,"element",void 0),Zt([o()],Vt.prototype,"variant",void 0),(It="ft-typography",t=>{window.customElements.get(It)||window.customElements.define(It,t)})(Vt),t.FtTypography=Vt,t.FtTypographyBody1=Wt,t.FtTypographyBody1CssVariables=Rt,t.FtTypographyBody2=Pt,t.FtTypographyBody2CssVariables=Mt,t.FtTypographyBreadcrumb=Bt,t.FtTypographyBreadcrumbCssVariables=Ut,t.FtTypographyButton=Dt,t.FtTypographyButtonCssVariables=zt,t.FtTypographyCaption=Ht,t.FtTypographyCaptionCssVariables=Ft,t.FtTypographyCssVariables=$t,t.FtTypographyOverline=_t,t.FtTypographyOverlineCssVariables=kt,t.FtTypographyStyles=Kt,t.FtTypographySubtitle1=Lt,t.FtTypographySubtitle1CssVariables=Et,t.FtTypographySubtitle2=Tt,t.FtTypographySubtitle2CssVariables=Ct,t.FtTypographyTitle=At,t.FtTypographyTitleCssVariables=St,t.FtTypographyTitleDense=jt,t.FtTypographyTitleDenseCssVariables=Nt,Object.defineProperty(t,"i",{value:!0})}({});
190
+ `}}te.styles=[Bt,_t,Dt,Kt,It,Zt,Vt,Jt,qt,Xt,Gt],Yt([o()],te.prototype,"element",void 0),Yt([o()],te.prototype,"variant",void 0),(Qt="ft-typography",t=>{window.customElements.get(Qt)||window.customElements.define(Qt,t)})(te),t.FtTypography=te,t.FtTypographyBody1=It,t.FtTypographyBody1CssVariables=Lt,t.FtTypographyBody2=Zt,t.FtTypographyBody2CssVariables=jt,t.FtTypographyBreadcrumb=Jt,t.FtTypographyBreadcrumbCssVariables=Pt,t.FtTypographyButton=Xt,t.FtTypographyButtonCssVariables=Ht,t.FtTypographyCaption=Vt,t.FtTypographyCaptionCssVariables=Tt,t.FtTypographyCssVariables=Ft,t.FtTypographyOverline=qt,t.FtTypographyOverlineCssVariables=Wt,t.FtTypographyStyles=Gt,t.FtTypographySubtitle1=Dt,t.FtTypographySubtitle1CssVariables=zt,t.FtTypographySubtitle2=Kt,t.FtTypographySubtitle2CssVariables=At,t.FtTypographyTitle=Bt,t.FtTypographyTitleCssVariables=Ut,t.FtTypographyTitleDense=_t,t.FtTypographyTitleDenseCssVariables=kt}({});
@@ -14,4 +14,3 @@ export interface FtTypographyProperties {
14
14
  element?: string;
15
15
  variant: FtTypographyVariants;
16
16
  }
17
- //# sourceMappingURL=ft-typography.properties.d.ts.map
@@ -11,4 +11,3 @@ export var FtTypographyVariants;
11
11
  FtTypographyVariants["overline"] = "overline";
12
12
  FtTypographyVariants["button"] = "button";
13
13
  })(FtTypographyVariants || (FtTypographyVariants = {}));
14
- //# sourceMappingURL=ft-typography.properties.js.map
package/build/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from "./ft-typography";
2
2
  export * from "./ft-typography.css";
3
3
  export * from "./ft-typography.properties";
4
- //# sourceMappingURL=index.d.ts.map
package/build/index.js CHANGED
@@ -4,4 +4,3 @@ export * from "./ft-typography";
4
4
  export * from "./ft-typography.css";
5
5
  export * from "./ft-typography.properties";
6
6
  customElement("ft-typography")(FtTypography);
7
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-typography",
3
- "version": "0.3.70",
3
+ "version": "1.0.0-alpha.0",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "0.3.70",
23
- "lit": "2.2.8"
22
+ "@fluid-topics/ft-wc-utils": "1.0.0-alpha.0",
23
+ "lit": "2.7.2"
24
24
  },
25
- "gitHead": "f196cbccc700d904e13deb5c40e2f4f5121d9bb9"
25
+ "gitHead": "e20baae36b79d721b948090d552affaf92c4f12f"
26
26
  }