@fluid-topics/ft-checkbox 1.0.0-alpha.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(t,i,e,o,s){const r=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),n=r,h=i.FtCssVariableFactory.extend("--ft-ripple-background-color",r),p=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),l=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),f=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),a=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),c=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),d=c,y=i.FtCssVariableFactory.extend("--ft-ripple-background-color",c),u=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),g=u,b=i.FtCssVariableFactory.extend("--ft-ripple-background-color",u),v=e.css`
1
+ !function(t,i,e,o,s){const r=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),n=r,h=i.FtCssVariableFactory.extend("--ft-ripple-background-color",r),p=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),l=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),a=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),f=i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),c=i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px"),d=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),y=d,u=i.FtCssVariableFactory.extend("--ft-ripple-background-color",d),g=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),b=g,v=i.FtCssVariableFactory.extend("--ft-ripple-background-color",g),m=e.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -11,6 +11,7 @@
11
11
 
12
12
  .ft-ripple:not(.ft-ripple--unbounded) {
13
13
  overflow: hidden;
14
+ border-radius: ${c};
14
15
  }
15
16
 
16
17
  .ft-ripple .ft-ripple--background,
@@ -28,19 +29,19 @@
28
29
  }
29
30
 
30
31
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
31
- background-color: ${b};
32
+ background-color: ${v};
32
33
  }
33
34
 
34
35
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
35
- background-color: ${g};
36
+ background-color: ${b};
36
37
  }
37
38
 
38
39
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
39
- background-color: ${y};
40
+ background-color: ${u};
40
41
  }
41
42
 
42
43
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
43
- background-color: ${d};
44
+ background-color: ${y};
44
45
  }
45
46
 
46
47
  .ft-ripple .ft-ripple--background {
@@ -76,18 +77,18 @@
76
77
  }
77
78
 
78
79
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
79
- opacity: ${a};
80
+ opacity: ${f};
80
81
  }
81
82
 
82
83
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
83
- opacity: ${f};
84
+ opacity: ${a};
84
85
  }
85
86
 
86
87
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
87
88
  opacity: ${p};
88
89
  transform: translate(-50%, -50%) scale(1);
89
90
  }
90
- `;var m,$=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};class x extends i.FtLitElement{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 i.Debouncer(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.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 e.html`
91
+ `;var $,x=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};class k extends i.FtLitElement{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 i.Debouncer(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.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),r=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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 e.html`
91
92
  <style>
92
93
  .ft-ripple .ft-ripple--effect,
93
94
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -104,122 +105,122 @@
104
105
  <div class="ft-ripple--background"></div>
105
106
  <div class="ft-ripple--effect"></div>
106
107
  </div>
107
- `}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 i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}x.elementDefinitions={},x.styles=v,$([o.property({type:Boolean})],x.prototype,"primary",void 0),$([o.property({type:Boolean})],x.prototype,"secondary",void 0),$([o.property({type:Boolean})],x.prototype,"unbounded",void 0),$([o.property({type:Boolean})],x.prototype,"activated",void 0),$([o.property({type:Boolean})],x.prototype,"selected",void 0),$([o.property({type:Boolean})],x.prototype,"disabled",void 0),$([o.state()],x.prototype,"hovered",void 0),$([o.state()],x.prototype,"focused",void 0),$([o.state()],x.prototype,"pressed",void 0),$([o.state()],x.prototype,"rippling",void 0),$([o.state()],x.prototype,"rippleSize",void 0),$([o.state()],x.prototype,"originX",void 0),$([o.state()],x.prototype,"originY",void 0),$([o.query(".ft-ripple")],x.prototype,"ripple",void 0),$([o.query(".ft-ripple--effect")],x.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(x);const k=window,w=k.trustedTypes,z=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,S="?"+_,C=`<${S}>`,N=document,j=()=>N.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,E=Array.isArray,O="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,I=/>/g,R=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,T=/"/g,G=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Z=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),H=new WeakMap,K=N.createTreeWalker(N,129,null,!1),P=(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,f=0;for(;f<e.length&&(n.lastIndex=f,p=n.exec(e),null!==p);)f=n.lastIndex,n===M?"!--"===p[1]?n=D:void 0!==p[1]?n=I:void 0!==p[2]?(G.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=R):void 0!==p[3]&&(n=R):n===R?">"===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]?R:'"'===p[3]?T:U):n===T||n===U?n=R:n===D||n===I?n=M:(n=R,s=void 0);const a=n===R&&t[i+1].startsWith("/>")?" ":"";r+=n===M?e+C:l>=0?(o.push(h),e.slice(0,l)+A+e.slice(l)+_+a):e+_+(-2===l?(o.push(void 0),i):a)}const h=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(h):h,o]};class L{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]=P(t,i);if(this.el=L.createElement(p,e),K.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=K.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(A)||i.startsWith(_)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+A).split(_),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?Q:"?"===i[1]?tt:"@"===i[1]?it:J})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(G.test(o.tagName)){const t=o.textContent.split(_),i=t.length-1;if(i>0){o.textContent=w?w.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),K.nextNode(),h.push({type:2,index:++s});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===S)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(_,t+1));)h.push({type:7,index:s}),t+=_.length-1}s++}}static createElement(t,i){const e=N.createElement("template");return e.innerHTML=t,e}}function X(t,i,e=t,o){var s,r,n,h;if(i===Z)return i;let p=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const l=B(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)._$Co)&&void 0!==n?n:h._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=X(t,p._$AS(t,i.values),p,o)),i}class Y{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:N).importNode(e,!0);K.currentNode=s;let r=K.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new q(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new et(r,this,t)),this._$AV.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=K.nextNode(),n++)}return s}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class q{constructor(t,i,e,o){var s;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=X(this,t,i),B(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>E(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==F&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(N.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=L.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(e);else{const t=new Y(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=H.get(t.strings);return void 0===i&&H.set(t.strings,i=new L(t)),i}T(t){E(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 q(this.k(j()),this.k(j()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class J{constructor(t,i,e,o,s){this.type=1,this._$AH=F,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=F}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=X(this,t,i,0),r=!B(t)||t!==this._$AH&&t!==Z,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=X(this,o[e+n],i,n),h===Z&&(h=this._$AH[n]),r||(r=!B(h)||h!==this._$AH[n]),h===F?t=F:t!==F&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Q extends J{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const V=w?w.emptyScript:"";class tt extends J{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class it extends J{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=X(this,t,i,0))&&void 0!==e?e:F)===Z)return;const o=this._$AH,s=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==F&&(o===F||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 et{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){X(this,t)}}const ot=k.litHtmlPolyfillSupport;null==ot||ot(L,q),(null!==(m=k.litHtmlVersions)&&void 0!==m?m:k.litHtmlVersions=[]).push("2.7.3");
108
+ `}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 i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}k.elementDefinitions={},k.styles=m,x([o.property({type:Boolean})],k.prototype,"primary",void 0),x([o.property({type:Boolean})],k.prototype,"secondary",void 0),x([o.property({type:Boolean})],k.prototype,"unbounded",void 0),x([o.property({type:Boolean})],k.prototype,"activated",void 0),x([o.property({type:Boolean})],k.prototype,"selected",void 0),x([o.property({type:Boolean})],k.prototype,"disabled",void 0),x([o.state()],k.prototype,"hovered",void 0),x([o.state()],k.prototype,"focused",void 0),x([o.state()],k.prototype,"pressed",void 0),x([o.state()],k.prototype,"rippling",void 0),x([o.state()],k.prototype,"rippleSize",void 0),x([o.state()],k.prototype,"originX",void 0),x([o.state()],k.prototype,"originY",void 0),x([o.query(".ft-ripple")],k.prototype,"ripple",void 0),x([o.query(".ft-ripple--effect")],k.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(k);const w=window,z=w.trustedTypes,A=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,_="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,C="?"+S,E=`<${C}>`,N=document,j=()=>N.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,M="[ \t\n\f\r]",D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,R=/>/g,U=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),T=/'/g,Z=/"/g,G=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),F=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,P=N.createTreeWalker(N,129,null,!1),L=(t,i)=>{const e=t.length-1,o=[];let s,r=2===i?"<svg>":"",n=D;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===D?"!--"===p[1]?n=I:void 0!==p[1]?n=R:void 0!==p[2]?(G.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=U):void 0!==p[3]&&(n=U):n===U?">"===p[0]?(n=null!=s?s:D,l=-1):void 0===p[1]?l=-2:(l=n.lastIndex-p[2].length,h=p[1],n=void 0===p[3]?U:'"'===p[3]?Z:T):n===Z||n===T?n=U:n===I||n===R?n=D:(n=U,s=void 0);const f=n===U&&t[i+1].startsWith("/>")?" ":"";r+=n===D?e+E:l>=0?(o.push(h),e.slice(0,l)+_+e.slice(l)+S+f):e+S+(-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!==A?A.createHTML(h):h,o]};class X{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]=L(t,i);if(this.el=X.createElement(p,e),P.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=P.nextNode())&&h.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(_)||i.startsWith(S)){const e=l[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+_).split(S),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?V:"?"===i[1]?it:"@"===i[1]?et:Q})}else h.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(G.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=z?z.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],j()),P.nextNode(),h.push({type:2,index:++s});o.append(t[i],j())}}}else if(8===o.nodeType)if(o.data===C)h.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)h.push({type:7,index:s}),t+=S.length-1}s++}}static createElement(t,i){const e=N.createElement("template");return e.innerHTML=t,e}}function Y(t,i,e=t,o){var s,r,n,h;if(i===F)return i;let p=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const l=B(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)._$Co)&&void 0!==n?n:h._$Co=[])[o]=p:e._$Cl=p),void 0!==p&&(i=Y(t,p._$AS(t,i.values),p,o)),i}class q{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:N).importNode(e,!0);P.currentNode=s;let r=P.nextNode(),n=0,h=0,p=o[0];for(;void 0!==p;){if(n===p.index){let i;2===p.type?i=new J(r,r.nextSibling,this,t):1===p.type?i=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(i=new ot(r,this,t)),this._$AV.push(i),p=o[++h]}n!==(null==p?void 0:p.index)&&(r=P.nextNode(),n++)}return s}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class J{constructor(t,i,e,o){var s;this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Y(this,t,i),B(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(N.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(e);else{const t=new q(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=K.get(t.strings);return void 0===i&&K.set(t.strings,i=new X(t)),i}T(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 J(this.k(j()),this.k(j()),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._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Q{constructor(t,i,e,o,s){this.type=1,this._$AH=H,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=H}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=Y(this,t,i,0),r=!B(t)||t!==this._$AH&&t!==F,r&&(this._$AH=t);else{const o=t;let n,h;for(t=s[0],n=0;n<s.length-1;n++)h=Y(this,o[e+n],i,n),h===F&&(h=this._$AH[n]),r||(r=!B(h)||h!==this._$AH[n]),h===H?t=H:t!==H&&(t+=(null!=h?h:"")+s[n+1]),this._$AH[n]=h}r&&!o&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends Q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}const tt=z?z.emptyScript:"";class it extends Q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==H?this.element.setAttribute(this.name,tt):this.element.removeAttribute(this.name)}}class et extends Q{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=Y(this,t,i,0))&&void 0!==e?e:H)===F)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 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 ot{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){Y(this,t)}}const st=w.litHtmlPolyfillSupport;null==st||st(X,J),(null!==($=w.litHtmlVersions)&&void 0!==$?$:w.litHtmlVersions=[]).push("2.7.3");
108
109
  /**
109
110
  * @license
110
111
  * Copyright 2020 Google LLC
111
112
  * SPDX-License-Identifier: BSD-3-Clause
112
113
  */
113
- const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void 0:t._$litStatic$},nt=t=>({_$litStatic$:t,r:st}),ht=new Map,pt=(t=>(i,...e)=>{const o=e.length;let s,r;const n=[],h=[];let p,l=0,f=!1;for(;l<o;){for(p=i[l];l<o&&void 0!==(r=e[l],s=rt(r));)p+=s+i[++l],f=!0;l!==o&&h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),f){const t=n.join("$$lit$$");void 0===(i=ht.get(t))&&(n.raw=n,ht.set(t,i=n)),e=h}return t(i,...e)})(W);var lt;!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"}(lt||(lt={}));const ft=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ct={fontFamily:at,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),yt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ct.fontSize,"20px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ct.fontWeight,"normal"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ct.letterSpacing,"0.15px"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ct.lineHeight,"1.2"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ct.textTransform,"inherit"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ct.fontSize,"14px"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ct.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ct.letterSpacing,"0.105px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ct.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ct.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",at),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ct.fontSize,"16px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ct.fontWeight,"600"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ct.letterSpacing,"0.144px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ct.lineHeight,"1.5"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ct.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",at),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ct.fontSize,"14px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ct.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ct.letterSpacing,"0.098px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ct.lineHeight,"1.7"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ct.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",at),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ct.fontSize,"16px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ct.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ct.letterSpacing,"0.496px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ct.lineHeight,"1.5"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ct.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",at),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ct.fontSize,"14px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ct.fontWeight,"normal"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ct.letterSpacing,"0.252px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ct.lineHeight,"1.4"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ct.textTransform,"inherit"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",at),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ct.fontSize,"12px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ct.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ct.letterSpacing,"0.396px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ct.lineHeight,"1.33"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ct.textTransform,"inherit"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",at),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ct.fontSize,"10px"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ct.fontWeight,"normal"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ct.letterSpacing,"0.33px"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ct.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ct.textTransform,"inherit"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",at),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ct.fontSize,"10px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ct.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ct.letterSpacing,"1.5px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ct.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ct.textTransform,"uppercase"),di=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",at),yi=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ct.fontSize,"14px"),ui=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ct.fontWeight,"600"),gi=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ct.letterSpacing,"1.246px"),bi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ct.lineHeight,"1.15"),vi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ct.textTransform,"uppercase"),mi=e.css`
114
+ const rt=Symbol.for(""),nt=t=>{if((null==t?void 0:t.r)===rt)return null==t?void 0:t._$litStatic$},ht=t=>({_$litStatic$:t,r:rt}),pt=new Map,lt=(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=nt(r));)p+=s+i[++l],a=!0;l!==o&&h.push(r),n.push(p),l++}if(l===o&&n.push(i[o]),a){const t=n.join("$$lit$$");void 0===(i=pt.get(t))&&(n.raw=n,pt.set(t,i=n)),e=h}return t(i,...e)})(W);var at;!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"}(at||(at={}));const ft=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),ct=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),dt={fontFamily:ct,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},yt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ft),ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",dt.fontSize,"20px"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",dt.fontWeight,"normal"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",dt.letterSpacing,"0.15px"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",dt.lineHeight,"1.2"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",dt.textTransform,"inherit"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ft),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",dt.fontSize,"14px"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",dt.fontWeight,"normal"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",dt.letterSpacing,"0.105px"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",dt.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",dt.textTransform,"inherit"),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ct),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",dt.fontSize,"16px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",dt.fontWeight,"600"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",dt.letterSpacing,"0.144px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",dt.lineHeight,"1.5"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",dt.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ct),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",dt.fontSize,"14px"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",dt.fontWeight,"normal"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",dt.letterSpacing,"0.098px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",dt.lineHeight,"1.7"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",dt.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ct),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",dt.fontSize,"16px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",dt.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",dt.letterSpacing,"0.496px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",dt.lineHeight,"1.5"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",dt.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ct),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",dt.fontSize,"14px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",dt.fontWeight,"normal"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",dt.letterSpacing,"0.252px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",dt.lineHeight,"1.4"),Yt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",dt.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ct),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",dt.fontSize,"12px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",dt.fontWeight,"normal"),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",dt.letterSpacing,"0.396px"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",dt.lineHeight,"1.33"),ii=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",dt.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ct),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",dt.fontSize,"10px"),si=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",dt.fontWeight,"normal"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",dt.letterSpacing,"0.33px"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",dt.lineHeight,"1.6"),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",dt.textTransform,"inherit"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ct),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",dt.fontSize,"10px"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",dt.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",dt.letterSpacing,"1.5px"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",dt.lineHeight,"1.6"),di=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",dt.textTransform,"uppercase"),yi=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",ct),ui=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",dt.fontSize,"14px"),gi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",dt.fontWeight,"600"),bi=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",dt.letterSpacing,"1.246px"),vi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",dt.lineHeight,"1.15"),mi=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",dt.textTransform,"uppercase"),$i=e.css`
114
115
  .ft-typography--title {
115
- font-family: ${dt};
116
- font-size: ${yt};
117
- font-weight: ${ut};
118
- letter-spacing: ${gt};
119
- line-height: ${bt};
120
- text-transform: ${vt};
121
- }
122
- `,$i=e.css`
123
- .ft-typography--title-dense {
124
- font-family: ${mt};
125
- font-size: ${$t};
126
- font-weight: ${xt};
127
- letter-spacing: ${kt};
128
- line-height: ${wt};
129
- text-transform: ${zt};
116
+ font-family: ${yt};
117
+ font-size: ${ut};
118
+ font-weight: ${gt};
119
+ letter-spacing: ${bt};
120
+ line-height: ${vt};
121
+ text-transform: ${mt};
130
122
  }
131
123
  `,xi=e.css`
124
+ .ft-typography--title-dense {
125
+ font-family: ${$t};
126
+ font-size: ${xt};
127
+ font-weight: ${kt};
128
+ letter-spacing: ${wt};
129
+ line-height: ${zt};
130
+ text-transform: ${At};
131
+ }
132
+ `,ki=e.css`
132
133
  .ft-typography--subtitle1 {
133
- font-family: ${At};
134
- font-size: ${_t};
135
- font-weight: ${St};
136
- letter-spacing: ${Ct};
134
+ font-family: ${_t};
135
+ font-size: ${St};
136
+ font-weight: ${Ct};
137
+ letter-spacing: ${Et};
137
138
  line-height: ${Nt};
138
139
  text-transform: ${jt};
139
140
  }
140
- `,ki=e.css`
141
+ `,wi=e.css`
141
142
  .ft-typography--subtitle2 {
142
143
  font-family: ${Bt};
143
- font-size: ${Et};
144
- font-weight: ${Ot};
145
- letter-spacing: ${Mt};
146
- line-height: ${Dt};
147
- text-transform: ${It};
144
+ font-size: ${Ot};
145
+ font-weight: ${Mt};
146
+ letter-spacing: ${Dt};
147
+ line-height: ${It};
148
+ text-transform: ${Rt};
148
149
  }
149
150
 
150
- `,wi=e.css`
151
+ `,zi=e.css`
151
152
  .ft-typography--body1 {
152
- font-family: ${Rt};
153
- font-size: ${Ut};
154
- font-weight: ${Tt};
153
+ font-family: ${Ut};
154
+ font-size: ${Tt};
155
+ font-weight: ${Zt};
155
156
  letter-spacing: ${Gt};
156
157
  line-height: ${Wt};
157
- text-transform: ${Zt};
158
+ text-transform: ${Ft};
158
159
  }
159
- `,zi=e.css`
160
+ `,Ai=e.css`
160
161
  .ft-typography--body2 {
161
- font-family: ${Ft};
162
- font-size: ${Ht};
163
- font-weight: ${Kt};
164
- letter-spacing: ${Pt};
165
- line-height: ${Lt};
166
- text-transform: ${Xt};
162
+ font-family: ${Ht};
163
+ font-size: ${Kt};
164
+ font-weight: ${Pt};
165
+ letter-spacing: ${Lt};
166
+ line-height: ${Xt};
167
+ text-transform: ${Yt};
167
168
  }
168
- `,Ai=e.css`
169
+ `,_i=e.css`
169
170
  .ft-typography--caption {
170
- font-family: ${Yt};
171
- font-size: ${qt};
172
- font-weight: ${Jt};
173
- letter-spacing: ${Qt};
174
- line-height: ${Vt};
175
- text-transform: ${ti};
171
+ font-family: ${qt};
172
+ font-size: ${Jt};
173
+ font-weight: ${Qt};
174
+ letter-spacing: ${Vt};
175
+ line-height: ${ti};
176
+ text-transform: ${ii};
176
177
  }
177
- `,_i=e.css`
178
+ `,Si=e.css`
178
179
  .ft-typography--breadcrumb {
179
- font-family: ${ii};
180
- font-size: ${ei};
181
- font-weight: ${oi};
182
- letter-spacing: ${si};
183
- line-height: ${ri};
184
- text-transform: ${ni};
180
+ font-family: ${ei};
181
+ font-size: ${oi};
182
+ font-weight: ${si};
183
+ letter-spacing: ${ri};
184
+ line-height: ${ni};
185
+ text-transform: ${hi};
185
186
  }
186
- `,Si=e.css`
187
+ `,Ci=e.css`
187
188
  .ft-typography--overline {
188
- font-family: ${hi};
189
- font-size: ${pi};
190
- font-weight: ${li};
189
+ font-family: ${pi};
190
+ font-size: ${li};
191
+ font-weight: ${ai};
191
192
  letter-spacing: ${fi};
192
- line-height: ${ai};
193
- text-transform: ${ci};
193
+ line-height: ${ci};
194
+ text-transform: ${di};
194
195
  }
195
- `,Ci=e.css`
196
+ `,Ei=e.css`
196
197
  .ft-typography--button {
197
- font-family: ${di};
198
- font-size: ${yi};
199
- font-weight: ${ui};
200
- letter-spacing: ${gi};
201
- line-height: ${bi};
202
- text-transform: ${vi};
198
+ font-family: ${yi};
199
+ font-size: ${ui};
200
+ font-weight: ${gi};
201
+ letter-spacing: ${bi};
202
+ line-height: ${vi};
203
+ text-transform: ${mi};
203
204
  }
204
205
  `,Ni=e.css`
205
206
  .ft-typography {
206
207
  vertical-align: inherit;
207
208
  }
208
- `;var ji=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};class Bi extends i.FtLitElement{constructor(){super(...arguments),this.variant=lt.body1}render(){return this.element?pt`
209
- <${nt(this.element)}
209
+ `;var ji=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};class Bi extends i.FtLitElement{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?lt`
210
+ <${ht(this.element)}
210
211
  class="ft-typography ft-typography--${this.variant}">
211
212
  <slot></slot>
212
- </${nt(this.element)}>
213
- `:pt`
213
+ </${ht(this.element)}>
214
+ `:lt`
214
215
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
215
- `}}Bi.styles=[mi,$i,xi,ki,wi,zi,Ai,_i,Si,Ci,Ni],ji([o.property()],Bi.prototype,"element",void 0),ji([o.property()],Bi.prototype,"variant",void 0),i.customElement("ft-typography")(Bi);const Ei={textColor:i.FtCssVariableFactory.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariableFactory.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Oi=e.css`
216
+ `}}Bi.styles=[$i,xi,ki,wi,zi,Ai,_i,Si,Ci,Ei,Ni],ji([o.property()],Bi.prototype,"element",void 0),ji([o.property()],Bi.prototype,"variant",void 0),i.customElement("ft-typography")(Bi);const Oi={textColor:i.FtCssVariableFactory.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),borderColor:i.FtCssVariableFactory.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Mi=e.css`
216
217
  * {
217
218
  box-sizing: border-box;
218
219
  }
219
220
 
220
221
  .ft-checkbox {
221
222
  box-sizing: border-box;
222
- color: ${Ei.textColor};
223
+ color: ${Oi.textColor};
223
224
 
224
225
  display: inline-flex;
225
226
  align-items: center;
@@ -227,7 +228,7 @@ const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void
227
228
  }
228
229
 
229
230
  .ft-checkbox--disabled {
230
- color: ${Ei.colorOnSurfaceDisabled};
231
+ color: ${Oi.colorOnSurfaceDisabled};
231
232
  }
232
233
 
233
234
  input {
@@ -251,26 +252,26 @@ const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void
251
252
 
252
253
  .ft-checkbox--box {
253
254
  display: flex;
254
- border: 2px solid ${Ei.borderColor};
255
+ border: 2px solid ${Oi.borderColor};
255
256
  border-radius: 2px;
256
257
 
257
258
  width: 18px;
258
259
  height: 18px;
259
260
 
260
- color: ${Ei.colorOnPrimary};
261
+ color: ${Oi.colorOnPrimary};
261
262
  }
262
263
 
263
264
 
264
265
  .ft-checkbox--checked .ft-checkbox--box,
265
266
  .ft-checkbox--indeterminate .ft-checkbox--box {
266
- border-color: ${Ei.colorPrimary};
267
- background-color: ${Ei.colorPrimary};
267
+ border-color: ${Oi.colorPrimary};
268
+ background-color: ${Oi.colorPrimary};
268
269
  }
269
270
 
270
271
  .ft-checkbox--disabled .ft-checkbox--box {
271
- border-color: ${Ei.colorOnSurfaceDisabled};
272
+ border-color: ${Oi.colorOnSurfaceDisabled};
272
273
  background-color: transparent;
273
- color: ${Ei.colorOnSurfaceDisabled};
274
+ color: ${Oi.colorOnSurfaceDisabled};
274
275
  }
275
276
 
276
277
  .ft-checkbox--checkmark {
@@ -289,7 +290,7 @@ const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void
289
290
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
290
291
  opacity: 1;
291
292
  }
292
- `;var Mi=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};class Di 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`
293
+ `;var Di=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};class Ii 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`
293
294
  <label class="${s.classMap(t)}" for="checkbox-input">
294
295
  <div class="ft-checkbox--box-container">
295
296
  <ft-ripple
@@ -315,4 +316,4 @@ const st=Symbol.for(""),rt=t=>{if((null==t?void 0:t.r)===st)return null==t?void
315
316
  <slot></slot>
316
317
  </ft-typography>
317
318
  </label>
318
- `}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)}}Di.elementDefinitions={"ft-ripple":x,"ft-typography":Bi},Di.styles=Oi,Mi([o.property()],Di.prototype,"name",void 0),Mi([o.property({type:Boolean,reflect:!0})],Di.prototype,"checked",void 0),Mi([o.property({type:Boolean})],Di.prototype,"indeterminate",void 0),Mi([o.property({type:Boolean})],Di.prototype,"disabled",void 0),Mi([o.query(".ft-checkbox")],Di.prototype,"container",void 0),Mi([o.query("ft-ripple")],Di.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Di),t.FtCheckbox=Di,t.FtCheckboxCssVariables=Ei,t.styles=Oi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
319
+ `}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)}}Ii.elementDefinitions={"ft-ripple":k,"ft-typography":Bi},Ii.styles=Mi,Di([o.property()],Ii.prototype,"name",void 0),Di([o.property({type:Boolean,reflect:!0})],Ii.prototype,"checked",void 0),Di([o.property({type:Boolean})],Ii.prototype,"indeterminate",void 0),Di([o.property({type:Boolean})],Ii.prototype,"disabled",void 0),Di([o.query(".ft-checkbox")],Ii.prototype,"container",void 0),Di([o.query("ft-ripple")],Ii.prototype,"ripple",void 0),i.customElement("ft-checkbox")(Ii),t.FtCheckbox=Ii,t.FtCheckboxCssVariables=Oi,t.styles=Mi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)s.delete(t),d(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?d(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},u=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):u(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Kt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const v=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(It){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -46,7 +46,7 @@ function s(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var r;if(void 0===o)
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const h=window,c=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=new WeakMap;let u=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}};const d=t=>new u("string"==typeof t?t:t+"",void 0,p),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new u(i,t,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=h.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return d(e)})(t):t
49
+ const h=window,c=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=new WeakMap;let d=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(c&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=f.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&f.set(e,t))}return t}toString(){return this.cssText}};const u=t=>new d("string"==typeof t?t:t+"",void 0,p),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new d(i,t,p)},b=(t,e)=>{c?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=h.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},v=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
@@ -63,7 +63,7 @@ var C;N.finalized=!0,N.elementProperties=new Map,N.elementStyles=[],N.shadowRoot
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
65
  */
66
- var ct,pt;let ft=class extends N{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new it(e.insertBefore(B(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};ft.finalized=!0,ft._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:ft});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ft}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.3.2");class dt{static create(t,e,i){let o=t=>d(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=y`var(${d(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${d(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):d(null!=e?e:t.defaultValue),o=y`var(${d(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${d(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const yt={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:dt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:dt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:dt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:dt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:dt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:dt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:dt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:dt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:dt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ft{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var vt,gt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const mt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),wt=Symbol("exportpartsDebouncer");class $t extends bt{constructor(){super(),this[vt]=new e(5),this[xt]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[mt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[wt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var Ot,kt;vt=wt,gt([o()],$t.prototype,"exportpartsPrefix",void 0),gt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!a(t,e),...null!=e?e:{}})}([])],$t.prototype,"exportpartsPrefixes",void 0),gt([o()],$t.prototype,"customStylesheet",void 0),y`
66
+ var ct,pt;let ft=class extends N{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=s._$litPart$;if(void 0===n){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=n=new it(e.insertBefore(B(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};ft.finalized=!0,ft._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:ft});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ft}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.3.2");class ut{static create(t,e,i){let o=t=>u(null!=t?t:i),r=y`var(${u(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${u(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=y`var(${u(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>y`var(${u(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):u(null!=e?e:t.defaultValue),o=y`var(${u(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${u(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const yt={colorPrimary:ut.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ut.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ut.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ut.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ut.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ut.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ut.create("--ft-color-error","COLOR","#B00020"),colorOutline:ut.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ut.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ut.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ut.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ut.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ut.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ut.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ut.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ut.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ut.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ut.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ut.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ut.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ut.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ut.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ut.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ut.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ut.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ut.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ut.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ut.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ut.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ut.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ut.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ut.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ut.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ut.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ut.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ut.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ut.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ut.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ut.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ut.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ut.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ut.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ut.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ut.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ut.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ut.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ut.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ut.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ut.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ut.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ut.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ut.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ut.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ut.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ut.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ut.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ut.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ut.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ut.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ut.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ut.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ut.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ft{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var vt,gt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const mt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),wt=Symbol("exportpartsDebouncer");class $t extends bt{constructor(){super(),this[vt]=new e(5),this[xt]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[mt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[wt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,s,n;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(n=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var Ot,kt;vt=wt,gt([o()],$t.prototype,"exportpartsPrefix",void 0),gt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!a(t,e),...null!=e?e:{}})}([])],$t.prototype,"exportpartsPrefixes",void 0),gt([o()],$t.prototype,"customStylesheet",void 0),y`
67
67
  .ft-no-text-select {
68
68
  -webkit-touch-callout: none;
69
69
  -webkit-user-select: none;
@@ -106,7 +106,7 @@ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
106
106
  * @license
107
107
  * Copyright 2018 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
- */const Ct=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Nt{constructor(t){var e;if(super(t),t.type!==St||"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.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return J}}),Et=dt.extend("--ft-ripple-color",yt.colorContent),Rt=Et,Mt=dt.extend("--ft-ripple-background-color",Et),Ut=dt.external(yt.opacityContentOnSurfacePressed,"Design system"),Ft=dt.external(yt.opacityContentOnSurfaceHover,"Design system"),jt=dt.external(yt.opacityContentOnSurfaceFocused,"Design system"),At=dt.external(yt.opacityContentOnSurfaceSelected,"Design system"),zt=dt.extend("--ft-ripple-color",yt.colorPrimary),Bt=zt,Lt=dt.extend("--ft-ripple-background-color",zt),Pt=dt.extend("--ft-ripple-color",yt.colorSecondary),Dt=Pt,_t=dt.extend("--ft-ripple-background-color",Pt),Tt=y`
109
+ */const Ct=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends Nt{constructor(t){var e;if(super(t),t.type!==St||"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.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return J}}),Et=ut.extend("--ft-ripple-color",yt.colorContent),Rt=Et,Mt=ut.extend("--ft-ripple-background-color",Et),Ut=ut.external(yt.opacityContentOnSurfacePressed,"Design system"),Ft=ut.external(yt.opacityContentOnSurfaceHover,"Design system"),jt=ut.external(yt.opacityContentOnSurfaceFocused,"Design system"),At=ut.external(yt.opacityContentOnSurfaceSelected,"Design system"),zt=ut.create("--ft-ripple-border-radius","SIZE","0px"),Bt=ut.extend("--ft-ripple-color",yt.colorPrimary),Lt=Bt,Pt=ut.extend("--ft-ripple-background-color",Bt),Dt=ut.extend("--ft-ripple-color",yt.colorSecondary),_t=Dt,Tt=ut.extend("--ft-ripple-background-color",Dt),Wt=y`
110
110
  :host {
111
111
  display: contents;
112
112
  }
@@ -119,6 +119,7 @@ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
119
119
 
120
120
  .ft-ripple:not(.ft-ripple--unbounded) {
121
121
  overflow: hidden;
122
+ border-radius: ${zt};
122
123
  }
123
124
 
124
125
  .ft-ripple .ft-ripple--background,
@@ -136,19 +137,19 @@ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
136
137
  }
137
138
 
138
139
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
139
- background-color: ${_t};
140
+ background-color: ${Tt};
140
141
  }
141
142
 
142
143
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
143
- background-color: ${Dt};
144
+ background-color: ${_t};
144
145
  }
145
146
 
146
147
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
147
- background-color: ${Lt};
148
+ background-color: ${Pt};
148
149
  }
149
150
 
150
151
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
151
- background-color: ${Bt};
152
+ background-color: ${Lt};
152
153
  }
153
154
 
154
155
  .ft-ripple .ft-ripple--background {
@@ -195,7 +196,7 @@ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
195
196
  opacity: ${Ut};
196
197
  transform: translate(-50%, -50%) scale(1);
197
198
  }
198
- `;var Wt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Ht extends $t{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.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:r}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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 V`
199
+ `;var Ht=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Kt extends $t{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.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:r}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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 V`
199
200
  <style>
200
201
  .ft-ripple .ft-ripple--effect,
201
202
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -212,122 +213,122 @@ const St=1;class Nt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
212
213
  <div class="ft-ripple--background"></div>
213
214
  <div class="ft-ripple--effect"></div>
214
215
  </div>
215
- `}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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;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"),r=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",r),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",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}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()}}Ht.elementDefinitions={},Ht.styles=Tt,Wt([o({type:Boolean})],Ht.prototype,"primary",void 0),Wt([o({type:Boolean})],Ht.prototype,"secondary",void 0),Wt([o({type:Boolean})],Ht.prototype,"unbounded",void 0),Wt([o({type:Boolean})],Ht.prototype,"activated",void 0),Wt([o({type:Boolean})],Ht.prototype,"selected",void 0),Wt([o({type:Boolean})],Ht.prototype,"disabled",void 0),Wt([r()],Ht.prototype,"hovered",void 0),Wt([r()],Ht.prototype,"focused",void 0),Wt([r()],Ht.prototype,"pressed",void 0),Wt([r()],Ht.prototype,"rippling",void 0),Wt([r()],Ht.prototype,"rippleSize",void 0),Wt([r()],Ht.prototype,"originX",void 0),Wt([r()],Ht.prototype,"originY",void 0),Wt([s(".ft-ripple")],Ht.prototype,"ripple",void 0),Wt([s(".ft-ripple--effect")],Ht.prototype,"rippleEffect",void 0),l("ft-ripple")(Ht);
216
+ `}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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;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"),r=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",r),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",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}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()}}Kt.elementDefinitions={},Kt.styles=Wt,Ht([o({type:Boolean})],Kt.prototype,"primary",void 0),Ht([o({type:Boolean})],Kt.prototype,"secondary",void 0),Ht([o({type:Boolean})],Kt.prototype,"unbounded",void 0),Ht([o({type:Boolean})],Kt.prototype,"activated",void 0),Ht([o({type:Boolean})],Kt.prototype,"selected",void 0),Ht([o({type:Boolean})],Kt.prototype,"disabled",void 0),Ht([r()],Kt.prototype,"hovered",void 0),Ht([r()],Kt.prototype,"focused",void 0),Ht([r()],Kt.prototype,"pressed",void 0),Ht([r()],Kt.prototype,"rippling",void 0),Ht([r()],Kt.prototype,"rippleSize",void 0),Ht([r()],Kt.prototype,"originX",void 0),Ht([r()],Kt.prototype,"originY",void 0),Ht([s(".ft-ripple")],Kt.prototype,"ripple",void 0),Ht([s(".ft-ripple--effect")],Kt.prototype,"rippleEffect",void 0),l("ft-ripple")(Kt);
216
217
  /**
217
218
  * @license
218
219
  * Copyright 2020 Google LLC
219
220
  * SPDX-License-Identifier: BSD-3-Clause
220
221
  */
221
- const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void 0:t._$litStatic$},Zt=t=>({_$litStatic$:t,r:Kt}),Vt=new Map,Jt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=It(s));)l+=r+e[++h],c=!0;h!==o&&a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Vt.get(t))&&(n.raw=n,Vt.set(t,e=n)),i=a}return t(e,...i)})(V);var Xt;!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"}(Xt||(Xt={}));const qt=dt.extend("--ft-typography-font-family",yt.titleFont),Yt=dt.extend("--ft-typography-font-family",yt.contentFont),Gt={fontFamily:Yt,fontSize:dt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:dt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:dt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:dt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:dt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Qt=dt.extend("--ft-typography-title-font-family",qt),te=dt.extend("--ft-typography-title-font-size",Gt.fontSize,"20px"),ee=dt.extend("--ft-typography-title-font-weight",Gt.fontWeight,"normal"),ie=dt.extend("--ft-typography-title-letter-spacing",Gt.letterSpacing,"0.15px"),oe=dt.extend("--ft-typography-title-line-height",Gt.lineHeight,"1.2"),re=dt.extend("--ft-typography-title-text-transform",Gt.textTransform,"inherit"),se=dt.extend("--ft-typography-title-dense-font-family",qt),ne=dt.extend("--ft-typography-title-dense-font-size",Gt.fontSize,"14px"),ae=dt.extend("--ft-typography-title-dense-font-weight",Gt.fontWeight,"normal"),le=dt.extend("--ft-typography-title-dense-letter-spacing",Gt.letterSpacing,"0.105px"),he=dt.extend("--ft-typography-title-dense-line-height",Gt.lineHeight,"1.7"),ce=dt.extend("--ft-typography-title-dense-text-transform",Gt.textTransform,"inherit"),pe=dt.extend("--ft-typography-subtitle1-font-family",Yt),fe=dt.extend("--ft-typography-subtitle1-font-size",Gt.fontSize,"16px"),ue=dt.extend("--ft-typography-subtitle1-font-weight",Gt.fontWeight,"600"),de=dt.extend("--ft-typography-subtitle1-letter-spacing",Gt.letterSpacing,"0.144px"),ye=dt.extend("--ft-typography-subtitle1-line-height",Gt.lineHeight,"1.5"),be=dt.extend("--ft-typography-subtitle1-text-transform",Gt.textTransform,"inherit"),ve=dt.extend("--ft-typography-subtitle2-font-family",Yt),ge=dt.extend("--ft-typography-subtitle2-font-size",Gt.fontSize,"14px"),me=dt.extend("--ft-typography-subtitle2-font-weight",Gt.fontWeight,"normal"),xe=dt.extend("--ft-typography-subtitle2-letter-spacing",Gt.letterSpacing,"0.098px"),we=dt.extend("--ft-typography-subtitle2-line-height",Gt.lineHeight,"1.7"),$e=dt.extend("--ft-typography-subtitle2-text-transform",Gt.textTransform,"inherit"),Oe=dt.extend("--ft-typography-body1-font-family",Yt),ke=dt.extend("--ft-typography-body1-font-size",Gt.fontSize,"16px"),Se=dt.extend("--ft-typography-body1-font-weight",Gt.fontWeight,"normal"),Ne=dt.extend("--ft-typography-body1-letter-spacing",Gt.letterSpacing,"0.496px"),Ce=dt.extend("--ft-typography-body1-line-height",Gt.lineHeight,"1.5"),Ee=dt.extend("--ft-typography-body1-text-transform",Gt.textTransform,"inherit"),Re=dt.extend("--ft-typography-body2-font-family",Yt),Me=dt.extend("--ft-typography-body2-font-size",Gt.fontSize,"14px"),Ue=dt.extend("--ft-typography-body2-font-weight",Gt.fontWeight,"normal"),Fe=dt.extend("--ft-typography-body2-letter-spacing",Gt.letterSpacing,"0.252px"),je=dt.extend("--ft-typography-body2-line-height",Gt.lineHeight,"1.4"),Ae=dt.extend("--ft-typography-body2-text-transform",Gt.textTransform,"inherit"),ze=dt.extend("--ft-typography-caption-font-family",Yt),Be=dt.extend("--ft-typography-caption-font-size",Gt.fontSize,"12px"),Le=dt.extend("--ft-typography-caption-font-weight",Gt.fontWeight,"normal"),Pe=dt.extend("--ft-typography-caption-letter-spacing",Gt.letterSpacing,"0.396px"),De=dt.extend("--ft-typography-caption-line-height",Gt.lineHeight,"1.33"),_e=dt.extend("--ft-typography-caption-text-transform",Gt.textTransform,"inherit"),Te=dt.extend("--ft-typography-breadcrumb-font-family",Yt),We=dt.extend("--ft-typography-breadcrumb-font-size",Gt.fontSize,"10px"),He=dt.extend("--ft-typography-breadcrumb-font-weight",Gt.fontWeight,"normal"),Ke=dt.extend("--ft-typography-breadcrumb-letter-spacing",Gt.letterSpacing,"0.33px"),Ie=dt.extend("--ft-typography-breadcrumb-line-height",Gt.lineHeight,"1.6"),Ze=dt.extend("--ft-typography-breadcrumb-text-transform",Gt.textTransform,"inherit"),Ve=dt.extend("--ft-typography-overline-font-family",Yt),Je=dt.extend("--ft-typography-overline-font-size",Gt.fontSize,"10px"),Xe=dt.extend("--ft-typography-overline-font-weight",Gt.fontWeight,"normal"),qe=dt.extend("--ft-typography-overline-letter-spacing",Gt.letterSpacing,"1.5px"),Ye=dt.extend("--ft-typography-overline-line-height",Gt.lineHeight,"1.6"),Ge=dt.extend("--ft-typography-overline-text-transform",Gt.textTransform,"uppercase"),Qe=dt.extend("--ft-typography-button-font-family",Yt),ti=dt.extend("--ft-typography-button-font-size",Gt.fontSize,"14px"),ei=dt.extend("--ft-typography-button-font-weight",Gt.fontWeight,"600"),ii=dt.extend("--ft-typography-button-letter-spacing",Gt.letterSpacing,"1.246px"),oi=dt.extend("--ft-typography-button-line-height",Gt.lineHeight,"1.15"),ri=dt.extend("--ft-typography-button-text-transform",Gt.textTransform,"uppercase"),si=y`
222
+ const It=Symbol.for(""),Zt=t=>{if((null==t?void 0:t.r)===It)return null==t?void 0:t._$litStatic$},Vt=t=>({_$litStatic$:t,r:It}),Jt=new Map,Xt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=Zt(s));)l+=r+e[++h],c=!0;h!==o&&a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Jt.get(t))&&(n.raw=n,Jt.set(t,e=n)),i=a}return t(e,...i)})(V);var qt;!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"}(qt||(qt={}));const Yt=ut.extend("--ft-typography-font-family",yt.titleFont),Gt=ut.extend("--ft-typography-font-family",yt.contentFont),Qt={fontFamily:Gt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},te=ut.extend("--ft-typography-title-font-family",Yt),ee=ut.extend("--ft-typography-title-font-size",Qt.fontSize,"20px"),ie=ut.extend("--ft-typography-title-font-weight",Qt.fontWeight,"normal"),oe=ut.extend("--ft-typography-title-letter-spacing",Qt.letterSpacing,"0.15px"),re=ut.extend("--ft-typography-title-line-height",Qt.lineHeight,"1.2"),se=ut.extend("--ft-typography-title-text-transform",Qt.textTransform,"inherit"),ne=ut.extend("--ft-typography-title-dense-font-family",Yt),ae=ut.extend("--ft-typography-title-dense-font-size",Qt.fontSize,"14px"),le=ut.extend("--ft-typography-title-dense-font-weight",Qt.fontWeight,"normal"),he=ut.extend("--ft-typography-title-dense-letter-spacing",Qt.letterSpacing,"0.105px"),ce=ut.extend("--ft-typography-title-dense-line-height",Qt.lineHeight,"1.7"),pe=ut.extend("--ft-typography-title-dense-text-transform",Qt.textTransform,"inherit"),fe=ut.extend("--ft-typography-subtitle1-font-family",Gt),de=ut.extend("--ft-typography-subtitle1-font-size",Qt.fontSize,"16px"),ue=ut.extend("--ft-typography-subtitle1-font-weight",Qt.fontWeight,"600"),ye=ut.extend("--ft-typography-subtitle1-letter-spacing",Qt.letterSpacing,"0.144px"),be=ut.extend("--ft-typography-subtitle1-line-height",Qt.lineHeight,"1.5"),ve=ut.extend("--ft-typography-subtitle1-text-transform",Qt.textTransform,"inherit"),ge=ut.extend("--ft-typography-subtitle2-font-family",Gt),me=ut.extend("--ft-typography-subtitle2-font-size",Qt.fontSize,"14px"),xe=ut.extend("--ft-typography-subtitle2-font-weight",Qt.fontWeight,"normal"),we=ut.extend("--ft-typography-subtitle2-letter-spacing",Qt.letterSpacing,"0.098px"),$e=ut.extend("--ft-typography-subtitle2-line-height",Qt.lineHeight,"1.7"),Oe=ut.extend("--ft-typography-subtitle2-text-transform",Qt.textTransform,"inherit"),ke=ut.extend("--ft-typography-body1-font-family",Gt),Se=ut.extend("--ft-typography-body1-font-size",Qt.fontSize,"16px"),Ne=ut.extend("--ft-typography-body1-font-weight",Qt.fontWeight,"normal"),Ce=ut.extend("--ft-typography-body1-letter-spacing",Qt.letterSpacing,"0.496px"),Ee=ut.extend("--ft-typography-body1-line-height",Qt.lineHeight,"1.5"),Re=ut.extend("--ft-typography-body1-text-transform",Qt.textTransform,"inherit"),Me=ut.extend("--ft-typography-body2-font-family",Gt),Ue=ut.extend("--ft-typography-body2-font-size",Qt.fontSize,"14px"),Fe=ut.extend("--ft-typography-body2-font-weight",Qt.fontWeight,"normal"),je=ut.extend("--ft-typography-body2-letter-spacing",Qt.letterSpacing,"0.252px"),Ae=ut.extend("--ft-typography-body2-line-height",Qt.lineHeight,"1.4"),ze=ut.extend("--ft-typography-body2-text-transform",Qt.textTransform,"inherit"),Be=ut.extend("--ft-typography-caption-font-family",Gt),Le=ut.extend("--ft-typography-caption-font-size",Qt.fontSize,"12px"),Pe=ut.extend("--ft-typography-caption-font-weight",Qt.fontWeight,"normal"),De=ut.extend("--ft-typography-caption-letter-spacing",Qt.letterSpacing,"0.396px"),_e=ut.extend("--ft-typography-caption-line-height",Qt.lineHeight,"1.33"),Te=ut.extend("--ft-typography-caption-text-transform",Qt.textTransform,"inherit"),We=ut.extend("--ft-typography-breadcrumb-font-family",Gt),He=ut.extend("--ft-typography-breadcrumb-font-size",Qt.fontSize,"10px"),Ke=ut.extend("--ft-typography-breadcrumb-font-weight",Qt.fontWeight,"normal"),Ie=ut.extend("--ft-typography-breadcrumb-letter-spacing",Qt.letterSpacing,"0.33px"),Ze=ut.extend("--ft-typography-breadcrumb-line-height",Qt.lineHeight,"1.6"),Ve=ut.extend("--ft-typography-breadcrumb-text-transform",Qt.textTransform,"inherit"),Je=ut.extend("--ft-typography-overline-font-family",Gt),Xe=ut.extend("--ft-typography-overline-font-size",Qt.fontSize,"10px"),qe=ut.extend("--ft-typography-overline-font-weight",Qt.fontWeight,"normal"),Ye=ut.extend("--ft-typography-overline-letter-spacing",Qt.letterSpacing,"1.5px"),Ge=ut.extend("--ft-typography-overline-line-height",Qt.lineHeight,"1.6"),Qe=ut.extend("--ft-typography-overline-text-transform",Qt.textTransform,"uppercase"),ti=ut.extend("--ft-typography-button-font-family",Gt),ei=ut.extend("--ft-typography-button-font-size",Qt.fontSize,"14px"),ii=ut.extend("--ft-typography-button-font-weight",Qt.fontWeight,"600"),oi=ut.extend("--ft-typography-button-letter-spacing",Qt.letterSpacing,"1.246px"),ri=ut.extend("--ft-typography-button-line-height",Qt.lineHeight,"1.15"),si=ut.extend("--ft-typography-button-text-transform",Qt.textTransform,"uppercase"),ni=y`
222
223
  .ft-typography--title {
223
- font-family: ${Qt};
224
- font-size: ${te};
225
- font-weight: ${ee};
226
- letter-spacing: ${ie};
227
- line-height: ${oe};
228
- text-transform: ${re};
229
- }
230
- `,ni=y`
231
- .ft-typography--title-dense {
232
- font-family: ${se};
233
- font-size: ${ne};
234
- font-weight: ${ae};
235
- letter-spacing: ${le};
236
- line-height: ${he};
237
- text-transform: ${ce};
224
+ font-family: ${te};
225
+ font-size: ${ee};
226
+ font-weight: ${ie};
227
+ letter-spacing: ${oe};
228
+ line-height: ${re};
229
+ text-transform: ${se};
238
230
  }
