@fluid-topics/ft-accordion 0.3.71 → 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,4 +4,3 @@ export declare const FtAccordionItemCssVariables: {
4
4
  colorOutline: import("@fluid-topics/ft-wc-utils").FtCssVariable;
5
5
  };
6
6
  export declare const itemStyles: import("lit").CSSResult;
7
- //# sourceMappingURL=ft-accordion-item.css.d.ts.map
@@ -52,4 +52,3 @@ export const itemStyles = css `
52
52
  border-bottom: 1px solid ${FtAccordionItemCssVariables.colorOutline};
53
53
  }
54
54
  `;
55
- //# sourceMappingURL=ft-accordion-item.css.js.map
@@ -1,14 +1,15 @@
1
1
  import { PropertyValues } from "lit";
2
2
  import { ElementDefinitionsMap, FtLitElement } from "@fluid-topics/ft-wc-utils";
3
+ import { FtIconVariants } from "@fluid-topics/ft-icon";
3
4
  import { FtAccordionItemProperties } from "./ft-accordion-item.properties";
4
5
  export declare class FtAccordionItem extends FtLitElement implements FtAccordionItemProperties {
5
6
  static elementDefinitions: ElementDefinitionsMap;
6
7
  static styles: import("lit").CSSResult;
7
8
  icon: string;
9
+ iconVariant?: FtIconVariants;
8
10
  label: string;
9
11
  active: boolean;
10
12
  protected render(): import("lit-html").TemplateResult<1>;
11
13
  protected update(props: PropertyValues): void;
12
14
  private onToggleKeyDown;
13
15
  }
14
- //# sourceMappingURL=ft-accordion-item.d.ts.map
@@ -11,7 +11,7 @@ import { FtRipple } from "@fluid-topics/ft-ripple";
11
11
  import { FtTypography } from "@fluid-topics/ft-typography";
12
12
  import { FtIcon } from "@fluid-topics/ft-icon";
13
13
  import { itemStyles } from "./ft-accordion-item.css";
