@fluid-topics/ft-in-product-help 1.0.35 → 1.0.37

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.
@@ -19,14 +19,17 @@ export declare class FtInProductHelp extends FtLitElement implements FtInProduct
19
19
  allowStandardMode: boolean;
20
20
  allowTheaterMode: boolean;
21
21
  allowFullscreenMode: boolean;
22
+ iframe: HTMLIFrameElement;
22
23
  protected render(): import("lit-html").TemplateResult<1>;
23
24
  protected updated(props: PropertyValues): void;
24
25
  private updateModeOnOpen;
25
26
  private computeAllowedModes;
26
27
  private onViewportChange;
27
28
  private setMode;
28
- private close;
29
+ open(): void;
30
+ close(): void;
29
31
  private dispatchVisibilityChange;
30
32
  private isTablet;
31
33
  private isDesktop;
34
+ navigateTo(path: string): void;
32
35
  }
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { html, nothing } from "lit";
8
- import { property, state } from "lit/decorators.js";
8
+ import { property, query, state } from "lit/decorators.js";
9
9
  import { FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { FtInProductHelpMode, FtInProductHelpVisibilityChange } from "./ft-in-product-help.properties";
11
11
  import { FtInProductHelpCssVariables, styles } from "./ft-in-product-help.css";
@@ -121,6 +121,9 @@ class FtInProductHelp extends FtLitElement {
121
121
  this.displayMode = displayMode;
122
122
  this.dispatchVisibilityChange();
123
123
  }
124
+ open() {
125
+ this.opened = true;
126
+ }
124
127
  close() {
125
128
  this.opened = false;
126
129
  this.displayMode = FtInProductHelpMode.STANDARD;
@@ -137,6 +140,9 @@ class FtInProductHelp extends FtLitElement {
137
140
  const desktopBreakpoint = getComputedStyle(this).getPropertyValue(FtInProductHelpCssVariables.desktopBreakpoint.name) || FtInProductHelpCssVariables.desktopBreakpoint.defaultValue;
138
141
  return window.matchMedia(`(min-width: ${desktopBreakpoint})`).matches;
139
142
  }
143
+ navigateTo(path) {
144
+ this.iframe.contentWindow.postMessage({ navigateTo: path }, this.portalUrl);
145
+ }
140
146
  }
141
147
  FtInProductHelp.elementDefinitions = {
142
148
  "ft-button": FtButton,
@@ -185,4 +191,7 @@ __decorate([
185
191
  __decorate([
186
192
  state()
187
193
  ], FtInProductHelp.prototype, "allowFullscreenMode", void 0);
194
+ __decorate([
195
+ query("iframe")
196
+ ], FtInProductHelp.prototype, "iframe", void 0);
188
197
  export { FtInProductHelp };
@@ -84,7 +84,7 @@
84
84
 
85
85
  i.ft-icon.ft-icon--fluid-topics {
86
86
  font-family: ${d.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
87
-
87
+
88
88
  /* Ugly fix because font is broken */
89
89
  font-size: calc(0.75 * ${d.size});
90
90
  line-height: ${d.size};
@@ -195,7 +195,7 @@
195
195
  opacity: ${y.opacityContentOnSurfacePressed};
196
196
  transform: translate(-50%, -50%) scale(1);
197
197
  }
198
- `;var I,E=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class C 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),n=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-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.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`
198
+ `;var I,E=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class C 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),n=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-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.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.isFocusVisible(null==t?void 0:t.target)&&!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`
199
199
  <style>
200
200
  .ft-ripple .ft-ripple--effect,
201
201
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -212,13 +212,13 @@
212
212
  <div class="ft-ripple--background"></div>
213
213
  <div class="ft-ripple--effect"></div>
214
214
  </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 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((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),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()}}C.elementDefinitions={},C.styles=S,E([o.property({type:Boolean})],C.prototype,"primary",void 0),E([o.property({type:Boolean})],C.prototype,"secondary",void 0),E([o.property({type:Boolean})],C.prototype,"unbounded",void 0),E([o.property({type:Boolean})],C.prototype,"activated",void 0),E([o.property({type:Boolean})],C.prototype,"selected",void 0),E([o.property({type:Boolean})],C.prototype,"disabled",void 0),E([o.state()],C.prototype,"hovered",void 0),E([o.state()],C.prototype,"focused",void 0),E([o.state()],C.prototype,"pressed",void 0),E([o.state()],C.prototype,"rippling",void 0),E([o.state()],C.prototype,"rippleSize",void 0),E([o.state()],C.prototype,"originX",void 0),E([o.state()],C.prototype,"originY",void 0),E([o.query(".ft-ripple")],C.prototype,"ripple",void 0),E([o.query(".ft-ripple--effect")],C.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(C);const N=window,O=N.trustedTypes,j=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+Z,T=`<${B}>`,A=document,F=()=>A.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,R="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,P=/>/g,H=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,V=/"/g,K=/^(?:script|style|textarea|title)$/i,G=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Y=new WeakMap,J=A.createTreeWalker(A,129,null,!1),Q=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=W;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,a=r.exec(e),null!==a);)p=r.lastIndex,r===W?"!--"===a[1]?r=D:void 0!==a[1]?r=P:void 0!==a[2]?(K.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=H):void 0!==a[3]&&(r=H):r===H?">"===a[0]?(r=null!=s?s:W,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?H:'"'===a[3]?V:L):r===V||r===L?r=H:r===D||r===P?r=W:(r=H,s=void 0);const f=r===H&&t[i+1].startsWith("/>")?" ":"";n+=r===W?e+T:h>=0?(o.push(l),e.slice(0,h)+M+e.slice(h)+Z+f):e+Z+(-2===h?(o.push(void 0),i):f)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class tt{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=Q(t,i);if(this.el=tt.createElement(a,e),J.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=J.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(M)||i.startsWith(Z)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+M).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?nt:"?"===i[1]?lt:"@"===i[1]?at:st})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(K.test(o.tagName)){const t=o.textContent.split(Z),i=t.length-1;if(i>0){o.textContent=O?O.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],F()),J.nextNode(),l.push({type:2,index:++s});o.append(t[i],F())}}}else if(8===o.nodeType)if(o.data===B)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(Z,t+1));)l.push({type:7,index:s}),t+=Z.length-1}s++}}static createElement(t,i){const e=A.createElement("template");return e.innerHTML=t,e}}function it(t,i,e=t,o){var s,n,r,l;if(i===X)return i;let a=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const h=U(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=it(t,a._$AS(t,i.values),a,o)),i}class et{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:A).importNode(e,!0);J.currentNode=s;let n=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new ot(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new ht(n,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=J.nextNode(),r++)}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 ot{constructor(t,i,e,o){var s;this.type=2,this._$AH=q,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=it(this,t,i),U(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(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!==q&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.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=tt.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 et(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Y.get(t.strings);return void 0===i&&Y.set(t.strings,i=new tt(t)),i}T(t){_(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 ot(this.k(F()),this.k(F()),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 st{constructor(t,i,e,o,s){this.type=1,this._$AH=q,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=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=it(this,t,i,0),n=!U(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=it(this,o[e+r],i,r),l===X&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const rt=O?O.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class at extends st{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=it(this,t,i,0))&&void 0!==e?e:q)===X)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&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 ht{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){it(this,t)}}const pt=N.litHtmlPolyfillSupport;null==pt||pt(tt,ot),(null!==(I=N.litHtmlVersions)&&void 0!==I?I:N.litHtmlVersions=[]).push("2.7.3");
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 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((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),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}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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()}}C.elementDefinitions={},C.styles=S,E([o.property({type:Boolean})],C.prototype,"primary",void 0),E([o.property({type:Boolean})],C.prototype,"secondary",void 0),E([o.property({type:Boolean})],C.prototype,"unbounded",void 0),E([o.property({type:Boolean})],C.prototype,"activated",void 0),E([o.property({type:Boolean})],C.prototype,"selected",void 0),E([o.property({type:Boolean})],C.prototype,"disabled",void 0),E([o.state()],C.prototype,"hovered",void 0),E([o.state()],C.prototype,"focused",void 0),E([o.state()],C.prototype,"pressed",void 0),E([o.state()],C.prototype,"rippling",void 0),E([o.state()],C.prototype,"rippleSize",void 0),E([o.state()],C.prototype,"originX",void 0),E([o.state()],C.prototype,"originY",void 0),E([o.query(".ft-ripple")],C.prototype,"ripple",void 0),E([o.query(".ft-ripple--effect")],C.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(C);const N=window,O=N.trustedTypes,M=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+Z,T=`<${B}>`,A=document,F=()=>A.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,R="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,H=/>/g,P=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,V=/"/g,K=/^(?:script|style|textarea|title)$/i,G=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Y=new WeakMap,J=A.createTreeWalker(A,129,null,!1),Q=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=W;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,a=r.exec(e),null!==a);)p=r.lastIndex,r===W?"!--"===a[1]?r=D:void 0!==a[1]?r=H:void 0!==a[2]?(K.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=P):void 0!==a[3]&&(r=P):r===P?">"===a[0]?(r=null!=s?s:W,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?P:'"'===a[3]?V:L):r===V||r===L?r=P:r===D||r===H?r=W:(r=P,s=void 0);const f=r===P&&t[i+1].startsWith("/>")?" ":"";n+=r===W?e+T:h>=0?(o.push(l),e.slice(0,h)+j+e.slice(h)+Z+f):e+Z+(-2===h?(o.push(void 0),i):f)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==M?M.createHTML(l):l,o]};class tt{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=Q(t,i);if(this.el=tt.createElement(a,e),J.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=J.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(j)||i.startsWith(Z)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+j).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?nt:"?"===i[1]?lt:"@"===i[1]?at:st})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(K.test(o.tagName)){const t=o.textContent.split(Z),i=t.length-1;if(i>0){o.textContent=O?O.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],F()),J.nextNode(),l.push({type:2,index:++s});o.append(t[i],F())}}}else if(8===o.nodeType)if(o.data===B)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(Z,t+1));)l.push({type:7,index:s}),t+=Z.length-1}s++}}static createElement(t,i){const e=A.createElement("template");return e.innerHTML=t,e}}function it(t,i,e=t,o){var s,n,r,l;if(i===X)return i;let a=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const h=U(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=it(t,a._$AS(t,i.values),a,o)),i}class et{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:A).importNode(e,!0);J.currentNode=s;let n=J.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new ot(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new ht(n,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=J.nextNode(),r++)}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 ot{constructor(t,i,e,o){var s;this.type=2,this._$AH=q,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=it(this,t,i),U(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(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!==q&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.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=tt.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 et(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Y.get(t.strings);return void 0===i&&Y.set(t.strings,i=new tt(t)),i}T(t){_(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 ot(this.k(F()),this.k(F()),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 st{constructor(t,i,e,o,s){this.type=1,this._$AH=q,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=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=it(this,t,i,0),n=!U(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=it(this,o[e+r],i,r),l===X&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const rt=O?O.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class at extends st{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=it(this,t,i,0))&&void 0!==e?e:q)===X)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&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 ht{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){it(this,t)}}const pt=N.litHtmlPolyfillSupport;null==pt||pt(tt,ot),(null!==(I=N.litHtmlVersions)&&void 0!==I?I:N.litHtmlVersions=[]).push("2.7.3");
216
216
  /**
217
217
  * @license
218
218
  * Copyright 2020 Google LLC
219
219
  * SPDX-License-Identifier: BSD-3-Clause
220
220
  */
221
- const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void 0:t._$litStatic$},ct=t=>({_$litStatic$:t,r:ft}),ut=new Map,xt=(t=>(i,...e)=>{const o=e.length;let s,n;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=i[h];h<o&&void 0!==(n=e[h],s=dt(n));)a+=s+i[++h],p=!0;h!==o&&l.push(n),r.push(a),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=ut.get(t))&&(r.raw=r,ut.set(t,i=r)),e=l}return t(i,...e)})(G);var bt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(bt||(bt={}));const gt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),yt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),vt={fontFamily:yt,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")},mt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",gt),$t=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",vt.fontSize,"20px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",vt.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",vt.letterSpacing,"0.15px"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",vt.lineHeight,"1.2"),St=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",vt.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",gt),Et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",vt.fontSize,"14px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",vt.fontWeight,"normal"),Nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",vt.letterSpacing,"0.105px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",vt.lineHeight,"1.7"),jt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",vt.textTransform,"inherit"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",yt),Zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",vt.fontSize,"16px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",vt.fontWeight,"600"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",vt.letterSpacing,"0.144px"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",vt.lineHeight,"1.5"),Ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",vt.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",yt),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",vt.fontSize,"14px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",vt.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",vt.letterSpacing,"0.098px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",vt.lineHeight,"1.7"),Pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",vt.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",yt),Lt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",vt.fontSize,"16px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",vt.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",vt.letterSpacing,"0.496px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",vt.lineHeight,"1.5"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",vt.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",yt),Yt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",vt.fontSize,"14px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",vt.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",vt.letterSpacing,"0.252px"),ti=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",vt.lineHeight,"1.4"),ii=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",vt.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",yt),oi=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",vt.fontSize,"12px"),si=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",vt.fontWeight,"normal"),ni=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",vt.letterSpacing,"0.396px"),ri=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",vt.lineHeight,"1.33"),li=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",vt.textTransform,"inherit"),ai=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",yt),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",vt.fontSize,"10px"),pi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",vt.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",vt.letterSpacing,"0.33px"),di=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",vt.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",vt.textTransform,"inherit"),ui=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",yt),xi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",vt.fontSize,"10px"),bi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",vt.fontWeight,"normal"),gi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",vt.letterSpacing,"1.5px"),yi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",vt.lineHeight,"1.6"),vi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",vt.textTransform,"uppercase"),mi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",yt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",vt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",vt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",vt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",vt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",vt.textTransform,"uppercase")},$i=e.css`
221
+ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void 0:t._$litStatic$},ct=t=>({_$litStatic$:t,r:ft}),ut=new Map,xt=(t=>(i,...e)=>{const o=e.length;let s,n;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=i[h];h<o&&void 0!==(n=e[h],s=dt(n));)a+=s+i[++h],p=!0;h!==o&&l.push(n),r.push(a),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=ut.get(t))&&(r.raw=r,ut.set(t,i=r)),e=l}return t(i,...e)})(G);var bt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(bt||(bt={}));const gt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),yt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),vt={fontFamily:yt,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")},mt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",gt),$t=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",vt.fontSize,"20px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",vt.fontWeight,"normal"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",vt.letterSpacing,"0.15px"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",vt.lineHeight,"1.2"),St=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",vt.textTransform,"inherit"),It=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",gt),Et=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",vt.fontSize,"14px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",vt.fontWeight,"normal"),Nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",vt.letterSpacing,"0.105px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",vt.lineHeight,"1.7"),Mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",vt.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",yt),Zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",vt.fontSize,"16px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",vt.fontWeight,"600"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",vt.letterSpacing,"0.144px"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",vt.lineHeight,"1.5"),Ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",vt.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",yt),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",vt.fontSize,"14px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",vt.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",vt.letterSpacing,"0.098px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",vt.lineHeight,"1.7"),Ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",vt.textTransform,"inherit"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",yt),Lt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",vt.fontSize,"16px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",vt.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",vt.letterSpacing,"0.496px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",vt.lineHeight,"1.5"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",vt.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",yt),Yt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",vt.fontSize,"14px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",vt.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",vt.letterSpacing,"0.252px"),ti=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",vt.lineHeight,"1.4"),ii=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",vt.textTransform,"inherit"),ei=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",yt),oi=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",vt.fontSize,"12px"),si=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",vt.fontWeight,"normal"),ni=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",vt.letterSpacing,"0.396px"),ri=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",vt.lineHeight,"1.33"),li=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",vt.textTransform,"inherit"),ai=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",yt),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",vt.fontSize,"10px"),pi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",vt.fontWeight,"normal"),fi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",vt.letterSpacing,"0.33px"),di=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",vt.lineHeight,"1.6"),ci=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",vt.textTransform,"inherit"),ui=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",yt),xi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",vt.fontSize,"10px"),bi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",vt.fontWeight,"normal"),gi=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",vt.letterSpacing,"1.5px"),yi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",vt.lineHeight,"1.6"),vi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",vt.textTransform,"uppercase"),mi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",yt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",vt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",vt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",vt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",vt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",vt.textTransform,"uppercase")},$i=e.css`
222
222
  .ft-typography--title {
223
223
  font-family: ${mt};
224
224
  font-size: ${$t};
@@ -234,11 +234,11 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
234
234
  font-weight: ${Ct};
235
235
  letter-spacing: ${Nt};
236
236
  line-height: ${Ot};
237
- text-transform: ${jt};
237
+ text-transform: ${Mt};
238
238
  }
