@fluid-topics/ft-checkbox 0.2.15 → 0.2.16

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.
@@ -56,7 +56,7 @@ function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o)
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:$}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const k=globalThis.trustedTypes,S=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,N="?"+C,E=`<${N}>`,R=document,M=(t="")=>R.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,B=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),j=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=R.createTreeWalker(R,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=A;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===A?"!--"===l[1]?n=z:void 0!==l[1]?n=B:void 0!==l[2]?(_.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=L):void 0!==l[3]&&(n=L):n===L?">"===l[0]?(n=null!=s?s:A,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?L:'"'===l[3]?T:D):n===T||n===D?n=L:n===z||n===B?n=A:(n=L,s=void 0);const p=n===L&&t[e+1].startsWith("/>")?" ":"";r+=n===A?i+E:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+C+p):i+C+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,h]=I(t,e);if(this.el=V.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?Y:"?"===e[1]?Q:"@"===e[1]?tt:J})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),K.nextNode(),a.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:s}),t+=C.length-1}s++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var s,r,n,a;if(e===j)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=Z(t,l._$AS(t,e.values),l,o)),e}class X{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:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);K.currentNode=s;let r=K.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new et(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=K.nextNode(),n++)}return s}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 q{constructor(t,e,i,o){var s;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=Z(this,t,e),U(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==j&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return F(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new V(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new q(this.M(M()),this.M(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,s){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,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,o){const s=this.strings;let r=!1;if(void 0===s)t=Z(this,t,e,0),r=!U(t)||t!==this._$AH&&t!==j,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=Z(this,o[i+n],e,n),a===j&&(a=this._$AH[n]),r||(r=!U(a)||a!==this._$AH[n]),a===W?t=W:t!==W&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const G=k?k.emptyScript:"";class Q extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Z(this,t,e,0))&&void 0!==i?i:W)===j)return;const o=this._$AH,s=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==W&&(o===W||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{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){Z(this,t)}}const it=window.litHtmlPolyfillSupport;
59
+ var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:$}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const k=globalThis.trustedTypes,S=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,N="?"+C,R=`<${N}>`,E=document,M=(t="")=>E.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,z=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),j=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),H=new WeakMap,K=E.createTreeWalker(E,129,null,!1),I=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=A;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===A?"!--"===l[1]?n=B:void 0!==l[1]?n=z:void 0!==l[2]?(_.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=L):void 0!==l[3]&&(n=L):n===L?">"===l[0]?(n=null!=s?s:A,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?L:'"'===l[3]?T:D):n===T||n===D?n=L:n===B||n===z?n=A:(n=L,s=void 0);const p=n===L&&t[e+1].startsWith("/>")?" ":"";r+=n===A?i+R:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+C+p):i+C+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,o]};class V{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,h]=I(t,e);if(this.el=V.createElement(l,i),K.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=K.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?Y:"?"===e[1]?Q:"@"===e[1]?tt:J})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=k?k.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),K.nextNode(),a.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:s}),t+=C.length-1}s++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var s,r,n,a;if(e===j)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=Z(t,l._$AS(t,e.values),l,o)),e}class X{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:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);K.currentNode=s;let r=K.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new et(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=K.nextNode(),n++)}return s}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 q{constructor(t,e,i,o){var s;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=Z(this,t,e),U(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==j&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return F(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==W&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new X(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new V(t)),e}S(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new q(this.M(M()),this.M(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class J{constructor(t,e,i,o,s){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,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,o){const s=this.strings;let r=!1;if(void 0===s)t=Z(this,t,e,0),r=!U(t)||t!==this._$AH&&t!==j,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=Z(this,o[i+n],e,n),a===j&&(a=this._$AH[n]),r||(r=!U(a)||a!==this._$AH[n]),a===W?t=W:t!==W&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.C(t)}C(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===W?void 0:t}}const G=k?k.emptyScript:"";class Q extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==W?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Z(this,t,e,0))&&void 0!==i?i:W)===j)return;const o=this._$AH,s=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==W&&(o===W||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class et{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){Z(this,t)}}const it=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -93,7 +93,7 @@ const ft=1;
93
93
  * Copyright 2018 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
95
  */
96
- const dt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==ft||"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,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return j}});var ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const yt=at.extend("--ft-ripple-color",lt.colorContent),gt=yt,bt=at.extend("--ft-ripple-background-color",yt),vt=at.external(lt.opacityContentOnSurfacePressed,"Design system"),mt=at.external(lt.opacityContentOnSurfaceHover,"Design system"),xt=at.external(lt.opacityContentOnSurfaceFocused,"Design system"),wt=at.external(lt.opacityContentOnSurfaceSelected,"Design system"),$t=at.extend("--ft-ripple-color",lt.colorPrimary),Ot=$t,kt=at.extend("--ft-ripple-background-color",$t),St=at.extend("--ft-ripple-color",lt.colorSecondary),Ct=St,Nt=at.extend("--ft-ripple-background-color",St);class Et extends ht{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return P`
96
+ const dt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==ft||"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,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return j}});var ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const yt=at.extend("--ft-ripple-color",lt.colorContent),gt=yt,bt=at.extend("--ft-ripple-background-color",yt),vt=at.external(lt.opacityContentOnSurfacePressed,"Design system"),mt=at.external(lt.opacityContentOnSurfaceHover,"Design system"),xt=at.external(lt.opacityContentOnSurfaceFocused,"Design system"),wt=at.external(lt.opacityContentOnSurfaceSelected,"Design system"),$t=at.extend("--ft-ripple-color",lt.colorPrimary),Ot=$t,kt=at.extend("--ft-ripple-background-color",$t),St=at.extend("--ft-ripple-color",lt.colorSecondary),Ct=St,Nt=at.extend("--ft-ripple-background-color",St);class Rt extends ht{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new t(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return P`
97
97
  <style>
98
98
  .ft-ripple .ft-ripple--effect,
99
99
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -110,7 +110,7 @@ const dt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
110
110
  <div class="ft-ripple--background"></div>
111
111
  <div class="ft-ripple--effect"></div>
112
112
  </div>
113
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Et.elementDefinitions={},Et.styles=f`
113
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Rt.elementDefinitions={},Rt.styles=f`
114
114
  :host {
115
115
  display: contents;
116
116
  }
@@ -199,13 +199,13 @@ const dt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
199
199
  opacity: ${vt};
200
200
  transform: translate(-50%, -50%) scale(1);
201
201
  }
202
- `,ut([i({type:Boolean})],Et.prototype,"primary",void 0),ut([i({type:Boolean})],Et.prototype,"secondary",void 0),ut([i({type:Boolean})],Et.prototype,"unbounded",void 0),ut([i({type:Boolean})],Et.prototype,"activated",void 0),ut([i({type:Boolean})],Et.prototype,"selected",void 0),ut([i({type:Boolean})],Et.prototype,"disabled",void 0),ut([o()],Et.prototype,"hovered",void 0),ut([o()],Et.prototype,"focused",void 0),ut([o()],Et.prototype,"pressed",void 0),ut([o()],Et.prototype,"rippling",void 0),ut([o()],Et.prototype,"rippleSize",void 0),ut([o()],Et.prototype,"originX",void 0),ut([o()],Et.prototype,"originY",void 0),ut([s(".ft-ripple")],Et.prototype,"ripple",void 0),ut([s(".ft-ripple--effect")],Et.prototype,"rippleEffect",void 0),n("ft-ripple")(Et);
202
+ `,ut([i({type:Boolean})],Rt.prototype,"primary",void 0),ut([i({type:Boolean})],Rt.prototype,"secondary",void 0),ut([i({type:Boolean})],Rt.prototype,"unbounded",void 0),ut([i({type:Boolean})],Rt.prototype,"activated",void 0),ut([i({type:Boolean})],Rt.prototype,"selected",void 0),ut([i({type:Boolean})],Rt.prototype,"disabled",void 0),ut([o()],Rt.prototype,"hovered",void 0),ut([o()],Rt.prototype,"focused",void 0),ut([o()],Rt.prototype,"pressed",void 0),ut([o()],Rt.prototype,"rippling",void 0),ut([o()],Rt.prototype,"rippleSize",void 0),ut([o()],Rt.prototype,"originX",void 0),ut([o()],Rt.prototype,"originY",void 0),ut([s(".ft-ripple")],Rt.prototype,"ripple",void 0),ut([s(".ft-ripple--effect")],Rt.prototype,"rippleEffect",void 0),n("ft-ripple")(Rt);
203
203
  /**
204
204
  * @license
205
205
  * Copyright 2020 Google LLC
206
206
  * SPDX-License-Identifier: BSD-3-Clause
207
207
  */
208
- const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Rt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ut=t=>({_$litStatic$:t,r:Rt}),Ft=new Map,At=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],s=Mt(r));)l+=s+e[++h],c=!0;a.push(r),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Ft.get(t))&&(n.raw=n,Ft.set(t,e=n)),i=a}return t(e,...i)})(P);var zt,Bt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>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"}(zt||(zt={}));const Lt=at.extend("--ft-typography-font-family",lt.titleFont),Dt=at.extend("--ft-typography-font-family",lt.contentFont),Tt={fontFamily:Dt,fontSize:at.create("--ft-typography-font-size","SIZE","16px"),fontWeight:at.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:at.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:at.create("--ft-typography-line-height","SIZE","24px"),textTransform:at.create("--ft-typography-text-transform","UNKNOWN","inherit")},_t=at.extend("--ft-typography-title-font-family",Lt),Pt=at.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),jt=at.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),Wt=at.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),Ht=at.extend("--ft-typography-title-line-height",Tt.lineHeight,"24px"),Kt=at.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),It=at.extend("--ft-typography-title-dense-font-family",Lt),Vt=at.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Zt=at.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),Xt=at.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),qt=at.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"24px"),Jt=at.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Yt=at.extend("--ft-typography-subtitle1-font-family",Dt),Gt=at.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),Qt=at.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),te=at.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),ee=at.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"24px"),ie=at.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),oe=at.extend("--ft-typography-subtitle2-font-family",Dt),se=at.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),re=at.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),ne=at.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),ae=at.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"24px"),le=at.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),he=at.extend("--ft-typography-body1-font-family",Dt),ce=at.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),pe=at.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),fe=at.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),de=at.extend("--ft-typography-body1-line-height",Tt.lineHeight,"24px"),ue=at.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit"),ye=at.extend("--ft-typography-body2-font-family",Dt),ge=at.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),be=at.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),ve=at.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),me=at.extend("--ft-typography-body2-line-height",Tt.lineHeight,"20px"),xe=at.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),we=at.extend("--ft-typography-caption-font-family",Dt),$e=at.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),Oe=at.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),ke=at.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),Se=at.extend("--ft-typography-caption-line-height",Tt.lineHeight,"16px"),Ce=at.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit"),Ne=at.extend("--ft-typography-breadcrumb-font-family",Dt),Ee=at.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),Re=at.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),Me=at.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),Ue=at.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"16px"),Fe=at.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),Ae=at.extend("--ft-typography-overline-font-family",Dt),ze=at.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),Be=at.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),Le=at.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),De=at.extend("--ft-typography-overline-line-height",Tt.lineHeight,"16px"),Te=at.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),_e=at.extend("--ft-typography-button-font-family",Dt),Pe=at.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),je=at.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),We=at.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),He=at.extend("--ft-typography-button-line-height",Tt.lineHeight,"16px"),Ke=at.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase"),Ie=f`
208
+ const Et=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Et)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ut=t=>({_$litStatic$:t,r:Et}),Ft=new Map,At=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],s=Mt(r));)l+=s+e[++h],c=!0;a.push(r),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Ft.get(t))&&(n.raw=n,Ft.set(t,e=n)),i=a}return t(e,...i)})(P);var Bt,zt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>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"}(Bt||(Bt={}));const Lt=at.extend("--ft-typography-font-family",lt.titleFont),Dt=at.extend("--ft-typography-font-family",lt.contentFont),Tt={fontFamily:Dt,fontSize:at.create("--ft-typography-font-size","SIZE","16px"),fontWeight:at.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:at.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:at.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:at.create("--ft-typography-text-transform","UNKNOWN","inherit")},_t=at.extend("--ft-typography-title-font-family",Lt),Pt=at.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),jt=at.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),Wt=at.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),Ht=at.extend("--ft-typography-title-line-height",Tt.lineHeight,"1.2"),Kt=at.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),It=at.extend("--ft-typography-title-dense-font-family",Lt),Vt=at.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Zt=at.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),Xt=at.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),qt=at.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"1.7"),Jt=at.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Yt=at.extend("--ft-typography-subtitle1-font-family",Dt),Gt=at.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),Qt=at.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),te=at.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),ee=at.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"1.5"),ie=at.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),oe=at.extend("--ft-typography-subtitle2-font-family",Dt),se=at.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),re=at.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),ne=at.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),ae=at.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"1.7"),le=at.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),he=at.extend("--ft-typography-body1-font-family",Dt),ce=at.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),pe=at.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),fe=at.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),de=at.extend("--ft-typography-body1-line-height",Tt.lineHeight,"1.5"),ue=at.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit"),ye=at.extend("--ft-typography-body2-font-family",Dt),ge=at.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),be=at.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),ve=at.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),me=at.extend("--ft-typography-body2-line-height",Tt.lineHeight,"1.4"),xe=at.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),we=at.extend("--ft-typography-caption-font-family",Dt),$e=at.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),Oe=at.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),ke=at.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),Se=at.extend("--ft-typography-caption-line-height",Tt.lineHeight,"1.33"),Ce=at.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit"),Ne=at.extend("--ft-typography-breadcrumb-font-family",Dt),Re=at.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),Ee=at.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),Me=at.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),Ue=at.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"1.6"),Fe=at.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),Ae=at.extend("--ft-typography-overline-font-family",Dt),Be=at.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),ze=at.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),Le=at.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),De=at.extend("--ft-typography-overline-line-height",Tt.lineHeight,"1.6"),Te=at.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),_e=at.extend("--ft-typography-button-font-family",Dt),Pe=at.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),je=at.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),We=at.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),He=at.extend("--ft-typography-button-line-height",Tt.lineHeight,"1.15"),Ke=at.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase"),Ie=f`
209
209
  .ft-typography--title {
210
210
  font-family: ${_t};
211
211
  font-size: ${Pt};
@@ -272,8 +272,8 @@ const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
272
272
  `,Ge=f`
273
273
  .ft-typography--breadcrumb {
274
274
  font-family: ${Ne};
275
- font-size: ${Ee};
276
- font-weight: ${Re};
275
+ font-size: ${Re};
276
+ font-weight: ${Ee};
277
277
  letter-spacing: ${Me};
278
278
  line-height: ${Ue};
279
279
  text-transform: ${Fe};
@@ -281,8 +281,8 @@ const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
281
281
  `,Qe=f`
282
282
  .ft-typography--overline {
283
283
  font-family: ${Ae};
284
- font-size: ${ze};
285
- font-weight: ${Be};
284
+ font-size: ${Be};
285
+ font-weight: ${ze};
286
286
  letter-spacing: ${Le};
287
287
  line-height: ${De};
288
288
  text-transform: ${Te};
@@ -296,7 +296,7 @@ const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
296
296
  line-height: ${He};
297
297
  text-transform: ${Ke};
298
298
  }
299
- `;class ei extends ht{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?At`
299
+ `;class ei extends ht{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?At`
300
300
  <${Ut(this.element)}
301
301
  class="ft-typography ft-typography--${this.variant}">
302
302
  <slot></slot>
@@ -307,7 +307,7 @@ const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
307
307
  .ft-typography {
308
308
  vertical-align: inherit;
309
309
  }
310
- `],Bt([i()],ei.prototype,"element",void 0),Bt([i()],ei.prototype,"variant",void 0),n("ft-typography")(ei);var ii=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const oi=at.extend("--ft-checkbox-text-color",lt.colorOnSurfaceHigh),si=at.external(lt.colorPrimary,"Design system"),ri=at.external(lt.colorOnPrimary,"Design system"),ni=at.extend("--ft-checkbox-border-color",lt.colorOnSurfaceMedium),ai=at.external(lt.colorOnSurfaceDisabled,"Design system");class li extends ht{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return P`
310
+ `],zt([i()],ei.prototype,"element",void 0),zt([i()],ei.prototype,"variant",void 0),n("ft-typography")(ei);var ii=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const oi=at.extend("--ft-checkbox-text-color",lt.colorOnSurfaceHigh),si=at.external(lt.colorPrimary,"Design system"),ri=at.external(lt.colorOnPrimary,"Design system"),ni=at.extend("--ft-checkbox-border-color",lt.colorOnSurfaceMedium),ai=at.external(lt.colorOnSurfaceDisabled,"Design system");class li extends ht{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return P`
311
311
  <label class="${dt(t)}">
312
312
  <div class="ft-checkbox--box-container">
313
313
  <input type="checkbox"
@@ -332,7 +332,7 @@ const Rt=Symbol.for(""),Mt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
332
332
  <slot></slot>
333
333
  </ft-typography>
334
334
  </label>
335
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}li.elementDefinitions={"ft-ripple":Et,"ft-typography":ei},li.styles=f`
335
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}li.elementDefinitions={"ft-ripple":Rt,"ft-typography":ei},li.styles=f`
336
336
  * {
337
337
  box-sizing: border-box;
338
338
  }
@@ -21,7 +21,7 @@
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- var x;m.elementDefinitions={},m.styles=e.css`
24
+ var $;m.elementDefinitions={},m.styles=e.css`
25
25
  :host {
26
26
  display: contents;
27
27
  }
@@ -110,13 +110,13 @@ var x;m.elementDefinitions={},m.styles=e.css`
110
110
  opacity: ${l};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,r([o.property({type:Boolean})],m.prototype,"primary",void 0),r([o.property({type:Boolean})],m.prototype,"secondary",void 0),r([o.property({type:Boolean})],m.prototype,"unbounded",void 0),r([o.property({type:Boolean})],m.prototype,"activated",void 0),r([o.property({type:Boolean})],m.prototype,"selected",void 0),r([o.property({type:Boolean})],m.prototype,"disabled",void 0),r([o.state()],m.prototype,"hovered",void 0),r([o.state()],m.prototype,"focused",void 0),r([o.state()],m.prototype,"pressed",void 0),r([o.state()],m.prototype,"rippling",void 0),r([o.state()],m.prototype,"rippleSize",void 0),r([o.state()],m.prototype,"originX",void 0),r([o.state()],m.prototype,"originY",void 0),r([o.query(".ft-ripple")],m.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],m.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(m);const $=globalThis.trustedTypes,k=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,z="?"+w,A=`<${z}>`,_=document,C=(t="")=>_.createComment(t),S=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,B=/>/g,E=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,j=/'/g,T=/"/g,D=/^(?:script|style|textarea|title)$/i,I=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),U=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),Z=new WeakMap,G=_.createTreeWalker(_,129,null,!1),W=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=M;for(let i=0;i<e;i++){const e=t[i];let h,p,l=-1,a=0;for(;a<e.length&&(n.lastIndex=a,p=n.exec(e),null!==p);)a=n.lastIndex,n===M?"!--"===p[1]?n=N:void 0!==p[1]?n=B:void 0!==p[2]?(D.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=E):void 0!==p[3]&&(n=E):n===E?">"===p[0]?(n=null!=s?s:M,l=-1):void 0===p[1]?l=-2:(l=n.lastIndex-p[2].length,h=p[1],n=void 0===p[3]?E:'"'===p[3]?T:j):n===T||n===j?n=E:n===N||n===B?n=M:(n=E,s=void 0);const f=n===E&&t[i+1].startsWith("/>")?" ":"";r+=n===M?e+A:l>=0?(o.push(h),e.slice(0,l)+"$lit$"+e.slice(l)+w+f):e+w+(-2===l?(o.push(void 0),i):f)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(h):h,o]};class F{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[p,l]=W(t,i);if(this.el=F.createElement(p,e),G.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=G.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(w)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(w),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?q:"@"===i[1]?J:L})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(D.test(o.tagName)){const t=o.textContent.split(w),i=t.length-1;if(i>0){o.textContent=$?$.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],C()),G.nextNode(),h.push({type:2,index:++s});o.append(t[i],C())}}}else if(8===o.nodeType)if(o.data===z)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(w,t+1));)h.push({type:7,index:s}),t+=w.length-1}s++}}static createElement(t,i){const e=_.createElement("template");return e.innerHTML=t,e}}function H(t,i,e=t,o){var s,r,n,h;if(i===U)return i;let p=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const l=S(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==l&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===l?p=void 0:(p=new l(t),p._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Cl)&&void 0!==n?n:h._$Cl=[])[o]=p:e._$Cu=p),void 0!==p&&(i=H(t,p._$AS(t,i.values),p,o)),i}class K{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:_).importNode(e,!0);G.currentNode=s;let r=G.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new P(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new Q(r,this,t)),this.v.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=G.nextNode(),n++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class P{constructor(t,i,e,o){var s;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=H(this,t,i),S(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==U&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return O(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==R&&S(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=F.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new K(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new F(t)),i}S(t){O(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new P(this.M(C()),this.M(C()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class L{constructor(t,i,e,o,s){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let r=!1;if(void 0===s)t=H(this,t,i,0),r=!S(t)||t!==this._$AH&&t!==U,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=H(this,o[e+n],i,n),h===U&&(h=this._$AH[n]),r||(r=!S(h)||h!==this._$AH[n]),h===R?t=R:t!==R&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.C(t)}C(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends L{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===R?void 0:t}}const Y=$?$.emptyScript:"";class q extends L{constructor(){super(...arguments),this.type=4}C(t){t&&t!==R?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class J extends L{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=H(this,t,i,0))&&void 0!==e?e:R)===U)return;const o=this._$AH,s=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const V=window.litHtmlPolyfillSupport;null==V||V(F,P),(null!==(x=globalThis.litHtmlVersions)&&void 0!==x?x:globalThis.litHtmlVersions=[]).push("2.2.4");
113
+ `,r([o.property({type:Boolean})],m.prototype,"primary",void 0),r([o.property({type:Boolean})],m.prototype,"secondary",void 0),r([o.property({type:Boolean})],m.prototype,"unbounded",void 0),r([o.property({type:Boolean})],m.prototype,"activated",void 0),r([o.property({type:Boolean})],m.prototype,"selected",void 0),r([o.property({type:Boolean})],m.prototype,"disabled",void 0),r([o.state()],m.prototype,"hovered",void 0),r([o.state()],m.prototype,"focused",void 0),r([o.state()],m.prototype,"pressed",void 0),r([o.state()],m.prototype,"rippling",void 0),r([o.state()],m.prototype,"rippleSize",void 0),r([o.state()],m.prototype,"originX",void 0),r([o.state()],m.prototype,"originY",void 0),r([o.query(".ft-ripple")],m.prototype,"ripple",void 0),r([o.query(".ft-ripple--effect")],m.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(m);const x=globalThis.trustedTypes,k=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,z="?"+w,A=`<${z}>`,_=document,C=(t="")=>_.createComment(t),S=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,B=/>/g,E=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,j=/'/g,T=/"/g,D=/^(?:script|style|textarea|title)$/i,I=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),U=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),G=new WeakMap,W=_.createTreeWalker(_,129,null,!1),Z=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=N;for(let i=0;i<e;i++){const e=t[i];let h,p,l=-1,a=0;for(;a<e.length&&(n.lastIndex=a,p=n.exec(e),null!==p);)a=n.lastIndex,n===N?"!--"===p[1]?n=O:void 0!==p[1]?n=B:void 0!==p[2]?(D.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=E):void 0!==p[3]&&(n=E):n===E?">"===p[0]?(n=null!=s?s:N,l=-1):void 0===p[1]?l=-2:(l=n.lastIndex-p[2].length,h=p[1],n=void 0===p[3]?E:'"'===p[3]?T:j):n===T||n===j?n=E:n===O||n===B?n=N:(n=E,s=void 0);const f=n===E&&t[i+1].startsWith("/>")?" ":"";r+=n===N?e+A:l>=0?(o.push(h),e.slice(0,l)+"$lit$"+e.slice(l)+w+f):e+w+(-2===l?(o.push(void 0),i):f)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(h):h,o]};class F{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,r=0;const n=t.length-1,h=this.parts,[p,l]=Z(t,i);if(this.el=F.createElement(p,e),W.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=W.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(w)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(w),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?q:"@"===i[1]?J:L})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(D.test(o.tagName)){const t=o.textContent.split(w),i=t.length-1;if(i>0){o.textContent=x?x.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],C()),W.nextNode(),h.push({type:2,index:++s});o.append(t[i],C())}}}else if(8===o.nodeType)if(o.data===z)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(w,t+1));)h.push({type:7,index:s}),t+=w.length-1}s++}}static createElement(t,i){const e=_.createElement("template");return e.innerHTML=t,e}}function H(t,i,e=t,o){var s,r,n,h;if(i===U)return i;let p=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const l=S(i)?void 0:i._$litDirective$;return(null==p?void 0:p.constructor)!==l&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===l?p=void 0:(p=new l(t),p._$AT(t,e,o)),void 0!==o?(null!==(n=(h=e)._$Cl)&&void 0!==n?n:h._$Cl=[])[o]=p:e._$Cu=p),void 0!==p&&(i=H(t,p._$AS(t,i.values),p,o)),i}class K{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:_).importNode(e,!0);W.currentNode=s;let r=W.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new P(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new Q(r,this,t)),this.v.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=W.nextNode(),n++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class P{constructor(t,i,e,o){var s;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=H(this,t,i),S(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==U&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return M(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==R&&S(this._$AH)?this._$AA.nextSibling.data=t:this.k(_.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=F.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new K(s,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=G.get(t.strings);return void 0===i&&G.set(t.strings,i=new F(t)),i}S(t){M(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new P(this.M(C()),this.M(C()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class L{constructor(t,i,e,o,s){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let r=!1;if(void 0===s)t=H(this,t,i,0),r=!S(t)||t!==this._$AH&&t!==U,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=H(this,o[e+n],i,n),h===U&&(h=this._$AH[n]),r||(r=!S(h)||h!==this._$AH[n]),h===R?t=R:t!==R&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.C(t)}C(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends L{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===R?void 0:t}}const Y=x?x.emptyScript:"";class q extends L{constructor(){super(...arguments),this.type=4}C(t){t&&t!==R?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class J extends L{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=H(this,t,i,0))&&void 0!==e?e:R)===U)return;const o=this._$AH,s=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const V=window.litHtmlPolyfillSupport;null==V||V(F,P),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$:globalThis.litHtmlVersions=[]).push("2.2.4");
114
114
  /**
115
115
  * @license
116
116
  * Copyright 2020 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
118
  */
119
- const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===tt)return null===(e=t)||void 0===e?void 0:e._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,st=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let p,l=0,a=!1;for(;l<o;){for(p=i[l];l<o&&void 0!==(r=e[l],s=it(r));)p+=s+i[++l],a=!0;h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=ot.get(t))&&(n.raw=n,ot.set(t,i=n)),e=h}return t(i,...e)})(I);var rt,nt=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,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"}(rt||(rt={}));const ht=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),pt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),lt={fontFamily:pt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},at=i.FtCssVariable.extend("--ft-typography-title-font-family",ht),ft=i.FtCssVariable.extend("--ft-typography-title-font-size",lt.fontSize,"20px"),ct=i.FtCssVariable.extend("--ft-typography-title-font-weight",lt.fontWeight,"normal"),dt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",lt.letterSpacing,"0.15px"),yt=i.FtCssVariable.extend("--ft-typography-title-line-height",lt.lineHeight,"24px"),gt=i.FtCssVariable.extend("--ft-typography-title-text-transform",lt.textTransform,"inherit"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ht),bt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",lt.fontSize,"14px"),vt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",lt.fontWeight,"normal"),mt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",lt.letterSpacing,"0.105px"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",lt.lineHeight,"24px"),$t=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",lt.textTransform,"inherit"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",pt),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",lt.fontSize,"16px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",lt.fontWeight,"600"),At=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",lt.letterSpacing,"0.144px"),_t=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",lt.lineHeight,"24px"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",lt.textTransform,"inherit"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",pt),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",lt.fontSize,"14px"),Mt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",lt.fontWeight,"normal"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",lt.letterSpacing,"0.098px"),Bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",lt.lineHeight,"24px"),Et=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",lt.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-body1-font-family",pt),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-size",lt.fontSize,"16px"),Dt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",lt.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",lt.letterSpacing,"0.496px"),Ut=i.FtCssVariable.extend("--ft-typography-body1-line-height",lt.lineHeight,"24px"),Rt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",lt.textTransform,"inherit"),Zt=i.FtCssVariable.extend("--ft-typography-body2-font-family",pt),Gt=i.FtCssVariable.extend("--ft-typography-body2-font-size",lt.fontSize,"14px"),Wt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",lt.fontWeight,"normal"),Ft=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",lt.letterSpacing,"0.252px"),Ht=i.FtCssVariable.extend("--ft-typography-body2-line-height",lt.lineHeight,"20px"),Kt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",lt.textTransform,"inherit"),Pt=i.FtCssVariable.extend("--ft-typography-caption-font-family",pt),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-size",lt.fontSize,"12px"),Xt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",lt.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",lt.letterSpacing,"0.396px"),qt=i.FtCssVariable.extend("--ft-typography-caption-line-height",lt.lineHeight,"16px"),Jt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",lt.textTransform,"inherit"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",pt),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",lt.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",lt.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",lt.letterSpacing,"0.33px"),ei=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",lt.lineHeight,"16px"),oi=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",lt.textTransform,"inherit"),si=i.FtCssVariable.extend("--ft-typography-overline-font-family",pt),ri=i.FtCssVariable.extend("--ft-typography-overline-font-size",lt.fontSize,"10px"),ni=i.FtCssVariable.extend("--ft-typography-overline-font-weight",lt.fontWeight,"normal"),hi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",lt.letterSpacing,"1.5px"),pi=i.FtCssVariable.extend("--ft-typography-overline-line-height",lt.lineHeight,"16px"),li=i.FtCssVariable.extend("--ft-typography-overline-text-transform",lt.textTransform,"uppercase"),ai=i.FtCssVariable.extend("--ft-typography-button-font-family",pt),fi=i.FtCssVariable.extend("--ft-typography-button-font-size",lt.fontSize,"14px"),ci=i.FtCssVariable.extend("--ft-typography-button-font-weight",lt.fontWeight,"600"),di=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",lt.letterSpacing,"1.246px"),yi=i.FtCssVariable.extend("--ft-typography-button-line-height",lt.lineHeight,"16px"),gi=i.FtCssVariable.extend("--ft-typography-button-text-transform",lt.textTransform,"uppercase"),ui=e.css`
119
+ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===tt)return null===(e=t)||void 0===e?void 0:e._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),ot=new Map,st=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let p,l=0,a=!1;for(;l<o;){for(p=i[l];l<o&&void 0!==(r=e[l],s=it(r));)p+=s+i[++l],a=!0;h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=ot.get(t))&&(n.raw=n,ot.set(t,i=n)),e=h}return t(i,...e)})(I);var rt,nt=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,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"}(rt||(rt={}));const ht=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),pt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),lt={fontFamily:pt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},at=i.FtCssVariable.extend("--ft-typography-title-font-family",ht),ft=i.FtCssVariable.extend("--ft-typography-title-font-size",lt.fontSize,"20px"),ct=i.FtCssVariable.extend("--ft-typography-title-font-weight",lt.fontWeight,"normal"),dt=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",lt.letterSpacing,"0.15px"),yt=i.FtCssVariable.extend("--ft-typography-title-line-height",lt.lineHeight,"1.2"),gt=i.FtCssVariable.extend("--ft-typography-title-text-transform",lt.textTransform,"inherit"),ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",ht),bt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",lt.fontSize,"14px"),vt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",lt.fontWeight,"normal"),mt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",lt.letterSpacing,"0.105px"),$t=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",lt.lineHeight,"1.7"),xt=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",lt.textTransform,"inherit"),kt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",pt),wt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",lt.fontSize,"16px"),zt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",lt.fontWeight,"600"),At=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",lt.letterSpacing,"0.144px"),_t=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",lt.lineHeight,"1.5"),Ct=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",lt.textTransform,"inherit"),St=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",pt),Mt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",lt.fontSize,"14px"),Nt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",lt.fontWeight,"normal"),Ot=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",lt.letterSpacing,"0.098px"),Bt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",lt.lineHeight,"1.7"),Et=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",lt.textTransform,"inherit"),jt=i.FtCssVariable.extend("--ft-typography-body1-font-family",pt),Tt=i.FtCssVariable.extend("--ft-typography-body1-font-size",lt.fontSize,"16px"),Dt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",lt.fontWeight,"normal"),It=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",lt.letterSpacing,"0.496px"),Ut=i.FtCssVariable.extend("--ft-typography-body1-line-height",lt.lineHeight,"1.5"),Rt=i.FtCssVariable.extend("--ft-typography-body1-text-transform",lt.textTransform,"inherit"),Gt=i.FtCssVariable.extend("--ft-typography-body2-font-family",pt),Wt=i.FtCssVariable.extend("--ft-typography-body2-font-size",lt.fontSize,"14px"),Zt=i.FtCssVariable.extend("--ft-typography-body2-font-weight",lt.fontWeight,"normal"),Ft=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",lt.letterSpacing,"0.252px"),Ht=i.FtCssVariable.extend("--ft-typography-body2-line-height",lt.lineHeight,"1.4"),Kt=i.FtCssVariable.extend("--ft-typography-body2-text-transform",lt.textTransform,"inherit"),Pt=i.FtCssVariable.extend("--ft-typography-caption-font-family",pt),Lt=i.FtCssVariable.extend("--ft-typography-caption-font-size",lt.fontSize,"12px"),Xt=i.FtCssVariable.extend("--ft-typography-caption-font-weight",lt.fontWeight,"normal"),Yt=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",lt.letterSpacing,"0.396px"),qt=i.FtCssVariable.extend("--ft-typography-caption-line-height",lt.lineHeight,"1.33"),Jt=i.FtCssVariable.extend("--ft-typography-caption-text-transform",lt.textTransform,"inherit"),Qt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",pt),Vt=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",lt.fontSize,"10px"),ti=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",lt.fontWeight,"normal"),ii=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",lt.letterSpacing,"0.33px"),ei=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",lt.lineHeight,"1.6"),oi=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",lt.textTransform,"inherit"),si=i.FtCssVariable.extend("--ft-typography-overline-font-family",pt),ri=i.FtCssVariable.extend("--ft-typography-overline-font-size",lt.fontSize,"10px"),ni=i.FtCssVariable.extend("--ft-typography-overline-font-weight",lt.fontWeight,"normal"),hi=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",lt.letterSpacing,"1.5px"),pi=i.FtCssVariable.extend("--ft-typography-overline-line-height",lt.lineHeight,"1.6"),li=i.FtCssVariable.extend("--ft-typography-overline-text-transform",lt.textTransform,"uppercase"),ai=i.FtCssVariable.extend("--ft-typography-button-font-family",pt),fi=i.FtCssVariable.extend("--ft-typography-button-font-size",lt.fontSize,"14px"),ci=i.FtCssVariable.extend("--ft-typography-button-font-weight",lt.fontWeight,"600"),di=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",lt.letterSpacing,"1.246px"),yi=i.FtCssVariable.extend("--ft-typography-button-line-height",lt.lineHeight,"1.15"),gi=i.FtCssVariable.extend("--ft-typography-button-text-transform",lt.textTransform,"uppercase"),ui=e.css`
120
120
  .ft-typography--title {
121
121
  font-family: ${at};
122
122
  font-size: ${ft};
@@ -131,8 +131,8 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
131
131
  font-size: ${bt};
132
132
  font-weight: ${vt};
133
133
  letter-spacing: ${mt};
134
- line-height: ${xt};
135
- text-transform: ${$t};
134
+ line-height: ${$t};
135
+ text-transform: ${xt};
136
136
  }