14
- export class FtAccordionItem extends FtLitElement {
14
+ class FtAccordionItem extends FtLitElement {
15
15
  constructor() {
16
16
  super(...arguments);
17
17
  this.icon = "";
@@ -31,7 +31,7 @@ export class FtAccordionItem extends FtLitElement {
31
31
  aria-expanded="${this.active}">
32
32
  <ft-ripple part="toggle-ripple"></ft-ripple>
33
33
  ${this.icon ? html `
34
- <ft-icon variant="material">${this.icon}</ft-icon>
34
+ <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
35
35
  ` : null}
36
36
  ${this.label ? html `
37
37
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
@@ -72,12 +72,15 @@ FtAccordionItem.elementDefinitions = {
72
72
  // language=CSS
73
73
  FtAccordionItem.styles = itemStyles;
74
74
  __decorate([
75
- property({ type: String })
75
+ property()
76
76
  ], FtAccordionItem.prototype, "icon", void 0);
77
77
  __decorate([
78
- property({ type: String })
78
+ property()
79
+ ], FtAccordionItem.prototype, "iconVariant", void 0);
80
+ __decorate([
81
+ property()
79
82
  ], FtAccordionItem.prototype, "label", void 0);
80
83
  __decorate([
81
84
  property({ type: Boolean, reflect: true })
82
85
  ], FtAccordionItem.prototype, "active", void 0);
83
- //# sourceMappingURL=ft-accordion-item.js.map
86
+ export { FtAccordionItem };
@@ -1,6 +1,7 @@
1
+ import { FtIconVariants } from "@fluid-topics/ft-icon";
1
2
  export interface FtAccordionItemProperties {
2
3
  icon?: string;
4
+ iconVariant?: FtIconVariants;
3
5
  label?: string;
4
6
  active?: boolean;
5
7
  }
6
- //# sourceMappingURL=ft-accordion-item.properties.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=ft-accordion-item.properties.js.map
@@ -1,3 +1,2 @@
1
1
  export declare const FtAccordionCssVariables: {};
2
2
  export declare const styles: import("lit").CSSResult;
3
- //# sourceMappingURL=ft-accordion.css.d.ts.map
@@ -6,4 +6,3 @@ export const styles = css `
6
6
  box-sizing: border-box;
7
7
  }
8
8
  `;
9
- //# sourceMappingURL=ft-accordion.css.js.map
@@ -8,4 +8,3 @@ export declare class FtAccordion extends FtLitElement implements FtAccordionProp
8
8
  protected render(): import("lit-html").TemplateResult<1>;
9
9
  private onChange;
10
10
  }
11
- //# sourceMappingURL=ft-accordion.d.ts.map
@@ -8,7 +8,7 @@ import { html } from "lit";
8
8
  import { property, query } from "lit/decorators.js";
9
9
  import { FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { styles } from "./ft-accordion.css";
11
- export class FtAccordion extends FtLitElement {
11
+ class FtAccordion extends FtLitElement {
12
12
  constructor() {
13
13
  super(...arguments);
14
14
  this.multi = false;
@@ -36,4 +36,4 @@ __decorate([
36
36
  __decorate([
37
37
  query("slot")
38
38
  ], FtAccordion.prototype, "content", void 0);
39
- //# sourceMappingURL=ft-accordion.js.map
39
+ export { FtAccordion };
@@ -112,115 +112,115 @@
112
112
  <div class="ft-ripple--background"></div>
113
113
  <div class="ft-ripple--effect"></div>
114
114
  </div>
115
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}))}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}j.elementDefinitions={},j.styles=w,z([o.property({type:Boolean})],j.prototype,"primary",void 0),z([o.property({type:Boolean})],j.prototype,"secondary",void 0),z([o.property({type:Boolean})],j.prototype,"unbounded",void 0),z([o.property({type:Boolean})],j.prototype,"activated",void 0),z([o.property({type:Boolean})],j.prototype,"selected",void 0),z([o.property({type:Boolean})],j.prototype,"disabled",void 0),z([o.state()],j.prototype,"hovered",void 0),z([o.state()],j.prototype,"focused",void 0),z([o.state()],j.prototype,"pressed",void 0),z([o.state()],j.prototype,"rippling",void 0),z([o.state()],j.prototype,"rippleSize",void 0),z([o.state()],j.prototype,"originX",void 0),z([o.state()],j.prototype,"originY",void 0),z([o.query(".ft-ripple")],j.prototype,"ripple",void 0),z([o.query(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(j);const N=window,O=N.trustedTypes,_=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,S=`lit$${(Math.random()+"").slice(9)}$`,A="?"+S,E=`<${A}>`,I=document,U=(t="")=>I.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,W=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),R=/'/g,Z=/"/g,D=/^(?:script|style|textarea|title)$/i,G=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),H=new WeakMap,L=I.createTreeWalker(I,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=B;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===B?"!--"===p[1]?n=T:void 0!==p[1]?n=W:void 0!==p[2]?(D.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=K):void 0!==p[3]&&(n=K):n===K?">"===p[0]?(n=null!=s?s:B,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?K:'"'===p[3]?Z:R):n===Z||n===R?n=K:n===T||n===W?n=B:(n=K,s=void 0);const h=n===K&&t[e+1].startsWith("/>")?" ":"";r+=n===B?i+E:a>=0?(o.push(l),i.slice(0,a)+"$lit$"+i.slice(a)+S+h):i+S+(-2===a?(o.push(void 0),e):h)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==_?_.createHTML(l):l,o]};class Y{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=X(t,e);if(this.el=Y.createElement(p,i),L.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=L.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(S)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(S),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?it:"@"===e[1]?ot:V})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(D.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),L.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===A)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)l.push({type:7,index:s}),t+=S.length-1}s++}}static createElement(t,e){const i=I.createElement("template");return i.innerHTML=t,i}}function J(t,e,i=t,o){var s,r,n,l;if(e===q)return e;let p=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const a=M(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=p:i._$Cl=p),void 0!==p&&(e=J(t,p._$AS(t,e.values),p,o)),e}class P{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:I).importNode(i,!0);L.currentNode=s;let r=L.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new Q(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new st(r,this,t)),this.u.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=L.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Q{constructor(t,e,i,o){var s;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=J(this,t,e),M(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>C(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==F&&M(this._$AH)?this._$AA.nextSibling.data=t:this.T(I.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new P(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new Y(t)),e}k(t){C(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Q(this.O(U()),this.O(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class V{constructor(t,e,i,o,s){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=F}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=J(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==q,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=J(this,o[i+n],e,n),l===q&&(l=this._$AH[n]),r||(r=!M(l)||l!==this._$AH[n]),l===F?t=F:t!==F&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends V{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const et=O?O.emptyScript:"";class it extends V{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class ot extends V{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=J(this,t,e,0))&&void 0!==i?i:F)===q)return;const o=this._$AH,s=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==F&&(o===F||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const rt=N.litHtmlPolyfillSupport;null==rt||rt(Y,Q),(null!==(k=N.litHtmlVersions)&&void 0!==k?k:N.litHtmlVersions=[]).push("2.4.0");
115
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}))}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}j.elementDefinitions={},j.styles=w,z([o.property({type:Boolean})],j.prototype,"primary",void 0),z([o.property({type:Boolean})],j.prototype,"secondary",void 0),z([o.property({type:Boolean})],j.prototype,"unbounded",void 0),z([o.property({type:Boolean})],j.prototype,"activated",void 0),z([o.property({type:Boolean})],j.prototype,"selected",void 0),z([o.property({type:Boolean})],j.prototype,"disabled",void 0),z([o.state()],j.prototype,"hovered",void 0),z([o.state()],j.prototype,"focused",void 0),z([o.state()],j.prototype,"pressed",void 0),z([o.state()],j.prototype,"rippling",void 0),z([o.state()],j.prototype,"rippleSize",void 0),z([o.state()],j.prototype,"originX",void 0),z([o.state()],j.prototype,"originY",void 0),z([o.query(".ft-ripple")],j.prototype,"ripple",void 0),z([o.query(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(j);const N=window,O=N.trustedTypes,_=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,E="?"+S,I=`<${E}>`,U=document,M=()=>U.createComment(""),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,T="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,R=/>/g,Z=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),D=/'/g,G=/"/g,q=/^(?:script|style|textarea|title)$/i,F=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),H=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),V=new WeakMap,X=U.createTreeWalker(U,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let s,r=2===e?"<svg>":"",n=W;for(let e=0;e<i;e++){const i=t[e];let l,p,a=-1,f=0;for(;f<i.length&&(n.lastIndex=f,p=n.exec(i),null!==p);)f=n.lastIndex,n===W?"!--"===p[1]?n=K:void 0!==p[1]?n=R:void 0!==p[2]?(q.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=Z):void 0!==p[3]&&(n=Z):n===Z?">"===p[0]?(n=null!=s?s:W,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?Z:'"'===p[3]?G:D):n===G||n===D?n=Z:n===K||n===R?n=W:(n=Z,s=void 0);const h=n===Z&&t[e+1].startsWith("/>")?" ":"";r+=n===W?i+I:a>=0?(o.push(l),i.slice(0,a)+A+i.slice(a)+S+h):i+S+(-2===a?(o.push(void 0),e):h)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==_?_.createHTML(l):l,o]};class J{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,r=0;const n=t.length-1,l=this.parts,[p,a]=Y(t,e);if(this.el=J.createElement(p,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&l.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(A)||e.startsWith(S)){const i=a[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+A).split(S),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?it:"?"===e[1]?st:"@"===e[1]?rt:et})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(S),e=t.length-1;if(e>0){o.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],M()),X.nextNode(),l.push({type:2,index:++s});o.append(t[e],M())}}}else if(8===o.nodeType)if(o.data===E)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)l.push({type:7,index:s}),t+=S.length-1}s++}}static createElement(t,e){const i=U.createElement("template");return i.innerHTML=t,i}}function P(t,e,i=t,o){var s,r,n,l;if(e===H)return e;let p=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const a=C(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(r=null==p?void 0:p._$AO)||void 0===r||r.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(l=i)._$Co)&&void 0!==n?n:l._$Co=[])[o]=p:i._$Cl=p),void 0!==p&&(e=P(t,p._$AS(t,e.values),p,o)),e}class Q{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:U).importNode(i,!0);X.currentNode=s;let r=X.nextNode(),n=0,l=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new tt(r,r.nextSibling,this,t):1===p.type?e=new p.ctor(r,p.name,p.strings,this,t):6===p.type&&(e=new nt(r,this,t)),this._$AV.push(e),p=o[++l]}n!==(null==p?void 0:p.index)&&(r=X.nextNode(),n++)}return s}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 tt{constructor(t,e,i,o){var s;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$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=P(this,t,e),C(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==H&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(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!==L&&C(this._$AH)?this._$AA.nextSibling.data=t:this.$(U.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new Q(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=V.get(t.strings);return void 0===e&&V.set(t.strings,e=new J(t)),e}T(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new tt(this.k(M()),this.k(M()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class et{constructor(t,e,i,o,s){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let r=!1;if(void 0===s)t=P(this,t,e,0),r=!C(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const o=t;let n,l;for(t=s[0],n=0;n<s.length-1;n++)l=P(this,o[i+n],e,n),l===H&&(l=this._$AH[n]),r||(r=!C(l)||l!==this._$AH[n]),l===L?t=L:t!==L&&(t+=(null!=l?l:"")+s[n+1]),this._$AH[n]=l}r&&!o&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}const ot=O?O.emptyScript:"";class st extends et{constructor(){super(...arguments),this.type=4}j(t){t&&t!==L?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class rt extends et{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=P(this,t,e,0))&&void 0!==i?i:L)===H)return;const o=this._$AH,s=t===L&&o!==L||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==L&&(o===L||s);s&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class nt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}const lt=N.litHtmlPolyfillSupport;null==lt||lt(J,tt),(null!==(k=N.litHtmlVersions)&&void 0!==k?k:N.litHtmlVersions=[]).push("2.7.3");
116
116
  /**
117
117
  * @license
118
118
  * Copyright 2020 Google LLC
119
119
  * SPDX-License-Identifier: BSD-3-Clause
120
120
  */
121
- const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void 0:t._$litStatic$},pt=t=>({_$litStatic$:t,r:nt}),at=new Map,ft=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=lt(r));)p+=s+e[++a],f=!0;l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=at.get(t))&&(n.raw=n,at.set(t,e=n)),i=l}return t(e,...i)})(G);var ht;!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"}(ht||(ht={}));const ct=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),dt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),xt={fontFamily:dt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},gt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",ct),yt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",xt.fontSize,"20px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",xt.fontWeight,"normal"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",xt.letterSpacing,"0.15px"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",xt.lineHeight,"1.2"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",xt.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ct),wt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",xt.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",xt.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",xt.letterSpacing,"0.105px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",xt.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",xt.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",dt),_t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",xt.fontSize,"16px"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",xt.fontWeight,"600"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",xt.letterSpacing,"0.144px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",xt.lineHeight,"1.5"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",xt.textTransform,"inherit"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",dt),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",xt.fontSize,"14px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",xt.fontWeight,"normal"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",xt.letterSpacing,"0.098px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",xt.lineHeight,"1.7"),Wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",xt.textTransform,"inherit"),Kt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",dt),Rt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",xt.fontSize,"16px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",xt.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",xt.letterSpacing,"0.496px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",xt.lineHeight,"1.5"),qt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",xt.textTransform,"inherit"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",dt),Ht=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",xt.fontSize,"14px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",xt.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",xt.letterSpacing,"0.252px"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",xt.lineHeight,"1.4"),Jt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",xt.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",dt),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",xt.fontSize,"12px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",xt.fontWeight,"normal"),te=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",xt.letterSpacing,"0.396px"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",xt.lineHeight,"1.33"),ie=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",xt.textTransform,"inherit"),oe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",dt),se=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",xt.fontSize,"10px"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",xt.fontWeight,"normal"),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",xt.letterSpacing,"0.33px"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",xt.lineHeight,"1.6"),pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",xt.textTransform,"inherit"),ae=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",dt),fe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",xt.fontSize,"10px"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",xt.fontWeight,"normal"),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",xt.letterSpacing,"1.5px"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",xt.lineHeight,"1.6"),xe=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",xt.textTransform,"uppercase"),ge=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",dt),ye=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",xt.fontSize,"14px"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",xt.fontWeight,"600"),ve=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",xt.letterSpacing,"1.246px"),me=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",xt.lineHeight,"1.15"),be=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",xt.textTransform,"uppercase"),$e=i.css`
121
+ const pt=Symbol.for(""),at=t=>{if((null==t?void 0:t.r)===pt)return null==t?void 0:t._$litStatic$},ft=t=>({_$litStatic$:t,r:pt}),ht=new Map,ct=(t=>(e,...i)=>{const o=i.length;let s,r;const n=[],l=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(r=i[a],s=at(r));)p+=s+e[++a],f=!0;a!==o&&l.push(r),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=ht.get(t))&&(n.raw=n,ht.set(t,e=n)),i=l}return t(e,...i)})(F);var dt;!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"}(dt||(dt={}));const xt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),gt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),yt={fontFamily:gt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ut=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",xt),vt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",yt.fontSize,"20px"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",yt.fontWeight,"normal"),bt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",yt.letterSpacing,"0.15px"),$t=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",yt.lineHeight,"1.2"),wt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",yt.textTransform,"inherit"),kt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",xt),zt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",yt.fontSize,"14px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",yt.fontWeight,"normal"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",yt.letterSpacing,"0.105px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",yt.lineHeight,"1.7"),_t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",yt.textTransform,"inherit"),At=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",gt),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",yt.fontSize,"16px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",yt.fontWeight,"600"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",yt.letterSpacing,"0.144px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",yt.lineHeight,"1.5"),Mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",yt.textTransform,"inherit"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",gt),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",yt.fontSize,"14px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",yt.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",yt.letterSpacing,"0.098px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",yt.lineHeight,"1.7"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",yt.textTransform,"inherit"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",gt),Dt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",yt.fontSize,"16px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",yt.fontWeight,"normal"),qt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",yt.letterSpacing,"0.496px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",yt.lineHeight,"1.5"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",yt.textTransform,"inherit"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",gt),Vt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",yt.fontSize,"14px"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",yt.fontWeight,"normal"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",yt.letterSpacing,"0.252px"),Jt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",yt.lineHeight,"1.4"),Pt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",yt.textTransform,"inherit"),Qt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",gt),te=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",yt.fontSize,"12px"),ee=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",yt.fontWeight,"normal"),ie=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",yt.letterSpacing,"0.396px"),oe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",yt.lineHeight,"1.33"),se=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",yt.textTransform,"inherit"),re=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",gt),ne=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",yt.fontSize,"10px"),le=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",yt.fontWeight,"normal"),pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",yt.letterSpacing,"0.33px"),ae=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",yt.lineHeight,"1.6"),fe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",yt.textTransform,"inherit"),he=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",gt),ce=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",yt.fontSize,"10px"),de=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",yt.fontWeight,"normal"),xe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",yt.letterSpacing,"1.5px"),ge=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",yt.lineHeight,"1.6"),ye=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",yt.textTransform,"uppercase"),ue=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",gt),ve=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",yt.fontSize,"14px"),me=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",yt.fontWeight,"600"),be=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",yt.letterSpacing,"1.246px"),$e=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",yt.lineHeight,"1.15"),we=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",yt.textTransform,"uppercase"),ke=i.css`
122
122
  .ft-typography--title {
123
- font-family: ${gt};
124
- font-size: ${yt};
125
- font-weight: ${ut};
126
- letter-spacing: ${vt};
127
- line-height: ${mt};
128
- text-transform: ${bt};
129
- }
130
- `,we=i.css`
123
+ font-family: ${ut};
124
+ font-size: ${vt};
125
+ font-weight: ${mt};
126
+ letter-spacing: ${bt};
127
+ line-height: ${$t};
128
+ text-transform: ${wt};
129
+ }
130
+ `,ze=i.css`
131
131
  .ft-typography--title-dense {
132
- font-family: ${$t};
133
- font-size: ${wt};
134
- font-weight: ${kt};
135
- letter-spacing: ${zt};
136
- line-height: ${jt};
137
- text-transform: ${Nt};
138
- }
139
- `,ke=i.css`
132
+ font-family: ${kt};
133
+ font-size: ${zt};
134
+ font-weight: ${jt};
135
+ letter-spacing: ${Nt};
136
+ line-height: ${Ot};
137
+ text-transform: ${_t};
138
+ }
139
+ `,je=i.css`
140
140
  .ft-typography--subtitle1 {
141
- font-family: ${Ot};
142
- font-size: ${_t};
143
- font-weight: ${St};
144
- letter-spacing: ${At};
145
- line-height: ${Et};
146
- text-transform: ${It};
141
+ font-family: ${At};
142
+ font-size: ${St};
143
+ font-weight: ${Et};
144
+ letter-spacing: ${It};
145
+ line-height: ${Ut};
146
+ text-transform: ${Mt};
147
147
  }