239
231
  `,ai=y`
232
+ .ft-typography--title-dense {
233
+ font-family: ${ne};
234
+ font-size: ${ae};
235
+ font-weight: ${le};
236
+ letter-spacing: ${he};
237
+ line-height: ${ce};
238
+ text-transform: ${pe};
239
+ }
240
+ `,li=y`
240
241
  .ft-typography--subtitle1 {
241
- font-family: ${pe};
242
- font-size: ${fe};
242
+ font-family: ${fe};
243
+ font-size: ${de};
243
244
  font-weight: ${ue};
244
- letter-spacing: ${de};
245
- line-height: ${ye};
246
- text-transform: ${be};
245
+ letter-spacing: ${ye};
246
+ line-height: ${be};
247
+ text-transform: ${ve};
247
248
  }
248
- `,li=y`
249
+ `,hi=y`
249
250
  .ft-typography--subtitle2 {
250
- font-family: ${ve};
251
- font-size: ${ge};
252
- font-weight: ${me};
253
- letter-spacing: ${xe};
254
- line-height: ${we};
255
- text-transform: ${$e};
251
+ font-family: ${ge};
252
+ font-size: ${me};
253
+ font-weight: ${xe};
254
+ letter-spacing: ${we};
255
+ line-height: ${$e};
256
+ text-transform: ${Oe};
256
257
  }