137
137
  `,vi=e.css`
138
138
  .ft-typography--subtitle1 {
@@ -146,14 +146,14 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
146
146
  `,mi=e.css`
147
147
  .ft-typography--subtitle2 {
148
148
  font-family: ${St};
149
- font-size: ${Ot};
150
- font-weight: ${Mt};
151
- letter-spacing: ${Nt};
149
+ font-size: ${Mt};
150
+ font-weight: ${Nt};
151
+ letter-spacing: ${Ot};
152
152
  line-height: ${Bt};
153
153
  text-transform: ${Et};
154
154
  }
155
155
 
156
- `,xi=e.css`
156
+ `,$i=e.css`
157
157
  .ft-typography--body1 {
158
158
  font-family: ${jt};
159
159
  font-size: ${Tt};
@@ -162,11 +162,11 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
162
162
  line-height: ${Ut};
163
163
  text-transform: ${Rt};
164
164
  }
165
- `,$i=e.css`
165
+ `,xi=e.css`
166
166
  .ft-typography--body2 {
167
- font-family: ${Zt};
168
- font-size: ${Gt};
169
- font-weight: ${Wt};
167
+ font-family: ${Gt};
168
+ font-size: ${Wt};
169
+ font-weight: ${Zt};
170
170
  letter-spacing: ${Ft};
171
171
  line-height: ${Ht};
172
172
  text-transform: ${Kt};
@@ -214,11 +214,11 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
214
214
  </${et(this.element)}>
215
215
  `:st`
216
216
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
217
- `}}_i.styles=[ui,bi,vi,mi,xi,$i,ki,wi,zi,Ai,e.css`
217
+ `}}_i.styles=[ui,bi,vi,mi,$i,xi,ki,wi,zi,Ai,e.css`
218
218
  .ft-typography {
219
219
  vertical-align: inherit;
220
220
  }
221
- `],nt([o.property()],_i.prototype,"element",void 0),nt([o.property()],_i.prototype,"variant",void 0),i.customElement("ft-typography")(_i);var Ci=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const Si={textColor:i.FtCssVariable.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariable.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Oi extends i.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
221
+ `],nt([o.property()],_i.prototype,"element",void 0),nt([o.property()],_i.prototype,"variant",void 0),i.customElement("ft-typography")(_i);var Ci=function(t,i,e,o){for(var s,r=arguments.length,n=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,h=t.length-1;h>=0;h--)(s=t[h])&&(n=(r<3?s(n):r>3?s(i,e,n):s(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const Si={textColor:i.FtCssVariable.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariable.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariable.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariable.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariable.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Mi extends i.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
222
222
  <label class="${s.classMap(t)}">
223
223
  <div class="ft-checkbox--box-container">
224
224
  <input type="checkbox"
@@ -243,7 +243,7 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
243
243
  <slot></slot>
244
244
  </ft-typography>
245
245
  </label>
246
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Oi.elementDefinitions={"ft-ripple":m,"ft-typography":_i},Oi.styles=e.css`
246
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var i;super.contentAvailableCallback(t),null===(i=this.ripple)||void 0===i||i.setupFor(this.container)}}Mi.elementDefinitions={"ft-ripple":m,"ft-typography":_i},Mi.styles=e.css`
247
247
  * {
248
248
  box-sizing: border-box;
249
249
  }
@@ -320,4 +320,4 @@ const tt=Symbol.for(""),it=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)=
320
320
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
321
321
  opacity: 1;
322
322
  }
323
- `,Ci([o.property()],Oi.prototype,"name",void 0),Ci([o.property({type:Boolean})],Oi.prototype,"checked",void 0),Ci([o.property({type:Boolean})],Oi.prototype,"indeterminate",void 0),Ci([o.property({type:Boolean})],Oi.prototype,"disabled",void 0),Ci([o.query(".ft-checkbox")],Oi.prototype,"container",void 0),Ci([o.query("ft-ripple")],Oi.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Oi),t.FtCheckbox=Oi,t.FtCheckboxCssVariables=Si,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
323
+ `,Ci([o.property()],Mi.prototype,"name",void 0),Ci([o.property({type:Boolean})],Mi.prototype,"checked",void 0),Ci([o.property({type:Boolean})],Mi.prototype,"indeterminate",void 0),Ci([o.property({type:Boolean})],Mi.prototype,"disabled",void 0),Ci([o.query(".ft-checkbox")],Mi.prototype,"container",void 0),Ci([o.query("ft-ripple")],Mi.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Mi),t.FtCheckbox=Mi,t.FtCheckboxCssVariables=Si,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
@@ -56,7 +56,7 @@ function r(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o)
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var k;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.2");const S=globalThis.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,E="?"+N,R=`<${E}>`,M=document,U=(t="")=>M.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,L=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,I=M.createTreeWalker(M,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=z;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===z?"!--"===l[1]?n=B:void 0!==l[1]?n=L:void 0!==l[2]?(P.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=_):void 0!==l[3]&&(n=_):n===_?">"===l[0]?(n=null!=s?s:z,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?_:'"'===l[3]?T:D):n===T||n===D?n=_:n===B||n===L?n=z:(n=_,s=void 0);const p=n===_&&t[e+1].startsWith("/>")?" ":"";r+=n===z?i+R:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+N+p):i+N+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,o]};class Z{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=Z.createElement(l,i),I.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=I.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),I.nextNode(),a.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===E)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)a.push({type:7,index:s}),t+=N.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var s,r,n,a;if(e===W)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class q{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:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);I.currentNode=s;let r=I.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new J(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new it(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=I.nextNode(),n++)}return s}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 J{constructor(t,e,i,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=X(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return A(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new Z(t)),e}S(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new J(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=X(this,t,e,0),r=!F(t)||t!==this._$AH&&t!==W,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=X(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),r||(r=!F(a)||a!==this._$AH[n]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.C(t)}C(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===H?void 0:t}}const Q=S?S.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==H?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{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){X(this,t)}}const ot=window.litHtmlPolyfillSupport;
59
+ var k;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.2");const S=globalThis.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N=`lit$${(Math.random()+"").slice(9)}$`,R="?"+N,E=`<${R}>`,M=document,U=(t="")=>M.createComment(t),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,L=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),W=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,I=M.createTreeWalker(M,129,null,!1),V=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=B;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(n.lastIndex=c,l=n.exec(i),null!==l);)c=n.lastIndex,n===B?"!--"===l[1]?n=z:void 0!==l[1]?n=L:void 0!==l[2]?(P.test(l[2])&&(s=RegExp("</"+l[2],"g")),n=_):void 0!==l[3]&&(n=_):n===_?">"===l[0]?(n=null!=s?s:B,h=-1):void 0===l[1]?h=-2:(h=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?_:'"'===l[3]?T:D):n===T||n===D?n=_:n===z||n===L?n=B:(n=_,s=void 0);const p=n===_&&t[e+1].startsWith("/>")?" ":"";r+=n===B?i+E:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+N+p):i+N+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==C?C.createHTML(a):a,o]};class Z{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,a=this.parts,[l,h]=V(t,e);if(this.el=Z.createElement(l,i),I.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=I.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(N)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(N),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?G:"?"===e[1]?tt:"@"===e[1]?et:Y})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(P.test(o.tagName)){const t=o.textContent.split(N),e=t.length-1;if(e>0){o.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),I.nextNode(),a.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===R)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(N,t+1));)a.push({type:7,index:s}),t+=N.length-1}s++}}static createElement(t,e){const i=M.createElement("template");return i.innerHTML=t,i}}function X(t,e,i=t,o){var s,r,n,a;if(e===W)return e;let l=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=F(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(n=(a=i)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=X(t,l._$AS(t,e.values),l,o)),e}class q{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:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:M).importNode(i,!0);I.currentNode=s;let r=I.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new J(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new it(r,this,t)),this.v.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(r=I.nextNode(),n++)}return s}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 J{constructor(t,e,i,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=X(this,t,e),F(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==W&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var e;return A(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==H&&F(this._$AH)?this._$AA.nextSibling.data=t:this.k(M.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new Z(t)),e}S(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new J(this.M(U()),this.M(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Y{constructor(t,e,i,o,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=H}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=X(this,t,e,0),r=!F(t)||t!==this._$AH&&t!==W,r&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=X(this,o[i+n],e,n),a===W&&(a=this._$AH[n]),r||(r=!F(a)||a!==this._$AH[n]),a===H?t=H:t!==H&&(t+=(null!=a?a:"")+s[n+1]),this._$AH[n]=a}r&&!o&&this.C(t)}C(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class G extends Y{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===H?void 0:t}}const Q=S?S.emptyScript:"";class tt extends Y{constructor(){super(...arguments),this.type=4}C(t){t&&t!==H?this.element.setAttribute(this.name,Q):this.element.removeAttribute(this.name)}}class et extends Y{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=X(this,t,e,0))&&void 0!==i?i:H)===W)return;const o=this._$AH,s=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==H&&(o===H||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class it{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){X(this,t)}}const ot=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -93,7 +93,7 @@ const dt=1;
93
93
  * Copyright 2018 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
95
  */
96
- const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==dt||"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,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return W}});var yt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const gt=lt.extend("--ft-ripple-color",ht.colorContent),bt=gt,vt=lt.extend("--ft-ripple-background-color",gt),mt=lt.external(ht.opacityContentOnSurfacePressed,"Design system"),xt=lt.external(ht.opacityContentOnSurfaceHover,"Design system"),wt=lt.external(ht.opacityContentOnSurfaceFocused,"Design system"),$t=lt.external(ht.opacityContentOnSurfaceSelected,"Design system"),Ot=lt.extend("--ft-ripple-color",ht.colorPrimary),kt=Ot,St=lt.extend("--ft-ripple-background-color",Ot),Ct=lt.extend("--ft-ripple-color",ht.colorSecondary),Nt=Ct,Et=lt.extend("--ft-ripple-background-color",Ct);class Rt extends ct{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return j`
96
+ const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==dt||"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,o;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return W}});var yt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const gt=lt.extend("--ft-ripple-color",ht.colorContent),bt=gt,vt=lt.extend("--ft-ripple-background-color",gt),mt=lt.external(ht.opacityContentOnSurfacePressed,"Design system"),xt=lt.external(ht.opacityContentOnSurfaceHover,"Design system"),wt=lt.external(ht.opacityContentOnSurfaceFocused,"Design system"),$t=lt.external(ht.opacityContentOnSurfaceSelected,"Design system"),Ot=lt.extend("--ft-ripple-color",ht.colorPrimary),kt=Ot,St=lt.extend("--ft-ripple-background-color",Ot),Ct=lt.extend("--ft-ripple-color",ht.colorSecondary),Nt=Ct,Rt=lt.extend("--ft-ripple-background-color",Ct);class Et extends ct{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=s?s-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return j`
97
97
  <style>
98
98
  .ft-ripple .ft-ripple--effect,
99
99
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -110,7 +110,7 @@ const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
110
110
  <div class="ft-ripple--background"></div>
111
111
  <div class="ft-ripple--effect"></div>
112
112
  </div>
113
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Rt.elementDefinitions={},Rt.styles=d`
113
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Et.elementDefinitions={},Et.styles=d`
114
114
  :host {
115
115
  display: contents;
116
116
  }
@@ -140,7 +140,7 @@ const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
140
140
  }
141
141
 
142
142
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
143
- background-color: ${Et};
143
+ background-color: ${Rt};
144
144
  }
145
145
 
146
146
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
@@ -199,13 +199,13 @@ const ut=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
199
199
  opacity: ${mt};
200
200
  transform: translate(-50%, -50%) scale(1);
201
201
  }
202
- `,yt([o({type:Boolean})],Rt.prototype,"primary",void 0),yt([o({type:Boolean})],Rt.prototype,"secondary",void 0),yt([o({type:Boolean})],Rt.prototype,"unbounded",void 0),yt([o({type:Boolean})],Rt.prototype,"activated",void 0),yt([o({type:Boolean})],Rt.prototype,"selected",void 0),yt([o({type:Boolean})],Rt.prototype,"disabled",void 0),yt([s()],Rt.prototype,"hovered",void 0),yt([s()],Rt.prototype,"focused",void 0),yt([s()],Rt.prototype,"pressed",void 0),yt([s()],Rt.prototype,"rippling",void 0),yt([s()],Rt.prototype,"rippleSize",void 0),yt([s()],Rt.prototype,"originX",void 0),yt([s()],Rt.prototype,"originY",void 0),yt([r(".ft-ripple")],Rt.prototype,"ripple",void 0),yt([r(".ft-ripple--effect")],Rt.prototype,"rippleEffect",void 0),a("ft-ripple")(Rt);
202
+ `,yt([o({type:Boolean})],Et.prototype,"primary",void 0),yt([o({type:Boolean})],Et.prototype,"secondary",void 0),yt([o({type:Boolean})],Et.prototype,"unbounded",void 0),yt([o({type:Boolean})],Et.prototype,"activated",void 0),yt([o({type:Boolean})],Et.prototype,"selected",void 0),yt([o({type:Boolean})],Et.prototype,"disabled",void 0),yt([s()],Et.prototype,"hovered",void 0),yt([s()],Et.prototype,"focused",void 0),yt([s()],Et.prototype,"pressed",void 0),yt([s()],Et.prototype,"rippling",void 0),yt([s()],Et.prototype,"rippleSize",void 0),yt([s()],Et.prototype,"originX",void 0),yt([s()],Et.prototype,"originY",void 0),yt([r(".ft-ripple")],Et.prototype,"ripple",void 0),yt([r(".ft-ripple--effect")],Et.prototype,"rippleEffect",void 0),a("ft-ripple")(Et);
203
203
  /**
204
204
  * @license
205
205
  * Copyright 2020 Google LLC
206
206
  * SPDX-License-Identifier: BSD-3-Clause
207
207
  */
208
- const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Mt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ft=t=>({_$litStatic$:t,r:Mt}),At=new Map,zt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],s=Ut(r));)l+=s+e[++h],c=!0;a.push(r),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=At.get(t))&&(n.raw=n,At.set(t,e=n)),i=a}return t(e,...i)})(j);var Bt,Lt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>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"}(Bt||(Bt={}));const _t=lt.extend("--ft-typography-font-family",ht.titleFont),Dt=lt.extend("--ft-typography-font-family",ht.contentFont),Tt={fontFamily:Dt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","SIZE","24px"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Pt=lt.extend("--ft-typography-title-font-family",_t),jt=lt.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),Wt=lt.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),Ht=lt.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),Kt=lt.extend("--ft-typography-title-line-height",Tt.lineHeight,"24px"),It=lt.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),Vt=lt.extend("--ft-typography-title-dense-font-family",_t),Zt=lt.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Xt=lt.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),Jt=lt.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"24px"),Yt=lt.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Gt=lt.extend("--ft-typography-subtitle1-font-family",Dt),Qt=lt.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),te=lt.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),ee=lt.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),ie=lt.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"24px"),oe=lt.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle2-font-family",Dt),re=lt.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),ne=lt.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),ae=lt.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),le=lt.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"24px"),he=lt.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),ce=lt.extend("--ft-typography-body1-font-family",Dt),pe=lt.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),fe=lt.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),de=lt.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),ue=lt.extend("--ft-typography-body1-line-height",Tt.lineHeight,"24px"),ye=lt.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit"),ge=lt.extend("--ft-typography-body2-font-family",Dt),be=lt.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),ve=lt.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),me=lt.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),xe=lt.extend("--ft-typography-body2-line-height",Tt.lineHeight,"20px"),we=lt.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),$e=lt.extend("--ft-typography-caption-font-family",Dt),Oe=lt.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),ke=lt.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),Se=lt.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),Ce=lt.extend("--ft-typography-caption-line-height",Tt.lineHeight,"16px"),Ne=lt.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit"),Ee=lt.extend("--ft-typography-breadcrumb-font-family",Dt),Re=lt.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),Me=lt.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),Ue=lt.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),Fe=lt.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"16px"),Ae=lt.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),ze=lt.extend("--ft-typography-overline-font-family",Dt),Be=lt.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),Le=lt.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),_e=lt.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),De=lt.extend("--ft-typography-overline-line-height",Tt.lineHeight,"16px"),Te=lt.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),Pe=lt.extend("--ft-typography-button-font-family",Dt),je=lt.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),We=lt.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),He=lt.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),Ke=lt.extend("--ft-typography-button-line-height",Tt.lineHeight,"16px"),Ie=lt.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase"),Ve=d`
208
+ const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===Mt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ft=t=>({_$litStatic$:t,r:Mt}),At=new Map,Bt=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],s=Ut(r));)l+=s+e[++h],c=!0;a.push(r),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=At.get(t))&&(n.raw=n,At.set(t,e=n)),i=a}return t(e,...i)})(j);var zt,Lt=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>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"}(zt||(zt={}));const _t=lt.extend("--ft-typography-font-family",ht.titleFont),Dt=lt.extend("--ft-typography-font-family",ht.contentFont),Tt={fontFamily:Dt,fontSize:lt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:lt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:lt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:lt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:lt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Pt=lt.extend("--ft-typography-title-font-family",_t),jt=lt.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),Wt=lt.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),Ht=lt.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),Kt=lt.extend("--ft-typography-title-line-height",Tt.lineHeight,"1.2"),It=lt.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),Vt=lt.extend("--ft-typography-title-dense-font-family",_t),Zt=lt.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Xt=lt.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),qt=lt.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),Jt=lt.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"1.7"),Yt=lt.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Gt=lt.extend("--ft-typography-subtitle1-font-family",Dt),Qt=lt.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),te=lt.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),ee=lt.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),ie=lt.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"1.5"),oe=lt.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),se=lt.extend("--ft-typography-subtitle2-font-family",Dt),re=lt.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),ne=lt.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),ae=lt.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),le=lt.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"1.7"),he=lt.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),ce=lt.extend("--ft-typography-body1-font-family",Dt),pe=lt.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),fe=lt.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),de=lt.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),ue=lt.extend("--ft-typography-body1-line-height",Tt.lineHeight,"1.5"),ye=lt.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit"),ge=lt.extend("--ft-typography-body2-font-family",Dt),be=lt.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),ve=lt.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),me=lt.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),xe=lt.extend("--ft-typography-body2-line-height",Tt.lineHeight,"1.4"),we=lt.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),$e=lt.extend("--ft-typography-caption-font-family",Dt),Oe=lt.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),ke=lt.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),Se=lt.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),Ce=lt.extend("--ft-typography-caption-line-height",Tt.lineHeight,"1.33"),Ne=lt.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit"),Re=lt.extend("--ft-typography-breadcrumb-font-family",Dt),Ee=lt.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),Me=lt.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),Ue=lt.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),Fe=lt.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"1.6"),Ae=lt.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),Be=lt.extend("--ft-typography-overline-font-family",Dt),ze=lt.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),Le=lt.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),_e=lt.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),De=lt.extend("--ft-typography-overline-line-height",Tt.lineHeight,"1.6"),Te=lt.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),Pe=lt.extend("--ft-typography-button-font-family",Dt),je=lt.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),We=lt.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),He=lt.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),Ke=lt.extend("--ft-typography-button-line-height",Tt.lineHeight,"1.15"),Ie=lt.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase"),Ve=d`
209
209
  .ft-typography--title {
210
210
  font-family: ${Pt};
211
211
  font-size: ${jt};
@@ -271,8 +271,8 @@ const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
271
271
  }