148
- `,ze=i.css`
148
+ `,Ne=i.css`
149
149
  .ft-typography--subtitle2 {
150
- font-family: ${Ut};
151
- font-size: ${Mt};
152
- font-weight: ${Ct};
153
- letter-spacing: ${Bt};
154
- line-height: ${Tt};
155
- text-transform: ${Wt};
150
+ font-family: ${Ct};
151
+ font-size: ${Bt};
152
+ font-weight: ${Tt};
153
+ letter-spacing: ${Wt};
154
+ line-height: ${Kt};
155
+ text-transform: ${Rt};
156
156
  }
157
157
 
158
- `,je=i.css`
158
+ `,Oe=i.css`
159
159
  .ft-typography--body1 {
160
- font-family: ${Kt};
161
- font-size: ${Rt};
162
- font-weight: ${Zt};
163
- letter-spacing: ${Dt};
164
- line-height: ${Gt};
165
- text-transform: ${qt};
160
+ font-family: ${Zt};
161
+ font-size: ${Dt};
162
+ font-weight: ${Gt};
163
+ letter-spacing: ${qt};
164
+ line-height: ${Ft};
165
+ text-transform: ${Ht};
166
166
  }
167
- `,Ne=i.css`
167
+ `,_e=i.css`
168
168
  .ft-typography--body2 {
169
- font-family: ${Ft};
170
- font-size: ${Ht};
171
- font-weight: ${Lt};
172
- letter-spacing: ${Xt};
173
- line-height: ${Yt};
174
- text-transform: ${Jt};
169
+ font-family: ${Lt};
170
+ font-size: ${Vt};
171
+ font-weight: ${Xt};
172
+ letter-spacing: ${Yt};
173
+ line-height: ${Jt};
174
+ text-transform: ${Pt};
175
175
  }
