@fluid-topics/ft-button 0.1.7 → 0.1.10

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.
@@ -52,6 +52,7 @@ export declare class FtButton extends FtLitElement implements FtButtonProperties
52
52
  focus(): void;
53
53
  private getLabel;
54
54
  get textContent(): string;
55
+ private unslotText;
55
56
  private hasTextContent;
56
57
  private onSlotchange;
57
58
  private isDisabled;
@@ -247,8 +247,13 @@ let FtButton = class FtButton extends FtLitElement {
247
247
  return this.label || this.textContent;
248
248
  }
249
249
  get textContent() {
250
- var _a, _b;
251
- return (_b = (_a = this.slottedContent) === null || _a === void 0 ? void 0 : _a.assignedNodes().map(n => n.textContent).join("").trim()) !== null && _b !== void 0 ? _b : "";
250
+ return this.unslotText(this.slottedContent).trim();
251
+ }
252
+ unslotText(node) {
253
+ if (node instanceof HTMLSlotElement) {
254
+ return node.assignedNodes().map(n => this.unslotText(n)).join("");
255
+ }
256
+ return (node === null || node === void 0 ? void 0 : node.textContent) || "";
252
257
  }
253
258
  hasTextContent() {
254
259
  return this.textContent.length > 0;
@@ -139,24 +139,24 @@ const k=e.css`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;-
139
139
  * Copyright 2020 Google LLC
140
140
  * SPDX-License-Identifier: Apache-2.0
141
141
  */
142
- class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var S=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const O={color:o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorContent),primaryColor:o.FtCssVariable.extend("--ft-ripple-primary-color",o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorPrimary)),secondaryColor:o.FtCssVariable.extend("--ft-ripple-secondary-color",o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),opacityContentOnSurfaceDragged:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceDragged,"Design system")};let T=class extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return e.css`
142
+ class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var S=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const T={color:o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorContent),primaryColor:o.FtCssVariable.extend("--ft-ripple-primary-color",o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorPrimary)),secondaryColor:o.FtCssVariable.extend("--ft-ripple-secondary-color",o.FtCssVariable.extend("--ft-ripple-color",o.designSystemVariables.colorSecondary)),opacityContentOnSurfacePressed:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),opacityContentOnSurfaceDragged:o.FtCssVariable.external(o.designSystemVariables.opacityContentOnSurfaceDragged,"Design system")};let O=class extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return e.css`
143
143
  :host {
144
144
  display: contents;
145
145
 
146
- --mdc-ripple-color: ${O.color};
147
- --mdc-ripple-press-opacity: ${O.opacityContentOnSurfacePressed};
148
- --mdc-ripple-hover-opacity: ${O.opacityContentOnSurfaceHover};
149
- --mdc-ripple-focus-opacity: ${O.opacityContentOnSurfaceFocused};
150
- --mdc-ripple-selected-opacity: ${O.opacityContentOnSurfaceSelected};
151
- --mdc-ripple-activated-opacity: ${O.opacityContentOnSurfaceDragged};
146
+ --mdc-ripple-color: ${T.color};
147
+ --mdc-ripple-press-opacity: ${T.opacityContentOnSurfacePressed};
148
+ --mdc-ripple-hover-opacity: ${T.opacityContentOnSurfaceHover};
149
+ --mdc-ripple-focus-opacity: ${T.opacityContentOnSurfaceFocused};
150
+ --mdc-ripple-selected-opacity: ${T.opacityContentOnSurfaceSelected};
151
+ --mdc-ripple-activated-opacity: ${T.opacityContentOnSurfaceDragged};
152
152
  }
153
153
 
154
154
  mwc-ripple.ft-ripple--secondary {
155
- --mdc-ripple-color: ${O.secondaryColor};
155
+ --mdc-ripple-color: ${T.secondaryColor};
156
156
  }
157
157
 
158
158
  mwc-ripple.ft-ripple--primary {
159
- --mdc-ripple-color: ${O.primaryColor};
159
+ --mdc-ripple-color: ${T.primaryColor};
160
160
  }
161
161
  `}getTemplate(){return e.html`
162
162
  <mwc-ripple
@@ -172,13 +172,13 @@ class A{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},
172
172
  * Copyright 2017 Google LLC
173
173
  * SPDX-License-Identifier: BSD-3-Clause
174
174
  */
175
- var _;T.elementDefinitions={"mwc-ripple":z},S([i.property({type:Boolean})],T.prototype,"primary",void 0),S([i.property({type:Boolean})],T.prototype,"secondary",void 0),S([i.property({type:Boolean})],T.prototype,"unbounded",void 0),S([i.property({type:Boolean})],T.prototype,"activated",void 0),S([i.property({type:Boolean})],T.prototype,"selected",void 0),S([i.property({type:Boolean})],T.prototype,"disabled",void 0),S([i.query("mwc-ripple")],T.prototype,"mwcRipple",void 0),T=S([o.customElement("ft-ripple")],T);const C=globalThis.trustedTypes,I=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,F="?"+E,j=`<${F}>`,R=document,B=(t="")=>R.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,P=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,G=/'/g,V=/"/g,L=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),K=new WeakMap,X=R.createTreeWalker(R,129,null,!1),Y=(t,e)=>{const i=t.length-1,r=[];let o,a=2===e?"<svg>":"",n=M;for(let e=0;e<i;e++){const i=t[e];let s,p,c=-1,l=0;for(;l<i.length&&(n.lastIndex=l,p=n.exec(i),null!==p);)l=n.lastIndex,n===M?"!--"===p[1]?n=H:void 0!==p[1]?n=P:void 0!==p[2]?(L.test(p[2])&&(o=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=o?o:M,c=-1):void 0===p[1]?c=-2:(c=n.lastIndex-p[2].length,s=p[1],n=void 0===p[3]?U:'"'===p[3]?V:G):n===V||n===G?n=U:n===H||n===P?n=M:(n=U,o=void 0);const d=n===U&&t[e+1].startsWith("/>")?" ":"";a+=n===M?i+j:c>=0?(r.push(s),i.slice(0,c)+"$lit$"+i.slice(c)+E+d):i+E+(-2===c?(r.push(void 0),e):d)}const s=a+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(s):s,r]};class J{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,a=0;const n=t.length-1,s=this.parts,[p,c]=Y(t,e);if(this.el=J.createElement(p,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=X.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=c[a++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?nt:it})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(L.test(r.tagName)){const t=r.textContent.split(E),e=t.length-1;if(e>0){r.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],B()),X.nextNode(),s.push({type:2,index:++o});r.append(t[e],B())}}}else if(8===r.nodeType)if(r.data===F)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(E,t+1));)s.push({type:7,index:o}),t+=E.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,r){var o,a,n,s;if(e===q)return e;let p=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const c=D(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==c&&(null===(a=null==p?void 0:p._$AO)||void 0===a||a.call(p,!1),void 0===c?p=void 0:(p=new c(t),p._$AT(t,i,r)),void 0!==r?(null!==(n=(s=i)._$Cl)&&void 0!==n?n:s._$Cl=[])[r]=p:i._$Cu=p),void 0!==p&&(e=Q(t,p._$AS(t,e.values),p,r)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);X.currentNode=o;let a=X.nextNode(),n=0,s=0,p=r[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new et(a,a.nextSibling,this,t):1===p.type?e=new p.ctor(a,p.name,p.strings,this,t):6===p.type&&(e=new st(a,this,t)),this.v.push(e),p=r[++s]}n!==(null==p?void 0:p.index)&&(a=X.nextNode(),n++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,r){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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),D(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==q&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return N(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&D(this._$AH)?this._$AA.nextSibling.data=t:this.S(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new tt(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}A(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new et(this.M(B()),this.M(B()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,r,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let a=!1;if(void 0===o)t=Q(this,t,e,0),a=!D(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const r=t;let n,s;for(t=o[0],n=0;n<o.length-1;n++)s=Q(this,r[i+n],e,n),s===q&&(s=this._$AH[n]),a||(a=!D(s)||s!==this._$AH[n]),s===W?t=W:t!==W&&(t+=(null!=s?s:"")+o[n+1]),this._$AH[n]=s}a&&!r&&this.k(t)}k(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends it{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===W?void 0:t}}const ot=C?C.emptyScript:"";class at extends it{constructor(){super(...arguments),this.type=4}k(t){t&&t!==W?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends it{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:W)===q)return;const r=this._$AH,o=t===W&&r!==W||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==W&&(r===W||o);o&&this.element.removeEventListener(this.name,this,r),a&&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 st{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 pt=window.litHtmlPolyfillSupport;null==pt||pt(J,et),(null!==(_=globalThis.litHtmlVersions)&&void 0!==_?_:globalThis.litHtmlVersions=[]).push("2.1.3");
175
+ var _;O.elementDefinitions={"mwc-ripple":z},S([i.property({type:Boolean})],O.prototype,"primary",void 0),S([i.property({type:Boolean})],O.prototype,"secondary",void 0),S([i.property({type:Boolean})],O.prototype,"unbounded",void 0),S([i.property({type:Boolean})],O.prototype,"activated",void 0),S([i.property({type:Boolean})],O.prototype,"selected",void 0),S([i.property({type:Boolean})],O.prototype,"disabled",void 0),S([i.query("mwc-ripple")],O.prototype,"mwcRipple",void 0),O=S([o.customElement("ft-ripple")],O);const C=globalThis.trustedTypes,I=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,F="?"+E,j=`<${F}>`,R=document,B=(t="")=>R.createComment(t),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,P=/>/g,U=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,G=/'/g,V=/"/g,L=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),K=new WeakMap,X=R.createTreeWalker(R,129,null,!1),Y=(t,e)=>{const i=t.length-1,r=[];let o,a=2===e?"<svg>":"",n=M;for(let e=0;e<i;e++){const i=t[e];let s,p,c=-1,l=0;for(;l<i.length&&(n.lastIndex=l,p=n.exec(i),null!==p);)l=n.lastIndex,n===M?"!--"===p[1]?n=H:void 0!==p[1]?n=P:void 0!==p[2]?(L.test(p[2])&&(o=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=o?o:M,c=-1):void 0===p[1]?c=-2:(c=n.lastIndex-p[2].length,s=p[1],n=void 0===p[3]?U:'"'===p[3]?V:G):n===V||n===G?n=U:n===H||n===P?n=M:(n=U,o=void 0);const d=n===U&&t[e+1].startsWith("/>")?" ":"";a+=n===M?i+j:c>=0?(r.push(s),i.slice(0,c)+"$lit$"+i.slice(c)+E+d):i+E+(-2===c?(r.push(void 0),e):d)}const s=a+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(s):s,r]};class J{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,a=0;const n=t.length-1,s=this.parts,[p,c]=Y(t,e);if(this.el=J.createElement(p,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=X.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=c[a++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?nt:it})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(L.test(r.tagName)){const t=r.textContent.split(E),e=t.length-1;if(e>0){r.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],B()),X.nextNode(),s.push({type:2,index:++o});r.append(t[e],B())}}}else if(8===r.nodeType)if(r.data===F)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(E,t+1));)s.push({type:7,index:o}),t+=E.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,r){var o,a,n,s;if(e===q)return e;let p=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const c=D(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==c&&(null===(a=null==p?void 0:p._$AO)||void 0===a||a.call(p,!1),void 0===c?p=void 0:(p=new c(t),p._$AT(t,i,r)),void 0!==r?(null!==(n=(s=i)._$Cl)&&void 0!==n?n:s._$Cl=[])[r]=p:i._$Cu=p),void 0!==p&&(e=Q(t,p._$AS(t,e.values),p,r)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);X.currentNode=o;let a=X.nextNode(),n=0,s=0,p=r[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new et(a,a.nextSibling,this,t):1===p.type?e=new p.ctor(a,p.name,p.strings,this,t):6===p.type&&(e=new st(a,this,t)),this.v.push(e),p=r[++s]}n!==(null==p?void 0:p.index)&&(a=X.nextNode(),n++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,r){var o;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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),D(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==q&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return N(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&D(this._$AH)?this._$AA.nextSibling.data=t:this.S(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new tt(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new J(t)),e}A(t){N(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new et(this.M(B()),this.M(B()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,r,o){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let a=!1;if(void 0===o)t=Q(this,t,e,0),a=!D(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const r=t;let n,s;for(t=o[0],n=0;n<o.length-1;n++)s=Q(this,r[i+n],e,n),s===q&&(s=this._$AH[n]),a||(a=!D(s)||s!==this._$AH[n]),s===W?t=W:t!==W&&(t+=(null!=s?s:"")+o[n+1]),this._$AH[n]=s}a&&!r&&this.k(t)}k(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends it{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===W?void 0:t}}const ot=C?C.emptyScript:"";class at extends it{constructor(){super(...arguments),this.type=4}k(t){t&&t!==W?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends it{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:W)===q)return;const r=this._$AH,o=t===W&&r!==W||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==W&&(r===W||o);o&&this.element.removeEventListener(this.name,this,r),a&&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 st{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 pt=window.litHtmlPolyfillSupport;null==pt||pt(J,et),(null!==(_=globalThis.litHtmlVersions)&&void 0!==_?_:globalThis.litHtmlVersions=[]).push("2.1.3");
176
176
  /**
177
177
  * @license
178
178
  * Copyright 2020 Google LLC
179
179
  * SPDX-License-Identifier: BSD-3-Clause
180
180
  */
181
- const ct=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.length;let a,n;const s=[],p=[];let c,l=0,d=!1;for(;l<o;){for(c=e[l];l<o&&void 0!==(n=i[l],a=null===(r=n)||void 0===r?void 0:r._$litStatic$);)c+=a+e[++l],d=!0;p.push(n),s.push(c),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=lt.get(t))&&(s.raw=s,lt.set(t,e=s)),i=p}return t(e,...i)})(Z);var ft,ut=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ft||(ft={}));const ht=o.FtCssVariable.extend("--ft-typography-font-family",o.designSystemVariables.titleFont),mt=o.FtCssVariable.extend("--ft-typography-font-family",o.designSystemVariables.contentFont),yt={fontFamily:mt,fontSize:o.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:o.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:o.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:o.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:o.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=o.FtCssVariable.extend("--ft-typography-title-font-family",ht),vt=o.FtCssVariable.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),bt=o.FtCssVariable.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),xt=o.FtCssVariable.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),$t=o.FtCssVariable.extend("--ft-typography-title-line-height",yt.lineHeight,"24px"),wt=o.FtCssVariable.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),kt=o.FtCssVariable.extend("--ft-typography-title-dense-font-family",ht),zt=o.FtCssVariable.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),At=o.FtCssVariable.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),St=o.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),Ot=o.FtCssVariable.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"24px"),Tt=o.FtCssVariable.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),_t=o.FtCssVariable.extend("--ft-typography-subtitle1-font-family",mt),Ct=o.FtCssVariable.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),It=o.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),Et=o.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),Ft=o.FtCssVariable.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"24px"),jt=o.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),Rt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-family",mt),Bt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Dt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Nt=o.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Mt=o.FtCssVariable.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"24px"),Ht=o.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Pt=o.FtCssVariable.extend("--ft-typography-body1-font-family",mt),Ut=o.FtCssVariable.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=o.FtCssVariable.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),Vt=o.FtCssVariable.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Lt=o.FtCssVariable.extend("--ft-typography-body1-line-height",yt.lineHeight,"24px"),Zt=o.FtCssVariable.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),qt=o.FtCssVariable.extend("--ft-typography-body2-font-family",mt),Wt=o.FtCssVariable.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),Kt=o.FtCssVariable.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),Xt=o.FtCssVariable.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),Yt=o.FtCssVariable.extend("--ft-typography-body2-line-height",yt.lineHeight,"20px"),Jt=o.FtCssVariable.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit"),Qt=o.FtCssVariable.extend("--ft-typography-caption-font-family",mt),te=o.FtCssVariable.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),ee=o.FtCssVariable.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),ie=o.FtCssVariable.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),re=o.FtCssVariable.extend("--ft-typography-caption-line-height",yt.lineHeight,"16px"),oe=o.FtCssVariable.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),ae=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",mt),ne=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),se=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),pe=o.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),ce=o.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"16px"),le=o.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),de=o.FtCssVariable.extend("--ft-typography-overline-font-family",mt),fe=o.FtCssVariable.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),ue=o.FtCssVariable.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),he=o.FtCssVariable.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),me=o.FtCssVariable.extend("--ft-typography-overline-line-height",yt.lineHeight,"16px"),ye=o.FtCssVariable.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),ge={fontFamily:o.FtCssVariable.extend("--ft-typography-button-font-family",mt),fontSize:o.FtCssVariable.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),fontWeight:o.FtCssVariable.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),letterSpacing:o.FtCssVariable.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariable.extend("--ft-typography-button-line-height",yt.lineHeight,"16px"),textTransform:o.FtCssVariable.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase")},ve=e.css`
181
+ const ct=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.length;let a,n;const s=[],p=[];let c,l=0,d=!1;for(;l<o;){for(c=e[l];l<o&&void 0!==(n=i[l],a=null===(r=n)||void 0===r?void 0:r._$litStatic$);)c+=a+e[++l],d=!0;p.push(n),s.push(c),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=lt.get(t))&&(s.raw=s,lt.set(t,e=s)),i=p}return t(e,...i)})(Z);var ft,ut=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ft||(ft={}));const ht=o.FtCssVariable.extend("--ft-typography-font-family",o.designSystemVariables.titleFont),mt=o.FtCssVariable.extend("--ft-typography-font-family",o.designSystemVariables.contentFont),yt={fontFamily:mt,fontSize:o.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:o.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:o.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:o.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:o.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=o.FtCssVariable.extend("--ft-typography-title-font-family",ht),vt=o.FtCssVariable.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),bt=o.FtCssVariable.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),xt=o.FtCssVariable.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),$t=o.FtCssVariable.extend("--ft-typography-title-line-height",yt.lineHeight,"24px"),wt=o.FtCssVariable.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),kt=o.FtCssVariable.extend("--ft-typography-title-dense-font-family",ht),zt=o.FtCssVariable.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),At=o.FtCssVariable.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),St=o.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),Tt=o.FtCssVariable.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"24px"),Ot=o.FtCssVariable.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),_t=o.FtCssVariable.extend("--ft-typography-subtitle1-font-family",mt),Ct=o.FtCssVariable.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),It=o.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),Et=o.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),Ft=o.FtCssVariable.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"24px"),jt=o.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),Rt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-family",mt),Bt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Dt=o.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Nt=o.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Mt=o.FtCssVariable.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"24px"),Ht=o.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Pt=o.FtCssVariable.extend("--ft-typography-body1-font-family",mt),Ut=o.FtCssVariable.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=o.FtCssVariable.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),Vt=o.FtCssVariable.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Lt=o.FtCssVariable.extend("--ft-typography-body1-line-height",yt.lineHeight,"24px"),Zt=o.FtCssVariable.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),qt=o.FtCssVariable.extend("--ft-typography-body2-font-family",mt),Wt=o.FtCssVariable.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),Kt=o.FtCssVariable.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),Xt=o.FtCssVariable.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),Yt=o.FtCssVariable.extend("--ft-typography-body2-line-height",yt.lineHeight,"20px"),Jt=o.FtCssVariable.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit"),Qt=o.FtCssVariable.extend("--ft-typography-caption-font-family",mt),te=o.FtCssVariable.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),ee=o.FtCssVariable.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),ie=o.FtCssVariable.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),re=o.FtCssVariable.extend("--ft-typography-caption-line-height",yt.lineHeight,"16px"),oe=o.FtCssVariable.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),ae=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",mt),ne=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),se=o.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),pe=o.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),ce=o.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"16px"),le=o.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),de=o.FtCssVariable.extend("--ft-typography-overline-font-family",mt),fe=o.FtCssVariable.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),ue=o.FtCssVariable.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),he=o.FtCssVariable.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),me=o.FtCssVariable.extend("--ft-typography-overline-line-height",yt.lineHeight,"16px"),ye=o.FtCssVariable.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),ge={fontFamily:o.FtCssVariable.extend("--ft-typography-button-font-family",mt),fontSize:o.FtCssVariable.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),fontWeight:o.FtCssVariable.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),letterSpacing:o.FtCssVariable.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariable.extend("--ft-typography-button-line-height",yt.lineHeight,"16px"),textTransform:o.FtCssVariable.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase")},ve=e.css`
182
182
  .ft-typography--title {
183
183
  font-family: ${gt};
184
184
  font-size: ${vt};
@@ -193,8 +193,8 @@ const ct=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
193
193
  font-size: ${zt};
194
194
  font-weight: ${At};
195
195
  letter-spacing: ${St};
196
- line-height: ${Ot};
197
- text-transform: ${Tt};
196
+ line-height: ${Tt};
197
+ text-transform: ${Ot};
198
198
  }
199
199
  `,xe=e.css`
200
200
  .ft-typography--subtitle1 {
@@ -260,7 +260,7 @@ const ct=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
260
260
  line-height: ${me};
261
261
  text-transform: ${ye};
262
262
  }
263
- `,Oe=e.css`
263
+ `,Te=e.css`
264
264
  .ft-typography--button {
265
265
  font-family: ${ge.fontFamily};
266
266
  font-size: ${ge.fontSize};
@@ -269,14 +269,18 @@ const ct=t=>({_$litStatic$:t}),lt=new Map,dt=(t=>(e,...i)=>{var r;const o=i.leng
269
269
  line-height: ${ge.lineHeight};
270
270
  text-transform: ${ge.textTransform};
271
271
  }
272
- `;let Te=class extends o.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}getStyles(){return[ve,be,xe,$e,we,ke,ze,Ae,Se,Oe]}getTemplate(){return this.element?dt`
272
+ `;let Oe=class extends o.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}getStyles(){return[ve,be,xe,$e,we,ke,ze,Ae,Se,Te,e.css`
273
+ .ft-typography {
274
+ vertical-align: inherit;
275
+ }
276
+ `]}getTemplate(){return this.element?dt`
273
277
  <${ct(this.element)}
274
278
  class="ft-typography ft-typography--${this.variant}">
275
279
  <slot></slot>
276
280
  </${ct(this.element)}>
277
281
  `:dt`
278
282
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
279
- `}};ut([i.property()],Te.prototype,"element",void 0),ut([i.property()],Te.prototype,"variant",void 0),Te=ut([o.customElement("ft-typography")],Te);
283
+ `}};ut([i.property()],Oe.prototype,"element",void 0),ut([i.property()],Oe.prototype,"variant",void 0),Oe=ut([o.customElement("ft-typography")],Oe);
280
284
  /**
281
285
  * @license
282
286
  * Copyright 2021 Google LLC
@@ -334,7 +338,7 @@ const _e=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
334
338
  </div>
335
339
  <slot></slot>
336
340
  </div>
337
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,r=(e.width-this.tooltip.clientWidth)/2,o=this.tooltip.style;switch(this.position){case"top":o.top=-this.tooltip.clientHeight+"px",o.left=r+"px";break;case"bottom":o.top=e.height+"px",o.left=r+"px";break;case"left":o.top=i+"px",o.left=-this.tooltip.clientWidth+"px";break;case"right":o.top=i+"px",o.left=e.width+"px"}o.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}};De.elementDefinitions={"ft-typography":Te},Ie([i.property()],De.prototype,"text",void 0),Ie([i.property({type:Boolean})],De.prototype,"manual",void 0),Ie([i.property({type:Boolean})],De.prototype,"inline",void 0),Ie([i.property({type:Number})],De.prototype,"delay",void 0),Ie([i.property()],De.prototype,"position",void 0),Ie([i.queryAssignedNodes("",!0)],De.prototype,"slotNodes",void 0),Ie([i.query(".ft-tooltip--container")],De.prototype,"container",void 0),Ie([i.query("slot")],De.prototype,"target",void 0),Ie([i.query(".ft-tooltip")],De.prototype,"tooltip",void 0),Ie([i.query(".ft-tooltip--content")],De.prototype,"tooltipContent",void 0),Ie([i.state()],De.prototype,"visible",void 0),De=Ie([o.customElement("ft-tooltip")],De);var Ne=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const Me={color:o.FtCssVariable.extend("--ft-loader-color",o.designSystemVariables.colorPrimary),size:o.FtCssVariable.create("--ft-loader-size","SIZE","80px")};let He=class extends o.FtLitElement{getStyles(){return e.css`
341
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,r=(e.width-this.tooltip.clientWidth)/2,o=this.tooltip.style;switch(this.position){case"top":o.top=-this.tooltip.clientHeight+"px",o.left=r+"px";break;case"bottom":o.top=e.height+"px",o.left=r+"px";break;case"left":o.top=i+"px",o.left=-this.tooltip.clientWidth+"px";break;case"right":o.top=i+"px",o.left=e.width+"px"}o.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}};De.elementDefinitions={"ft-typography":Oe},Ie([i.property()],De.prototype,"text",void 0),Ie([i.property({type:Boolean})],De.prototype,"manual",void 0),Ie([i.property({type:Boolean})],De.prototype,"inline",void 0),Ie([i.property({type:Number})],De.prototype,"delay",void 0),Ie([i.property()],De.prototype,"position",void 0),Ie([i.queryAssignedNodes("",!0)],De.prototype,"slotNodes",void 0),Ie([i.query(".ft-tooltip--container")],De.prototype,"container",void 0),Ie([i.query("slot")],De.prototype,"target",void 0),Ie([i.query(".ft-tooltip")],De.prototype,"tooltip",void 0),Ie([i.query(".ft-tooltip--content")],De.prototype,"tooltipContent",void 0),Ie([i.state()],De.prototype,"visible",void 0),De=Ie([o.customElement("ft-tooltip")],De);var Ne=function(t,e,i,r){for(var o,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};const Me={color:o.FtCssVariable.extend("--ft-loader-color",o.designSystemVariables.colorPrimary),size:o.FtCssVariable.create("--ft-loader-size","SIZE","80px")};let He=class extends o.FtLitElement{getStyles(){return e.css`
338
342
  :host {
339
343
  line-height: 0;
340
344
  }
@@ -453,7 +457,7 @@ const _e=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
453
457
  --mdc-icon-size: ${Ge.iconSize};
454
458
  --ft-button-internal-vertical-padding: 6px;
455
459
  --ft-button-internal-horizontal-padding: 8px;
456
- ${o.setVariable(O.color,Ge.rippleColor)};
460
+ ${o.setVariable(T.color,Ge.rippleColor)};
457
461
  --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), var(--mdc-icon-size));
458
462
 
459
463
  border-radius: ${Ge.borderRadius};
@@ -561,4 +565,4 @@ const _e=e.css`:host{font-family:var(--mdc-icon-font, "Material Icons");font-wei
561
565
  </ft-tooltip>
562
566
  `}resolveIcon(){return this.loading?e.html`
563
567
  <ft-loader></ft-loader> `:this.icon?e.html`
564
- <mwc-icon>${this.icon}</mwc-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}},t.FtButton.elementDefinitions={"ft-ripple":T,"ft-tooltip":De,"ft-typography":Te,"mwc-icon":Ce,"ft-loader":He},Pe([i.property({type:Boolean})],t.FtButton.prototype,"primary",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"outlined",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"disabled",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"dense",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"round",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"label",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"icon",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"trailingIcon",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"loading",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"tooltipPosition",void 0),Pe([i.query(".ft-button")],t.FtButton.prototype,"button",void 0),Pe([i.query(".ft-button--label slot")],t.FtButton.prototype,"slottedContent",void 0),t.FtButton=Pe([o.customElement("ft-button")],t.FtButton),t.FtButtonCssVariables=Ge,t.FtButtonDenseCssVariables=Ze,t.FtButtonPrimaryCssVariables=Le,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.wcUtils,ftGlobals.litStyleMap);
568
+ <mwc-icon>${this.icon}</mwc-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}},t.FtButton.elementDefinitions={"ft-ripple":O,"ft-tooltip":De,"ft-typography":Oe,"mwc-icon":Ce,"ft-loader":He},Pe([i.property({type:Boolean})],t.FtButton.prototype,"primary",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"outlined",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"disabled",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"dense",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"round",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"label",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"icon",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"trailingIcon",void 0),Pe([i.property({type:Boolean})],t.FtButton.prototype,"loading",void 0),Pe([i.property({type:String})],t.FtButton.prototype,"tooltipPosition",void 0),Pe([i.query(".ft-button")],t.FtButton.prototype,"button",void 0),Pe([i.query(".ft-button--label slot")],t.FtButton.prototype,"slottedContent",void 0),t.FtButton=Pe([o.customElement("ft-button")],t.FtButton),t.FtButtonCssVariables=Ge,t.FtButtonDenseCssVariables=Ze,t.FtButtonPrimaryCssVariables=Le,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.wcUtils,ftGlobals.litStyleMap);
@@ -15,7 +15,7 @@ const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- var v;y.finalized=!0,y.elementProperties=new Map,y.elementStyles=[],y.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:y}),(null!==(p=globalThis.reactiveElementVersions)&&void 0!==p?p:globalThis.reactiveElementVersions=[]).push("1.2.2");const g=globalThis.trustedTypes,b=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,O=`<${w}>`,$=document,S=(t="")=>$.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,N=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,M=/'/g,z=/"/g,F=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),j=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),_=new WeakMap,B=$.createTreeWalker($,129,null,!1),D=(t,e)=>{const i=t.length-1,r=[];let o,n=2===e?"<svg>":"",a=R;for(let e=0;e<i;e++){const i=t[e];let s,c,p=-1,l=0;for(;l<i.length&&(a.lastIndex=l,c=a.exec(i),null!==c);)l=a.lastIndex,a===R?"!--"===c[1]?a=E:void 0!==c[1]?a=N:void 0!==c[2]?(F.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=A):void 0!==c[3]&&(a=A):a===A?">"===c[0]?(a=null!=o?o:R,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?A:'"'===c[3]?z:M):a===z||a===M?a=A:a===E||a===N?a=R:(a=A,o=void 0);const d=a===A&&t[e+1].startsWith("/>")?" ":"";n+=a===R?i+O:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+x+d):i+x+(-2===p?(r.push(void 0),e):d)}const s=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(s):s,r]};class L{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,s=this.parts,[c,p]=D(t,e);if(this.el=L.createElement(c,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=B.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(x)){const i=p[n++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(x),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?Z:"@"===e[1]?q:W})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(F.test(r.tagName)){const t=r.textContent.split(x),e=t.length-1;if(e>0){r.textContent=g?g.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],S()),B.nextNode(),s.push({type:2,index:++o});r.append(t[e],S())}}}else if(8===r.nodeType)if(r.data===w)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)s.push({type:7,index:o}),t+=x.length-1}o++}}static createElement(t,e){const i=$.createElement("template");return i.innerHTML=t,i}}function P(t,e,i=t,r){var o,n,a,s;if(e===j)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const p=k(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,i,r)),void 0!==r?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=P(t,c._$AS(t,e.values),c,r)),e}class I{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:$).importNode(i,!0);B.currentNode=o;let n=B.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new H(n,n.nextSibling,this,t):1===c.type?e=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(e=new G(n,this,t)),this.v.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(n=B.nextNode(),a++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,r){var o;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=P(this,t,e),k(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==j&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==U&&k(this._$AH)?this._$AA.nextSibling.data=t:this.S($.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new I(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=_.get(t.strings);return void 0===e&&_.set(t.strings,e=new L(t)),e}A(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new H(this.M(S()),this.M(S()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class W{constructor(t,e,i,r,o){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(void 0===o)t=P(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==j,n&&(this._$AH=t);else{const r=t;let a,s;for(t=o[0],a=0;a<o.length-1;a++)s=P(this,r[i+a],e,a),s===j&&(s=this._$AH[a]),n||(n=!k(s)||s!==this._$AH[a]),s===U?t=U:t!==U&&(t+=(null!=s?s:"")+o[a+1]),this._$AH[a]=s}n&&!r&&this.k(t)}k(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends W{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===U?void 0:t}}const K=g?g.emptyScript:"";class Z extends W{constructor(){super(...arguments),this.type=4}k(t){t&&t!==U?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class q extends W{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=P(this,t,e,0))&&void 0!==i?i:U)===j)return;const r=this._$AH,o=t===U&&r!==U||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==U&&(r===U||o);o&&this.element.removeEventListener(this.name,this,r),n&&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 G{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){P(this,t)}}const X=window.litHtmlPolyfillSupport;
18
+ var v;y.finalized=!0,y.elementProperties=new Map,y.elementStyles=[],y.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:y}),(null!==(p=globalThis.reactiveElementVersions)&&void 0!==p?p:globalThis.reactiveElementVersions=[]).push("1.2.2");const g=globalThis.trustedTypes,b=g?g.createPolicy("lit-html",{createHTML:t=>t}):void 0,x=`lit$${(Math.random()+"").slice(9)}$`,w="?"+x,O=`<${w}>`,$=document,S=(t="")=>$.createComment(t),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/-->/g,N=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,M=/'/g,T=/"/g,z=/^(?:script|style|textarea|title)$/i,F=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),j=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),_=new WeakMap,B=$.createTreeWalker($,129,null,!1),D=(t,e)=>{const i=t.length-1,r=[];let o,n=2===e?"<svg>":"",a=R;for(let e=0;e<i;e++){const i=t[e];let s,c,p=-1,l=0;for(;l<i.length&&(a.lastIndex=l,c=a.exec(i),null!==c);)l=a.lastIndex,a===R?"!--"===c[1]?a=E:void 0!==c[1]?a=N:void 0!==c[2]?(z.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=A):void 0!==c[3]&&(a=A):a===A?">"===c[0]?(a=null!=o?o:R,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?A:'"'===c[3]?T:M):a===T||a===M?a=A:a===E||a===N?a=R:(a=A,o=void 0);const d=a===A&&t[e+1].startsWith("/>")?" ":"";n+=a===R?i+O:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+x+d):i+x+(-2===p?(r.push(void 0),e):d)}const s=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(s):s,r]};class L{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,s=this.parts,[c,p]=D(t,e);if(this.el=L.createElement(c,i),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=B.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(x)){const i=p[n++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(x),e=/([.?@])?(.*)/.exec(i);s.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?V:"?"===e[1]?Z:"@"===e[1]?q:W})}else s.push({type:6,index:o})}for(const e of t)r.removeAttribute(e)}if(z.test(r.tagName)){const t=r.textContent.split(x),e=t.length-1;if(e>0){r.textContent=g?g.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],S()),B.nextNode(),s.push({type:2,index:++o});r.append(t[e],S())}}}else if(8===r.nodeType)if(r.data===w)s.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(x,t+1));)s.push({type:7,index:o}),t+=x.length-1}o++}}static createElement(t,e){const i=$.createElement("template");return i.innerHTML=t,i}}function P(t,e,i=t,r){var o,n,a,s;if(e===j)return e;let c=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;const p=k(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(n=null==c?void 0:c._$AO)||void 0===n||n.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,i,r)),void 0!==r?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=P(t,c._$AS(t,e.values),c,r)),e}class I{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:$).importNode(i,!0);B.currentNode=o;let n=B.nextNode(),a=0,s=0,c=r[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new H(n,n.nextSibling,this,t):1===c.type?e=new c.ctor(n,c.name,c.strings,this,t):6===c.type&&(e=new G(n,this,t)),this.v.push(e),c=r[++s]}a!==(null==c?void 0:c.index)&&(n=B.nextNode(),a++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,r){var o;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=P(this,t,e),k(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==j&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return C(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==U&&k(this._$AH)?this._$AA.nextSibling.data=t:this.S($.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=L.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new I(o,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=_.get(t.strings);return void 0===e&&_.set(t.strings,e=new L(t)),e}A(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new H(this.M(S()),this.M(S()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class W{constructor(t,e,i,r,o){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(void 0===o)t=P(this,t,e,0),n=!k(t)||t!==this._$AH&&t!==j,n&&(this._$AH=t);else{const r=t;let a,s;for(t=o[0],a=0;a<o.length-1;a++)s=P(this,r[i+a],e,a),s===j&&(s=this._$AH[a]),n||(n=!k(s)||s!==this._$AH[a]),s===U?t=U:t!==U&&(t+=(null!=s?s:"")+o[a+1]),this._$AH[a]=s}n&&!r&&this.k(t)}k(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends W{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===U?void 0:t}}const K=g?g.emptyScript:"";class Z extends W{constructor(){super(...arguments),this.type=4}k(t){t&&t!==U?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class q extends W{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=P(this,t,e,0))&&void 0!==i?i:U)===j)return;const r=this._$AH,o=t===U&&r!==U||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==U&&(r===U||o);o&&this.element.removeEventListener(this.name,this,r),n&&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 G{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){P(this,t)}}const X=window.litHtmlPolyfillSupport;
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
@@ -63,13 +63,13 @@ const pt=1,lt=t=>(...e)=>({_$litDirective$:t,values:e});class dt{constructor(t){
63
63
  * @license
64
64
  * Copyright 2018 Google LLC
65
65
  * SPDX-License-Identifier: BSD-3-Clause
66
- */const ut=lt(class extends dt{constructor(t){var e;if(super(t),t.type!==pt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,r;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach((t=>{t in e||(o.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(i?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return j}});(function(){function t(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function e(e){var i="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return i?i.call(e):{next:t(e)}}function i(t){if(!(t instanceof Array)){t=e(t);for(var i,r=[];!(i=t.next()).done;)r.push(i.value);t=r}return t}var r="function"==typeof Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e};var o,n=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this),a=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(e,i,r){return e=t(e,i),r&&Reflect.setPrototypeOf(e,r.prototype),e}}return function(t,e,i){return void 0===i&&(i=t),i=r(i.prototype||Object.prototype),Function.prototype.apply.call(t,i,e)||i}}();if("function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var s;t:{var c={};try{c.__proto__={a:!0},s=c.a;break t}catch(t){}s=!1}o=s?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var p=o;if(!ShadowRoot.prototype.createElement){var l,d=window.HTMLElement,u=window.customElements.define,f=window.customElements.get,h=window.customElements,m=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,i){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var r=i.prototype.attributeChangedCallback,o=new Set(i.observedAttributes||[]);if(x(i,o,r),r={g:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:r,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:o},this.l.set(t,r),this.o.set(i,r),(o=f.call(h,t))||(o=b(t),u.call(h,t,o)),this===window.customElements&&(v.set(i,r),r.s=o),o=this.h.get(t)){this.h.delete(t);for(var n=(o=e(o)).next();!n.done;n=o.next())n=n.value,y.delete(n),O(n,r,!0)}return void 0!==(r=this.i.get(t))&&(r.resolve(i),this.i.delete(t)),i},window.CustomElementRegistry.prototype.upgrade=function(){S.push(this),h.upgrade.apply(h,arguments),S.pop()},window.CustomElementRegistry.prototype.get=function(t){var e;return null==(e=this.l.get(t))?void 0:e.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var e=this.j(t);if(void 0!==e)return Promise.resolve(e.g);var i=this.i.get(t);return void 0===i&&((i={}).promise=new Promise((function(t){return i.resolve=t})),this.i.set(t,i)),i.promise},window.CustomElementRegistry.prototype.m=function(t,e,i){var r=this.h.get(e);r||this.h.set(e,r=new Set),i?r.add(t):r.delete(t)},window.HTMLElement=function(){var t=l;if(t)return l=void 0,t;var e=v.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(d,[],e.s),Object.setPrototypeOf(t,this.constructor.prototype),m.set(t,e),t},window.HTMLElement.prototype=d.prototype;var b=function(t){function e(){var e=Reflect.construct(d,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);t:{var i=e.getRootNode();if(!(i===document||i instanceof ShadowRoot)){if((i=S[S.length-1])instanceof CustomElementRegistry){var r=i;break t}(i=i.getRootNode())===document||i instanceof ShadowRoot||(i=(null==(r=g.get(i))?void 0:r.getRootNode())||document)}r=i.customElements}return(i=(r=r||window.customElements).j(t))?O(e,i):y.set(e,r),e}return n.Object.defineProperty(e,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),e.prototype.connectedCallback=function(){var e=m.get(this);e?e.connectedCallback&&e.connectedCallback.apply(this,arguments):y.get(this).m(this,t,!0)},e.prototype.disconnectedCallback=function(){var e=m.get(this);e?e.disconnectedCallback&&e.disconnectedCallback.apply(this,arguments):y.get(this).m(this,t,!1)},e.prototype.adoptedCallback=function(){var t,e;null==(t=m.get(this))||null==(e=t.adoptedCallback)||e.apply(this,arguments)},e.prototype.formAssociatedCallback=function(){var t,e=m.get(this);e&&e.formAssociated&&(null==e||null==(t=e.formAssociatedCallback)||t.apply(this,arguments))},e.prototype.formDisabledCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formDisabledCallback)||t.apply(this,arguments))},e.prototype.formResetCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formResetCallback)||t.apply(this,arguments))},e.prototype.formStateRestoreCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formStateRestoreCallback)||t.apply(this,arguments))},e},x=function(t,e,i){if(0!==e.size&&void 0!==i){var r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,o){if(t=t.toLowerCase(),e.has(t)){var n=this.getAttribute(t);r.call(this,t,o),i.call(this,t,n,o)}else r.call(this,t,o)});var o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),e.has(t)){var r=this.getAttribute(t);o.call(this,t),i.call(this,t,r,null)}else o.call(this,t)})}},w=function(t){var e=Object.getPrototypeOf(t);if(e!==window.HTMLElement)return e===d?Object.setPrototypeOf(t,window.HTMLElement):w(e)},O=function(t,e,i){i=void 0!==i&&i,Object.setPrototypeOf(t,e.g.prototype),m.set(t,e),l=t;try{new e.g}catch(t){w(e.g),new e.g}e.observedAttributes.forEach((function(i){t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},$=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var e=$.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};var S=[document],k=function(t,e,i){var r=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){S.push(this);var t=r.apply(i||this,arguments);return void 0!==t&&g.set(t,this),S.pop(),t}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");var C=function(t){var e=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},e,{set:function(t){S.push(this),e.set.call(this,t),S.pop()}}))};if(C(Element),C(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var R=new WeakMap,E=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var e=[],r=0;r<arguments.length;++r)e[r]=arguments[r];return e=E.call.apply(E,[this].concat(i(e))),R.set(e,this),e},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var e=window.ElementInternals.prototype,r=e[t];e[t]=function(t){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];if(o=R.get(this),!0!==m.get(o).formAssociated)throw new DOMException("Failed to execute "+r+" on 'ElementInternals': The target element is not a form-associated custom element.");null==r||r.call.apply(r,[this].concat(i(e)))}}));var N=function(t){var e=a(Array,[].concat(i(t)),this.constructor);return e.h=t,e},A=N,M=Array;if(A.prototype=r(M.prototype),A.prototype.constructor=A,p)p(A,M);else for(var z in M)if("prototype"!=z)if(Object.defineProperties){var F=Object.getOwnPropertyDescriptor(M,z);F&&Object.defineProperty(A,z,F)}else A[z]=M[z];A.u=M.prototype,n.Object.defineProperty(N.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var T=function(t){var e=this,i=new Map;t.forEach((function(t,r){var o=t.getAttribute("name"),n=i.get(o)||[];e[+r]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach((function(t,i){t&&(e[i]=1===t.length?t[0]:new N(t))}))};T.prototype.namedItem=function(t){return this[t]};var j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=j.get.call(this,[]),i=[],r=(t=e(t)).next();!r.done;r=t.next()){r=r.value;var o=m.get(r);o&&!0!==o.formAssociated||i.push(r)}return new T(i)}})}}}).call(self);try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,i,r)=>{try{e.bind(window.customElements)(t,i,r)}catch(e){console.warn(t,i,r,e)}}}class ft{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}const ht=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};class mt{constructor(t,e,i,r,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=r,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new mt(t,e,void 0,i)}static extend(t,e,i){return new mt(t,e.category,e,i)}static external(t,e){return new mt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return a`var(${n(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):n(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function yt(t,e){return n(`${t.name}: ${e}`)}const vt={colorPrimary:mt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:mt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
+ */const ut=lt(class extends dt{constructor(t){var e;if(super(t),t.type!==pt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,r;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach((t=>{t in e||(o.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(i?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return j}});(function(){function t(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}function e(e){var i="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return i?i.call(e):{next:t(e)}}function i(t){if(!(t instanceof Array)){t=e(t);for(var i,r=[];!(i=t.next()).done;)r.push(i.value);t=r}return t}var r="function"==typeof Object.create?Object.create:function(t){function e(){}return e.prototype=t,new e};var o,n=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this),a=function(){if("undefined"!=typeof Reflect&&Reflect.construct){if(function(){function t(){}return Reflect.construct(t,[],(function(){})),new t instanceof t}())return Reflect.construct;var t=Reflect.construct;return function(e,i,r){return e=t(e,i),r&&Reflect.setPrototypeOf(e,r.prototype),e}}return function(t,e,i){return void 0===i&&(i=t),i=r(i.prototype||Object.prototype),Function.prototype.apply.call(t,i,e)||i}}();if("function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var s;t:{var c={};try{c.__proto__={a:!0},s=c.a;break t}catch(t){}s=!1}o=s?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var p=o;if(!ShadowRoot.prototype.createElement){var l,d=window.HTMLElement,u=window.customElements.define,f=window.customElements.get,h=window.customElements,m=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap;window.CustomElementRegistry=function(){this.l=new Map,this.o=new Map,this.i=new Map,this.h=new Map},window.CustomElementRegistry.prototype.define=function(t,i){if(t=t.toLowerCase(),void 0!==this.j(t))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': the name \""+t+'" has already been used with this registry');if(void 0!==this.o.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");var r=i.prototype.attributeChangedCallback,o=new Set(i.observedAttributes||[]);if(x(i,o,r),r={g:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:r,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:o},this.l.set(t,r),this.o.set(i,r),(o=f.call(h,t))||(o=b(t),u.call(h,t,o)),this===window.customElements&&(v.set(i,r),r.s=o),o=this.h.get(t)){this.h.delete(t);for(var n=(o=e(o)).next();!n.done;n=o.next())n=n.value,y.delete(n),O(n,r,!0)}return void 0!==(r=this.i.get(t))&&(r.resolve(i),this.i.delete(t)),i},window.CustomElementRegistry.prototype.upgrade=function(){S.push(this),h.upgrade.apply(h,arguments),S.pop()},window.CustomElementRegistry.prototype.get=function(t){var e;return null==(e=this.l.get(t))?void 0:e.g},window.CustomElementRegistry.prototype.j=function(t){return this.l.get(t)},window.CustomElementRegistry.prototype.whenDefined=function(t){var e=this.j(t);if(void 0!==e)return Promise.resolve(e.g);var i=this.i.get(t);return void 0===i&&((i={}).promise=new Promise((function(t){return i.resolve=t})),this.i.set(t,i)),i.promise},window.CustomElementRegistry.prototype.m=function(t,e,i){var r=this.h.get(e);r||this.h.set(e,r=new Set),i?r.add(t):r.delete(t)},window.HTMLElement=function(){var t=l;if(t)return l=void 0,t;var e=v.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return t=Reflect.construct(d,[],e.s),Object.setPrototypeOf(t,this.constructor.prototype),m.set(t,e),t},window.HTMLElement.prototype=d.prototype;var b=function(t){function e(){var e=Reflect.construct(d,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);t:{var i=e.getRootNode();if(!(i===document||i instanceof ShadowRoot)){if((i=S[S.length-1])instanceof CustomElementRegistry){var r=i;break t}(i=i.getRootNode())===document||i instanceof ShadowRoot||(i=(null==(r=g.get(i))?void 0:r.getRootNode())||document)}r=i.customElements}return(i=(r=r||window.customElements).j(t))?O(e,i):y.set(e,r),e}return n.Object.defineProperty(e,"formAssociated",{configurable:!0,enumerable:!0,get:function(){return!0}}),e.prototype.connectedCallback=function(){var e=m.get(this);e?e.connectedCallback&&e.connectedCallback.apply(this,arguments):y.get(this).m(this,t,!0)},e.prototype.disconnectedCallback=function(){var e=m.get(this);e?e.disconnectedCallback&&e.disconnectedCallback.apply(this,arguments):y.get(this).m(this,t,!1)},e.prototype.adoptedCallback=function(){var t,e;null==(t=m.get(this))||null==(e=t.adoptedCallback)||e.apply(this,arguments)},e.prototype.formAssociatedCallback=function(){var t,e=m.get(this);e&&e.formAssociated&&(null==e||null==(t=e.formAssociatedCallback)||t.apply(this,arguments))},e.prototype.formDisabledCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formDisabledCallback)||t.apply(this,arguments))},e.prototype.formResetCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formResetCallback)||t.apply(this,arguments))},e.prototype.formStateRestoreCallback=function(){var t,e=m.get(this);null!=e&&e.formAssociated&&(null==e||null==(t=e.formStateRestoreCallback)||t.apply(this,arguments))},e},x=function(t,e,i){if(0!==e.size&&void 0!==i){var r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,o){if(t=t.toLowerCase(),e.has(t)){var n=this.getAttribute(t);r.call(this,t,o),i.call(this,t,n,o)}else r.call(this,t,o)});var o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){if(t=t.toLowerCase(),e.has(t)){var r=this.getAttribute(t);o.call(this,t),i.call(this,t,r,null)}else o.call(this,t)})}},w=function(t){var e=Object.getPrototypeOf(t);if(e!==window.HTMLElement)return e===d?Object.setPrototypeOf(t,window.HTMLElement):w(e)},O=function(t,e,i){i=void 0!==i&&i,Object.setPrototypeOf(t,e.g.prototype),m.set(t,e),l=t;try{new e.g}catch(t){w(e.g),new e.g}e.observedAttributes.forEach((function(i){t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},$=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){var e=$.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};var S=[document],k=function(t,e,i){var r=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){S.push(this);var t=r.apply(i||this,arguments);return void 0!==t&&g.set(t,this),S.pop(),t}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");var C=function(t){var e=Object.getOwnPropertyDescriptor(t.prototype,"innerHTML");Object.defineProperty(t.prototype,"innerHTML",Object.assign({},e,{set:function(t){S.push(this),e.set.call(this,t),S.pop()}}))};if(C(Element),C(ShadowRoot),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){var R=new WeakMap,E=HTMLElement.prototype.attachInternals;HTMLElement.prototype.attachInternals=function(t){for(var e=[],r=0;r<arguments.length;++r)e[r]=arguments[r];return e=E.call.apply(E,[this].concat(i(e))),R.set(e,this),e},["setFormValue","setValidity","checkValidity","reportValidity"].forEach((function(t){var e=window.ElementInternals.prototype,r=e[t];e[t]=function(t){for(var e=[],o=0;o<arguments.length;++o)e[o]=arguments[o];if(o=R.get(this),!0!==m.get(o).formAssociated)throw new DOMException("Failed to execute "+r+" on 'ElementInternals': The target element is not a form-associated custom element.");null==r||r.call.apply(r,[this].concat(i(e)))}}));var N=function(t){var e=a(Array,[].concat(i(t)),this.constructor);return e.h=t,e},A=N,M=Array;if(A.prototype=r(M.prototype),A.prototype.constructor=A,p)p(A,M);else for(var T in M)if("prototype"!=T)if(Object.defineProperties){var z=Object.getOwnPropertyDescriptor(M,T);z&&Object.defineProperty(A,T,z)}else A[T]=M[T];A.u=M.prototype,n.Object.defineProperty(N.prototype,"value",{configurable:!0,enumerable:!0,get:function(){var t;return(null==(t=this.h.find((function(t){return!0===t.checked})))?void 0:t.value)||""}});var F=function(t){var e=this,i=new Map;t.forEach((function(t,r){var o=t.getAttribute("name"),n=i.get(o)||[];e[+r]=t,n.push(t),i.set(o,n)})),this.length=t.length,i.forEach((function(t,i){t&&(e[i]=1===t.length?t[0]:new N(t))}))};F.prototype.namedItem=function(t){return this[t]};var j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){for(var t=j.get.call(this,[]),i=[],r=(t=e(t)).next();!r.done;r=t.next()){r=r.value;var o=m.get(r);o&&!0!==o.formAssociated||i.push(r)}return new F(i)}})}}}).call(self);try{window.customElements.define("custom-element",null)}catch(t){const e=window.customElements.define;window.customElements.define=(t,i,r)=>{try{e.bind(window.customElements)(t,i,r)}catch(e){console.warn(t,i,r,e)}}}class ft{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}const ht=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};class mt{constructor(t,e,i,r,o){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=r,this.context=o,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new mt(t,e,void 0,i)}static extend(t,e,i){return new mt(t,e.category,e,i)}static external(t,e){return new mt(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return a`var(${n(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):n(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function yt(t,e){return n(`${t.name}: ${e}`)}const vt={colorPrimary:mt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:mt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
67
67
  /**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
71
- */class gt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:r}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return s(o,this.constructor.elementStyles),o}}}(Q)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),T`
72
- ${t.map((t=>T`
71
+ */class gt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:r}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return s(o,this.constructor.elementStyles),o}}}(Q)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),F`
72
+ ${t.map((t=>F`
73
73
  <style>${t}</style>