257
258
 
258
- `,hi=y`
259
+ `,ci=y`
259
260
  .ft-typography--body1 {
260
- font-family: ${Oe};
261
- font-size: ${ke};
262
- font-weight: ${Se};
263
- letter-spacing: ${Ne};
264
- line-height: ${Ce};
265
- text-transform: ${Ee};
261
+ font-family: ${ke};
262
+ font-size: ${Se};
263
+ font-weight: ${Ne};
264
+ letter-spacing: ${Ce};
265
+ line-height: ${Ee};
266
+ text-transform: ${Re};
266
267
  }
267
- `,ci=y`
268
+ `,pi=y`
268
269
  .ft-typography--body2 {
269
- font-family: ${Re};
270
- font-size: ${Me};
271
- font-weight: ${Ue};
272
- letter-spacing: ${Fe};
273
- line-height: ${je};
274
- text-transform: ${Ae};
270
+ font-family: ${Me};
271
+ font-size: ${Ue};
272
+ font-weight: ${Fe};
273
+ letter-spacing: ${je};
274
+ line-height: ${Ae};
275
+ text-transform: ${ze};
275
276
  }
276
- `,pi=y`
277
+ `,fi=y`
277
278
  .ft-typography--caption {
278
- font-family: ${ze};
279
- font-size: ${Be};
280
- font-weight: ${Le};
281
- letter-spacing: ${Pe};
282
- line-height: ${De};
283
- text-transform: ${_e};
279
+ font-family: ${Be};
280
+ font-size: ${Le};
281
+ font-weight: ${Pe};
282
+ letter-spacing: ${De};
283
+ line-height: ${_e};
284
+ text-transform: ${Te};
284
285
  }