176
- `,Oe=i.css`
176
+ `,Ae=i.css`
177
177
  .ft-typography--caption {
178
- font-family: ${Pt};
179
- font-size: ${Qt};
180
- font-weight: ${Vt};
181
- letter-spacing: ${te};
182
- line-height: ${ee};
183
- text-transform: ${ie};
178
+ font-family: ${Qt};
179
+ font-size: ${te};
180
+ font-weight: ${ee};
181
+ letter-spacing: ${ie};
182
+ line-height: ${oe};
183
+ text-transform: ${se};
184
184
  }
185
- `,_e=i.css`
185
+ `,Se=i.css`
186
186
  .ft-typography--breadcrumb {
187
- font-family: ${oe};
188
- font-size: ${se};
189
- font-weight: ${re};
190
- letter-spacing: ${ne};
191
- line-height: ${le};
192
- text-transform: ${pe};
187
+ font-family: ${re};
188
+ font-size: ${ne};
189
+ font-weight: ${le};
190
+ letter-spacing: ${pe};
191
+ line-height: ${ae};
192
+ text-transform: ${fe};
193
193
  }
194
- `,Se=i.css`
194
+ `,Ee=i.css`
195
195
  .ft-typography--overline {
196
- font-family: ${ae};
197
- font-size: ${fe};
198
- font-weight: ${he};
199
- letter-spacing: ${ce};
200
- line-height: ${de};
201
- text-transform: ${xe};
202
- }
203
- `,Ae=i.css`
196
+ font-family: ${he};
197
+ font-size: ${ce};
198
+ font-weight: ${de};
199
+ letter-spacing: ${xe};
200
+ line-height: ${ge};
201
+ text-transform: ${ye};
202
+ }
203
+ `,Ie=i.css`
204
204
  .ft-typography--button {
205
- font-family: ${ge};
206
- font-size: ${ye};
207
- font-weight: ${ue};
208
- letter-spacing: ${ve};
209
- line-height: ${me};
210
- text-transform: ${be};
211
- }
212
- `,Ee=i.css`
205
+ font-family: ${ue};
206
+ font-size: ${ve};
207
+ font-weight: ${me};
208
+ letter-spacing: ${be};
209
+ line-height: ${$e};
210
+ text-transform: ${we};
211
+ }
212
+ `,Ue=i.css`
213
213
  .ft-typography {
214
214
  vertical-align: inherit;
215
215
  }