239
239
  `,ki=e.css`
240
240
  .ft-typography--subtitle1 {
241
- font-family: ${Mt};
241
+ font-family: ${jt};
242
242
  font-size: ${Zt};
243
243
  font-weight: ${Bt};
244
244
  letter-spacing: ${Tt};
@@ -252,12 +252,12 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
252
252
  font-weight: ${Rt};
253
253
  letter-spacing: ${Wt};
254
254
  line-height: ${Dt};
255
- text-transform: ${Pt};
255
+ text-transform: ${Ht};
256
256
  }
257
257
 
258
258
  `,Si=e.css`
259
259
  .ft-typography--body1 {
260
- font-family: ${Ht};
260
+ font-family: ${Pt};
261
261
  font-size: ${Lt};
262
262
  font-weight: ${Vt};
263
263
  letter-spacing: ${Kt};
@@ -309,18 +309,18 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
309
309
  line-height: ${mi.lineHeight};
310
310
  text-transform: ${mi.textTransform};
311
311
  }
312
- `,ji=e.css`
312
+ `,Mi=e.css`
313
313
  .ft-typography {
314
314
  vertical-align: inherit;
315
315
  }
316
- `;var Mi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Zi extends i.FtLitElement{constructor(){super(...arguments),this.variant=bt.body1}render(){return this.element?xt`
316
+ `;var ji=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Zi extends i.FtLitElement{constructor(){super(...arguments),this.variant=bt.body1}render(){return this.element?xt`
317
317
  <${ct(this.element)}
318
318
  class="ft-typography ft-typography--${this.variant}">
319
319
  <slot></slot>
320
320
  </${ct(this.element)}>
321
321
  `:xt`
322
322
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
323
- `}}Zi.styles=[$i,wi,ki,zi,Si,Ii,Ei,Ci,Ni,Oi,ji],Mi([o.property()],Zi.prototype,"element",void 0),Mi([o.property()],Zi.prototype,"variant",void 0),i.customElement("ft-typography")(Zi);const Bi=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ti=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ai=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Fi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),Ui=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),_i=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ri=e.css`
323
+ `}}Zi.styles=[$i,wi,ki,zi,Si,Ii,Ei,Ci,Ni,Oi,Mi],ji([o.property()],Zi.prototype,"element",void 0),ji([o.property()],Zi.prototype,"variant",void 0),i.customElement("ft-typography")(Zi);const Bi=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ti=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ai=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Fi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),Ui=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),_i=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ri=e.css`
324
324
  .ft-tooltip--container {
325
325
  display: block;
326
326
  position: relative;
@@ -362,7 +362,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
362
362
  @touchstart=${this.onTouch}>
363
363
  <slot></slot>
364
364
  <div part="tooltip" role="tooltip" inert
365
- class="ft-tooltip ft-tooltip--${this.validPosition}"
365
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
366
366
  ?hidden=${!this.visible}>
367
367
  <div part="tooltip-content" class="ft-tooltip--content">
368
368
  <slot name="text"></slot>
@@ -370,7 +370,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
370
370
  </div>
371
371
  </div>
372
372
  </div>
373
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let s=0,n=0;switch(this.validPosition){case"top":n=-this.tooltip.clientHeight,s=o;break;case"bottom":n=i.height,s=o;break;case"left":n=e,s=-this.tooltip.clientWidth;break;case"right":n=e,s=i.width}i.left+s+this.tooltip.clientWidth>window.innerWidth&&(s=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+s<0&&(s=4-i.left);const r=this.tooltip.style;r.left=s+"px",r.top=n+"px",r.maxWidth=`max(${i.width}px, ${_i})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Di.elementDefinitions={"ft-typography":Zi},Di.styles=Ri,Wi([o.property()],Di.prototype,"text",void 0),Wi([o.property({type:Boolean})],Di.prototype,"manual",void 0),Wi([o.property({type:Boolean})],Di.prototype,"inline",void 0),Wi([o.property({type:Number})],Di.prototype,"delay",void 0),Wi([o.property()],Di.prototype,"position",void 0),Wi([o.queryAssignedNodes("",!0)],Di.prototype,"slotNodes",void 0),Wi([o.query(".ft-tooltip--container")],Di.prototype,"container",void 0),Wi([o.query("slot")],Di.prototype,"target",void 0),Wi([o.query(".ft-tooltip")],Di.prototype,"tooltip",void 0),Wi([o.query(".ft-tooltip--content")],Di.prototype,"tooltipContent",void 0),Wi([o.state()],Di.prototype,"visible",void 0),i.customElement("ft-tooltip")(Di);const Pi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Hi=e.css`
373
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let s=0,n=0;switch(this.validPosition){case"top":n=-this.tooltip.clientHeight,s=o;break;case"bottom":n=i.height,s=o;break;case"left":n=e,s=-this.tooltip.clientWidth;break;case"right":n=e,s=i.width}i.left+s+this.tooltip.clientWidth>window.innerWidth&&(s=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+s<0&&(s=4-i.left);const r=this.tooltip.style;r.left=s+"px",r.top=n+"px",r.maxWidth=`max(${i.width}px, ${_i})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Di.elementDefinitions={"ft-typography":Zi},Di.styles=Ri,Wi([o.property()],Di.prototype,"text",void 0),Wi([o.property({type:Boolean})],Di.prototype,"manual",void 0),Wi([o.property({type:Boolean})],Di.prototype,"inline",void 0),Wi([o.property({type:Number})],Di.prototype,"delay",void 0),Wi([o.property()],Di.prototype,"position",void 0),Wi([o.queryAssignedNodes("",!0)],Di.prototype,"slotNodes",void 0),Wi([o.query(".ft-tooltip--container")],Di.prototype,"container",void 0),Wi([o.query("slot")],Di.prototype,"target",void 0),Wi([o.query(".ft-tooltip")],Di.prototype,"tooltip",void 0),Wi([o.query(".ft-tooltip--content")],Di.prototype,"tooltipContent",void 0),Wi([o.state()],Di.prototype,"visible",void 0),i.customElement("ft-tooltip")(Di);const Hi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Pi=e.css`
374
374
  :host {
375
375
  line-height: 0;
376
376
  }
@@ -379,8 +379,8 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
379
379
  display: inline-block;
380
380
  position: relative;
381
381
 
382
- width: ${Pi.size};
383
- height: ${Pi.size};
382
+ width: ${Hi.size};
383
+ height: ${Hi.size};
384
384
  }
385
385
 
386
386
  .ft-loader div {
@@ -389,7 +389,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
389
389
  width: 25%;
390
390
  height: 25%;
391
391
  border-radius: 50%;
392
- background: ${Pi.color};
392
+ background: ${Hi.color};
393
393
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
394
394
  }
395
395
 
@@ -436,7 +436,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
436
436
  transform: translate(0, 0);
437
437
  }
438
438
  100% {
439
- transform: translate(calc(0.35 * ${Pi.size}), 0);
439
+ transform: translate(calc(0.35 * ${Hi.size}), 0);
440
440
  }
441
441
  }