285
- `,fi=y`
286
+ `,di=y`
286
287
  .ft-typography--breadcrumb {
287
- font-family: ${Te};
288
- font-size: ${We};
289
- font-weight: ${He};
290
- letter-spacing: ${Ke};
291
- line-height: ${Ie};
292
- text-transform: ${Ze};
288
+ font-family: ${We};
289
+ font-size: ${He};
290
+ font-weight: ${Ke};
291
+ letter-spacing: ${Ie};
292
+ line-height: ${Ze};
293
+ text-transform: ${Ve};
293
294
  }
294
295
  `,ui=y`
295
296
  .ft-typography--overline {
296
- font-family: ${Ve};
297
- font-size: ${Je};
298
- font-weight: ${Xe};
299
- letter-spacing: ${qe};
300
- line-height: ${Ye};
301
- text-transform: ${Ge};
302
- }
303
- `,di=y`
304
- .ft-typography--button {
305
- font-family: ${Qe};
306
- font-size: ${ti};
307
- font-weight: ${ei};
308
- letter-spacing: ${ii};
309
- line-height: ${oi};
310
- text-transform: ${ri};
297
+ font-family: ${Je};
298
+ font-size: ${Xe};
299
+ font-weight: ${qe};
300
+ letter-spacing: ${Ye};
301
+ line-height: ${Ge};
302
+ text-transform: ${Qe};
311
303
  }