216
- `;var Ie,Ue,Me=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ce extends e.FtLitElement{constructor(){super(...arguments),this.variant=ht.body1}render(){return this.element?ft`
217
- <${pt(this.element)}
216
+ `;var Me,Ce,Be=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Te extends e.FtLitElement{constructor(){super(...arguments),this.variant=dt.body1}render(){return this.element?ct`
217
+ <${ft(this.element)}
218
218
  class="ft-typography ft-typography--${this.variant}">
219
219
  <slot></slot>
220
- </${pt(this.element)}>
221
- `:ft`
220
+ </${ft(this.element)}>
221
+ `:ct`
222
222
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
223
- `}}Ce.styles=[$e,we,ke,ze,je,Ne,Oe,_e,Se,Ae,Ee],Me([o.property()],Ce.prototype,"element",void 0),Me([o.property()],Ce.prototype,"variant",void 0),e.customElement("ft-typography")(Ce),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.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.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;"}(Ie||(Ie={})),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;"}(Ue||(Ue={})),new Map([...["abw"].map((t=>[t,Ue.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,Ue.AUDIO])),...["avi"].map((t=>[t,Ue.AVI])),...["chm","xhs"].map((t=>[t,Ue.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,Ue.CODE])),...["csv"].map((t=>[t,Ue.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ue.DITA])),...["epub"].map((t=>[t,Ue.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ue.EXCEL])),...["flac"].map((t=>[t,Ue.FLAC])),...["gif"].map((t=>[t,Ue.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ue.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ue.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,Ue.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ue.JPEG])),...["json"].map((t=>[t,Ue.JSON])),...["m4a","m4p"].map((t=>[t,Ue.M4A])),...["mov","qt"].map((t=>[t,Ue.MOV])),...["mp3"].map((t=>[t,Ue.MP3])),...["mp4","m4v"].map((t=>[t,Ue.MP4])),...["ogg","oga"].map((t=>[t,Ue.OGG])),...["pdf","ps"].map((t=>[t,Ue.PDF])),...["png"].map((t=>[t,Ue.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ue.POWERPOINT])),...["rar"].map((t=>[t,Ue.RAR])),...["stp"].map((t=>[t,Ue.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ue.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,Ue.VIDEO])),...["wav"].map((t=>[t,Ue.WAV])),...["wma"].map((t=>[t,Ue.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ue.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ue.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ue.YAML])),...["zip"].map((t=>[t,Ue.ZIP]))]);const Be=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Te=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),We=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ke=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Re=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ze=i.css`
223
+ `}}Te.styles=[ke,ze,je,Ne,Oe,_e,Ae,Se,Ee,Ie,Ue],Be([o.property()],Te.prototype,"element",void 0),Be([o.property()],Te.prototype,"variant",void 0),e.customElement("ft-typography")(Te),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.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.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;"}(Me||(Me={})),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;"}(Ce||(Ce={})),new Map([...["abw"].map((t=>[t,Ce.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,Ce.AUDIO])),...["avi"].map((t=>[t,Ce.AVI])),...["chm","xhs"].map((t=>[t,Ce.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,Ce.CODE])),...["csv"].map((t=>[t,Ce.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ce.DITA])),...["epub"].map((t=>[t,Ce.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ce.EXCEL])),...["flac"].map((t=>[t,Ce.FLAC])),...["gif"].map((t=>[t,Ce.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ce.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ce.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,Ce.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ce.JPEG])),...["json"].map((t=>[t,Ce.JSON])),...["m4a","m4p"].map((t=>[t,Ce.M4A])),...["mov","qt"].map((t=>[t,Ce.MOV])),...["mp3"].map((t=>[t,Ce.MP3])),...["mp4","m4v"].map((t=>[t,Ce.MP4])),...["ogg","oga"].map((t=>[t,Ce.OGG])),...["pdf","ps"].map((t=>[t,Ce.PDF])),...["png"].map((t=>[t,Ce.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ce.POWERPOINT])),...["rar"].map((t=>[t,Ce.RAR])),...["stp"].map((t=>[t,Ce.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ce.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,Ce.VIDEO])),...["wav"].map((t=>[t,Ce.WAV])),...["wma"].map((t=>[t,Ce.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ce.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ce.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ce.YAML])),...["zip"].map((t=>[t,Ce.ZIP]))]);const We=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Ke=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Re=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ze=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),De=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ge=i.css`
224
224
  :host, i.ft-icon {
225
225
  display: inline-flex;
226
226
  align-items: center;
@@ -229,14 +229,14 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
229
229
  }