272
272
  `,Qe=d`
273
273
  .ft-typography--breadcrumb {
274
- font-family: ${Ee};
275
- font-size: ${Re};
274
+ font-family: ${Re};
275
+ font-size: ${Ee};
276
276
  font-weight: ${Me};
277
277
  letter-spacing: ${Ue};
278
278
  line-height: ${Fe};
@@ -280,8 +280,8 @@ const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
280
280
  }
281
281
  `,ti=d`
282
282
  .ft-typography--overline {
283
- font-family: ${ze};
284
- font-size: ${Be};
283
+ font-family: ${Be};
284
+ font-size: ${ze};
285
285
  font-weight: ${Le};
286
286
  letter-spacing: ${_e};
287
287
  line-height: ${De};
@@ -296,12 +296,12 @@ const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
296
296
  line-height: ${Ke};
297
297
  text-transform: ${Ie};
298
298
  }
299
- `;class ii extends ct{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?zt`
299
+ `;class ii extends ct{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Bt`
300
300
  <${Ft(this.element)}
301
301
  class="ft-typography ft-typography--${this.variant}">
302
302
  <slot></slot>
303
303
  </${Ft(this.element)}>
304
- `:zt`
304
+ `:Bt`
305
305
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
306
306
  `}}ii.styles=[Ve,Ze,Xe,qe,Je,Ye,Ge,Qe,ti,ei,d`
307
307
  .ft-typography {
@@ -332,7 +332,7 @@ const Mt=Symbol.for(""),Ut=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)=
332
332
  <slot></slot>
333
333
  </ft-typography>
334
334
  </label>
335
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}ri.elementDefinitions={"ft-ripple":Rt,"ft-typography":ii},ri.styles=d`
335
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}ri.elementDefinitions={"ft-ripple":Et,"ft-typography":ii},ri.styles=d`
336
336
  * {
337
337
  box-sizing: border-box;
338
338
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-checkbox",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "A checkbox component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "^0.2.15",
23
- "@fluid-topics/ft-typography": "^0.2.15",
24
- "@fluid-topics/ft-wc-utils": "^0.2.15",
22
+ "@fluid-topics/ft-ripple": "^0.2.16",
23
+ "@fluid-topics/ft-typography": "^0.2.16",
24
+ "@fluid-topics/ft-wc-utils": "^0.2.16",
25
25
  "lit": "2.1.3"
26
26
  },
27
- "gitHead": "d8f4700bb2461618dc2d1786e0091360556e9e24"
27
+ "gitHead": "d57a682474d27df7e667d8616a2fbca7643d51c2"
28
28
  }