442
442
  `;class Li extends i.FtLitElement{render(){return e.html`
@@ -446,7 +446,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
446
446
  <div></div>
447
447
  <div></div>
448
448
  </div>
449
- `}}Li.styles=Hi,i.customElement("ft-loader")(Li);const Vi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ki={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Vi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",mi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Vi),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Gi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Xi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Gi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Gi)},qi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),Yi=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Qi=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),te=[e.css`
449
+ `}}Li.styles=Pi,i.customElement("ft-loader")(Li);const Vi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ki={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Vi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",mi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Vi),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Gi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Xi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Gi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Gi)},qi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),Yi=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Qi=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),te=[e.css`
450
450
  :host {
451
451
  display: inline-block;
452
452
  max-width: 100%;
@@ -502,7 +502,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
502
502
  border: 1px solid var(--ft-button-internal-color);
503
503
  padding: calc(${Ki.verticalPadding} - 1px) calc(${Ki.horizontalPadding} - 1px);
504
504
  }
505
-
505
+
506
506
  .ft-button.ft-button--dense {
507
507
  padding: ${Yi} ${Ji};
508
508
  border-radius: ${qi};
@@ -512,7 +512,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
512
512
  .ft-button.ft-button--dense.ft-button--outlined {
513
513
  padding: calc(${Yi} - 1px) calc(${Ji} - 1px);
514
514
  }
515
-
515
+
516
516
  .ft-button:not([disabled]):hover {
517
517
  cursor: pointer;
518
518
  }
@@ -580,8 +580,8 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
580
580
  }
581
581
 
582
582
  ft-loader {
583
- ${i.setVariable(Pi.size,Ki.iconSize)};
584
- ${i.setVariable(Pi.color,"var(--ft-button-internal-color)")};
583
+ ${i.setVariable(Hi.size,Ki.iconSize)};
584
+ ${i.setVariable(Hi.color,"var(--ft-button-internal-color)")};
585
585
  }
586
586
  `,i.noTextSelect];var ie,ee=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class oe extends i.FtLitElement{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(e.html`
587
587
  <button part="button"
@@ -604,7 +604,7 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
604
604
  position="${this.tooltipPosition}">
605
605
  ${t}
606
606
  </ft-tooltip>