230
230
 
231
231
  :host {
232
- width: ${Be};
233
- height: ${Be};
232
+ width: ${We};
233
+ height: ${We};
234
234
  }
235
235
 
236
236
  i.ft-icon {
237
237
  width: 100%;
238
238
  height: 100%;
239
- font-size: ${Be};
239
+ font-size: ${We};
240
240
  line-height: 1;
241
241
  font-weight: normal;
242
242
  text-transform: none;
@@ -247,32 +247,32 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
247
247
  text-rendering: auto;
248
248
  -webkit-font-smoothing: antialiased;
249
249
  -moz-osx-font-smoothing: grayscale;
250
- vertical-align: ${Re};
250
+ vertical-align: ${De};
251
251
  }
252
252
 
253
253
  i.ft-icon.ft-icon--fluid-topics {
254
- font-family: ${Te}, ft-icons, fticons, sans-serif;
254
+ font-family: ${Ke}, ft-icons, fticons, sans-serif;
255
255
 
256
256
  /* Ugly fix because font is broken */
257
- font-size: calc(0.9 * ${Be});
257
+ font-size: calc(0.75 * ${We});
258
258
  position: relative;
259
- top: -5%;
259
+ top: -4%;
260
260
  justify-content: center;
261
261
  }
262
262
 