74
74
  `))}
75
75
  ${this.getTemplate()}
@@ -152,7 +152,7 @@ class At extends Q{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this
152
152
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
153
153
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
154
154
  * THE SOFTWARE.
155
- */var Mt=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),zt={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},Ft={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Tt={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
155
+ */var Mt=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),Tt={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},zt={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},Ft={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
156
156
  /**
157
157
  * @license
158
158
  * Copyright 2016 Google Inc.
@@ -197,7 +197,7 @@ class At extends Q{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this
197
197
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
198
198
  * THE SOFTWARE.
199
199
  */
200
- var jt=["touchstart","pointerdown","mousedown","keydown"],Ut=["touchend","pointerup","mouseup","contextmenu"],_t=[],Bt=function(t){function e(i){var r=t.call(this,kt(kt({},e.defaultAdapter),i))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(t){r.activateImpl(t)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return zt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Ft},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return Tt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,o=r.ROOT,n=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(o),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(o),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var r=Rt(jt),o=r.next();!o.done;o=r.next()){var n=o.value;this.adapter.registerInteractionHandler(n,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var r=Rt(Ut),o=r.next();!o.done;o=r.next()){var n=o.value;this.adapter.registerDocumentInteractionHandler(n,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=Rt(jt),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=Rt(Ut),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==t&&r.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&_t.length>0&&_t.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(_t.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){_t=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,o=i.VAR_FG_TRANSLATE_END,n=e.cssClasses,a=n.FG_DEACTIVATION,s=n.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var p="",l="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),u=d.startPoint,f=d.endPoint;p=u.x+"px, "+u.y+"px",l=f.x+"px, "+f.y+"px"}this.adapter.updateCssVariable(r,p),this.adapter.updateCssVariable(o,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),c)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var r,o,n=e.x,a=e.y,s=n+i.left,c=a+i.top;if("touchstart"===t.type){var p=t;r=p.changedTouches[0].pageX-s,o=p.changedTouches[0].pageY-c}else{var l=t;r=l.pageX-s,o=l.pageY-c}return{x:r,y:o}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:t={x:t.x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,n=r.isActivated;(o||!n)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),Tt.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=kt({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var i=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?i:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var r=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,o=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},e}(Mt),Dt=Bt;
200
+ var jt=["touchstart","pointerdown","mousedown","keydown"],Ut=["touchend","pointerup","mouseup","contextmenu"],_t=[],Bt=function(t){function e(i){var r=t.call(this,kt(kt({},e.defaultAdapter),i))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(t){r.activateImpl(t)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Tt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return zt},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return Ft},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,o=r.ROOT,n=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(o),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(o),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var r=Rt(jt),o=r.next();!o.done;o=r.next()){var n=o.value;this.adapter.registerInteractionHandler(n,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var r=Rt(Ut),o=r.next();!o.done;o=r.next()){var n=o.value;this.adapter.registerDocumentInteractionHandler(n,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=Rt(jt),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=Rt(Ut),r=i.next();!r.done;r=i.next()){var o=r.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==t&&r.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&_t.length>0&&_t.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(_t.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){_t=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,o=i.VAR_FG_TRANSLATE_END,n=e.cssClasses,a=n.FG_DEACTIVATION,s=n.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var p="",l="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),u=d.startPoint,f=d.endPoint;p=u.x+"px, "+u.y+"px",l=f.x+"px, "+f.y+"px"}this.adapter.updateCssVariable(r,p),this.adapter.updateCssVariable(o,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),c)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var r,o,n=e.x,a=e.y,s=n+i.left,c=a+i.top;if("touchstart"===t.type){var p=t;r=p.changedTouches[0].pageX-s,o=p.changedTouches[0].pageY-c}else{var l=t;r=l.pageX-s,o=l.pageY-c}return{x:r,y:o}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2},{startPoint:t={x:t.x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,n=r.isActivated;(o||!n)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),Ft.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=kt({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var i=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?i:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var r=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,o=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},e}(Mt),Dt=Bt;
201
201
  /**
202
202
  * @license
203
203
  * Copyright 2018 Google LLC
@@ -208,7 +208,7 @@ const Lt=lt(class extends dt{constructor(t){var e;if(super(t),t.type!==pt||"styl
208
208
  * @license
209
209
  * Copyright 2018 Google LLC
210
210
  * SPDX-License-Identifier: Apache-2.0
211
- */class Pt extends At{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=Dt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return T`
211
+ */class Pt extends At{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=Dt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return F`
212
212
  <div class="mdc-ripple-surface mdc-ripple-upgraded ${ut(i)}"
213
213
  style="${Lt({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Ct([at(".mdc-ripple-surface")],Pt.prototype,"mdcRoot",void 0),Ct([rt({type:Boolean})],Pt.prototype,"primary",void 0),Ct([rt({type:Boolean})],Pt.prototype,"accent",void 0),Ct([rt({type:Boolean})],Pt.prototype,"unbounded",void 0),Ct([rt({type:Boolean})],Pt.prototype,"disabled",void 0),Ct([rt({type:Boolean})],Pt.prototype,"activated",void 0),Ct([rt({type:Boolean})],Pt.prototype,"selected",void 0),Ct([rt({type:Boolean})],Pt.prototype,"internalUseStateLayerCustomProperties",void 0),Ct([ot()],Pt.prototype,"hovering",void 0),Ct([ot()],Pt.prototype,"bgFocused",void 0),Ct([ot()],Pt.prototype,"fgActivation",void 0),Ct([ot()],Pt.prototype,"fgDeactivation",void 0),Ct([ot()],Pt.prototype,"fgScale",void 0),Ct([ot()],Pt.prototype,"fgSize",void 0),Ct([ot()],Pt.prototype,"translateStart",void 0),Ct([ot()],Pt.prototype,"translateEnd",void 0),Ct([ot()],Pt.prototype,"leftPos",void 0),Ct([ot()],Pt.prototype,"topPos",void 0);
214
214
  /**
@@ -246,7 +246,7 @@ class Wt{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))}
246
246
  mwc-ripple.ft-ripple--primary {
247
247
  --mdc-ripple-color: ${Kt.primaryColor};
248
248
  }
249
- `}getTemplate(){return T`
249
+ `}getTemplate(){return F`
250
250
  <mwc-ripple
251
251
  class="${this.primary?"ft-ripple--primary":this.secondary?"ft-ripple--secondary":""}"
252
252
  ?unbounded=${this.unbounded}
@@ -260,7 +260,7 @@ class Wt{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))}
260
260
  * Copyright 2020 Google LLC
261
261
  * SPDX-License-Identifier: BSD-3-Clause
262
262
  */
263
- const qt=t=>({_$litStatic$:t}),Gt=new Map,Xt=(t=>(e,...i)=>{var r;const o=i.length;let n,a;const s=[],c=[];let p,l=0,d=!1;for(;l<o;){for(p=e[l];l<o&&void 0!==(a=i[l],n=null===(r=a)||void 0===r?void 0:r._$litStatic$);)p+=n+e[++l],d=!0;c.push(a),s.push(p),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=Gt.get(t))&&(s.raw=s,Gt.set(t,e=s)),i=c}return t(e,...i)})(T);var Jt,Yt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Jt||(Jt={}));const Qt=mt.extend("--ft-typography-font-family",vt.titleFont),te=mt.extend("--ft-typography-font-family",vt.contentFont),ee={fontFamily:te,fontSize:mt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","SIZE","24px"),textTransform:mt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=mt.extend("--ft-typography-title-font-family",Qt),re=mt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),oe=mt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),ne=mt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),ae=mt.extend("--ft-typography-title-line-height",ee.lineHeight,"24px"),se=mt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),ce=mt.extend("--ft-typography-title-dense-font-family",Qt),pe=mt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),le=mt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),de=mt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),ue=mt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"24px"),fe=mt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),he=mt.extend("--ft-typography-subtitle1-font-family",te),me=mt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ye=mt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),ve=mt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),ge=mt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"24px"),be=mt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),xe=mt.extend("--ft-typography-subtitle2-font-family",te),we=mt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),Oe=mt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),$e=mt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=mt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"24px"),ke=mt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=mt.extend("--ft-typography-body1-font-family",te),Re=mt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=mt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),Ne=mt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),Ae=mt.extend("--ft-typography-body1-line-height",ee.lineHeight,"24px"),Me=mt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),ze=mt.extend("--ft-typography-body2-font-family",te),Fe=mt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),Te=mt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),je=mt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Ue=mt.extend("--ft-typography-body2-line-height",ee.lineHeight,"20px"),_e=mt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),Be=mt.extend("--ft-typography-caption-font-family",te),De=mt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),Le=mt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),Pe=mt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),Ie=mt.extend("--ft-typography-caption-line-height",ee.lineHeight,"16px"),He=mt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),We=mt.extend("--ft-typography-breadcrumb-font-family",te),Ve=mt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ke=mt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ze=mt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),qe=mt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"16px"),Ge=mt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),Xe=mt.extend("--ft-typography-overline-font-family",te),Je=mt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ye=mt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=mt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=mt.extend("--ft-typography-overline-line-height",ee.lineHeight,"16px"),ei=mt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii={fontFamily:mt.extend("--ft-typography-button-font-family",te),fontSize:mt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),letterSpacing:mt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),lineHeight:mt.extend("--ft-typography-button-line-height",ee.lineHeight,"16px"),textTransform:mt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase")},ri=a`
263
+ const qt=t=>({_$litStatic$:t}),Gt=new Map,Xt=(t=>(e,...i)=>{var r;const o=i.length;let n,a;const s=[],c=[];let p,l=0,d=!1;for(;l<o;){for(p=e[l];l<o&&void 0!==(a=i[l],n=null===(r=a)||void 0===r?void 0:r._$litStatic$);)p+=n+e[++l],d=!0;c.push(a),s.push(p),l++}if(l===o&&s.push(e[o]),d){const t=s.join("$$lit$$");void 0===(e=Gt.get(t))&&(s.raw=s,Gt.set(t,e=s)),i=c}return t(e,...i)})(F);var Jt,Yt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Jt||(Jt={}));const Qt=mt.extend("--ft-typography-font-family",vt.titleFont),te=mt.extend("--ft-typography-font-family",vt.contentFont),ee={fontFamily:te,fontSize:mt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","SIZE","24px"),textTransform:mt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ie=mt.extend("--ft-typography-title-font-family",Qt),re=mt.extend("--ft-typography-title-font-size",ee.fontSize,"20px"),oe=mt.extend("--ft-typography-title-font-weight",ee.fontWeight,"normal"),ne=mt.extend("--ft-typography-title-letter-spacing",ee.letterSpacing,"0.15px"),ae=mt.extend("--ft-typography-title-line-height",ee.lineHeight,"24px"),se=mt.extend("--ft-typography-title-text-transform",ee.textTransform,"inherit"),ce=mt.extend("--ft-typography-title-dense-font-family",Qt),pe=mt.extend("--ft-typography-title-dense-font-size",ee.fontSize,"14px"),le=mt.extend("--ft-typography-title-dense-font-weight",ee.fontWeight,"normal"),de=mt.extend("--ft-typography-title-dense-letter-spacing",ee.letterSpacing,"0.105px"),ue=mt.extend("--ft-typography-title-dense-line-height",ee.lineHeight,"24px"),fe=mt.extend("--ft-typography-title-dense-text-transform",ee.textTransform,"inherit"),he=mt.extend("--ft-typography-subtitle1-font-family",te),me=mt.extend("--ft-typography-subtitle1-font-size",ee.fontSize,"16px"),ye=mt.extend("--ft-typography-subtitle1-font-weight",ee.fontWeight,"600"),ve=mt.extend("--ft-typography-subtitle1-letter-spacing",ee.letterSpacing,"0.144px"),ge=mt.extend("--ft-typography-subtitle1-line-height",ee.lineHeight,"24px"),be=mt.extend("--ft-typography-subtitle1-text-transform",ee.textTransform,"inherit"),xe=mt.extend("--ft-typography-subtitle2-font-family",te),we=mt.extend("--ft-typography-subtitle2-font-size",ee.fontSize,"14px"),Oe=mt.extend("--ft-typography-subtitle2-font-weight",ee.fontWeight,"normal"),$e=mt.extend("--ft-typography-subtitle2-letter-spacing",ee.letterSpacing,"0.098px"),Se=mt.extend("--ft-typography-subtitle2-line-height",ee.lineHeight,"24px"),ke=mt.extend("--ft-typography-subtitle2-text-transform",ee.textTransform,"inherit"),Ce=mt.extend("--ft-typography-body1-font-family",te),Re=mt.extend("--ft-typography-body1-font-size",ee.fontSize,"16px"),Ee=mt.extend("--ft-typography-body1-font-weight",ee.fontWeight,"normal"),Ne=mt.extend("--ft-typography-body1-letter-spacing",ee.letterSpacing,"0.496px"),Ae=mt.extend("--ft-typography-body1-line-height",ee.lineHeight,"24px"),Me=mt.extend("--ft-typography-body1-text-transform",ee.textTransform,"inherit"),Te=mt.extend("--ft-typography-body2-font-family",te),ze=mt.extend("--ft-typography-body2-font-size",ee.fontSize,"14px"),Fe=mt.extend("--ft-typography-body2-font-weight",ee.fontWeight,"normal"),je=mt.extend("--ft-typography-body2-letter-spacing",ee.letterSpacing,"0.252px"),Ue=mt.extend("--ft-typography-body2-line-height",ee.lineHeight,"20px"),_e=mt.extend("--ft-typography-body2-text-transform",ee.textTransform,"inherit"),Be=mt.extend("--ft-typography-caption-font-family",te),De=mt.extend("--ft-typography-caption-font-size",ee.fontSize,"12px"),Le=mt.extend("--ft-typography-caption-font-weight",ee.fontWeight,"normal"),Pe=mt.extend("--ft-typography-caption-letter-spacing",ee.letterSpacing,"0.396px"),Ie=mt.extend("--ft-typography-caption-line-height",ee.lineHeight,"16px"),He=mt.extend("--ft-typography-caption-text-transform",ee.textTransform,"inherit"),We=mt.extend("--ft-typography-breadcrumb-font-family",te),Ve=mt.extend("--ft-typography-breadcrumb-font-size",ee.fontSize,"10px"),Ke=mt.extend("--ft-typography-breadcrumb-font-weight",ee.fontWeight,"normal"),Ze=mt.extend("--ft-typography-breadcrumb-letter-spacing",ee.letterSpacing,"0.33px"),qe=mt.extend("--ft-typography-breadcrumb-line-height",ee.lineHeight,"16px"),Ge=mt.extend("--ft-typography-breadcrumb-text-transform",ee.textTransform,"inherit"),Xe=mt.extend("--ft-typography-overline-font-family",te),Je=mt.extend("--ft-typography-overline-font-size",ee.fontSize,"10px"),Ye=mt.extend("--ft-typography-overline-font-weight",ee.fontWeight,"normal"),Qe=mt.extend("--ft-typography-overline-letter-spacing",ee.letterSpacing,"1.5px"),ti=mt.extend("--ft-typography-overline-line-height",ee.lineHeight,"16px"),ei=mt.extend("--ft-typography-overline-text-transform",ee.textTransform,"uppercase"),ii={fontFamily:mt.extend("--ft-typography-button-font-family",te),fontSize:mt.extend("--ft-typography-button-font-size",ee.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-button-font-weight",ee.fontWeight,"600"),letterSpacing:mt.extend("--ft-typography-button-letter-spacing",ee.letterSpacing,"1.246px"),lineHeight:mt.extend("--ft-typography-button-line-height",ee.lineHeight,"16px"),textTransform:mt.extend("--ft-typography-button-text-transform",ee.textTransform,"uppercase")},ri=a`
264
264
  .ft-typography--title {
265
265
  font-family: ${ie};
266
266
  font-size: ${re};
@@ -308,9 +308,9 @@ const qt=t=>({_$litStatic$:t}),Gt=new Map,Xt=(t=>(e,...i)=>{var r;const o=i.leng
308
308
  }
309
309
  `,ci=a`
310
310
  .ft-typography--body2 {
311
- font-family: ${ze};
312
- font-size: ${Fe};
313
- font-weight: ${Te};
311
+ font-family: ${Te};
312
+ font-size: ${ze};
313
+ font-weight: ${Fe};
314
314
  letter-spacing: ${je};
315
315
  line-height: ${Ue};
316
316
  text-transform: ${_e};
@@ -351,7 +351,11 @@ const qt=t=>({_$litStatic$:t}),Gt=new Map,Xt=(t=>(e,...i)=>{var r;const o=i.leng
351
351
  line-height: ${ii.lineHeight};
352
352
  text-transform: ${ii.textTransform};
353
353
  }
354
- `;let fi=class extends gt{constructor(){super(...arguments),this.variant=Jt.body1}getStyles(){return[ri,oi,ni,ai,si,ci,pi,li,di,ui]}getTemplate(){return this.element?Xt`
354
+ `;let fi=class extends gt{constructor(){super(...arguments),this.variant=Jt.body1}getStyles(){return[ri,oi,ni,ai,si,ci,pi,li,di,ui,a`
355
+ .ft-typography {
356
+ vertical-align: inherit;
357
+ }
358
+ `]}getTemplate(){return this.element?Xt`
355
359
  <${qt(this.element)}
356
360
  class="ft-typography ft-typography--${this.variant}">
357
361
  <slot></slot>
@@ -369,7 +373,7 @@ const hi=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
369
373
  * @license
370
374
  * Copyright 2018 Google LLC
371
375
  * SPDX-License-Identifier: Apache-2.0
372
- */;let mi=class extends Q{render(){return T`<span><slot></slot></span>`}};mi.styles=[hi],mi=Ct([et("mwc-icon")],mi);var yi=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const vi=mt.create("--ft-tooltip-distance","SIZE","4px"),gi=mt.create("--ft-tooltip-color","COLOR","#FFFFFF"),bi=mt.create("--ft-tooltip-background-color","COLOR","#666666"),xi=mt.create("--ft-tooltip-z-index","NUMBER","1"),wi=mt.external(vt.borderRadiusS,"Design system");let Oi=class extends gt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new ft,this.revealDebouncer=new ft}getStyles(){return a`
376
+ */;let mi=class extends Q{render(){return F`<span><slot></slot></span>`}};mi.styles=[hi],mi=Ct([et("mwc-icon")],mi);var yi=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const vi=mt.create("--ft-tooltip-distance","SIZE","4px"),gi=mt.create("--ft-tooltip-color","COLOR","#FFFFFF"),bi=mt.create("--ft-tooltip-background-color","COLOR","#666666"),xi=mt.create("--ft-tooltip-z-index","NUMBER","1"),wi=mt.external(vt.borderRadiusS,"Design system");let Oi=class extends gt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new ft,this.revealDebouncer=new ft}getStyles(){return a`
373
377
  .ft-tooltip--container {
374
378
  display: block;
375
379
  position: relative;
@@ -401,7 +405,7 @@ const hi=a`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:
401
405
  position: relative;
402
406
  word-break: break-word;
403
407
  }
404
- `}getTemplate(){return T`
408
+ `}getTemplate(){return F`
405
409
  <div part="container"
406
410
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
407
411
  @mouseenter=${this.onHover}
@@ -491,7 +495,7 @@ function(t,e,i){let r,o=t;return"object"==typeof t?(o=t.slot,r=t):r={flatten:e},
491
495
  transform: translate(calc(0.35 * ${Si.size}), 0);
492
496
  }
493
497
  }
494
- `}getTemplate(){return T`
498
+ `}getTemplate(){return F`
495
499
  <div class="ft-loader">
496
500
  <div></div>
497
501
  <div></div>
@@ -627,7 +631,7 @@ function(t,e,i){let r,o=t;return"object"==typeof t?(o=t.slot,r=t):r={flatten:e},
627
631
  ${yt(Si.size,Ei.iconSize)};
628
632
  ${yt(Si.color,"var(--ft-button-internal-color)")};
629
633
  }
630
- `]}getTemplate(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(T`
634
+ `]}getTemplate(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(F`
631
635
  <button part="button"
632
636
  class="${ut(t)}"
633
637
  aria-label="${this.getLabel()}"
@@ -641,12 +645,12 @@ function(t,e,i){let r,o=t;return"object"==typeof t?(o=t.slot,r=t):r={flatten:e},
641
645
  </ft-typography>
642
646
  ${this.resolveIcon()}
643
647
  </button>
644
- `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:T`
648
+ `)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:F`
645
649
  <ft-tooltip part="tooltip"
646
650
  text="${this.getLabel()}"
647
651
  position="${this.tooltipPosition}">
648
652
  ${t}
649
653
  </ft-tooltip>
650
- `}resolveIcon(){return this.loading?T`
651
- <ft-loader></ft-loader> `:this.icon?T`
652
- <mwc-icon>${this.icon}</mwc-icon> `:U}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}},t.FtButton.elementDefinitions={"ft-ripple":Zt,"ft-tooltip":Oi,"ft-typography":fi,"mwc-icon":mi,"ft-loader":ki},Ci([rt({type:Boolean})],t.FtButton.prototype,"primary",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"outlined",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"disabled",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"dense",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"round",void 0),Ci([rt({type:String})],t.FtButton.prototype,"label",void 0),Ci([rt({type:String})],t.FtButton.prototype,"icon",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"trailingIcon",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"loading",void 0),Ci([rt({type:String})],t.FtButton.prototype,"tooltipPosition",void 0),Ci([at(".ft-button")],t.FtButton.prototype,"button",void 0),Ci([at(".ft-button--label slot")],t.FtButton.prototype,"slottedContent",void 0),t.FtButton=Ci([ht("ft-button")],t.FtButton),t.FtButtonCssVariables=Ei,t.FtButtonDenseCssVariables=Mi,t.FtButtonPrimaryCssVariables=Ai,Object.defineProperty(t,"t",{value:!0})}({});
654
+ `}resolveIcon(){return this.loading?F`
655
+ <ft-loader></ft-loader> `:this.icon?F`
656
+ <mwc-icon>${this.icon}</mwc-icon> `:U}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}},t.FtButton.elementDefinitions={"ft-ripple":Zt,"ft-tooltip":Oi,"ft-typography":fi,"mwc-icon":mi,"ft-loader":ki},Ci([rt({type:Boolean})],t.FtButton.prototype,"primary",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"outlined",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"disabled",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"dense",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"round",void 0),Ci([rt({type:String})],t.FtButton.prototype,"label",void 0),Ci([rt({type:String})],t.FtButton.prototype,"icon",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"trailingIcon",void 0),Ci([rt({type:Boolean})],t.FtButton.prototype,"loading",void 0),Ci([rt({type:String})],t.FtButton.prototype,"tooltipPosition",void 0),Ci([at(".ft-button")],t.FtButton.prototype,"button",void 0),Ci([at(".ft-button--label slot")],t.FtButton.prototype,"slottedContent",void 0),t.FtButton=Ci([ht("ft-button")],t.FtButton),t.FtButtonCssVariables=Ei,t.FtButtonDenseCssVariables=Mi,t.FtButtonPrimaryCssVariables=Ai,Object.defineProperty(t,"t",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-button",
3
- "version": "0.1.7",
3
+ "version": "0.1.10",
4
4
  "description": "A generic Fluid Topics tag",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,13 +19,13 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-loader": "^0.1.7",
23
- "@fluid-topics/ft-ripple": "^0.1.7",
24
- "@fluid-topics/ft-tooltip": "^0.1.7",
25
- "@fluid-topics/ft-typography": "^0.1.7",
26
- "@fluid-topics/ft-wc-utils": "^0.1.7",
22
+ "@fluid-topics/ft-loader": "^0.1.10",
23
+ "@fluid-topics/ft-ripple": "^0.1.10",
24
+ "@fluid-topics/ft-tooltip": "^0.1.10",
25
+ "@fluid-topics/ft-typography": "^0.1.10",
26
+ "@fluid-topics/ft-wc-utils": "^0.1.10",
27
27
  "@material/mwc-icon": "^0.25.3",
28
28
  "lit": "^2.0.2"
29
29
  },
30
- "gitHead": "78397cca67971191c46739cfb6c87481aaa65745"
30
+ "gitHead": "af9249642eff7416fb4aa6371f82cb3f99086cec"
31
31
  }