607
- `:t}resolveIcon(){return this.loading?e.html`
607
+ `:t}resolveIcon(){return this.loading?e.html`
608
608
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
609
609
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}oe.elementDefinitions={"ft-ripple":C,"ft-tooltip":Di,"ft-typography":Zi,"ft-icon":b,"ft-loader":Li},oe.styles=[i.safariEllipsisFix,te],ee([o.property({type:String,reflect:!0})],oe.prototype,"role",void 0),ee([o.property({type:Boolean})],oe.prototype,"primary",void 0),ee([o.property({type:Boolean})],oe.prototype,"outlined",void 0),ee([o.property({type:Boolean})],oe.prototype,"disabled",void 0),ee([o.property({type:Boolean})],oe.prototype,"dense",void 0),ee([o.property({type:Boolean})],oe.prototype,"round",void 0),ee([o.property()],oe.prototype,"label",void 0),ee([o.property()],oe.prototype,"icon",void 0),ee([o.property()],oe.prototype,"iconVariant",void 0),ee([o.property({type:Boolean})],oe.prototype,"trailingIcon",void 0),ee([o.property({type:Boolean})],oe.prototype,"loading",void 0),ee([o.property()],oe.prototype,"tooltipPosition",void 0),ee([o.property({type:Boolean})],oe.prototype,"hideTooltip",void 0),ee([o.property({type:Boolean})],oe.prototype,"forceTooltip",void 0),ee([o.query(".ft-button")],oe.prototype,"button",void 0),ee([o.query(".ft-button--label slot")],oe.prototype,"slottedContent",void 0),i.customElement("ft-button")(oe),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(ie||(ie={}));const se=e.css`
610
610
  .ft-size-watcher--pixel {
@@ -669,4 +669,4 @@ const ft=Symbol.for(""),dt=t=>{if((null==t?void 0:t.r)===ft)return null==t?void
669
669
  </div>
670
670
  <iframe src="${this.portalUrl}" part="iframe"/>
671
671
  </div>
672
- `}updated(t){super.updated(t),t.has("opened")&&this.updateModeOnOpen(),(t.has("disableStandardMode")||t.has("disableThreaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new l(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(a.tabletBreakpoint.name)||a.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(a.desktopBreakpoint.name)||a.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}}he.elementDefinitions={"ft-button":oe,"ft-size-watcher":le},he.styles=h,ae([o.property()],he.prototype,"portalUrl",void 0),ae([o.property({reflect:!0,type:Boolean})],he.prototype,"opened",void 0),ae([o.property({reflect:!0})],he.prototype,"displayMode",void 0),ae([o.property()],he.prototype,"closeIcon",void 0),ae([o.property()],he.prototype,"standardModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableStandardMode",void 0),ae([o.property()],he.prototype,"theaterModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableTheaterMode",void 0),ae([o.property()],he.prototype,"fullscreenModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableFullscreenMode",void 0),ae([o.property()],he.prototype,"iconVariant",void 0),ae([o.state()],he.prototype,"allowStandardMode",void 0),ae([o.state()],he.prototype,"allowTheaterMode",void 0),ae([o.state()],he.prototype,"allowFullscreenMode",void 0),i.customElement("ft-in-product-help")(he),t.FtInProductHelp=he,t.FtInProductHelpCssVariables=a,t.FtInProductHelpVisibilityChange=l,t.styles=h}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
672
+ `}updated(t){super.updated(t),t.has("opened")&&this.updateModeOnOpen(),(t.has("disableStandardMode")||t.has("disableThreaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new l(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(a.tabletBreakpoint.name)||a.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(a.desktopBreakpoint.name)||a.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}navigateTo(t){this.iframe.contentWindow.postMessage({navigateTo:t},this.portalUrl)}}he.elementDefinitions={"ft-button":oe,"ft-size-watcher":le},he.styles=h,ae([o.property()],he.prototype,"portalUrl",void 0),ae([o.property({reflect:!0,type:Boolean})],he.prototype,"opened",void 0),ae([o.property({reflect:!0})],he.prototype,"displayMode",void 0),ae([o.property()],he.prototype,"closeIcon",void 0),ae([o.property()],he.prototype,"standardModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableStandardMode",void 0),ae([o.property()],he.prototype,"theaterModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableTheaterMode",void 0),ae([o.property()],he.prototype,"fullscreenModeIcon",void 0),ae([o.property({type:Boolean})],he.prototype,"disableFullscreenMode",void 0),ae([o.property()],he.prototype,"iconVariant",void 0),ae([o.state()],he.prototype,"allowStandardMode",void 0),ae([o.state()],he.prototype,"allowTheaterMode",void 0),ae([o.state()],he.prototype,"allowFullscreenMode",void 0),ae([o.query("iframe")],he.prototype,"iframe",void 0),i.customElement("ft-in-product-help")(he),t.FtInProductHelp=he,t.FtInProductHelpCssVariables=a,t.FtInProductHelpVisibilityChange=l,t.styles=h}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,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,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);d(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(s.set(n,h),h.standInClass=p);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)r.delete(t),u(t,h,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!h(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){f(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)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(ae){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);d(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(r.set(n,h),h.standInClass=p);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.delete(t),u(t,h,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.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=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!h(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){f(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)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const x=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(x(Element,"innerHTML"),x(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(ae){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -29,17 +29,17 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const r=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
32
+ */const s=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(s.finisher=function(e){t(e,o)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function s(t,e){return r({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function r(t,e){return s({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var r=n[o];if(!h(t[r],e[r]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const p=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
42
+ */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!h(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const p=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
@@ -50,43 +50,43 @@ const c=window,d=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow)&&"
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var m;const w=window,$=w.trustedTypes,S=$?$.emptyScript:"",O=w.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?S:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},E=(t,e)=>e!==t&&(e==e||t==t),N={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:E};let C=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=N){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||N}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(g(t))}else void 0!==t&&e.push(g(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=N){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:k).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:k;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
53
+ */;var m;const w=window,$=w.trustedTypes,S=$?$.emptyScript:"",O=w.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?S:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},E=(t,e)=>e!==t&&(e==e||t==t),N={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:E};let C=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=N){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||N}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(g(t))}else void 0!==t&&e.push(g(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=N){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:k).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:k;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var M;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const z=window,R=z.trustedTypes,U=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,B="?"+F,I=`<${B}>`,T=document,A=()=>T.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,_=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Y=new WeakMap,Q=T.createTreeWalker(T,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(s.lastIndex=p,l=s.exec(i),null!==l);)p=s.lastIndex,s===W?"!--"===l[1]?s=Z:void 0!==l[1]?s=_:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=H):void 0!==l[3]&&(s=H):s===H?">"===l[0]?(s=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?H:'"'===l[3]?V:K):s===V||s===K?s=H:s===Z||s===_?s=W:(s=H,n=void 0);const c=s===H&&t[e+1].startsWith("/>")?" ":"";r+=s===W?i+I:h>=0?(o.push(a),i.slice(0,h)+j+i.slice(h)+F+c):i+F+(-2===h?(o.push(void 0),e):c)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(j)||e.startsWith(F)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+j).split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?lt:"@"===e[1]?ht:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)a.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const i=T.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,r,s,a;if(e===q)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=P(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:T).importNode(i,!0);Q.currentNode=n;let r=Q.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new nt(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new pt(r,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=Q.nextNode(),s++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),P(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>L(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new ot(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new et(t)),e}T(t){L(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.k(A()),this.k(A()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=it(this,t,e,0),r=!P(t)||t!==this._$AH&&t!==q,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=it(this,o[i+s],e,s),a===q&&(a=this._$AH[s]),r||(r=!P(a)||a!==this._$AH[s]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const at=R?R.emptyScript:"";class lt extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends rt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:G)===q)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const ct=z.litHtmlPolyfillSupport;null==ct||ct(et,nt),(null!==(M=z.litHtmlVersions)&&void 0!==M?M:z.litHtmlVersions=[]).push("2.7.3");
59
+ var M;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const z=window,R=z.trustedTypes,U=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,B="?"+j,I=`<${B}>`,T=document,A=()=>T.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,_=/>/g,H=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Y=new WeakMap,Q=T.createTreeWalker(T,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===W?"!--"===l[1]?r=Z:void 0!==l[1]?r=_:void 0!==l[2]?(J.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=H):void 0!==l[3]&&(r=H):r===H?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?H:'"'===l[3]?V:K):r===V||r===K?r=H:r===Z||r===_?r=W:(r=H,n=void 0);const c=r===H&&t[e+1].startsWith("/>")?" ":"";s+=r===W?i+I:h>=0?(o.push(a),i.slice(0,h)+F+i.slice(h)+j+c):i+j+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=tt(t,e);if(this.el=et.createElement(l,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(j)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(j),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?lt:"@"===e[1]?ht:st})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(j),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],A()),Q.nextNode(),a.push({type:2,index:++n});o.append(t[e],A())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)a.push({type:7,index:n}),t+=j.length-1}n++}}static createElement(t,e){const i=T.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,s,r,a;if(e===q)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=it(t,l._$AS(t,e.values),l,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:T).importNode(i,!0);Q.currentNode=n;let s=Q.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new nt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new pt(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=Q.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),L(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(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!==G&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new ot(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new et(t)),e}T(t){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new nt(this.k(A()),this.k(A()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{constructor(t,e,i,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=it(this,t,e,0),s=!L(t)||t!==this._$AH&&t!==q,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=it(this,o[i+r],e,r),a===q&&(a=this._$AH[r]),s||(s=!L(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const at=R?R.emptyScript:"";class lt extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends st{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=it(this,t,e,0))&&void 0!==i?i:G)===q)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}}const ct=z.litHtmlPolyfillSupport;null==ct||ct(et,nt),(null!==(M=z.litHtmlVersions)&&void 0!==M?M:z.litHtmlVersions=[]).push("2.7.3");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new nt(e.insertBefore(A(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:ut});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:ut}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.3.2");class vt{static create(t,e,i){let o=t=>v(null!=t?t:i),n=y`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):v(null!=e?e:t.defaultValue),o=y`var(${v(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(${v(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}}function yt(t,e){return v(`${t.name}: ${e}`)}const xt={colorPrimary:vt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:vt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:vt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:vt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:vt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:vt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vt.create("--ft-color-error","COLOR","#B00020"),colorOutline:vt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:vt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:vt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:vt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:vt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:vt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:vt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:vt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:vt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:vt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:vt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:vt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:vt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:vt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:vt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:vt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:vt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:vt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:vt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt extends ut{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 x(i,t.elementStyles),i}}var mt,wt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const $t=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class kt extends gt{constructor(){super(),this[mt]=new e(5),this[St]=this.constructor.name,this[$t]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[$t])}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[Ot].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const p=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}mt=Ot,wt([o()],kt.prototype,"exportpartsPrefix",void 0),wt([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)=>!h(t,e),...null!=e?e:{}})}([])],kt.prototype,"exportpartsPrefixes",void 0),wt([o()],kt.prototype,"customStylesheet",void 0);const Et=y`
66
- .ft-no-text-select {
67
- -webkit-touch-callout: none;
68
- -webkit-user-select: none;
69
- -khtml-user-select: none;
70
- -moz-user-select: none;
71
- -ms-user-select: none;
72
- user-select: none;
73
- }
65
+ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new nt(e.insertBefore(A(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(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 q}};ut.finalized=!0,ut._$litElement$=!0,null===(dt=globalThis.litElementHydrateSupport)||void 0===dt||dt.call(globalThis,{LitElement:ut});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:ut}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.3.2");class vt{static create(t,e,i){let o=t=>v(null!=t?t:i),n=y`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=y`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>y`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):v(null!=e?e:t.defaultValue),o=y`var(${v(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(${v(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}}function yt(t,e){return v(`${t.name}: ${e}`)}const xt={colorPrimary:vt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:vt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:vt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:vt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:vt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:vt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vt.create("--ft-color-error","COLOR","#B00020"),colorOutline:vt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:vt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:vt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:vt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:vt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:vt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:vt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:vt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:vt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:vt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:vt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:vt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:vt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:vt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:vt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:vt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.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:vt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:vt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:vt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:vt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt extends ut{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 x(i,t.elementStyles),i}}var mt,wt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const $t=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class kt extends gt{constructor(){super(),this[mt]=new e(5),this[St]=this.constructor.name,this[$t]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[$t])}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[Ot].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];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 p=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}mt=Ot,wt([o()],kt.prototype,"exportpartsPrefix",void 0),wt([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)=>!h(t,e),...null!=e?e:{}})}([])],kt.prototype,"exportpartsPrefixes",void 0),wt([o()],kt.prototype,"customStylesheet",void 0);const Et=y`
66
+ .ft-no-text-select {
67
+ -webkit-touch-callout: none;
68
+ -webkit-user-select: none;
69
+ -khtml-user-select: none;
70
+ -moz-user-select: none;
71
+ -ms-user-select: none;
72
+ user-select: none;
73
+ }
74
74
  `;y`
75
- .ft-word-wrap {
76
- white-space: normal;
77
- word-wrap: break-word;
78
- -ms-word-break: break-all;
79
- word-break: break-all;
80
- word-break: break-word;
81
- -ms-hyphens: auto;
82
- -moz-hyphens: auto;
83
- -webkit-hyphens: auto;
84
- hyphens: auto
85
- }
75
+ .ft-word-wrap {
76
+ white-space: normal;
77
+ word-wrap: break-word;
78
+ -ms-word-break: break-all;
79
+ word-break: break-all;
80
+ word-break: break-word;
81
+ -ms-hyphens: auto;
82
+ -moz-hyphens: auto;
83
+ -webkit-hyphens: auto;
84
+ hyphens: auto
85
+ }
86
86
  `;const Nt=y`
87
87
  .ft-safari-ellipsis-fix {
88
88
  margin-right: 0;
89
-
89
+
90
90
  }
91
91
 
92
92
  .ft-safari-ellipsis-fix:after {
@@ -94,29 +94,29 @@ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOp
94
94
  display: inline-block;
95
95
  width: 0;
96
96
  }
97
- `;var Ct,Mt,zt;const Rt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zt=null===(Mt=null===(Ct=window.safari)||void 0===Ct?void 0:Ct.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==zt?zt:"");var Ut;t.FtInProductHelpMode=void 0,(Ut=t.FtInProductHelpMode||(t.FtInProductHelpMode={})).STANDARD="standard",Ut.THEATER="theater",Ut.FULLSCREEN="fullscreen";class jt extends CustomEvent{constructor(t,e){super("visibility-change",{detail:{opened:t,displayMode:e}})}}const Ft={standardSizeWidth:vt.create("--ft-in-product-help-standard-width","SIZE","400px"),standardSizeHeight:vt.create("--ft-in-product-help-standard-height","SIZE","630px"),topPosition:vt.create("--ft-in-product-help-top","SIZE","unset"),rightPosition:vt.create("--ft-in-product-help-right","SIZE","1rem"),bottomPosition:vt.create("--ft-in-product-help-bottom","SIZE","1rem"),leftPosition:vt.create("--ft-in-product-help-left","SIZE","unset"),zIndex:vt.create("--ft-in-product-help-zindex","NUMBER","10"),theaterSizeWidth:vt.create("--ft-in-product-help-theater-width","SIZE","90%"),theaterSizeHeight:vt.create("--ft-in-product-help-theater-height","SIZE","60%"),fullscreenSizeWidth:vt.create("--ft-in-product-help-fullscreen-width","SIZE","100%"),fullscreenSizeHeight:vt.create("--ft-in-product-help-fullscreen-height","SIZE","100%"),borderStyle:vt.create("--ft-in-product-help-border-style","UNKNOWN","solid"),borderWidth:vt.create("--ft-in-product-help-border-width","SIZE","0"),borderColor:vt.extend("--ft-in-product-help-border-color",xt.colorPrimary),borderRadius:vt.extend("--ft-in-product-help-border-radius",xt.borderRadiusM),shadow:vt.extend("--ft-in-product-help-shadow",xt.elevation02),topBarHeight:vt.create("--ft-in-product-help-top-bar-height","SIZE","28px"),iconColor:vt.extend("--ft-in-product-help-icon-color",xt.colorOnSurface),iconGap:vt.create("--ft-in-product-help-icon-gap","SIZE","8px"),tabletBreakpoint:vt.create("--ft-in-product-help-tablet-breakpoint","SIZE","768px"),desktopBreakpoint:vt.create("--ft-in-product-help-desktop-breakpoint","SIZE","1280px"),colorSurface:vt.external(xt.colorSurface,"Design system"),colorPrimary:vt.external(xt.colorPrimary,"Design system")},Bt=y`
97
+ `;var Ct,Mt,zt;const Rt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zt=null===(Mt=null===(Ct=window.safari)||void 0===Ct?void 0:Ct.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==zt?zt:"");var Ut;t.FtInProductHelpMode=void 0,(Ut=t.FtInProductHelpMode||(t.FtInProductHelpMode={})).STANDARD="standard",Ut.THEATER="theater",Ut.FULLSCREEN="fullscreen";class Ft extends CustomEvent{constructor(t,e){super("visibility-change",{detail:{opened:t,displayMode:e}})}}const jt={standardSizeWidth:vt.create("--ft-in-product-help-standard-width","SIZE","400px"),standardSizeHeight:vt.create("--ft-in-product-help-standard-height","SIZE","630px"),topPosition:vt.create("--ft-in-product-help-top","SIZE","unset"),rightPosition:vt.create("--ft-in-product-help-right","SIZE","1rem"),bottomPosition:vt.create("--ft-in-product-help-bottom","SIZE","1rem"),leftPosition:vt.create("--ft-in-product-help-left","SIZE","unset"),zIndex:vt.create("--ft-in-product-help-zindex","NUMBER","10"),theaterSizeWidth:vt.create("--ft-in-product-help-theater-width","SIZE","90%"),theaterSizeHeight:vt.create("--ft-in-product-help-theater-height","SIZE","60%"),fullscreenSizeWidth:vt.create("--ft-in-product-help-fullscreen-width","SIZE","100%"),fullscreenSizeHeight:vt.create("--ft-in-product-help-fullscreen-height","SIZE","100%"),borderStyle:vt.create("--ft-in-product-help-border-style","UNKNOWN","solid"),borderWidth:vt.create("--ft-in-product-help-border-width","SIZE","0"),borderColor:vt.extend("--ft-in-product-help-border-color",xt.colorPrimary),borderRadius:vt.extend("--ft-in-product-help-border-radius",xt.borderRadiusM),shadow:vt.extend("--ft-in-product-help-shadow",xt.elevation02),topBarHeight:vt.create("--ft-in-product-help-top-bar-height","SIZE","28px"),iconColor:vt.extend("--ft-in-product-help-icon-color",xt.colorOnSurface),iconGap:vt.create("--ft-in-product-help-icon-gap","SIZE","8px"),tabletBreakpoint:vt.create("--ft-in-product-help-tablet-breakpoint","SIZE","768px"),desktopBreakpoint:vt.create("--ft-in-product-help-desktop-breakpoint","SIZE","1280px"),colorSurface:vt.external(xt.colorSurface,"Design system"),colorPrimary:vt.external(xt.colorPrimary,"Design system")},Bt=y`
98
98
  .ft-in-product-help {
99
99
  display: none;
100
100
  position: fixed;
101
- width: ${Ft.standardSizeWidth};
102
- height: ${Ft.standardSizeHeight};
103
- top: ${Ft.topPosition};
104
- right: ${Ft.rightPosition};
105
- bottom: ${Ft.bottomPosition};
106
- left: ${Ft.leftPosition};
107
- z-index: ${Ft.zIndex};
108
-
109
- border-style: ${Ft.borderStyle};
110
- border-width: ${Ft.borderWidth};
111
- border-color: ${Ft.borderColor};
112
- border-radius: ${Ft.borderRadius};
113
- box-shadow: ${Ft.shadow};
101
+ width: ${jt.standardSizeWidth};
102
+ height: ${jt.standardSizeHeight};
103
+ top: ${jt.topPosition};
104
+ right: ${jt.rightPosition};
105
+ bottom: ${jt.bottomPosition};
106
+ left: ${jt.leftPosition};
107
+ z-index: ${jt.zIndex};
108
+
109
+ border-style: ${jt.borderStyle};
110
+ border-width: ${jt.borderWidth};
111
+ border-color: ${jt.borderColor};
112
+ border-radius: ${jt.borderRadius};
113
+ box-shadow: ${jt.shadow};
114
114
  overflow: hidden;
115
115
  }
116
116
 
117
117
  .ft-in-product-help.ft-in-product-help--theater {
118
- width: ${Ft.theaterSizeWidth};
119
- height: ${Ft.theaterSizeHeight};
118
+ width: ${jt.theaterSizeWidth};
119
+ height: ${jt.theaterSizeHeight};
120
120
  }
121
121
 
122
122
  .ft-in-product-help.ft-in-product-help--fullscreen {
@@ -132,20 +132,20 @@ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOp
132
132
  }
133
133
 
134
134
  .ft-in-product-help--top-bar {
135
- height: ${Ft.topBarHeight};
136
- background-color: ${Ft.colorSurface};
135
+ height: ${jt.topBarHeight};
136
+ background-color: ${jt.colorSurface};
137
137
  display: flex;
138
138
  justify-content: flex-end;
139
- gap: ${Ft.iconGap};
139
+ gap: ${jt.iconGap};
140
140
  }
141
141
 
142
142
  .ft-in-product-help--top-bar ft-button:not(.ft-in-product-help--active-mode) {
143
- --ft-button-color: ${Ft.iconColor};
143
+ --ft-button-color: ${jt.iconColor};
144
144
  }
145
145
 
146
146
  iframe {
147
147
  width: 100%;
148
- height: calc(100% - ${Ft.topBarHeight});
148
+ height: calc(100% - ${jt.topBarHeight});
149
149
  border: none;
150
150
  }
151
151
  `
@@ -153,12 +153,12 @@ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOp
153
153
  * @license
154
154
  * Copyright 2017 Google LLC
155
155
  * SPDX-License-Identifier: BSD-3-Clause
156
- */,It=1,Tt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Pt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
156
+ */,It=1,Tt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Lt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
157
157
  /**
158
158
  * @license
159
159
  * Copyright 2017 Google LLC
160
160
  * SPDX-License-Identifier: BSD-3-Clause
161
- */let Lt=class extends Pt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Lt.directiveName="unsafeHTML",Lt.resultType=1;const Dt=At(Lt);var Wt,Zt;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Wt||(Wt={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Zt||(Zt={})),new Map([...["abw"].map((t=>[t,Zt.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Zt.AUDIO])),...["avi"].map((t=>[t,Zt.AVI])),...["chm","xhs"].map((t=>[t,Zt.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Zt.CODE])),...["csv"].map((t=>[t,Zt.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Zt.DITA])),...["epub"].map((t=>[t,Zt.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Zt.EXCEL])),...["flac"].map((t=>[t,Zt.FLAC])),...["gif"].map((t=>[t,Zt.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Zt.GZIP])),...["html","htm","xhtml"].map((t=>[t,Zt.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Zt.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Zt.JPEG])),...["json"].map((t=>[t,Zt.JSON])),...["m4a","m4p"].map((t=>[t,Zt.M4A])),...["mov","qt"].map((t=>[t,Zt.MOV])),...["mp3"].map((t=>[t,Zt.MP3])),...["mp4","m4v"].map((t=>[t,Zt.MP4])),...["ogg","oga"].map((t=>[t,Zt.OGG])),...["pdf","ps"].map((t=>[t,Zt.PDF])),...["png"].map((t=>[t,Zt.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Zt.POWERPOINT])),...["rar"].map((t=>[t,Zt.RAR])),...["stp"].map((t=>[t,Zt.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Zt.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Zt.VIDEO])),...["wav"].map((t=>[t,Zt.WAV])),...["wma"].map((t=>[t,Zt.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Zt.WORD])),...["xml","xsl","rdf"].map((t=>[t,Zt.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Zt.YAML])),...["zip"].map((t=>[t,Zt.ZIP]))]);const _t={size:vt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:vt.extend("--ft-icon-fluid-topics-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.extend("--ft-icon-file-format-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:vt.extend("--ft-icon-material-font-family",vt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:vt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ht=y`
161
+ */let Pt=class extends Lt{constructor(t){if(super(t),this.et=G,t.type!==Tt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Pt.directiveName="unsafeHTML",Pt.resultType=1;const Dt=At(Pt);var Wt,Zt;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Wt||(Wt={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Zt||(Zt={})),new Map([...["abw"].map((t=>[t,Zt.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Zt.AUDIO])),...["avi"].map((t=>[t,Zt.AVI])),...["chm","xhs"].map((t=>[t,Zt.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Zt.CODE])),...["csv"].map((t=>[t,Zt.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Zt.DITA])),...["epub"].map((t=>[t,Zt.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Zt.EXCEL])),...["flac"].map((t=>[t,Zt.FLAC])),...["gif"].map((t=>[t,Zt.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Zt.GZIP])),...["html","htm","xhtml"].map((t=>[t,Zt.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Zt.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Zt.JPEG])),...["json"].map((t=>[t,Zt.JSON])),...["m4a","m4p"].map((t=>[t,Zt.M4A])),...["mov","qt"].map((t=>[t,Zt.MOV])),...["mp3"].map((t=>[t,Zt.MP3])),...["mp4","m4v"].map((t=>[t,Zt.MP4])),...["ogg","oga"].map((t=>[t,Zt.OGG])),...["pdf","ps"].map((t=>[t,Zt.PDF])),...["png"].map((t=>[t,Zt.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Zt.POWERPOINT])),...["rar"].map((t=>[t,Zt.RAR])),...["stp"].map((t=>[t,Zt.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Zt.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Zt.VIDEO])),...["wav"].map((t=>[t,Zt.WAV])),...["wma"].map((t=>[t,Zt.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Zt.WORD])),...["xml","xsl","rdf"].map((t=>[t,Zt.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Zt.YAML])),...["zip"].map((t=>[t,Zt.ZIP]))]);const _t={size:vt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:vt.extend("--ft-icon-fluid-topics-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.extend("--ft-icon-file-format-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:vt.extend("--ft-icon-material-font-family",vt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:vt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ht=y`
162
162
  :host, i.ft-icon {
163
163
  display: inline-flex;
164
164
  align-items: center;
@@ -190,7 +190,7 @@ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOp
190
190
 
191
191
  i.ft-icon.ft-icon--fluid-topics {
192
192
  font-family: ${_t.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
193
-
193
+
194
194
  /* Ugly fix because font is broken */
195
195
  font-size: calc(0.75 * ${_t.size});
196
196
  line-height: ${_t.size};
@@ -206,18 +206,18 @@ var dt,ft;let ut=class extends C{constructor(){super(...arguments),this.renderOp
206
206
  .ft-icon--material {
207
207
  font-family: ${_t.materialFontFamily}, "Material Icons", sans-serif;
208
208
  }
209
- `;var Kt;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Kt||(Kt={}));var Vt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Jt extends kt{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Kt).includes(this.variant)?this.variant:Kt.fluid_topics,e=t!==Kt.material||!!this.value;return X`
209
+ `;var Kt;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Kt||(Kt={}));var Vt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Jt extends kt{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Kt).includes(this.variant)?this.variant:Kt.fluid_topics,e=t!==Kt.material||!!this.value;return X`
210
210
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
211
211
  ${Dt(this.resolvedIcon)}
212
212
  <slot ?hidden=${e}></slot>
213
213
  </i>
214
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Kt.file_format:this.resolvedIcon=null!==(t=Zt[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Kt.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=Wt[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Jt.elementDefinitions={},Jt.styles=Ht,Vt([o()],Jt.prototype,"variant",void 0),Vt([o()],Jt.prototype,"value",void 0),Vt([n()],Jt.prototype,"resolvedIcon",void 0),Vt([s("slot")],Jt.prototype,"slottedContent",void 0),p("ft-icon")(Jt);
214
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Kt.file_format:this.resolvedIcon=null!==(t=Zt[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Kt.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=Wt[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Jt.elementDefinitions={},Jt.styles=Ht,Vt([o()],Jt.prototype,"variant",void 0),Vt([o()],Jt.prototype,"value",void 0),Vt([n()],Jt.prototype,"resolvedIcon",void 0),Vt([r("slot")],Jt.prototype,"slottedContent",void 0),p("ft-icon")(Jt);
215
215
  /**
216
216
  * @license
217
217
  * Copyright 2018 Google LLC
218
218
  * SPDX-License-Identifier: BSD-3-Clause
219
219
  */
220
- const Xt=At(class extends Pt{constructor(t){var e;if(super(t),t.type!==It||"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 n=t.element.classList;this.it.forEach((t=>{t in e||(n.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?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return q}}),qt=vt.extend("--ft-ripple-color",xt.colorContent),Gt={color:qt,backgroundColor:vt.extend("--ft-ripple-background-color",qt),opacityContentOnSurfacePressed:vt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vt.external(xt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vt.create("--ft-ripple-border-radius","SIZE","0px")},Yt=vt.extend("--ft-ripple-color",xt.colorPrimary),Qt=Yt,te=vt.extend("--ft-ripple-background-color",Yt),ee=vt.extend("--ft-ripple-color",xt.colorSecondary),ie=ee,oe=vt.extend("--ft-ripple-background-color",ee),ne=y`
220
+ const Xt=At(class extends Lt{constructor(t){var e;if(super(t),t.type!==It||"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 n=t.element.classList;this.it.forEach((t=>{t in e||(n.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?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return q}}),qt=vt.extend("--ft-ripple-color",xt.colorContent),Gt={color:qt,backgroundColor:vt.extend("--ft-ripple-background-color",qt),opacityContentOnSurfacePressed:vt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vt.external(xt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vt.create("--ft-ripple-border-radius","SIZE","0px")},Yt=vt.extend("--ft-ripple-color",xt.colorPrimary),Qt=Yt,te=vt.extend("--ft-ripple-background-color",Yt),ee=vt.extend("--ft-ripple-color",xt.colorSecondary),ie=ee,oe=vt.extend("--ft-ripple-background-color",ee),ne=y`
221
221
  :host {
222
222
  display: contents;
223
223
  }
@@ -307,7 +307,7 @@ const Xt=At(class extends Pt{constructor(t){var e;if(super(t),t.type!==It||"clas
307
307
  opacity: ${Gt.opacityContentOnSurfacePressed};
308
308
  transform: translate(-50%, -50%) scale(1);
309
309
  }
310
- `;var re=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class se extends kt{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:n}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-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 X`
310
+ `;var se=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class re extends kt{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:n}=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!=n?n-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.isFocusVisible(null==t?void 0:t.target)&&!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 X`
311
311
  <style>
312
312
  .ft-ripple .ft-ripple--effect,
313
313
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -324,13 +324,13 @@ const Xt=At(class extends Pt{constructor(t){var e;if(super(t),t.type!==It||"clas
324
324
  <div class="ft-ripple--background"></div>
325
325
  <div class="ft-ripple--effect"></div>
326
326
  </div>
327
- `}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((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),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"),n=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",n),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",n),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,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}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()}}se.elementDefinitions={},se.styles=ne,re([o({type:Boolean})],se.prototype,"primary",void 0),re([o({type:Boolean})],se.prototype,"secondary",void 0),re([o({type:Boolean})],se.prototype,"unbounded",void 0),re([o({type:Boolean})],se.prototype,"activated",void 0),re([o({type:Boolean})],se.prototype,"selected",void 0),re([o({type:Boolean})],se.prototype,"disabled",void 0),re([n()],se.prototype,"hovered",void 0),re([n()],se.prototype,"focused",void 0),re([n()],se.prototype,"pressed",void 0),re([n()],se.prototype,"rippling",void 0),re([n()],se.prototype,"rippleSize",void 0),re([n()],se.prototype,"originX",void 0),re([n()],se.prototype,"originY",void 0),re([s(".ft-ripple")],se.prototype,"ripple",void 0),re([s(".ft-ripple--effect")],se.prototype,"rippleEffect",void 0),p("ft-ripple")(se);
327
+ `}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((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),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"),n=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",n),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",n),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,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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()}}re.elementDefinitions={},re.styles=ne,se([o({type:Boolean})],re.prototype,"primary",void 0),se([o({type:Boolean})],re.prototype,"secondary",void 0),se([o({type:Boolean})],re.prototype,"unbounded",void 0),se([o({type:Boolean})],re.prototype,"activated",void 0),se([o({type:Boolean})],re.prototype,"selected",void 0),se([o({type:Boolean})],re.prototype,"disabled",void 0),se([n()],re.prototype,"hovered",void 0),se([n()],re.prototype,"focused",void 0),se([n()],re.prototype,"pressed",void 0),se([n()],re.prototype,"rippling",void 0),se([n()],re.prototype,"rippleSize",void 0),se([n()],re.prototype,"originX",void 0),se([n()],re.prototype,"originY",void 0),se([r(".ft-ripple")],re.prototype,"ripple",void 0),se([r(".ft-ripple--effect")],re.prototype,"rippleEffect",void 0),p("ft-ripple")(re);
328
328
  /**
329
329
  * @license
330
330
  * Copyright 2020 Google LLC
331
331
  * SPDX-License-Identifier: BSD-3-Clause
332
332
  */
333
- const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void 0:t._$litStatic$},he=t=>({_$litStatic$:t,r:ae}),pe=new Map,ce=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=le(r));)l+=n+e[++h],p=!0;h!==o&&a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),p){const t=s.join("$$lit$$");void 0===(e=pe.get(t))&&(s.raw=s,pe.set(t,e=s)),i=a}return t(e,...i)})(X);var de;!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"}(de||(de={}));const fe=vt.extend("--ft-typography-font-family",xt.titleFont),ue=vt.extend("--ft-typography-font-family",xt.contentFont),be={fontFamily:ue,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ve=vt.extend("--ft-typography-title-font-family",fe),ye=vt.extend("--ft-typography-title-font-size",be.fontSize,"20px"),xe=vt.extend("--ft-typography-title-font-weight",be.fontWeight,"normal"),ge=vt.extend("--ft-typography-title-letter-spacing",be.letterSpacing,"0.15px"),me=vt.extend("--ft-typography-title-line-height",be.lineHeight,"1.2"),we=vt.extend("--ft-typography-title-text-transform",be.textTransform,"inherit"),$e=vt.extend("--ft-typography-title-dense-font-family",fe),Se=vt.extend("--ft-typography-title-dense-font-size",be.fontSize,"14px"),Oe=vt.extend("--ft-typography-title-dense-font-weight",be.fontWeight,"normal"),ke=vt.extend("--ft-typography-title-dense-letter-spacing",be.letterSpacing,"0.105px"),Ee=vt.extend("--ft-typography-title-dense-line-height",be.lineHeight,"1.7"),Ne=vt.extend("--ft-typography-title-dense-text-transform",be.textTransform,"inherit"),Ce=vt.extend("--ft-typography-subtitle1-font-family",ue),Me=vt.extend("--ft-typography-subtitle1-font-size",be.fontSize,"16px"),ze=vt.extend("--ft-typography-subtitle1-font-weight",be.fontWeight,"600"),Re=vt.extend("--ft-typography-subtitle1-letter-spacing",be.letterSpacing,"0.144px"),Ue=vt.extend("--ft-typography-subtitle1-line-height",be.lineHeight,"1.5"),je=vt.extend("--ft-typography-subtitle1-text-transform",be.textTransform,"inherit"),Fe=vt.extend("--ft-typography-subtitle2-font-family",ue),Be=vt.extend("--ft-typography-subtitle2-font-size",be.fontSize,"14px"),Ie=vt.extend("--ft-typography-subtitle2-font-weight",be.fontWeight,"normal"),Te=vt.extend("--ft-typography-subtitle2-letter-spacing",be.letterSpacing,"0.098px"),Ae=vt.extend("--ft-typography-subtitle2-line-height",be.lineHeight,"1.7"),Pe=vt.extend("--ft-typography-subtitle2-text-transform",be.textTransform,"inherit"),Le=vt.extend("--ft-typography-body1-font-family",ue),De=vt.extend("--ft-typography-body1-font-size",be.fontSize,"16px"),We=vt.extend("--ft-typography-body1-font-weight",be.fontWeight,"normal"),Ze=vt.extend("--ft-typography-body1-letter-spacing",be.letterSpacing,"0.496px"),_e=vt.extend("--ft-typography-body1-line-height",be.lineHeight,"1.5"),He=vt.extend("--ft-typography-body1-text-transform",be.textTransform,"inherit"),Ke=vt.extend("--ft-typography-body2-font-family",ue),Ve=vt.extend("--ft-typography-body2-font-size",be.fontSize,"14px"),Je=vt.extend("--ft-typography-body2-font-weight",be.fontWeight,"normal"),Xe=vt.extend("--ft-typography-body2-letter-spacing",be.letterSpacing,"0.252px"),qe=vt.extend("--ft-typography-body2-line-height",be.lineHeight,"1.4"),Ge=vt.extend("--ft-typography-body2-text-transform",be.textTransform,"inherit"),Ye=vt.extend("--ft-typography-caption-font-family",ue),Qe=vt.extend("--ft-typography-caption-font-size",be.fontSize,"12px"),ti=vt.extend("--ft-typography-caption-font-weight",be.fontWeight,"normal"),ei=vt.extend("--ft-typography-caption-letter-spacing",be.letterSpacing,"0.396px"),ii=vt.extend("--ft-typography-caption-line-height",be.lineHeight,"1.33"),oi=vt.extend("--ft-typography-caption-text-transform",be.textTransform,"inherit"),ni=vt.extend("--ft-typography-breadcrumb-font-family",ue),ri=vt.extend("--ft-typography-breadcrumb-font-size",be.fontSize,"10px"),si=vt.extend("--ft-typography-breadcrumb-font-weight",be.fontWeight,"normal"),ai=vt.extend("--ft-typography-breadcrumb-letter-spacing",be.letterSpacing,"0.33px"),li=vt.extend("--ft-typography-breadcrumb-line-height",be.lineHeight,"1.6"),hi=vt.extend("--ft-typography-breadcrumb-text-transform",be.textTransform,"inherit"),pi=vt.extend("--ft-typography-overline-font-family",ue),ci=vt.extend("--ft-typography-overline-font-size",be.fontSize,"10px"),di=vt.extend("--ft-typography-overline-font-weight",be.fontWeight,"normal"),fi=vt.extend("--ft-typography-overline-letter-spacing",be.letterSpacing,"1.5px"),ui=vt.extend("--ft-typography-overline-line-height",be.lineHeight,"1.6"),bi=vt.extend("--ft-typography-overline-text-transform",be.textTransform,"uppercase"),vi={fontFamily:vt.extend("--ft-typography-button-font-family",ue),fontSize:vt.extend("--ft-typography-button-font-size",be.fontSize,"14px"),fontWeight:vt.extend("--ft-typography-button-font-weight",be.fontWeight,"600"),letterSpacing:vt.extend("--ft-typography-button-letter-spacing",be.letterSpacing,"1.246px"),lineHeight:vt.extend("--ft-typography-button-line-height",be.lineHeight,"1.15"),textTransform:vt.extend("--ft-typography-button-text-transform",be.textTransform,"uppercase")},yi=y`
333
+ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void 0:t._$litStatic$},he=t=>({_$litStatic$:t,r:ae}),pe=new Map,ce=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=le(s));)l+=n+e[++h],p=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=pe.get(t))&&(r.raw=r,pe.set(t,e=r)),i=a}return t(e,...i)})(X);var de;!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"}(de||(de={}));const fe=vt.extend("--ft-typography-font-family",xt.titleFont),ue=vt.extend("--ft-typography-font-family",xt.contentFont),be={fontFamily:ue,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ve=vt.extend("--ft-typography-title-font-family",fe),ye=vt.extend("--ft-typography-title-font-size",be.fontSize,"20px"),xe=vt.extend("--ft-typography-title-font-weight",be.fontWeight,"normal"),ge=vt.extend("--ft-typography-title-letter-spacing",be.letterSpacing,"0.15px"),me=vt.extend("--ft-typography-title-line-height",be.lineHeight,"1.2"),we=vt.extend("--ft-typography-title-text-transform",be.textTransform,"inherit"),$e=vt.extend("--ft-typography-title-dense-font-family",fe),Se=vt.extend("--ft-typography-title-dense-font-size",be.fontSize,"14px"),Oe=vt.extend("--ft-typography-title-dense-font-weight",be.fontWeight,"normal"),ke=vt.extend("--ft-typography-title-dense-letter-spacing",be.letterSpacing,"0.105px"),Ee=vt.extend("--ft-typography-title-dense-line-height",be.lineHeight,"1.7"),Ne=vt.extend("--ft-typography-title-dense-text-transform",be.textTransform,"inherit"),Ce=vt.extend("--ft-typography-subtitle1-font-family",ue),Me=vt.extend("--ft-typography-subtitle1-font-size",be.fontSize,"16px"),ze=vt.extend("--ft-typography-subtitle1-font-weight",be.fontWeight,"600"),Re=vt.extend("--ft-typography-subtitle1-letter-spacing",be.letterSpacing,"0.144px"),Ue=vt.extend("--ft-typography-subtitle1-line-height",be.lineHeight,"1.5"),Fe=vt.extend("--ft-typography-subtitle1-text-transform",be.textTransform,"inherit"),je=vt.extend("--ft-typography-subtitle2-font-family",ue),Be=vt.extend("--ft-typography-subtitle2-font-size",be.fontSize,"14px"),Ie=vt.extend("--ft-typography-subtitle2-font-weight",be.fontWeight,"normal"),Te=vt.extend("--ft-typography-subtitle2-letter-spacing",be.letterSpacing,"0.098px"),Ae=vt.extend("--ft-typography-subtitle2-line-height",be.lineHeight,"1.7"),Le=vt.extend("--ft-typography-subtitle2-text-transform",be.textTransform,"inherit"),Pe=vt.extend("--ft-typography-body1-font-family",ue),De=vt.extend("--ft-typography-body1-font-size",be.fontSize,"16px"),We=vt.extend("--ft-typography-body1-font-weight",be.fontWeight,"normal"),Ze=vt.extend("--ft-typography-body1-letter-spacing",be.letterSpacing,"0.496px"),_e=vt.extend("--ft-typography-body1-line-height",be.lineHeight,"1.5"),He=vt.extend("--ft-typography-body1-text-transform",be.textTransform,"inherit"),Ke=vt.extend("--ft-typography-body2-font-family",ue),Ve=vt.extend("--ft-typography-body2-font-size",be.fontSize,"14px"),Je=vt.extend("--ft-typography-body2-font-weight",be.fontWeight,"normal"),Xe=vt.extend("--ft-typography-body2-letter-spacing",be.letterSpacing,"0.252px"),qe=vt.extend("--ft-typography-body2-line-height",be.lineHeight,"1.4"),Ge=vt.extend("--ft-typography-body2-text-transform",be.textTransform,"inherit"),Ye=vt.extend("--ft-typography-caption-font-family",ue),Qe=vt.extend("--ft-typography-caption-font-size",be.fontSize,"12px"),ti=vt.extend("--ft-typography-caption-font-weight",be.fontWeight,"normal"),ei=vt.extend("--ft-typography-caption-letter-spacing",be.letterSpacing,"0.396px"),ii=vt.extend("--ft-typography-caption-line-height",be.lineHeight,"1.33"),oi=vt.extend("--ft-typography-caption-text-transform",be.textTransform,"inherit"),ni=vt.extend("--ft-typography-breadcrumb-font-family",ue),si=vt.extend("--ft-typography-breadcrumb-font-size",be.fontSize,"10px"),ri=vt.extend("--ft-typography-breadcrumb-font-weight",be.fontWeight,"normal"),ai=vt.extend("--ft-typography-breadcrumb-letter-spacing",be.letterSpacing,"0.33px"),li=vt.extend("--ft-typography-breadcrumb-line-height",be.lineHeight,"1.6"),hi=vt.extend("--ft-typography-breadcrumb-text-transform",be.textTransform,"inherit"),pi=vt.extend("--ft-typography-overline-font-family",ue),ci=vt.extend("--ft-typography-overline-font-size",be.fontSize,"10px"),di=vt.extend("--ft-typography-overline-font-weight",be.fontWeight,"normal"),fi=vt.extend("--ft-typography-overline-letter-spacing",be.letterSpacing,"1.5px"),ui=vt.extend("--ft-typography-overline-line-height",be.lineHeight,"1.6"),bi=vt.extend("--ft-typography-overline-text-transform",be.textTransform,"uppercase"),vi={fontFamily:vt.extend("--ft-typography-button-font-family",ue),fontSize:vt.extend("--ft-typography-button-font-size",be.fontSize,"14px"),fontWeight:vt.extend("--ft-typography-button-font-weight",be.fontWeight,"600"),letterSpacing:vt.extend("--ft-typography-button-letter-spacing",be.letterSpacing,"1.246px"),lineHeight:vt.extend("--ft-typography-button-line-height",be.lineHeight,"1.15"),textTransform:vt.extend("--ft-typography-button-text-transform",be.textTransform,"uppercase")},yi=y`
334
334
  .ft-typography--title {
335
335
  font-family: ${ve};
336
336
  font-size: ${ye};
@@ -355,21 +355,21 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
355
355
  font-weight: ${ze};
356
356
  letter-spacing: ${Re};
357
357
  line-height: ${Ue};
358
- text-transform: ${je};
358
+ text-transform: ${Fe};
359
359
  }
360
360
  `,mi=y`
361
361
  .ft-typography--subtitle2 {
362
- font-family: ${Fe};
362
+ font-family: ${je};
363
363
  font-size: ${Be};
364
364
  font-weight: ${Ie};
365
365
  letter-spacing: ${Te};
366
366
  line-height: ${Ae};
367
- text-transform: ${Pe};
367
+ text-transform: ${Le};
368
368
  }
369
369
 
370
370
  `,wi=y`
371
371
  .ft-typography--body1 {
372
- font-family: ${Le};
372
+ font-family: ${Pe};
373
373
  font-size: ${De};
374
374
  font-weight: ${We};
375
375
  letter-spacing: ${Ze};
@@ -397,8 +397,8 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
397
397
  `,Oi=y`
398
398
  .ft-typography--breadcrumb {
399
399
  font-family: ${ni};
400
- font-size: ${ri};
401
- font-weight: ${si};
400
+ font-size: ${si};
401
+ font-weight: ${ri};
402
402
  letter-spacing: ${ai};
403
403
  line-height: ${li};
404
404
  text-transform: ${hi};
@@ -425,14 +425,14 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
425
425
  .ft-typography {
426
426
  vertical-align: inherit;
427
427
  }
428
- `;var Ci=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Mi extends kt{constructor(){super(...arguments),this.variant=de.body1}render(){return this.element?ce`
428
+ `;var Ci=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Mi extends kt{constructor(){super(...arguments),this.variant=de.body1}render(){return this.element?ce`
429
429
  <${he(this.element)}
430
430
  class="ft-typography ft-typography--${this.variant}">
431
431
  <slot></slot>
432
432
  </${he(this.element)}>
433
433
  `:ce`
434
434
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
435
- `}}Mi.styles=[yi,xi,gi,mi,wi,$i,Si,Oi,ki,Ei,Ni],Ci([o()],Mi.prototype,"element",void 0),Ci([o()],Mi.prototype,"variant",void 0),p("ft-typography")(Mi);const zi=vt.create("--ft-tooltip-distance","SIZE","4px"),Ri=vt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ui=vt.create("--ft-tooltip-background-color","COLOR","#666666"),ji=vt.create("--ft-tooltip-z-index","NUMBER","1"),Fi=vt.external(xt.borderRadiusS,"Design system"),Bi=vt.create("--ft-tooltip-max-width","SIZE","150px"),Ii=y`
435
+ `}}Mi.styles=[yi,xi,gi,mi,wi,$i,Si,Oi,ki,Ei,Ni],Ci([o()],Mi.prototype,"element",void 0),Ci([o()],Mi.prototype,"variant",void 0),p("ft-typography")(Mi);const zi=vt.create("--ft-tooltip-distance","SIZE","4px"),Ri=vt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ui=vt.create("--ft-tooltip-background-color","COLOR","#666666"),Fi=vt.create("--ft-tooltip-z-index","NUMBER","1"),ji=vt.external(xt.borderRadiusS,"Design system"),Bi=vt.create("--ft-tooltip-max-width","SIZE","150px"),Ii=y`
436
436
  .ft-tooltip--container {
437
437
  display: block;
438
438
  position: relative;
@@ -451,12 +451,12 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
451
451
  max-width: ${Bi};
452
452
  text-align: center;
453
453
  padding: ${zi};
454
- z-index: ${ji};
454
+ z-index: ${Fi};
455
455
  }
456
456
 
457
457
  .ft-tooltip--content {
458
458
  padding: 4px 8px;
459
- border-radius: ${Fi};
459
+ border-radius: ${ji};
460
460
  background-color: ${Ui};
461
461
  color: ${Ri};
462
462
  top: -500px;
@@ -464,7 +464,7 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
464
464
  position: relative;
465
465
  word-break: break-word;
466
466
  }
467
- `;var Ti=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ai extends kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
467
+ `;var Ti=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ai extends kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
468
468
  <div part="container"
469
469
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
470
470
  @mouseenter=${this.onHover}
@@ -474,7 +474,7 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
474
474
  @touchstart=${this.onTouch}>
475
475
  <slot></slot>
476
476
  <div part="tooltip" role="tooltip" inert
477
- class="ft-tooltip ft-tooltip--${this.validPosition}"
477
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
478
478
  ?hidden=${!this.visible}>
479
479
  <div part="tooltip-content" class="ft-tooltip--content">
480
480
  <slot name="text"></slot>
@@ -482,13 +482,13 @@ const ae=Symbol.for(""),le=t=>{if((null==t?void 0:t.r)===ae)return null==t?void
482
482
  </div>
483
483
  </div>
484
484
  </div>
485
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=e.height,n=o;break;case"left":r=i,n=-this.tooltip.clientWidth;break;case"right":r=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=4-e.left);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${e.width}px, ${Bi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ai.elementDefinitions={"ft-typography":Mi},Ai.styles=Ii,Ti([o()],Ai.prototype,"text",void 0),Ti([o({type:Boolean})],Ai.prototype,"manual",void 0),Ti([o({type:Boolean})],Ai.prototype,"inline",void 0),Ti([o({type:Number})],Ai.prototype,"delay",void 0),Ti([o()],Ai.prototype,"position",void 0),Ti([
485
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.validPosition){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=4-e.left);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${Bi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ai.elementDefinitions={"ft-typography":Mi},Ai.styles=Ii,Ti([o()],Ai.prototype,"text",void 0),Ti([o({type:Boolean})],Ai.prototype,"manual",void 0),Ti([o({type:Boolean})],Ai.prototype,"inline",void 0),Ti([o({type:Number})],Ai.prototype,"delay",void 0),Ti([o()],Ai.prototype,"position",void 0),Ti([
486
486
  /**
487
487
  * @license
488
488
  * Copyright 2017 Google LLC
489
489
  * SPDX-License-Identifier: BSD-3-Clause
490
490
  */
491
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return r({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),s=null!=r?l(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):r({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Ai.prototype,"slotNodes",void 0),Ti([s(".ft-tooltip--container")],Ai.prototype,"container",void 0),Ti([s("slot")],Ai.prototype,"target",void 0),Ti([s(".ft-tooltip")],Ai.prototype,"tooltip",void 0),Ti([s(".ft-tooltip--content")],Ai.prototype,"tooltipContent",void 0),Ti([n()],Ai.prototype,"visible",void 0),p("ft-tooltip")(Ai);const Pi={color:vt.extend("--ft-loader-color",xt.colorPrimary),size:vt.create("--ft-loader-size","SIZE","80px")},Li=y`
491
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Ai.prototype,"slotNodes",void 0),Ti([r(".ft-tooltip--container")],Ai.prototype,"container",void 0),Ti([r("slot")],Ai.prototype,"target",void 0),Ti([r(".ft-tooltip")],Ai.prototype,"tooltip",void 0),Ti([r(".ft-tooltip--content")],Ai.prototype,"tooltipContent",void 0),Ti([n()],Ai.prototype,"visible",void 0),p("ft-tooltip")(Ai);const Li={color:vt.extend("--ft-loader-color",xt.colorPrimary),size:vt.create("--ft-loader-size","SIZE","80px")},Pi=y`
492
492
  :host {
493
493
  line-height: 0;
494
494
  }
@@ -497,8 +497,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
497
497
  display: inline-block;
498
498
  position: relative;
499
499
 
500
- width: ${Pi.size};
501
- height: ${Pi.size};
500
+ width: ${Li.size};
501
+ height: ${Li.size};
502
502
  }
503
503
 
504
504
  .ft-loader div {
@@ -507,7 +507,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
507
507
  width: 25%;
508
508
  height: 25%;
509
509
  border-radius: 50%;
510
- background: ${Pi.color};
510
+ background: ${Li.color};
511
511
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
512
512
  }
513
513
 
@@ -554,7 +554,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
554
554
  transform: translate(0, 0);
555
555
  }
556
556
  100% {
557
- transform: translate(calc(0.35 * ${Pi.size}), 0);
557
+ transform: translate(calc(0.35 * ${Li.size}), 0);
558
558
  }
559
559
  }
560
560
  `;class Di extends kt{render(){return X`
@@ -564,7 +564,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
564
564
  <div></div>
565
565
  <div></div>
566
566
  </div>
567
- `}}Di.styles=Li,p("ft-loader")(Di);const Wi=vt.extend("--ft-button-color",xt.colorPrimary),Zi={backgroundColor:vt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:vt.extend("--ft-button-border-radius",xt.borderRadiusL),color:Wi,fontSize:vt.extend("--ft-button-font-size",vi.fontSize),iconSize:vt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:vt.extend("--ft-button-ripple-color",Wi),verticalPadding:vt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:vt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:vt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:vt.external(xt.colorOpacityDisabled,"Design system")},_i=vt.extend("--ft-button-primary-color",vt.extend("--ft-button-color",xt.colorOnPrimary)),Hi={backgroundColor:vt.extend("--ft-button-primary-background-color",vt.extend("--ft-button-background-color",xt.colorPrimary)),color:_i,rippleColor:vt.extend("--ft-button-primary-ripple-color",_i)},Ki=vt.extend("--ft-button-dense-border-radius",vt.extend("--ft-button-border-radius",xt.borderRadiusM)),Vi=vt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=vt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Xi=vt.create("--ft-button-dense-icon-padding","SIZE","4px"),qi=[y`
567
+ `}}Di.styles=Pi,p("ft-loader")(Di);const Wi=vt.extend("--ft-button-color",xt.colorPrimary),Zi={backgroundColor:vt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:vt.extend("--ft-button-border-radius",xt.borderRadiusL),color:Wi,fontSize:vt.extend("--ft-button-font-size",vi.fontSize),iconSize:vt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:vt.extend("--ft-button-ripple-color",Wi),verticalPadding:vt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:vt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:vt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:vt.external(xt.colorOpacityDisabled,"Design system")},_i=vt.extend("--ft-button-primary-color",vt.extend("--ft-button-color",xt.colorOnPrimary)),Hi={backgroundColor:vt.extend("--ft-button-primary-background-color",vt.extend("--ft-button-background-color",xt.colorPrimary)),color:_i,rippleColor:vt.extend("--ft-button-primary-ripple-color",_i)},Ki=vt.extend("--ft-button-dense-border-radius",vt.extend("--ft-button-border-radius",xt.borderRadiusM)),Vi=vt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ji=vt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Xi=vt.create("--ft-button-dense-icon-padding","SIZE","4px"),qi=[y`
568
568
  :host {
569
569
  display: inline-block;
570
570
  max-width: 100%;
@@ -620,7 +620,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
620
620
  border: 1px solid var(--ft-button-internal-color);
621
621
  padding: calc(${Zi.verticalPadding} - 1px) calc(${Zi.horizontalPadding} - 1px);
622
622
  }
623
-
623
+
624
624
  .ft-button.ft-button--dense {
625
625
  padding: ${Vi} ${Ji};
626
626
  border-radius: ${Ki};
@@ -630,7 +630,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
630
630
  .ft-button.ft-button--dense.ft-button--outlined {
631
631
  padding: calc(${Vi} - 1px) calc(${Ji} - 1px);
632
632
  }
633
-
633
+
634
634
  .ft-button:not([disabled]):hover {
635
635
  cursor: pointer;
636
636
  }
@@ -698,10 +698,10 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
698
698
  }
699
699
 
700
700
  ft-loader {
701
- ${yt(Pi.size,Zi.iconSize)};
702
- ${yt(Pi.color,"var(--ft-button-internal-color)")};
701
+ ${yt(Li.size,Zi.iconSize)};
702
+ ${yt(Li.color,"var(--ft-button-internal-color)")};
703
703
  }
704
- `,Et];var Gi,Yi=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Qi extends kt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(X`
704
+ `,Et];var Gi,Yi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Qi extends kt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(X`
705
705
  <button part="button"
706
706
  class="${Xt(t)}"
707
707
  aria-label="${this.getLabel()}"
@@ -722,9 +722,9 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
722
722
  position="${this.tooltipPosition}">
723
723
  ${t}
724
724
  </ft-tooltip>
725
- `:t}resolveIcon(){return this.loading?X`
725
+ `:t}resolveIcon(){return this.loading?X`
726
726
  <ft-loader part="loader icon"></ft-loader> `:this.icon?X`
727
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Qi.elementDefinitions={"ft-ripple":se,"ft-tooltip":Ai,"ft-typography":Mi,"ft-icon":Jt,"ft-loader":Di},Qi.styles=[Nt,qi],Yi([o({type:String,reflect:!0})],Qi.prototype,"role",void 0),Yi([o({type:Boolean})],Qi.prototype,"primary",void 0),Yi([o({type:Boolean})],Qi.prototype,"outlined",void 0),Yi([o({type:Boolean})],Qi.prototype,"disabled",void 0),Yi([o({type:Boolean})],Qi.prototype,"dense",void 0),Yi([o({type:Boolean})],Qi.prototype,"round",void 0),Yi([o()],Qi.prototype,"label",void 0),Yi([o()],Qi.prototype,"icon",void 0),Yi([o()],Qi.prototype,"iconVariant",void 0),Yi([o({type:Boolean})],Qi.prototype,"trailingIcon",void 0),Yi([o({type:Boolean})],Qi.prototype,"loading",void 0),Yi([o()],Qi.prototype,"tooltipPosition",void 0),Yi([o({type:Boolean})],Qi.prototype,"hideTooltip",void 0),Yi([o({type:Boolean})],Qi.prototype,"forceTooltip",void 0),Yi([s(".ft-button")],Qi.prototype,"button",void 0),Yi([s(".ft-button--label slot")],Qi.prototype,"slottedContent",void 0),p("ft-button")(Qi),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Gi||(Gi={}));const to=y`
727
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Qi.elementDefinitions={"ft-ripple":re,"ft-tooltip":Ai,"ft-typography":Mi,"ft-icon":Jt,"ft-loader":Di},Qi.styles=[Nt,qi],Yi([o({type:String,reflect:!0})],Qi.prototype,"role",void 0),Yi([o({type:Boolean})],Qi.prototype,"primary",void 0),Yi([o({type:Boolean})],Qi.prototype,"outlined",void 0),Yi([o({type:Boolean})],Qi.prototype,"disabled",void 0),Yi([o({type:Boolean})],Qi.prototype,"dense",void 0),Yi([o({type:Boolean})],Qi.prototype,"round",void 0),Yi([o()],Qi.prototype,"label",void 0),Yi([o()],Qi.prototype,"icon",void 0),Yi([o()],Qi.prototype,"iconVariant",void 0),Yi([o({type:Boolean})],Qi.prototype,"trailingIcon",void 0),Yi([o({type:Boolean})],Qi.prototype,"loading",void 0),Yi([o()],Qi.prototype,"tooltipPosition",void 0),Yi([o({type:Boolean})],Qi.prototype,"hideTooltip",void 0),Yi([o({type:Boolean})],Qi.prototype,"forceTooltip",void 0),Yi([r(".ft-button")],Qi.prototype,"button",void 0),Yi([r(".ft-button--label slot")],Qi.prototype,"slottedContent",void 0),p("ft-button")(Qi),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Gi||(Gi={}));const to=y`
728
728
  .ft-size-watcher--pixel {
729
729
  width: 0;
730
730
  height: 0;
@@ -743,11 +743,11 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
743
743
  .ft-size-watcher--local .ft-size-watcher--watcher {
744
744
  width: 100%;
745
745
  }
746
- `;var eo=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class io extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class oo extends kt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Gi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return X`
746
+ `;var eo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class io extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class oo extends kt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Gi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return X`
747
747
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
748
748
  <div class="ft-size-watcher--watcher"></div>
749
749
  </div>
750
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Gi.S:this.size<976?this.category=Gi.M:this.size<1024?this.category=Gi.L:this.size<1440?this.category=Gi.XL:this.category=Gi.XXL,this.dispatchEvent(new io(this.size,this.category)))}),this.debounceTimeout)}}oo.elementDefinitions={},oo.styles=to,eo([o({type:Number})],oo.prototype,"debounceTimeout",void 0),eo([o({type:Boolean})],oo.prototype,"local",void 0),eo([o({type:Number,reflect:!0})],oo.prototype,"size",void 0),eo([o({type:String,reflect:!0})],oo.prototype,"category",void 0),eo([s(".ft-size-watcher--watcher")],oo.prototype,"watcher",void 0),p("ft-size-watcher")(oo);var no=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ro extends kt{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.closeIcon=Wt.X_MARK,this.standardModeIcon=Wt.PIP,this.disableStandardMode=!1,this.theaterModeIcon=Wt.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=Wt.EXPAND_WIDE,this.disableFullscreenMode=!1,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){const e={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==t.FtInProductHelpMode.STANDARD,"ft-in-product-help--theater":this.displayMode==t.FtInProductHelpMode.THEATER,"ft-in-product-help--fullscreen":this.displayMode==t.FtInProductHelpMode.FULLSCREEN},i=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),o=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),n=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return X`
750
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Gi.S:this.size<976?this.category=Gi.M:this.size<1024?this.category=Gi.L:this.size<1440?this.category=Gi.XL:this.category=Gi.XXL,this.dispatchEvent(new io(this.size,this.category)))}),this.debounceTimeout)}}oo.elementDefinitions={},oo.styles=to,eo([o({type:Number})],oo.prototype,"debounceTimeout",void 0),eo([o({type:Boolean})],oo.prototype,"local",void 0),eo([o({type:Number,reflect:!0})],oo.prototype,"size",void 0),eo([o({type:String,reflect:!0})],oo.prototype,"category",void 0),eo([r(".ft-size-watcher--watcher")],oo.prototype,"watcher",void 0),p("ft-size-watcher")(oo);var no=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class so extends kt{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.closeIcon=Wt.X_MARK,this.standardModeIcon=Wt.PIP,this.disableStandardMode=!1,this.theaterModeIcon=Wt.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=Wt.EXPAND_WIDE,this.disableFullscreenMode=!1,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){const e={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==t.FtInProductHelpMode.STANDARD,"ft-in-product-help--theater":this.displayMode==t.FtInProductHelpMode.THEATER,"ft-in-product-help--fullscreen":this.displayMode==t.FtInProductHelpMode.FULLSCREEN},i=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),o=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),n=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return X`
751
751
  <ft-size-watcher @change=${this.onViewportChange}></ft-size-watcher>
752
752
  <div class="${Xt(e)}" part="container">
753
753
  <div class="ft-in-product-help--top-bar" part="top-bar">
@@ -787,4 +787,4 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
787
787
  </div>
788
788
  <iframe src="${this.portalUrl}" part="iframe"/>
789
789
  </div>
790
- `}updated(t){super.updated(t),t.has("opened")&&this.updateModeOnOpen(),(t.has("disableStandardMode")||t.has("disableThreaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new jt(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(Ft.tabletBreakpoint.name)||Ft.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(Ft.desktopBreakpoint.name)||Ft.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}}ro.elementDefinitions={"ft-button":Qi,"ft-size-watcher":oo},ro.styles=Bt,no([o()],ro.prototype,"portalUrl",void 0),no([o({reflect:!0,type:Boolean})],ro.prototype,"opened",void 0),no([o({reflect:!0})],ro.prototype,"displayMode",void 0),no([o()],ro.prototype,"closeIcon",void 0),no([o()],ro.prototype,"standardModeIcon",void 0),no([o({type:Boolean})],ro.prototype,"disableStandardMode",void 0),no([o()],ro.prototype,"theaterModeIcon",void 0),no([o({type:Boolean})],ro.prototype,"disableTheaterMode",void 0),no([o()],ro.prototype,"fullscreenModeIcon",void 0),no([o({type:Boolean})],ro.prototype,"disableFullscreenMode",void 0),no([o()],ro.prototype,"iconVariant",void 0),no([n()],ro.prototype,"allowStandardMode",void 0),no([n()],ro.prototype,"allowTheaterMode",void 0),no([n()],ro.prototype,"allowFullscreenMode",void 0),p("ft-in-product-help")(ro),t.FtInProductHelp=ro,t.FtInProductHelpCssVariables=Ft,t.FtInProductHelpVisibilityChange=jt,t.styles=Bt}({});
790
+ `}updated(t){super.updated(t),t.has("opened")&&this.updateModeOnOpen(),(t.has("disableStandardMode")||t.has("disableThreaterMode")||t.has("disableFullscreenMode"))&&this.computeAllowedModes()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=t.FtInProductHelpMode.STANDARD:this.allowTheaterMode?this.displayMode=t.FtInProductHelpMode.THEATER:this.displayMode=t.FtInProductHelpMode.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),this.allowStandardMode||this.displayMode!=t.FtInProductHelpMode.STANDARD||(this.displayMode=t.FtInProductHelpMode.THEATER),this.allowTheaterMode||this.displayMode!=t.FtInProductHelpMode.THEATER||(this.displayMode=t.FtInProductHelpMode.FULLSCREEN)}setMode(t){this.displayMode=t,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=t.FtInProductHelpMode.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new Ft(this.opened,this.displayMode))}isTablet(){const t=getComputedStyle(this).getPropertyValue(jt.tabletBreakpoint.name)||jt.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}isDesktop(){const t=getComputedStyle(this).getPropertyValue(jt.desktopBreakpoint.name)||jt.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${t})`).matches}navigateTo(t){this.iframe.contentWindow.postMessage({navigateTo:t},this.portalUrl)}}so.elementDefinitions={"ft-button":Qi,"ft-size-watcher":oo},so.styles=Bt,no([o()],so.prototype,"portalUrl",void 0),no([o({reflect:!0,type:Boolean})],so.prototype,"opened",void 0),no([o({reflect:!0})],so.prototype,"displayMode",void 0),no([o()],so.prototype,"closeIcon",void 0),no([o()],so.prototype,"standardModeIcon",void 0),no([o({type:Boolean})],so.prototype,"disableStandardMode",void 0),no([o()],so.prototype,"theaterModeIcon",void 0),no([o({type:Boolean})],so.prototype,"disableTheaterMode",void 0),no([o()],so.prototype,"fullscreenModeIcon",void 0),no([o({type:Boolean})],so.prototype,"disableFullscreenMode",void 0),no([o()],so.prototype,"iconVariant",void 0),no([n()],so.prototype,"allowStandardMode",void 0),no([n()],so.prototype,"allowTheaterMode",void 0),no([n()],so.prototype,"allowFullscreenMode",void 0),no([r("iframe")],so.prototype,"iframe",void 0),p("ft-in-product-help")(so),t.FtInProductHelp=so,t.FtInProductHelpCssVariables=jt,t.FtInProductHelpVisibilityChange=Ft,t.styles=Bt}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-in-product-help",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Embeddable fluid-topics iframe",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.0.35",
22
+ "@fluid-topics/ft-wc-utils": "1.0.37",
23
23
  "lit": "2.7.2"
24
24
  },
25
- "gitHead": "9d95cd4787fe699293f52b43352ae1594811b081"
25
+ "gitHead": "abb2109b58b81de01332c9f036f5ff1df0861f8f"
26
26
  }