263
263
  .ft-icon--file-format {
264
- font-family: ${We}, ft-mime, sans-serif;
264
+ font-family: ${Re}, ft-mime, sans-serif;
265
265
  }
266
266
 
267
267
  .ft-icon--material {
268
- font-family: ${Ke}, "Material Icons", sans-serif;
268
+ font-family: ${Ze}, "Material Icons", sans-serif;
269
269
  }
270
- `;var De;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(De||(De={}));var Ge=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class qe extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){var t;const e=null!==(t=this.variant)&&void 0!==t?t:De.fluid_topics,o="material"!==e||this.value;return i.html`
271
- <i class="ft-icon ${"ft-icon--"+e}">
270
+ `;var qe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qe||(qe={}));var Fe=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class He extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(qe).includes(this.variant)?this.variant:qe.fluid_topics,e=t!==qe.material||!!this.value;return i.html`
271
+ <i class="ft-icon ${"ft-icon--"+t}">
272
272
  ${r.unsafeHTML(this.resolvedIcon)}
273
- <slot ?hidden=${o}></slot>
273
+ <slot ?hidden=${e}></slot>
274
274
  </i>
275
- `}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 o=this.value||this.textContent;switch(this.variant){case De.file_format:this.resolvedIcon=null!==(t=Ue[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case De.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=Ie[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}qe.elementDefinitions={},qe.styles=Ze,Ge([o.property()],qe.prototype,"variant",void 0),Ge([o.property()],qe.prototype,"value",void 0),Ge([o.state()],qe.prototype,"resolvedIcon",void 0),Ge([o.query("slot")],qe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(qe);const Fe={horizontalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system")},He=i.css`
275
+ `}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 o=this.value||this.textContent;switch(this.variant){case qe.file_format:this.resolvedIcon=null!==(t=Ce[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case qe.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=Me[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}He.elementDefinitions={},He.styles=Ge,Fe([o.property()],He.prototype,"variant",void 0),Fe([o.property()],He.prototype,"value",void 0),Fe([o.state()],He.prototype,"resolvedIcon",void 0),Fe([o.query("slot")],He.prototype,"slottedContent",void 0),e.customElement("ft-icon")(He);const Le={horizontalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","SIZE","16px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system")},Ve=i.css`
276
276
  .ft-accordion-item {
277
277
  display: flex;
278
278
  flex-direction: column;
@@ -285,8 +285,8 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
285
285
  display: flex;
286
286
  align-items: center;
287
287
  cursor: pointer;
288
- padding: ${Fe.verticalSpacing} ${Fe.horizontalSpacing};
289
- gap: calc(${Fe.horizontalSpacing} / 2);
288
+ padding: ${Le.verticalSpacing} ${Le.horizontalSpacing};
289
+ gap: calc(${Le.horizontalSpacing} / 2);
290
290
  outline: none;
291
291
  }