312
304
  `,yi=y`
305
+ .ft-typography--button {
306
+ font-family: ${ti};
307
+ font-size: ${ei};
308
+ font-weight: ${ii};
309
+ letter-spacing: ${oi};
310
+ line-height: ${ri};
311
+ text-transform: ${si};
312
+ }
313
+ `,bi=y`
313
314
  .ft-typography {
314
315
  vertical-align: inherit;
315
316
  }
316
- `;var bi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class vi extends $t{constructor(){super(...arguments),this.variant=Xt.body1}render(){return this.element?Jt`
317
- <${Zt(this.element)}
317
+ `;var vi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class gi extends $t{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?Xt`
318
+ <${Vt(this.element)}
318
319
  class="ft-typography ft-typography--${this.variant}">
319
320
  <slot></slot>
320
- </${Zt(this.element)}>
321
- `:Jt`
321
+ </${Vt(this.element)}>
322
+ `:Xt`
322
323
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
323
- `}}vi.styles=[si,ni,ai,li,hi,ci,pi,fi,ui,di,yi],bi([o()],vi.prototype,"element",void 0),bi([o()],vi.prototype,"variant",void 0),l("ft-typography")(vi);const gi={textColor:dt.extend("--ft-checkbox-text-color",yt.colorOnSurfaceHigh),colorPrimary:dt.external(yt.colorPrimary,"Design system"),colorOnPrimary:dt.external(yt.colorOnPrimary,"Design system"),borderColor:dt.extend("--ft-checkbox-border-color",yt.colorOnSurfaceMedium),colorOnSurfaceDisabled:dt.external(yt.colorOnSurfaceDisabled,"Design system")},mi=y`
324
+ `}}gi.styles=[ni,ai,li,hi,ci,pi,fi,di,ui,yi,bi],vi([o()],gi.prototype,"element",void 0),vi([o()],gi.prototype,"variant",void 0),l("ft-typography")(gi);const mi={textColor:ut.extend("--ft-checkbox-text-color",yt.colorOnSurfaceHigh),colorPrimary:ut.external(yt.colorPrimary,"Design system"),colorOnPrimary:ut.external(yt.colorOnPrimary,"Design system"),borderColor:ut.extend("--ft-checkbox-border-color",yt.colorOnSurfaceMedium),colorOnSurfaceDisabled:ut.external(yt.colorOnSurfaceDisabled,"Design system")},xi=y`
324
325
  * {
325
326
  box-sizing: border-box;
326
327
  }