292
292
 
@@ -311,13 +311,13 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
311
311
  .ft-accordion-item--active .ft-accordion-item--content {
312
312
  height: initial;
313
313
  overflow: visible;
314
- padding: ${Fe.verticalSpacing} ${Fe.horizontalSpacing};
314
+ padding: ${Le.verticalSpacing} ${Le.horizontalSpacing};
315
315
  }
316
316
 
317
317
  .ft-accordion-item--separator {
318
- border-bottom: 1px solid ${Fe.colorOutline};
318
+ border-bottom: 1px solid ${Le.colorOutline};
319
319
  }
320
- `;var Le=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Xe extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
320
+ `;var Xe=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class Ye extends e.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return i.html`
321
321
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
322
322
  <div class="ft-accordion-item--toggle"
323
323
  part="toggle"
@@ -329,7 +329,7 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
329
329
  aria-expanded="${this.active}">
330
330
  <ft-ripple part="toggle-ripple"></ft-ripple>
331
331
  ${this.icon?i.html`
332
- <ft-icon variant="material">${this.icon}</ft-icon>
332
+ <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
333
333
  `:null}
334
334
  ${this.label?i.html`
335
335
  <ft-typography class="ft-accordion-item--label" variant="body1" part="label">${this.label}
@@ -347,4 +347,4 @@ const nt=Symbol.for(""),lt=t=>{if((null==t?void 0:t.r)===nt)return null==t?void
347
347
  </div>
348
348
  <div class="ft-accordion-item--separator" part="separator"></div>
349
349
  </div>
350
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Xe.elementDefinitions={"ft-ripple":j,"ft-typography":Ce,"ft-icon":qe},Xe.styles=He,Le([o.property({type:String})],Xe.prototype,"icon",void 0),Le([o.property({type:String})],Xe.prototype,"label",void 0),Le([o.property({type:Boolean,reflect:!0})],Xe.prototype,"active",void 0),e.customElement("ft-accordion")(p),e.customElement("ft-accordion-item")(Xe),t.FtAccordion=p,t.FtAccordionCssVariables={},t.FtAccordionItem=Xe,t.FtAccordionItemCssVariables=Fe,t.itemStyles=He,t.styles=n,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
350
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ye.elementDefinitions={"ft-ripple":j,"ft-typography":Te,"ft-icon":He},Ye.styles=Ve,Xe([o.property()],Ye.prototype,"icon",void 0),Xe([o.property()],Ye.prototype,"iconVariant",void 0),Xe([o.property()],Ye.prototype,"label",void 0),Xe([o.property({type:Boolean,reflect:!0})],Ye.prototype,"active",void 0),e.customElement("ft-accordion")(p),e.customElement("ft-accordion-item")(Ye),t.FtAccordion=p,t.FtAccordionCssVariables={},t.FtAccordionItem=Ye,t.FtAccordionItemCssVariables=Le,t.itemStyles=Ve,t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);