327
328
 
328
329
  .ft-checkbox {
329
330
  box-sizing: border-box;
330
- color: ${gi.textColor};
331
+ color: ${mi.textColor};
331
332
 
332
333
  display: inline-flex;
333
334
  align-items: center;
@@ -335,7 +336,7 @@ const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void
335
336
  }
336
337
 
337
338
  .ft-checkbox--disabled {
338
- color: ${gi.colorOnSurfaceDisabled};
339
+ color: ${mi.colorOnSurfaceDisabled};
339
340
  }
340
341
 
341
342
  input {
@@ -359,26 +360,26 @@ const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void
359
360
 
360
361
  .ft-checkbox--box {
361
362
  display: flex;
362
- border: 2px solid ${gi.borderColor};
363
+ border: 2px solid ${mi.borderColor};
363
364
  border-radius: 2px;
364
365
 
365
366
  width: 18px;
366
367
  height: 18px;
367
368
 
368
- color: ${gi.colorOnPrimary};
369
+ color: ${mi.colorOnPrimary};
369
370
  }
370
371
 
371
372
 
372
373
  .ft-checkbox--checked .ft-checkbox--box,
373
374
  .ft-checkbox--indeterminate .ft-checkbox--box {
374
- border-color: ${gi.colorPrimary};
375
- background-color: ${gi.colorPrimary};
375
+ border-color: ${mi.colorPrimary};
376
+ background-color: ${mi.colorPrimary};
376
377
  }
377
378
 
378
379
  .ft-checkbox--disabled .ft-checkbox--box {
379
- border-color: ${gi.colorOnSurfaceDisabled};
380
+ border-color: ${mi.colorOnSurfaceDisabled};
380
381
  background-color: transparent;
381
- color: ${gi.colorOnSurfaceDisabled};
382
+ color: ${mi.colorOnSurfaceDisabled};
382
383
  }
383
384
 
384
385
  .ft-checkbox--checkmark {
@@ -397,7 +398,7 @@ const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void
397
398
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
398
399
  opacity: 1;
399
400
  }
400
- `;var xi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class wi extends $t{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 V`
401
+ `;var wi=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class $i extends $t{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 V`
401
402
  <label class="${Ct(t)}" for="checkbox-input">
402
403
  <div class="ft-checkbox--box-container">
403
404
  <ft-ripple
@@ -423,4 +424,4 @@ const Kt=Symbol.for(""),It=t=>{if((null==t?void 0:t.r)===Kt)return null==t?void
423
424
  <slot></slot>
424
425
  </ft-typography>
425
426
  </label>
426
- `}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)}}wi.elementDefinitions={"ft-ripple":Ht,"ft-typography":vi},wi.styles=mi,xi([o()],wi.prototype,"name",void 0),xi([o({type:Boolean,reflect:!0})],wi.prototype,"checked",void 0),xi([o({type:Boolean})],wi.prototype,"indeterminate",void 0),xi([o({type:Boolean})],wi.prototype,"disabled",void 0),xi([s(".ft-checkbox")],wi.prototype,"container",void 0),xi([s("ft-ripple")],wi.prototype,"ripple",void 0),l("ft-checkbox")(wi),t.FtCheckbox=wi,t.FtCheckboxCssVariables=gi,t.styles=mi}({});
427
+ `}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)}}$i.elementDefinitions={"ft-ripple":Kt,"ft-typography":gi},$i.styles=xi,wi([o()],$i.prototype,"name",void 0),wi([o({type:Boolean,reflect:!0})],$i.prototype,"checked",void 0),wi([o({type:Boolean})],$i.prototype,"indeterminate",void 0),wi([o({type:Boolean})],$i.prototype,"disabled",void 0),wi([s(".ft-checkbox")],$i.prototype,"container",void 0),wi([s("ft-ripple")],$i.prototype,"ripple",void 0),l("ft-checkbox")($i),t.FtCheckbox=$i,t.FtCheckboxCssVariables=mi,t.styles=xi}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-checkbox",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0",
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": "1.0.0-alpha.1",
23
- "@fluid-topics/ft-typography": "1.0.0-alpha.1",
24
- "@fluid-topics/ft-wc-utils": "1.0.0-alpha.1",
22
+ "@fluid-topics/ft-ripple": "1.0.0",
23
+ "@fluid-topics/ft-typography": "1.0.0",
24
+ "@fluid-topics/ft-wc-utils": "1.0.0",
25
25
  "lit": "2.7.2"
26
26
  },
27
- "gitHead": "bb54c217f788a915a443db6f496f02e176d05306"
27
+ "gitHead": "90895771e0ea740f1a0d972b9fd3796051757255"
28
28
  }