@fluid-topics/ft-reader-toc 0.3.11 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,10 @@
1
1
  import { PropertyValues, TemplateResult } from "lit";
2
2
  import { ElementDefinitionsMap, ParametrizedLabels } from "@fluid-topics/ft-wc-utils";
3
3
  import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
4
+ import { FtIconVariants } from "@fluid-topics/ft-icon";
4
5
  export interface FtReaderTocProperties {
5
6
  expanded?: boolean;
7
+ iconVariant?: FtIconVariants;
6
8
  collapseIcon?: string;
7
9
  expandIcon?: string;
8
10
  autoCollapse?: boolean;
@@ -19,13 +21,13 @@ export declare const FtReaderTocCssVariables: {
19
21
  highlightedTextColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
20
22
  highlightedFontWeight: import("@fluid-topics/ft-wc-utils").FtCssVariable;
21
23
  highlightedBackgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
22
- iconFontFamily: import("@fluid-topics/ft-wc-utils").FtCssVariable;
23
24
  iconFontSize: import("@fluid-topics/ft-wc-utils").FtCssVariable;
24
25
  };
25
26
  export declare class FtReaderToc extends FtReaderComponent implements FtReaderTocProperties {
26
27
  static elementDefinitions: ElementDefinitionsMap;
27
28
  static styles: import("lit").CSSResult;
28
29
  expanded: boolean;
30
+ iconVariant: FtIconVariants;
29
31
  collapseIcon: string;
30
32
  expandIcon: string;
31
33
  autoCollapse: boolean;
@@ -13,7 +13,7 @@ import { deepEqual, designSystemVariables, FtCssVariableFactory, jsonProperty, P
13
13
  import { FtReaderComponent, } from "@fluid-topics/ft-reader-context/build/registration";
14
14
  import { FtTypography, FtTypographyCssVariables } from "@fluid-topics/ft-typography";
15
15
  import { FtReaderInternalLink } from "@fluid-topics/ft-reader-internal-link";
16
- import { FtIconCssVariables, FtIconVariants } from "@fluid-topics/ft-icon";
16
+ import { FtIconVariants } from "@fluid-topics/ft-icon";
17
17
  import { FtButton, FtButtonCssVariables } from "@fluid-topics/ft-button";
18
18
  import { FtSizeCategory, FtSizeWatcher } from "@fluid-topics/ft-size-watcher";
19
19
  export const DEFAULT_LABELS = {
@@ -27,13 +27,13 @@ export const FtReaderTocCssVariables = {
27
27
  highlightedTextColor: FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color", designSystemVariables.colorPrimary),
28
28
  highlightedFontWeight: FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight", "UNKNOWN", "bold"),
29
29
  highlightedBackgroundColor: FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color", "COLOR", "transparent"),
30
- iconFontFamily: FtCssVariableFactory.create("--ft-reader-toc-icon-font-family", "UNKNOWN", "ft-icons"),
31
30
  iconFontSize: FtCssVariableFactory.create("--ft-reader-toc-icon-font-size", "SIZE", "16px"),
32
31
  };
33
32
  export class FtReaderToc extends FtReaderComponent {
34
33
  constructor() {
35
34
  super(...arguments);
36
35
  this.expanded = false;
36
+ this.iconVariant = FtIconVariants.fluid_topics;
37
37
  this.collapseIcon = "MINUS";
38
38
  this.expandIcon = "PLUS";
39
39
  this.autoCollapse = false;
@@ -74,6 +74,7 @@ export class FtReaderToc extends FtReaderComponent {
74
74
  const isHighlighted = this.splitToc ? ((_a = this.currentPage) === null || _a === void 0 ? void 0 : _a.rootTocId) === node.tocId : (_b = this.visibleTopics) === null || _b === void 0 ? void 0 : _b.includes(node.tocId);
75
75
  const isExpanded = this.expanded || this.manuallyExpandedNodes.has(node.tocId) || (this.automaticallyExpandedNodes.has(node.tocId) && !this.manuallyCollapsedNodes.has(node.tocId));
76
76
  const canDisplayChildren = !shouldSplit && node.children.length > 0;
77
+ const displayToggle = canDisplayChildren && !this.expanded;
77
78
  const styles = {
78
79
  "padding-left": `calc( ${FtReaderTocCssVariables.tabulationSize} * ${node.depth - 1} + 4px)` // +4px for padding before button
79
80
  };
@@ -81,15 +82,15 @@ export class FtReaderToc extends FtReaderComponent {
81
82
  <div class="ft-reader-toc--node ${isHighlighted ? "ft-reader-toc--node-highlighted" : ""}">
82
83
  <div class="ft-reader-toc--link-container" data-depth="${node.depth}" style=${styleMap(styles)}>
83
84
  <div class="ft-reader-toc--toggle-container">
84
- ${canDisplayChildren
85
+ ${displayToggle
85
86
  ? html `
86
87
  <ft-button round hideTooltip
87
88
  ?dense=${this.viewportSize !== FtSizeCategory.S}
88
89
  label="${this.labelResolver.resolve(isExpanded ? "collapse" : "expand", node.title)}"
89
- iconVariant="${FtIconVariants.fluid_topics}"
90
+ iconVariant="${this.iconVariant}"
90
91
  icon="${(isExpanded ? this.collapseIcon : this.expandIcon)}"
91
92
  @click=${() => this.manuallyToggle(node.tocId, isExpanded)}
92
- data-expand-node=${node.tocId}
93
+ data-expand-node="${node.tocId}"
93
94
  >
94
95
  </ft-button>
95
96
  `
@@ -177,7 +178,6 @@ FtReaderToc.styles = css `
177
178
  }
178
179
 
179
180
  ft-button {
180
- ${setVariable(FtIconCssVariables.fluidTopicsFontFamily, FtReaderTocCssVariables.iconFontFamily)};
181
181
  ${setVariable(FtButtonCssVariables.iconSize, FtReaderTocCssVariables.iconFontSize)};
182
182
  ${setVariable(FtButtonCssVariables.backgroundColor, "transparent")};
183
183
  }
@@ -185,6 +185,9 @@ FtReaderToc.styles = css `
185
185
  __decorate([
186
186
  property({ type: Boolean })
187
187
  ], FtReaderToc.prototype, "expanded", void 0);
188
+ __decorate([
189
+ property()
190
+ ], FtReaderToc.prototype, "iconVariant", void 0);
188
191
  __decorate([
189
192
  property()
190
193
  ], FtReaderToc.prototype, "collapseIcon", void 0);
@@ -1,10 +1,10 @@
1
- !function(t,i,e,o,n,s,r,a){var l,h=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class f extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new p)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}h([r.state()],f.prototype,"stateManager",void 0);const d=globalThis.trustedTypes,c=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,u=`lit$${(Math.random()+"").slice(9)}$`,g="?"+u,v=`<${g}>`,x=document,y=(t="")=>x.createComment(t),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,z=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),S=/'/g,N=/"/g,C=/^(?:script|style|textarea|title)$/i,O=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),j=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),E=new WeakMap,I=x.createTreeWalker(x,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=$;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,l=r.exec(e),null!==l);)p=r.lastIndex,r===$?"!--"===l[1]?r=w:void 0!==l[1]?r=k:void 0!==l[2]?(C.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=z):void 0!==l[3]&&(r=z):r===z?">"===l[0]?(r=null!=n?n:$,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?z:'"'===l[3]?N:S):r===N||r===S?r=z:r===w||r===k?r=$:(r=z,n=void 0);const f=r===z&&t[i+1].startsWith("/>")?" ":"";s+=r===$?e+v:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+u+f):e+u+(-2===h?(o.push(void 0),i):f)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==c?c.createHTML(a):a,o]};class A{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=B(t,i);if(this.el=A.createElement(l,e),I.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=I.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(u)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(u),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?R:"?"===i[1]?Z:"@"===i[1]?L:_})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(C.test(o.tagName)){const t=o.textContent.split(u),i=t.length-1;if(i>0){o.textContent=d?d.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),I.nextNode(),a.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===g)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(u,t+1));)a.push({type:7,index:n}),t+=u.length-1}n++}}static createElement(t,i){const e=x.createElement("template");return e.innerHTML=t,e}}function F(t,i,e=t,o){var n,s,r,a;if(i===j)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=b(i)?void 0:i._$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,e,o)),void 0!==o?(null!==(r=(a=e)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=F(t,l._$AS(t,i.values),l,o)),i}class M{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:x).importNode(e,!0);I.currentNode=n;let s=I.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new U(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new D(s,this,t)),this.v.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=I.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class U{constructor(t,i,e,o){var n;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=F(this,t,i),b(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==j&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==T&&b(this._$AH)?this._$AA.nextSibling.data=t:this.k(x.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new M(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new A(t)),i}S(t){m(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new U(this.j(y()),this.j(y()),this,this.options)):e=i[o],e._$AI(n),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._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class _{constructor(t,i,e,o,n){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=F(this,t,i,0),s=!b(t)||t!==this._$AH&&t!==j,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=F(this,o[e+r],i,r),a===j&&(a=this._$AH[r]),s||(s=!b(a)||a!==this._$AH[r]),a===T?t=T:t!==T&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class R extends _{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===T?void 0:t}}const W=d?d.emptyScript:"";class Z extends _{constructor(){super(...arguments),this.type=4}P(t){t&&t!==T?this.element.setAttribute(this.name,W):this.element.removeAttribute(this.name)}}class L extends _{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=F(this,t,i,0))&&void 0!==e?e:T)===j)return;const o=this._$AH,n=t===T&&o!==T||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==T&&(o===T||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 D{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){F(this,t)}}const K=window.litHtmlPolyfillSupport;null==K||K(A,U),(null!==(l=globalThis.litHtmlVersions)&&void 0!==l?l:globalThis.litHtmlVersions=[]).push("2.2.7");
1
+ !function(t,i,e,o,n,s,r,a){var l,h=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class f extends i.FtLitElementRedux{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new p)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}h([r.state()],f.prototype,"stateManager",void 0);const d=globalThis.trustedTypes,c=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,u=`lit$${(Math.random()+"").slice(9)}$`,g="?"+u,v=`<${g}>`,x=document,y=(t="")=>x.createComment(t),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,w=/-->/g,k=/>/g,z=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),S=/'/g,N=/"/g,C=/^(?:script|style|textarea|title)$/i,O=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),j=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),E=new WeakMap,I=x.createTreeWalker(x,129,null,!1),B=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=$;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,l=r.exec(e),null!==l);)p=r.lastIndex,r===$?"!--"===l[1]?r=w:void 0!==l[1]?r=k:void 0!==l[2]?(C.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=z):void 0!==l[3]&&(r=z):r===z?">"===l[0]?(r=null!=n?n:$,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?z:'"'===l[3]?N:S):r===N||r===S?r=z:r===w||r===k?r=$:(r=z,n=void 0);const f=r===z&&t[i+1].startsWith("/>")?" ":"";s+=r===$?e+v:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+u+f):e+u+(-2===h?(o.push(void 0),i):f)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==c?c.createHTML(a):a,o]};class A{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=B(t,i);if(this.el=A.createElement(l,e),I.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=I.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(u)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(u),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?R:"?"===i[1]?W:"@"===i[1]?L:_})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(C.test(o.tagName)){const t=o.textContent.split(u),i=t.length-1;if(i>0){o.textContent=d?d.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],y()),I.nextNode(),a.push({type:2,index:++n});o.append(t[i],y())}}}else if(8===o.nodeType)if(o.data===g)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(u,t+1));)a.push({type:7,index:n}),t+=u.length-1}n++}}static createElement(t,i){const e=x.createElement("template");return e.innerHTML=t,e}}function F(t,i,e=t,o){var n,s,r,a;if(i===j)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=b(i)?void 0:i._$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,e,o)),void 0!==o?(null!==(r=(a=e)._$Cl)&&void 0!==r?r:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=F(t,l._$AS(t,i.values),l,o)),i}class M{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:x).importNode(e,!0);I.currentNode=n;let s=I.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new U(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new D(s,this,t)),this.v.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=I.nextNode(),r++)}return n}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class U{constructor(t,i,e,o){var n;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=F(this,t,i),b(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==j&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==T&&b(this._$AH)?this._$AA.nextSibling.data=t:this.k(x.createTextNode(t)),this._$AH=t}$(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new M(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new A(t)),i}S(t){m(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new U(this.j(y()),this.j(y()),this,this.options)):e=i[o],e._$AI(n),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._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class _{constructor(t,i,e,o,n){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=F(this,t,i,0),s=!b(t)||t!==this._$AH&&t!==j,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=F(this,o[e+r],i,r),a===j&&(a=this._$AH[r]),s||(s=!b(a)||a!==this._$AH[r]),a===T?t=T:t!==T&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.P(t)}P(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class R extends _{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===T?void 0:t}}const Z=d?d.emptyScript:"";class W extends _{constructor(){super(...arguments),this.type=4}P(t){t&&t!==T?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class L extends _{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=F(this,t,i,0))&&void 0!==e?e:T)===j)return;const o=this._$AH,n=t===T&&o!==T||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==T&&(o===T||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 D{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){F(this,t)}}const P=window.litHtmlPolyfillSupport;null==P||P(A,U),(null!==(l=globalThis.litHtmlVersions)&&void 0!==l?l:globalThis.litHtmlVersions=[]).push("2.2.7");
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2020 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t._$litStatic$},H=t=>({_$litStatic$:t,r:P}),X=new Map,V=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=G(s));)l+=n+i[++h],p=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=X.get(t))&&(r.raw=r,X.set(t,i=r)),e=a}return t(i,...e)})(O);var q,Y=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!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"}(q||(q={}));const J=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),Q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),tt={fontFamily:Q,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")},it=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",J),et=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",tt.fontSize,"20px"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",tt.fontWeight,"normal"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",tt.letterSpacing,"0.15px"),st=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",tt.lineHeight,"1.2"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",tt.textTransform,"inherit"),at=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",J),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",tt.fontSize,"14px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",tt.fontWeight,"normal"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",tt.letterSpacing,"0.105px"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",tt.lineHeight,"1.7"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",tt.textTransform,"inherit"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",Q),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",tt.fontSize,"16px"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",tt.fontWeight,"600"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",tt.letterSpacing,"0.144px"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",tt.lineHeight,"1.5"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",tt.textTransform,"inherit"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",Q),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",tt.fontSize,"14px"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",tt.fontWeight,"normal"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",tt.letterSpacing,"0.098px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",tt.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",tt.textTransform,"inherit"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",Q),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",tt.fontSize,"16px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",tt.fontWeight,"normal"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",tt.letterSpacing,"0.496px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",tt.lineHeight,"1.5"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",tt.textTransform,"inherit"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",Q),It=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",tt.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",tt.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",tt.letterSpacing,"0.252px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",tt.lineHeight,"1.4"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",tt.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",Q),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",tt.fontSize,"12px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",tt.fontWeight,"normal"),Wt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",tt.letterSpacing,"0.396px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",tt.lineHeight,"1.33"),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",tt.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",Q),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",tt.fontSize,"10px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",tt.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",tt.letterSpacing,"0.33px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",tt.lineHeight,"1.6"),Xt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",tt.textTransform,"inherit"),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",Q),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",tt.fontSize,"10px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",tt.fontWeight,"normal"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",tt.letterSpacing,"1.5px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",tt.lineHeight,"1.6"),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",tt.textTransform,"uppercase"),ii={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",Q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",tt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",tt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",tt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",tt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",tt.textTransform,"uppercase")},ei=e.css`
7
+ const G=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===G)return null==t?void 0:t._$litStatic$},H=t=>({_$litStatic$:t,r:G}),V=new Map,X=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=K(s));)l+=n+i[++h],p=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=V.get(t))&&(r.raw=r,V.set(t,i=r)),e=a}return t(i,...e)})(O);var q,Y=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!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"}(q||(q={}));const J=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),Q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),tt={fontFamily:Q,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")},it=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",J),et=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",tt.fontSize,"20px"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",tt.fontWeight,"normal"),nt=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",tt.letterSpacing,"0.15px"),st=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",tt.lineHeight,"1.2"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",tt.textTransform,"inherit"),at=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",J),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",tt.fontSize,"14px"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",tt.fontWeight,"normal"),pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",tt.letterSpacing,"0.105px"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",tt.lineHeight,"1.7"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",tt.textTransform,"inherit"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",Q),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",tt.fontSize,"16px"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",tt.fontWeight,"600"),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",tt.letterSpacing,"0.144px"),xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",tt.lineHeight,"1.5"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",tt.textTransform,"inherit"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",Q),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",tt.fontSize,"14px"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",tt.fontWeight,"normal"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",tt.letterSpacing,"0.098px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",tt.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",tt.textTransform,"inherit"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",Q),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",tt.fontSize,"16px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",tt.fontWeight,"normal"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",tt.letterSpacing,"0.496px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",tt.lineHeight,"1.5"),Tt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",tt.textTransform,"inherit"),Et=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",Q),It=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",tt.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",tt.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",tt.letterSpacing,"0.252px"),Ft=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",tt.lineHeight,"1.4"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",tt.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",Q),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",tt.fontSize,"12px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",tt.fontWeight,"normal"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",tt.letterSpacing,"0.396px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",tt.lineHeight,"1.33"),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",tt.textTransform,"inherit"),Dt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",Q),Pt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",tt.fontSize,"10px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",tt.fontWeight,"normal"),Kt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",tt.letterSpacing,"0.33px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",tt.lineHeight,"1.6"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",tt.textTransform,"inherit"),Xt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",Q),qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",tt.fontSize,"10px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",tt.fontWeight,"normal"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",tt.letterSpacing,"1.5px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",tt.lineHeight,"1.6"),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",tt.textTransform,"uppercase"),ii={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",Q),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",tt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",tt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",tt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",tt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",tt.textTransform,"uppercase")},ei=e.css`
8
8
  .ft-typography--title {
9
9
  font-family: ${it};
10
10
  font-size: ${et};
@@ -64,22 +64,22 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
64
64
  font-family: ${Ut};
65
65
  font-size: ${_t};
66
66
  font-weight: ${Rt};
67
- letter-spacing: ${Wt};
68
- line-height: ${Zt};
67
+ letter-spacing: ${Zt};
68
+ line-height: ${Wt};
69
69
  text-transform: ${Lt};
70
70
  }
71
71
  `,hi=e.css`
72
72
  .ft-typography--breadcrumb {
73
73
  font-family: ${Dt};
74
- font-size: ${Kt};
75
- font-weight: ${Pt};
76
- letter-spacing: ${Gt};
74
+ font-size: ${Pt};
75
+ font-weight: ${Gt};
76
+ letter-spacing: ${Kt};
77
77
  line-height: ${Ht};
78
- text-transform: ${Xt};
78
+ text-transform: ${Vt};
79
79
  }
80
80
  `,pi=e.css`
81
81
  .ft-typography--overline {
82
- font-family: ${Vt};
82
+ font-family: ${Xt};
83
83
  font-size: ${qt};
84
84
  font-weight: ${Yt};
85
85
  letter-spacing: ${Jt};
@@ -95,12 +95,12 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
95
95
  line-height: ${ii.lineHeight};
96
96
  text-transform: ${ii.textTransform};
97
97
  }
98
- `;class di extends i.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?V`
98
+ `;class di extends i.FtLitElement{constructor(){super(...arguments),this.variant=q.body1}render(){return this.element?X`
99
99
  <${H(this.element)}
100
100
  class="ft-typography ft-typography--${this.variant}">
101
101
  <slot></slot>
102
102
  </${H(this.element)}>
103
- `:V`
103
+ `:X`
104
104
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
105
105
  `}}di.styles=[ei,oi,ni,si,ri,ai,li,hi,pi,fi,e.css`
106
106
  .ft-typography {
@@ -121,12 +121,12 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
121
121
  text-decoration: none;
122
122
  color: inherit;
123
123
  }
124
- `,ci([r.property()],gi.prototype,"tocId",void 0),ci([r.property()],gi.prototype,"section",void 0),ci([r.property({type:Number})],gi.prototype,"pageNumber",void 0),ci([r.property({type:Boolean})],gi.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(gi),function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(vi||(vi={})),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;"}(xi||(xi={})),new Map([...["abw"].map((t=>[t,xi.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,xi.AUDIO])),...["avi"].map((t=>[t,xi.AVI])),...["chm","xhs"].map((t=>[t,xi.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,xi.CODE])),...["csv"].map((t=>[t,xi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xi.DITA])),...["epub"].map((t=>[t,xi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xi.EXCEL])),...["flac"].map((t=>[t,xi.FLAC])),...["gif"].map((t=>[t,xi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xi.GZIP])),...["html","htm","xhtml"].map((t=>[t,xi.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,xi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xi.JPEG])),...["json"].map((t=>[t,xi.JSON])),...["m4a","m4p"].map((t=>[t,xi.M4A])),...["mov","qt"].map((t=>[t,xi.MOV])),...["mp3"].map((t=>[t,xi.MP3])),...["mp4","m4v"].map((t=>[t,xi.MP4])),...["ogg","oga"].map((t=>[t,xi.OGG])),...["pdf","ps"].map((t=>[t,xi.PDF])),...["png"].map((t=>[t,xi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xi.POWERPOINT])),...["rar"].map((t=>[t,xi.RAR])),...["stp"].map((t=>[t,xi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xi.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,xi.VIDEO])),...["wav"].map((t=>[t,xi.WAV])),...["wma"].map((t=>[t,xi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xi.WORD])),...["xml","xsl","rdf"].map((t=>[t,xi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xi.YAML])),...["zip"].map((t=>[t,xi.ZIP]))]);var yi,bi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yi||(yi={}));const mi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")};class $i extends i.FtLitElement{constructor(){super(...arguments),this.variant=yi.fluid_topics,this.resolvedIcon=e.nothing}render(){return e.html`
124
+ `,ci([r.property()],gi.prototype,"tocId",void 0),ci([r.property()],gi.prototype,"section",void 0),ci([r.property({type:Number})],gi.prototype,"pageNumber",void 0),ci([r.property({type:Boolean})],gi.prototype,"removeStyle",void 0),i.customElement("ft-reader-internal-link")(gi),function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(vi||(vi={})),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;"}(xi||(xi={})),new Map([...["abw"].map((t=>[t,xi.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,xi.AUDIO])),...["avi"].map((t=>[t,xi.AVI])),...["chm","xhs"].map((t=>[t,xi.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,xi.CODE])),...["csv"].map((t=>[t,xi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xi.DITA])),...["epub"].map((t=>[t,xi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xi.EXCEL])),...["flac"].map((t=>[t,xi.FLAC])),...["gif"].map((t=>[t,xi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xi.GZIP])),...["html","htm","xhtml"].map((t=>[t,xi.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,xi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xi.JPEG])),...["json"].map((t=>[t,xi.JSON])),...["m4a","m4p"].map((t=>[t,xi.M4A])),...["mov","qt"].map((t=>[t,xi.MOV])),...["mp3"].map((t=>[t,xi.MP3])),...["mp4","m4v"].map((t=>[t,xi.MP4])),...["ogg","oga"].map((t=>[t,xi.OGG])),...["pdf","ps"].map((t=>[t,xi.PDF])),...["png"].map((t=>[t,xi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xi.POWERPOINT])),...["rar"].map((t=>[t,xi.RAR])),...["stp"].map((t=>[t,xi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xi.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,xi.VIDEO])),...["wav"].map((t=>[t,xi.WAV])),...["wma"].map((t=>[t,xi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xi.WORD])),...["xml","xsl","rdf"].map((t=>[t,xi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xi.YAML])),...["zip"].map((t=>[t,xi.ZIP]))]);var yi,bi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yi||(yi={}));const mi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")};class $i extends i.FtLitElement{constructor(){super(...arguments),this.variant=yi.fluid_topics,this.resolvedIcon=e.nothing}render(){const t="material"!==this.variant||this.value;return e.html`
125
125
  <i class="ft-icon ${"ft-icon--"+this.variant}">
126
126
  ${a.unsafeHTML(this.resolvedIcon)}
127
- <slot ?hidden=${"material"!==this.variant}></slot>
127
+ <slot ?hidden=${t}></slot>
128
128
  </i>
129
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case yi.file_format:this.resolvedIcon=null!==(t=xi[o.toUpperCase()])&&void 0!==t?t:o;break;case yi.fluid_topics:this.resolvedIcon=null!==(i=vi[o.toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=e.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}$i.elementDefinitions={},$i.styles=e.css`
129
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case yi.file_format:this.resolvedIcon=null!==(t=xi[o.toUpperCase()])&&void 0!==t?t:o;break;case yi.fluid_topics:this.resolvedIcon=null!==(i=vi[o.toUpperCase()])&&void 0!==i?i:o;break;default:this.resolvedIcon=this.value||e.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}$i.elementDefinitions={},$i.styles=e.css`
130
130
  :host {
131
131
  display: inline-block;
132
132
  }
@@ -317,7 +317,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
317
317
  position: relative;
318
318
  word-break: break-word;
319
319
  }
320
- `,Ii([r.property()],Ri.prototype,"text",void 0),Ii([r.property({type:Boolean})],Ri.prototype,"manual",void 0),Ii([r.property({type:Boolean})],Ri.prototype,"inline",void 0),Ii([r.property({type:Number})],Ri.prototype,"delay",void 0),Ii([r.property()],Ri.prototype,"position",void 0),Ii([r.queryAssignedNodes("",!0)],Ri.prototype,"slotNodes",void 0),Ii([r.query(".ft-tooltip--container")],Ri.prototype,"container",void 0),Ii([r.query("slot")],Ri.prototype,"target",void 0),Ii([r.query(".ft-tooltip")],Ri.prototype,"tooltip",void 0),Ii([r.query(".ft-tooltip--content")],Ri.prototype,"tooltipContent",void 0),Ii([r.state()],Ri.prototype,"visible",void 0),i.customElement("ft-tooltip")(Ri);const Wi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Zi extends i.FtLitElement{static get styles(){return e.css`
320
+ `,Ii([r.property()],Ri.prototype,"text",void 0),Ii([r.property({type:Boolean})],Ri.prototype,"manual",void 0),Ii([r.property({type:Boolean})],Ri.prototype,"inline",void 0),Ii([r.property({type:Number})],Ri.prototype,"delay",void 0),Ii([r.property()],Ri.prototype,"position",void 0),Ii([r.queryAssignedNodes("",!0)],Ri.prototype,"slotNodes",void 0),Ii([r.query(".ft-tooltip--container")],Ri.prototype,"container",void 0),Ii([r.query("slot")],Ri.prototype,"target",void 0),Ii([r.query(".ft-tooltip")],Ri.prototype,"tooltip",void 0),Ii([r.query(".ft-tooltip--content")],Ri.prototype,"tooltipContent",void 0),Ii([r.state()],Ri.prototype,"visible",void 0),i.customElement("ft-tooltip")(Ri);const Zi={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")};class Wi extends i.FtLitElement{static get styles(){return e.css`
321
321
  :host {
322
322
  line-height: 0;
323
323
  }
@@ -326,8 +326,8 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
326
326
  display: inline-block;
327
327
  position: relative;
328
328
 
329
- width: ${Wi.size};
330
- height: ${Wi.size};
329
+ width: ${Zi.size};
330
+ height: ${Zi.size};
331
331
  }
332
332
 
333
333
  .ft-loader div {
@@ -336,7 +336,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
336
336
  width: 25%;
337
337
  height: 25%;
338
338
  border-radius: 50%;
339
- background: ${Wi.color};
339
+ background: ${Zi.color};
340
340
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
341
341
  }
342
342
 
@@ -383,7 +383,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
383
383
  transform: translate(0, 0);
384
384
  }
385
385
  100% {
386
- transform: translate(calc(0.35 * ${Wi.size}), 0);
386
+ transform: translate(calc(0.35 * ${Zi.size}), 0);
387
387
  }
388
388
  }
389
389
  `}render(){return e.html`
@@ -393,7 +393,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
393
393
  <div></div>
394
394
  <div></div>
395
395
  </div>
396
- `}}i.customElement("ft-loader")(Zi);var Li=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Di=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:Di,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",ii.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Di),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Pi=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Gi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Pi,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Pi)},Hi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Xi extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=yi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
396
+ `}}i.customElement("ft-loader")(Wi);var Li=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const Di=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Pi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Di,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",ii.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Di),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)),Ki={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)},Hi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM));class Vi extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=yi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[i.noTextSelect,e.css`
397
397
  :host {
398
398
  display: inline-block;
399
399
  max-width: 100%;
@@ -404,7 +404,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
404
404
  box-shadow: 0px 0px 0px transparent;
405
405
  border: 0px solid transparent;
406
406
  text-shadow: 0px 0px 0px transparent;
407
- font-size: ${Ki.fontSize};
407
+ font-size: ${Pi.fontSize};
408
408
  }
409
409
 
410
410
  button:hover {
@@ -433,17 +433,17 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
433
433
  border: none;
434
434
  pointer-events: auto;
435
435
 
436
- --ft-button-internal-line-height: calc(${Ki.fontSize} + 2px);
437
- --ft-button-internal-color: ${Ki.color};
438
- ${i.setVariable(mi.size,Ki.iconSize)};
436
+ --ft-button-internal-line-height: calc(${Pi.fontSize} + 2px);
437
+ --ft-button-internal-color: ${Pi.color};
438
+ ${i.setVariable(mi.size,Pi.iconSize)};
439
439
  --ft-button-internal-vertical-padding: 6px;
440
440
  --ft-button-internal-horizontal-padding: 8px;
441
- ${i.setVariable(zi.color,Ki.rippleColor)};
442
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ki.iconSize});
441
+ ${i.setVariable(zi.color,Pi.rippleColor)};
442
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Pi.iconSize});
443
443
 
444
- border-radius: ${Ki.borderRadius};
444
+ border-radius: ${Pi.borderRadius};
445
445
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
446
- background-color: ${Ki.backgroundColor};
446
+ background-color: ${Pi.backgroundColor};
447
447
  color: var(--ft-button-internal-color);
448
448
  -webkit-mask-image: radial-gradient(white, black);
449
449
  }
@@ -464,13 +464,13 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
464
464
 
465
465
  .ft-button[disabled] {
466
466
  filter: grayscale(1);
467
- opacity: ${Ki.opacityDisabled};
467
+ opacity: ${Pi.opacityDisabled};
468
468
  }
469
469
 
470
470
  .ft-button.ft-button--primary {
471
- background-color: ${Gi.backgroundColor};
472
- --ft-button-internal-color: ${Gi.color};
473
- ${i.setVariable(zi.color,Gi.rippleColor)};
471
+ background-color: ${Ki.backgroundColor};
472
+ --ft-button-internal-color: ${Ki.color};
473
+ ${i.setVariable(zi.color,Ki.rippleColor)};
474
474
  }
475
475
 
476
476
  .ft-button.ft-button--outlined {
@@ -523,8 +523,8 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
523
523
  }
524
524
 
525
525
  ft-loader {
526
- ${i.setVariable(Wi.size,Ki.iconSize)};
527
- ${i.setVariable(Wi.color,"var(--ft-button-internal-color)")};
526
+ ${i.setVariable(Zi.size,Pi.iconSize)};
527
+ ${i.setVariable(Zi.color,"var(--ft-button-internal-color)")};
528
528
  }
529
529
  `]}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-button--safari-fix":i.isSafari,"ft-no-text-select":!0};return this.addTooltipIfNeeded(e.html`
530
530
  <button part="button"
@@ -548,11 +548,11 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
548
548
  </ft-tooltip>
549
549
  `}resolveIcon(){return this.loading?e.html`
550
550
  <ft-loader></ft-loader> `:this.icon?e.html`
551
- <ft-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}}Xi.elementDefinitions={"ft-ripple":Ei,"ft-tooltip":Ri,"ft-typography":di,"ft-icon":$i,"ft-loader":Zi},Li([r.property({type:Boolean})],Xi.prototype,"primary",void 0),Li([r.property({type:Boolean})],Xi.prototype,"outlined",void 0),Li([r.property({type:Boolean})],Xi.prototype,"disabled",void 0),Li([r.property({type:Boolean})],Xi.prototype,"dense",void 0),Li([r.property({type:Boolean})],Xi.prototype,"round",void 0),Li([r.property({type:String})],Xi.prototype,"label",void 0),Li([r.property({type:String})],Xi.prototype,"icon",void 0),Li([r.property({type:String})],Xi.prototype,"iconVariant",void 0),Li([r.property({type:Boolean})],Xi.prototype,"trailingIcon",void 0),Li([r.property({type:Boolean})],Xi.prototype,"loading",void 0),Li([r.property({type:String})],Xi.prototype,"tooltipPosition",void 0),Li([r.property({type:Boolean})],Xi.prototype,"hideTooltip",void 0),Li([r.query(".ft-button")],Xi.prototype,"button",void 0),Li([r.query(".ft-button--label slot")],Xi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Xi);var Vi,qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Vi||(Vi={}));class Yi extends CustomEvent{constructor(t,i){super("change",{detail:{size:t,category:i}})}}class Ji extends i.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Vi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new i.Debouncer}render(){return e.html`
551
+ <ft-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}}Vi.elementDefinitions={"ft-ripple":Ei,"ft-tooltip":Ri,"ft-typography":di,"ft-icon":$i,"ft-loader":Wi},Li([r.property({type:Boolean})],Vi.prototype,"primary",void 0),Li([r.property({type:Boolean})],Vi.prototype,"outlined",void 0),Li([r.property({type:Boolean})],Vi.prototype,"disabled",void 0),Li([r.property({type:Boolean})],Vi.prototype,"dense",void 0),Li([r.property({type:Boolean})],Vi.prototype,"round",void 0),Li([r.property({type:String})],Vi.prototype,"label",void 0),Li([r.property({type:String})],Vi.prototype,"icon",void 0),Li([r.property({type:String})],Vi.prototype,"iconVariant",void 0),Li([r.property({type:Boolean})],Vi.prototype,"trailingIcon",void 0),Li([r.property({type:Boolean})],Vi.prototype,"loading",void 0),Li([r.property({type:String})],Vi.prototype,"tooltipPosition",void 0),Li([r.property({type:Boolean})],Vi.prototype,"hideTooltip",void 0),Li([r.query(".ft-button")],Vi.prototype,"button",void 0),Li([r.query(".ft-button--label slot")],Vi.prototype,"slottedContent",void 0),i.customElement("ft-button")(Vi);var Xi,qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Xi||(Xi={}));class Yi extends CustomEvent{constructor(t,i){super("change",{detail:{size:t,category:i}})}}class Ji extends i.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Xi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new i.Debouncer}render(){return e.html`
552
552
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
553
553
  <div class="ft-size-watcher--watcher"></div>
554
554
  </div>
555
- `}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=Vi.S:this.size<976?this.category=Vi.M:this.size<1024?this.category=Vi.L:this.size<1440?this.category=Vi.XL:this.category=Vi.XXL,this.dispatchEvent(new Yi(this.size,this.category)))}),this.debounceTimeout)}}Ji.elementDefinitions={},Ji.styles=e.css`
555
+ `}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=Xi.S:this.size<976?this.category=Xi.M:this.size<1024?this.category=Xi.L:this.size<1440?this.category=Xi.XL:this.category=Xi.XXL,this.dispatchEvent(new Yi(this.size,this.category)))}),this.debounceTimeout)}}Ji.elementDefinitions={},Ji.styles=e.css`
556
556
  .ft-size-watcher--pixel {
557
557
  width: 0;
558
558
  height: 0;
@@ -571,23 +571,23 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
571
571
  .ft-size-watcher--local .ft-size-watcher--watcher {
572
572
  width: 100%;
573
573
  }
574
- `,qi([r.property({type:Number})],Ji.prototype,"debounceTimeout",void 0),qi([r.property({type:Boolean})],Ji.prototype,"local",void 0),qi([r.property({type:Number,reflect:!0})],Ji.prototype,"size",void 0),qi([r.property({type:String,reflect:!0})],Ji.prototype,"category",void 0),qi([r.query(".ft-size-watcher--watcher")],Ji.prototype,"watcher",void 0),i.customElement("ft-size-watcher")(Ji);var Qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const te={expand:"Expand {0}",collapse:"Collapse {0}"},ie={tabulationSize:i.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:i.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:i.FtCssVariableFactory.extend("--ft-reader-toc-text-color",i.designSystemVariables.colorOnSurface),highlightedTextColor:i.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color",i.designSystemVariables.colorPrimary),highlightedFontWeight:i.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:i.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontFamily:i.FtCssVariableFactory.create("--ft-reader-toc-icon-font-family","UNKNOWN","ft-icons"),iconFontSize:i.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","SIZE","16px")};class ee extends f{constructor(){super(...arguments),this.expanded=!1,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.autoCollapse=!1,this.labels={},this.labelResolver=new i.ParametrizedLabelResolver(te,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.viewportSize=Vi.M}update(t){var e,o;super.update(t),t.has("labels")&&(this.labelResolver=new i.ParametrizedLabelResolver(te,this.labels)),!this.expanded&&["splitToc","visibleTopics","currentPage","toc"].some((i=>t.has(i)))&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(this.splitToc?[null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId]:null!==(o=this.visibleTopics)&&void 0!==o?o:[]))}render(){var t;const i={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Vi.S,"ft-reader-toc-desktop":this.viewportSize!==Vi.S};return e.html`
574
+ `,qi([r.property({type:Number})],Ji.prototype,"debounceTimeout",void 0),qi([r.property({type:Boolean})],Ji.prototype,"local",void 0),qi([r.property({type:Number,reflect:!0})],Ji.prototype,"size",void 0),qi([r.property({type:String,reflect:!0})],Ji.prototype,"category",void 0),qi([r.query(".ft-size-watcher--watcher")],Ji.prototype,"watcher",void 0),i.customElement("ft-size-watcher")(Ji);var Qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const te={expand:"Expand {0}",collapse:"Collapse {0}"},ie={tabulationSize:i.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:i.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:i.FtCssVariableFactory.extend("--ft-reader-toc-text-color",i.designSystemVariables.colorOnSurface),highlightedTextColor:i.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color",i.designSystemVariables.colorPrimary),highlightedFontWeight:i.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:i.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:i.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","SIZE","16px")};class ee extends f{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=yi.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.autoCollapse=!1,this.labels={},this.labelResolver=new i.ParametrizedLabelResolver(te,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.viewportSize=Xi.M}update(t){var e,o;super.update(t),t.has("labels")&&(this.labelResolver=new i.ParametrizedLabelResolver(te,this.labels)),!this.expanded&&["splitToc","visibleTopics","currentPage","toc"].some((i=>t.has(i)))&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(this.splitToc?[null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId]:null!==(o=this.visibleTopics)&&void 0!==o?o:[]))}render(){var t;const i={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Xi.S,"ft-reader-toc-desktop":this.viewportSize!==Xi.S};return e.html`
575
575
  <div class=${n.classMap(i)}>
576
576
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
577
577
  ${o.repeat(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
578
578
  </div>
579
- `}renderNode(t){var i,n;const r=this.splitToc&&null!=t.page&&!t.page.onItsOwn,a=this.splitToc?(null===(i=this.currentPage)||void 0===i?void 0:i.rootTocId)===t.tocId:null===(n=this.visibleTopics)||void 0===n?void 0:n.includes(t.tocId),l=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||this.automaticallyExpandedNodes.has(t.tocId)&&!this.manuallyCollapsedNodes.has(t.tocId),h=!r&&t.children.length>0,p={"padding-left":`calc( ${ie.tabulationSize} * ${t.depth-1} + 4px)`};return e.html`
579
+ `}renderNode(t){var i,n;const r=this.splitToc&&null!=t.page&&!t.page.onItsOwn,a=this.splitToc?(null===(i=this.currentPage)||void 0===i?void 0:i.rootTocId)===t.tocId:null===(n=this.visibleTopics)||void 0===n?void 0:n.includes(t.tocId),l=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||this.automaticallyExpandedNodes.has(t.tocId)&&!this.manuallyCollapsedNodes.has(t.tocId),h=!r&&t.children.length>0,p=h&&!this.expanded,f={"padding-left":`calc( ${ie.tabulationSize} * ${t.depth-1} + 4px)`};return e.html`
580
580
  <div class="ft-reader-toc--node ${a?"ft-reader-toc--node-highlighted":""}">
581
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${s.styleMap(p)}>
581
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${s.styleMap(f)}>
582
582
  <div class="ft-reader-toc--toggle-container">
583
- ${h?e.html`
583
+ ${p?e.html`
584
584
  <ft-button round hideTooltip
585
- ?dense=${this.viewportSize!==Vi.S}
585
+ ?dense=${this.viewportSize!==Xi.S}
586
586
  label="${this.labelResolver.resolve(l?"collapse":"expand",t.title)}"
587
- iconVariant="${yi.fluid_topics}"
587
+ iconVariant="${this.iconVariant}"
588
588
  icon="${l?this.collapseIcon:this.expandIcon}"
589
589
  @click=${()=>this.manuallyToggle(t.tocId,l)}
590
- data-expand-node=${t.tocId}
590
+ data-expand-node="${t.tocId}"
591
591
  >
592
592
  </ft-button>
593
593
  `:e.nothing}
@@ -604,7 +604,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
604
604
  </div>
605
605
  `:e.nothing}
606
606
  </div>
607
- `}buildAutomaticallyExpandedNodes(t){var i,e;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t)for(;n&&!o.has(n);)o.add(n),this.manuallyCollapsedNodes.delete(n),n=null===(e=null===(i=this.service)||void 0===i?void 0:i.getTocNodeOrThrow(n))||void 0===e?void 0:e.parentTocId;return o}manuallyToggle(t,i){i?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}}ee.elementDefinitions={"ft-button":Xi,"ft-reader-internal-link":gi,"ft-size-watcher":Ji,"ft-typography":di},ee.styles=e.css`
607
+ `}buildAutomaticallyExpandedNodes(t){var i,e;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t)for(;n&&!o.has(n);)o.add(n),this.manuallyCollapsedNodes.delete(n),n=null===(e=null===(i=this.service)||void 0===i?void 0:i.getTocNodeOrThrow(n))||void 0===e?void 0:e.parentTocId;return o}manuallyToggle(t,i){i?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}}ee.elementDefinitions={"ft-button":Vi,"ft-reader-internal-link":gi,"ft-size-watcher":Ji,"ft-typography":di},ee.styles=e.css`
608
608
  .ft-reader-toc {
609
609
  color: ${ie.textColor};
610
610
  }
@@ -633,8 +633,7 @@ const P=Symbol.for(""),G=t=>{if((null==t?void 0:t.r)===P)return null==t?void 0:t
633
633
  }
634
634
 
635
635
  ft-button {
636
- ${i.setVariable(mi.fluidTopicsFontFamily,ie.iconFontFamily)};
637
- ${i.setVariable(Ki.iconSize,ie.iconFontSize)};
638
- ${i.setVariable(Ki.backgroundColor,"transparent")};
636
+ ${i.setVariable(Pi.iconSize,ie.iconFontSize)};
637
+ ${i.setVariable(Pi.backgroundColor,"transparent")};
639
638
  }
640
- `,Qi([r.property({type:Boolean})],ee.prototype,"expanded",void 0),Qi([r.property()],ee.prototype,"collapseIcon",void 0),Qi([r.property()],ee.prototype,"expandIcon",void 0),Qi([r.property({type:Boolean})],ee.prototype,"autoCollapse",void 0),Qi([i.jsonProperty({})],ee.prototype,"labels",void 0),Qi([i.redux()],ee.prototype,"toc",void 0),Qi([i.redux((t=>{var i;return null===(i=t.map)||void 0===i?void 0:i.shouldSplitCurrentPageToc}))],ee.prototype,"splitToc",void 0),Qi([i.redux()],ee.prototype,"currentPage",void 0),Qi([i.redux()],ee.prototype,"visibleTopics",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"automaticallyExpandedNodes",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"manuallyExpandedNodes",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"manuallyCollapsedNodes",void 0),Qi([r.state()],ee.prototype,"viewportSize",void 0),i.customElement("ft-reader-toc")(ee),t.DEFAULT_LABELS=te,t.FtReaderToc=ee,t.FtReaderTocCssVariables=ie,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
639
+ `,Qi([r.property({type:Boolean})],ee.prototype,"expanded",void 0),Qi([r.property()],ee.prototype,"iconVariant",void 0),Qi([r.property()],ee.prototype,"collapseIcon",void 0),Qi([r.property()],ee.prototype,"expandIcon",void 0),Qi([r.property({type:Boolean})],ee.prototype,"autoCollapse",void 0),Qi([i.jsonProperty({})],ee.prototype,"labels",void 0),Qi([i.redux()],ee.prototype,"toc",void 0),Qi([i.redux((t=>{var i;return null===(i=t.map)||void 0===i?void 0:i.shouldSplitCurrentPageToc}))],ee.prototype,"splitToc",void 0),Qi([i.redux()],ee.prototype,"currentPage",void 0),Qi([i.redux()],ee.prototype,"visibleTopics",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"automaticallyExpandedNodes",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"manuallyExpandedNodes",void 0),Qi([r.state({hasChanged:(t,e)=>!i.deepEqual(t,e)})],ee.prototype,"manuallyCollapsedNodes",void 0),Qi([r.state()],ee.prototype,"viewportSize",void 0),i.customElement("ft-reader-toc")(ee),t.DEFAULT_LABELS=te,t.FtReaderToc=ee,t.FtReaderTocCssVariables=ie,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -55,7 +55,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(m=globalThis.reactiveElementVersions)&&void 0!==m?m:globalThis.reactiveElementVersions=[]).push("1.3.4");const R=globalThis.trustedTypes,z=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,F="?"+M,U=`<${F}>`,j=document,T=(t="")=>j.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,W=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),X=new WeakMap,q=j.createTreeWalker(j,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=P;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===P?"!--"===l[1]?s=I:void 0!==l[1]?s=W:void 0!==l[2]?(K.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=_):void 0!==l[3]&&(s=_):s===_?">"===l[0]?(s=null!=n?n:P,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?_:'"'===l[3]?H:D):s===H||s===D?s=_:s===I||s===W?s=P:(s=_,n=void 0);const p=s===_&&t[e+1].startsWith("/>")?" ":"";r+=s===P?i+U:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class G{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]=Y(t,e);if(this.el=G.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("$lit$")||e.startsWith(M)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?rt:"@"===e[1]?st:it})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),q.nextNode(),a.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var n,r,s,a;if(e===V)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=B(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)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=Q(t,l._$AS(t,e.values),l,o)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).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 et(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new at(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=q.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,o){var n;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=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._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),B(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):L(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&B(this._$AH)?this._$AA.nextSibling.data=t:this.k(j.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new tt(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new G(t)),e}S(t){A(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 et(this.j(T()),this.j(T()),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,o,n){this.type=1,this._$AH=J,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=J}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=Q(this,t,e,0),r=!B(t)||t!==this._$AH&&t!==V,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Q(this,o[i+s],e,s),a===V&&(a=this._$AH[s]),r||(r=!B(a)||a!==this._$AH[s]),a===J?t=J:t!==J&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const nt=R?R.emptyScript:"";class rt extends it{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class st extends it{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=Q(this,t,e,0))&&void 0!==i?i:J)===V)return;const o=this._$AH,n=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==J&&(o===J||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 at{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const lt={A:"$lit$",C:M,M:F,L:1,R:Y,V:tt,D:L,I:Q,H:et,N:it,U:rt,B:st,F:ot,W:at},ht=window.litHtmlPolyfillSupport;
58
+ var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:C}),(null!==(m=globalThis.reactiveElementVersions)&&void 0!==m?m:globalThis.reactiveElementVersions=[]).push("1.3.4");const R=globalThis.trustedTypes,z=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,F="?"+M,U=`<${F}>`,j=document,T=(t="")=>j.createComment(t),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,L=t=>A(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,_=/>/g,D=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,Z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),X=new WeakMap,q=j.createTreeWalker(j,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=P;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(s.lastIndex=c,l=s.exec(i),null!==l);)c=s.lastIndex,s===P?"!--"===l[1]?s=I:void 0!==l[1]?s=_:void 0!==l[2]?(K.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=D):void 0!==l[3]&&(s=D):s===D?">"===l[0]?(s=null!=n?n:P,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?D:'"'===l[3]?H:W):s===H||s===W?s=D:s===I||s===_?s=P:(s=D,n=void 0);const p=s===D&&t[e+1].startsWith("/>")?" ":"";r+=s===P?i+U:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class G{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]=Y(t,e);if(this.el=G.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("$lit$")||e.startsWith(M)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?rt:"@"===e[1]?st:it})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),q.nextNode(),a.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===F)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)a.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var n,r,s,a;if(e===V)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=B(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)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=Q(t,l._$AS(t,e.values),l,o)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).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 et(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new at(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=q.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,o){var n;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=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._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),B(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):L(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&B(this._$AH)?this._$AA.nextSibling.data=t:this.k(j.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new tt(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new G(t)),e}S(t){A(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 et(this.j(T()),this.j(T()),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._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,o,n){this.type=1,this._$AH=J,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=J}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=Q(this,t,e,0),r=!B(t)||t!==this._$AH&&t!==V,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Q(this,o[i+s],e,s),a===V&&(a=this._$AH[s]),r||(r=!B(a)||a!==this._$AH[s]),a===J?t=J:t!==J&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const nt=R?R.emptyScript:"";class rt extends it{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class st extends it{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=Q(this,t,e,0))&&void 0!==i?i:J)===V)return;const o=this._$AH,n=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==J&&(o===J||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 at{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const lt={A:"$lit$",C:M,M:F,L:1,R:Y,V:tt,D:L,I:Q,H:et,N:it,U:rt,B:st,F:ot,W:at},ht=window.litHtmlPolyfillSupport;
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -95,13 +95,13 @@ var ct,pt;null==ht||ht(G,et),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
95
95
  * @license
96
96
  * Copyright 2017 Google LLC
97
97
  * SPDX-License-Identifier: BSD-3-Clause
98
- */var 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};class _t extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Dt extends $t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new _t)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}Wt([n()],Dt.prototype,"stateManager",void 0);
98
+ */var _t=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 Dt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Wt extends $t{setReaderStateManager(t){this.stateManager=t,this.store=t.store}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),setTimeout((()=>this.dispatchEvent(new Dt)),10)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}_t([n()],Wt.prototype,"stateManager",void 0);
99
99
  /**
100
100
  * @license
101
101
  * Copyright 2020 Google LLC
102
102
  * SPDX-License-Identifier: BSD-3-Clause
103
103
  */
104
- const Ht=Symbol.for(""),Kt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void 0:t._$litStatic$},Zt=t=>({_$litStatic$:t,r:Ht}),Vt=new Map,Jt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=Kt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=Vt.get(t))&&(s.raw=s,Vt.set(t,e=s)),i=a}return t(e,...i)})(Z);var Xt,qt=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};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Xt||(Xt={}));const Yt=ut.extend("--ft-typography-font-family",yt.titleFont),Gt=ut.extend("--ft-typography-font-family",yt.contentFont),Qt={fontFamily:Gt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},te=ut.extend("--ft-typography-title-font-family",Yt),ee=ut.extend("--ft-typography-title-font-size",Qt.fontSize,"20px"),ie=ut.extend("--ft-typography-title-font-weight",Qt.fontWeight,"normal"),oe=ut.extend("--ft-typography-title-letter-spacing",Qt.letterSpacing,"0.15px"),ne=ut.extend("--ft-typography-title-line-height",Qt.lineHeight,"1.2"),re=ut.extend("--ft-typography-title-text-transform",Qt.textTransform,"inherit"),se=ut.extend("--ft-typography-title-dense-font-family",Yt),ae=ut.extend("--ft-typography-title-dense-font-size",Qt.fontSize,"14px"),le=ut.extend("--ft-typography-title-dense-font-weight",Qt.fontWeight,"normal"),he=ut.extend("--ft-typography-title-dense-letter-spacing",Qt.letterSpacing,"0.105px"),ce=ut.extend("--ft-typography-title-dense-line-height",Qt.lineHeight,"1.7"),pe=ut.extend("--ft-typography-title-dense-text-transform",Qt.textTransform,"inherit"),de=ut.extend("--ft-typography-subtitle1-font-family",Gt),fe=ut.extend("--ft-typography-subtitle1-font-size",Qt.fontSize,"16px"),ue=ut.extend("--ft-typography-subtitle1-font-weight",Qt.fontWeight,"600"),ve=ut.extend("--ft-typography-subtitle1-letter-spacing",Qt.letterSpacing,"0.144px"),ye=ut.extend("--ft-typography-subtitle1-line-height",Qt.lineHeight,"1.5"),be=ut.extend("--ft-typography-subtitle1-text-transform",Qt.textTransform,"inherit"),xe=ut.extend("--ft-typography-subtitle2-font-family",Gt),ge=ut.extend("--ft-typography-subtitle2-font-size",Qt.fontSize,"14px"),me=ut.extend("--ft-typography-subtitle2-font-weight",Qt.fontWeight,"normal"),we=ut.extend("--ft-typography-subtitle2-letter-spacing",Qt.letterSpacing,"0.098px"),$e=ut.extend("--ft-typography-subtitle2-line-height",Qt.lineHeight,"1.7"),Oe=ut.extend("--ft-typography-subtitle2-text-transform",Qt.textTransform,"inherit"),Se=ut.extend("--ft-typography-body1-font-family",Gt),ke=ut.extend("--ft-typography-body1-font-size",Qt.fontSize,"16px"),Ne=ut.extend("--ft-typography-body1-font-weight",Qt.fontWeight,"normal"),Ce=ut.extend("--ft-typography-body1-letter-spacing",Qt.letterSpacing,"0.496px"),Ee=ut.extend("--ft-typography-body1-line-height",Qt.lineHeight,"1.5"),Re=ut.extend("--ft-typography-body1-text-transform",Qt.textTransform,"inherit"),ze=ut.extend("--ft-typography-body2-font-family",Gt),Me=ut.extend("--ft-typography-body2-font-size",Qt.fontSize,"14px"),Fe=ut.extend("--ft-typography-body2-font-weight",Qt.fontWeight,"normal"),Ue=ut.extend("--ft-typography-body2-letter-spacing",Qt.letterSpacing,"0.252px"),je=ut.extend("--ft-typography-body2-line-height",Qt.lineHeight,"1.4"),Te=ut.extend("--ft-typography-body2-text-transform",Qt.textTransform,"inherit"),Be=ut.extend("--ft-typography-caption-font-family",Gt),Ae=ut.extend("--ft-typography-caption-font-size",Qt.fontSize,"12px"),Le=ut.extend("--ft-typography-caption-font-weight",Qt.fontWeight,"normal"),Pe=ut.extend("--ft-typography-caption-letter-spacing",Qt.letterSpacing,"0.396px"),Ie=ut.extend("--ft-typography-caption-line-height",Qt.lineHeight,"1.33"),We=ut.extend("--ft-typography-caption-text-transform",Qt.textTransform,"inherit"),_e=ut.extend("--ft-typography-breadcrumb-font-family",Gt),De=ut.extend("--ft-typography-breadcrumb-font-size",Qt.fontSize,"10px"),He=ut.extend("--ft-typography-breadcrumb-font-weight",Qt.fontWeight,"normal"),Ke=ut.extend("--ft-typography-breadcrumb-letter-spacing",Qt.letterSpacing,"0.33px"),Ze=ut.extend("--ft-typography-breadcrumb-line-height",Qt.lineHeight,"1.6"),Ve=ut.extend("--ft-typography-breadcrumb-text-transform",Qt.textTransform,"inherit"),Je=ut.extend("--ft-typography-overline-font-family",Gt),Xe=ut.extend("--ft-typography-overline-font-size",Qt.fontSize,"10px"),qe=ut.extend("--ft-typography-overline-font-weight",Qt.fontWeight,"normal"),Ye=ut.extend("--ft-typography-overline-letter-spacing",Qt.letterSpacing,"1.5px"),Ge=ut.extend("--ft-typography-overline-line-height",Qt.lineHeight,"1.6"),Qe=ut.extend("--ft-typography-overline-text-transform",Qt.textTransform,"uppercase"),ti={fontFamily:ut.extend("--ft-typography-button-font-family",Gt),fontSize:ut.extend("--ft-typography-button-font-size",Qt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-button-font-weight",Qt.fontWeight,"600"),letterSpacing:ut.extend("--ft-typography-button-letter-spacing",Qt.letterSpacing,"1.246px"),lineHeight:ut.extend("--ft-typography-button-line-height",Qt.lineHeight,"1.15"),textTransform:ut.extend("--ft-typography-button-text-transform",Qt.textTransform,"uppercase")},ei=b`
104
+ const Ht=Symbol.for(""),Kt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void 0:t._$litStatic$},Zt=t=>({_$litStatic$:t,r:Ht}),Vt=new Map,Jt=(t=>(e,...i)=>{const o=i.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(r=i[h],n=Kt(r));)l+=n+e[++h],c=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(e[o]),c){const t=s.join("$$lit$$");void 0===(e=Vt.get(t))&&(s.raw=s,Vt.set(t,e=s)),i=a}return t(e,...i)})(Z);var Xt,qt=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};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Xt||(Xt={}));const Yt=ut.extend("--ft-typography-font-family",yt.titleFont),Gt=ut.extend("--ft-typography-font-family",yt.contentFont),Qt={fontFamily:Gt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},te=ut.extend("--ft-typography-title-font-family",Yt),ee=ut.extend("--ft-typography-title-font-size",Qt.fontSize,"20px"),ie=ut.extend("--ft-typography-title-font-weight",Qt.fontWeight,"normal"),oe=ut.extend("--ft-typography-title-letter-spacing",Qt.letterSpacing,"0.15px"),ne=ut.extend("--ft-typography-title-line-height",Qt.lineHeight,"1.2"),re=ut.extend("--ft-typography-title-text-transform",Qt.textTransform,"inherit"),se=ut.extend("--ft-typography-title-dense-font-family",Yt),ae=ut.extend("--ft-typography-title-dense-font-size",Qt.fontSize,"14px"),le=ut.extend("--ft-typography-title-dense-font-weight",Qt.fontWeight,"normal"),he=ut.extend("--ft-typography-title-dense-letter-spacing",Qt.letterSpacing,"0.105px"),ce=ut.extend("--ft-typography-title-dense-line-height",Qt.lineHeight,"1.7"),pe=ut.extend("--ft-typography-title-dense-text-transform",Qt.textTransform,"inherit"),de=ut.extend("--ft-typography-subtitle1-font-family",Gt),fe=ut.extend("--ft-typography-subtitle1-font-size",Qt.fontSize,"16px"),ue=ut.extend("--ft-typography-subtitle1-font-weight",Qt.fontWeight,"600"),ve=ut.extend("--ft-typography-subtitle1-letter-spacing",Qt.letterSpacing,"0.144px"),ye=ut.extend("--ft-typography-subtitle1-line-height",Qt.lineHeight,"1.5"),be=ut.extend("--ft-typography-subtitle1-text-transform",Qt.textTransform,"inherit"),xe=ut.extend("--ft-typography-subtitle2-font-family",Gt),ge=ut.extend("--ft-typography-subtitle2-font-size",Qt.fontSize,"14px"),me=ut.extend("--ft-typography-subtitle2-font-weight",Qt.fontWeight,"normal"),we=ut.extend("--ft-typography-subtitle2-letter-spacing",Qt.letterSpacing,"0.098px"),$e=ut.extend("--ft-typography-subtitle2-line-height",Qt.lineHeight,"1.7"),Oe=ut.extend("--ft-typography-subtitle2-text-transform",Qt.textTransform,"inherit"),Se=ut.extend("--ft-typography-body1-font-family",Gt),ke=ut.extend("--ft-typography-body1-font-size",Qt.fontSize,"16px"),Ne=ut.extend("--ft-typography-body1-font-weight",Qt.fontWeight,"normal"),Ce=ut.extend("--ft-typography-body1-letter-spacing",Qt.letterSpacing,"0.496px"),Ee=ut.extend("--ft-typography-body1-line-height",Qt.lineHeight,"1.5"),Re=ut.extend("--ft-typography-body1-text-transform",Qt.textTransform,"inherit"),ze=ut.extend("--ft-typography-body2-font-family",Gt),Me=ut.extend("--ft-typography-body2-font-size",Qt.fontSize,"14px"),Fe=ut.extend("--ft-typography-body2-font-weight",Qt.fontWeight,"normal"),Ue=ut.extend("--ft-typography-body2-letter-spacing",Qt.letterSpacing,"0.252px"),je=ut.extend("--ft-typography-body2-line-height",Qt.lineHeight,"1.4"),Te=ut.extend("--ft-typography-body2-text-transform",Qt.textTransform,"inherit"),Be=ut.extend("--ft-typography-caption-font-family",Gt),Ae=ut.extend("--ft-typography-caption-font-size",Qt.fontSize,"12px"),Le=ut.extend("--ft-typography-caption-font-weight",Qt.fontWeight,"normal"),Pe=ut.extend("--ft-typography-caption-letter-spacing",Qt.letterSpacing,"0.396px"),Ie=ut.extend("--ft-typography-caption-line-height",Qt.lineHeight,"1.33"),_e=ut.extend("--ft-typography-caption-text-transform",Qt.textTransform,"inherit"),De=ut.extend("--ft-typography-breadcrumb-font-family",Gt),We=ut.extend("--ft-typography-breadcrumb-font-size",Qt.fontSize,"10px"),He=ut.extend("--ft-typography-breadcrumb-font-weight",Qt.fontWeight,"normal"),Ke=ut.extend("--ft-typography-breadcrumb-letter-spacing",Qt.letterSpacing,"0.33px"),Ze=ut.extend("--ft-typography-breadcrumb-line-height",Qt.lineHeight,"1.6"),Ve=ut.extend("--ft-typography-breadcrumb-text-transform",Qt.textTransform,"inherit"),Je=ut.extend("--ft-typography-overline-font-family",Gt),Xe=ut.extend("--ft-typography-overline-font-size",Qt.fontSize,"10px"),qe=ut.extend("--ft-typography-overline-font-weight",Qt.fontWeight,"normal"),Ye=ut.extend("--ft-typography-overline-letter-spacing",Qt.letterSpacing,"1.5px"),Ge=ut.extend("--ft-typography-overline-line-height",Qt.lineHeight,"1.6"),Qe=ut.extend("--ft-typography-overline-text-transform",Qt.textTransform,"uppercase"),ti={fontFamily:ut.extend("--ft-typography-button-font-family",Gt),fontSize:ut.extend("--ft-typography-button-font-size",Qt.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-button-font-weight",Qt.fontWeight,"600"),letterSpacing:ut.extend("--ft-typography-button-letter-spacing",Qt.letterSpacing,"1.246px"),lineHeight:ut.extend("--ft-typography-button-line-height",Qt.lineHeight,"1.15"),textTransform:ut.extend("--ft-typography-button-text-transform",Qt.textTransform,"uppercase")},ei=b`
105
105
  .ft-typography--title {
106
106
  font-family: ${te};
107
107
  font-size: ${ee};
@@ -163,12 +163,12 @@ const Ht=Symbol.for(""),Kt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void
163
163
  font-weight: ${Le};
164
164
  letter-spacing: ${Pe};
165
165
  line-height: ${Ie};
166
- text-transform: ${We};
166
+ text-transform: ${_e};
167
167
  }
168
168
  `,li=b`
169
169
  .ft-typography--breadcrumb {
170
- font-family: ${_e};
171
- font-size: ${De};
170
+ font-family: ${De};
171
+ font-size: ${We};
172
172
  font-weight: ${He};
173
173
  letter-spacing: ${Ke};
174
174
  line-height: ${Ze};
@@ -203,7 +203,7 @@ const Ht=Symbol.for(""),Kt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void
203
203
  .ft-typography {
204
204
  vertical-align: inherit;
205
205
  }
206
- `],qt([o()],pi.prototype,"element",void 0),qt([o()],pi.prototype,"variant",void 0),h("ft-typography")(pi);var di=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 fi=ut.extend("--ft-reader-internal-link-outline-color",yt.colorPrimary);class ui extends Dt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=Pt({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return Z`
206
+ `],qt([o()],pi.prototype,"element",void 0),qt([o()],pi.prototype,"variant",void 0),h("ft-typography")(pi);var di=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 fi=ut.extend("--ft-reader-internal-link-outline-color",yt.colorPrimary);class ui extends Wt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=Pt({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return Z`
207
207
  <a class=${e}
208
208
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
209
209
  @click=${t=>this.onClick(t)}>
@@ -224,12 +224,12 @@ const Ht=Symbol.for(""),Kt=t=>{if((null==t?void 0:t.r)===Ht)return null==t?void
224
224
  * Copyright 2017 Google LLC
225
225
  * SPDX-License-Identifier: BSD-3-Clause
226
226
  */
227
- class vi extends zt{constructor(t){if(super(t),this.it=J,t.type!==Et)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)return this._t=void 0,this.it=t;if(t===V)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}vi.directiveName="unsafeHTML",vi.resultType=1;const yi=Rt(vi);var bi,xi;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(bi||(bi={})),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;"}(xi||(xi={})),new Map([...["abw"].map((t=>[t,xi.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,xi.AUDIO])),...["avi"].map((t=>[t,xi.AVI])),...["chm","xhs"].map((t=>[t,xi.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,xi.CODE])),...["csv"].map((t=>[t,xi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xi.DITA])),...["epub"].map((t=>[t,xi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xi.EXCEL])),...["flac"].map((t=>[t,xi.FLAC])),...["gif"].map((t=>[t,xi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xi.GZIP])),...["html","htm","xhtml"].map((t=>[t,xi.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,xi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xi.JPEG])),...["json"].map((t=>[t,xi.JSON])),...["m4a","m4p"].map((t=>[t,xi.M4A])),...["mov","qt"].map((t=>[t,xi.MOV])),...["mp3"].map((t=>[t,xi.MP3])),...["mp4","m4v"].map((t=>[t,xi.MP4])),...["ogg","oga"].map((t=>[t,xi.OGG])),...["pdf","ps"].map((t=>[t,xi.PDF])),...["png"].map((t=>[t,xi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xi.POWERPOINT])),...["rar"].map((t=>[t,xi.RAR])),...["stp"].map((t=>[t,xi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xi.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,xi.VIDEO])),...["wav"].map((t=>[t,xi.WAV])),...["wma"].map((t=>[t,xi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xi.WORD])),...["xml","xsl","rdf"].map((t=>[t,xi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xi.YAML])),...["zip"].map((t=>[t,xi.ZIP]))]);var gi,mi=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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gi||(gi={}));const wi={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")};class $i extends xt{constructor(){super(...arguments),this.variant=gi.fluid_topics,this.resolvedIcon=J}render(){return Z`
227
+ class vi extends zt{constructor(t){if(super(t),this.it=J,t.type!==Et)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)return this._t=void 0,this.it=t;if(t===V)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}vi.directiveName="unsafeHTML",vi.resultType=1;const yi=Rt(vi);var bi,xi;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(bi||(bi={})),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;"}(xi||(xi={})),new Map([...["abw"].map((t=>[t,xi.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,xi.AUDIO])),...["avi"].map((t=>[t,xi.AVI])),...["chm","xhs"].map((t=>[t,xi.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,xi.CODE])),...["csv"].map((t=>[t,xi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xi.DITA])),...["epub"].map((t=>[t,xi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xi.EXCEL])),...["flac"].map((t=>[t,xi.FLAC])),...["gif"].map((t=>[t,xi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xi.GZIP])),...["html","htm","xhtml"].map((t=>[t,xi.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,xi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xi.JPEG])),...["json"].map((t=>[t,xi.JSON])),...["m4a","m4p"].map((t=>[t,xi.M4A])),...["mov","qt"].map((t=>[t,xi.MOV])),...["mp3"].map((t=>[t,xi.MP3])),...["mp4","m4v"].map((t=>[t,xi.MP4])),...["ogg","oga"].map((t=>[t,xi.OGG])),...["pdf","ps"].map((t=>[t,xi.PDF])),...["png"].map((t=>[t,xi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xi.POWERPOINT])),...["rar"].map((t=>[t,xi.RAR])),...["stp"].map((t=>[t,xi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xi.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,xi.VIDEO])),...["wav"].map((t=>[t,xi.WAV])),...["wma"].map((t=>[t,xi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xi.WORD])),...["xml","xsl","rdf"].map((t=>[t,xi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xi.YAML])),...["zip"].map((t=>[t,xi.ZIP]))]);var gi,mi=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};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gi||(gi={}));const wi={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")};class $i extends xt{constructor(){super(...arguments),this.variant=gi.fluid_topics,this.resolvedIcon=J}render(){const t="material"!==this.variant||this.value;return Z`
228
228
  <i class="ft-icon ${"ft-icon--"+this.variant}">
229
229
  ${yi(this.resolvedIcon)}
230
- <slot ?hidden=${"material"!==this.variant}></slot>
230
+ <slot ?hidden=${t}></slot>
231
231
  </i>
232
- `}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 gi.file_format:this.resolvedIcon=null!==(t=xi[i.toUpperCase()])&&void 0!==t?t:i;break;case gi.fluid_topics:this.resolvedIcon=null!==(e=bi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=J}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}$i.elementDefinitions={},$i.styles=b`
232
+ `}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 gi.file_format:this.resolvedIcon=null!==(t=xi[i.toUpperCase()])&&void 0!==t?t:i;break;case gi.fluid_topics:this.resolvedIcon=null!==(e=bi[i.toUpperCase()])&&void 0!==e?e:i;break;default:this.resolvedIcon=this.value||J}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>{this.resolveIcon()}))}}$i.elementDefinitions={},$i.styles=b`
233
233
  :host {
234
234
  display: inline-block;
235
235
  }
@@ -426,7 +426,7 @@ class vi extends zt{constructor(t){if(super(t),this.it=J,t.type!==Et)throw Error
426
426
  * Copyright 2017 Google LLC
427
427
  * SPDX-License-Identifier: BSD-3-Clause
428
428
  */
429
- 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)],Ii.prototype,"slotNodes",void 0),Ui([s(".ft-tooltip--container")],Ii.prototype,"container",void 0),Ui([s("slot")],Ii.prototype,"target",void 0),Ui([s(".ft-tooltip")],Ii.prototype,"tooltip",void 0),Ui([s(".ft-tooltip--content")],Ii.prototype,"tooltipContent",void 0),Ui([n()],Ii.prototype,"visible",void 0),h("ft-tooltip")(Ii);const Wi={color:ut.extend("--ft-loader-color",yt.colorPrimary),size:ut.create("--ft-loader-size","SIZE","80px")};class _i extends xt{static get styles(){return b`
429
+ 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)],Ii.prototype,"slotNodes",void 0),Ui([s(".ft-tooltip--container")],Ii.prototype,"container",void 0),Ui([s("slot")],Ii.prototype,"target",void 0),Ui([s(".ft-tooltip")],Ii.prototype,"tooltip",void 0),Ui([s(".ft-tooltip--content")],Ii.prototype,"tooltipContent",void 0),Ui([n()],Ii.prototype,"visible",void 0),h("ft-tooltip")(Ii);const _i={color:ut.extend("--ft-loader-color",yt.colorPrimary),size:ut.create("--ft-loader-size","SIZE","80px")};class Di extends xt{static get styles(){return b`
430
430
  :host {
431
431
  line-height: 0;
432
432
  }
@@ -435,8 +435,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
435
435
  display: inline-block;
436
436
  position: relative;
437
437
 
438
- width: ${Wi.size};
439
- height: ${Wi.size};
438
+ width: ${_i.size};
439
+ height: ${_i.size};
440
440
  }
441
441
 
442
442
  .ft-loader div {
@@ -445,7 +445,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
445
445
  width: 25%;
446
446
  height: 25%;
447
447
  border-radius: 50%;
448
- background: ${Wi.color};
448
+ background: ${_i.color};
449
449
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
450
450
  }
451
451
 
@@ -492,7 +492,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
492
492
  transform: translate(0, 0);
493
493
  }
494
494
  100% {
495
- transform: translate(calc(0.35 * ${Wi.size}), 0);
495
+ transform: translate(calc(0.35 * ${_i.size}), 0);
496
496
  }
497
497
  }
498
498
  `}render(){return Z`
@@ -502,7 +502,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
502
502
  <div></div>
503
503
  <div></div>
504
504
  </div>
505
- `}}h("ft-loader")(_i);var Di=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 Hi=ut.extend("--ft-button-color",yt.colorPrimary),Ki={backgroundColor:ut.extend("--ft-button-background-color",yt.colorSurface),borderRadius:ut.extend("--ft-button-border-radius",yt.borderRadiusL),color:Hi,fontSize:ut.extend("--ft-button-font-size",ti.fontSize),iconSize:ut.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ut.extend("--ft-button-ripple-color",Hi),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},Zi=ut.extend("--ft-button-primary-color",ut.extend("--ft-button-color",yt.colorOnPrimary)),Vi={backgroundColor:ut.extend("--ft-button-primary-background-color",ut.extend("--ft-button-background-color",yt.colorPrimary)),color:Zi,rippleColor:ut.extend("--ft-button-primary-ripple-color",Zi)},Ji=ut.extend("--ft-button-dense-border-radius",ut.extend("--ft-button-border-radius",yt.borderRadiusM));class Xi extends xt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=gi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[gt,b`
505
+ `}}h("ft-loader")(Di);var Wi=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 Hi=ut.extend("--ft-button-color",yt.colorPrimary),Ki={backgroundColor:ut.extend("--ft-button-background-color",yt.colorSurface),borderRadius:ut.extend("--ft-button-border-radius",yt.borderRadiusL),color:Hi,fontSize:ut.extend("--ft-button-font-size",ti.fontSize),iconSize:ut.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ut.extend("--ft-button-ripple-color",Hi),opacityDisabled:ut.external(yt.colorOpacityDisabled,"Design system")},Zi=ut.extend("--ft-button-primary-color",ut.extend("--ft-button-color",yt.colorOnPrimary)),Vi={backgroundColor:ut.extend("--ft-button-primary-background-color",ut.extend("--ft-button-background-color",yt.colorPrimary)),color:Zi,rippleColor:ut.extend("--ft-button-primary-ripple-color",Zi)},Ji=ut.extend("--ft-button-dense-border-radius",ut.extend("--ft-button-border-radius",yt.borderRadiusM));class Xi extends xt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=gi.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[gt,b`
506
506
  :host {
507
507
  display: inline-block;
508
508
  max-width: 100%;
@@ -632,8 +632,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
632
632
  }
633
633
 
634
634
  ft-loader {
635
- ${vt(Wi.size,Ki.iconSize)};
636
- ${vt(Wi.color,"var(--ft-button-internal-color)")};
635
+ ${vt(_i.size,Ki.iconSize)};
636
+ ${vt(_i.color,"var(--ft-button-internal-color)")};
637
637
  }
638
638
  `]}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-button--safari-fix":Nt,"ft-no-text-select":!0};return this.addTooltipIfNeeded(Z`
639
639
  <button part="button"
@@ -657,7 +657,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
657
657
  </ft-tooltip>
658
658
  `}resolveIcon(){return this.loading?Z`
659
659
  <ft-loader></ft-loader> `:this.icon?Z`
660
- <ft-icon .variant=${this.iconVariant} value=${this.icon}></ft-icon> `:J}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}}Xi.elementDefinitions={"ft-ripple":Fi,"ft-tooltip":Ii,"ft-typography":pi,"ft-icon":$i,"ft-loader":_i},Di([o({type:Boolean})],Xi.prototype,"primary",void 0),Di([o({type:Boolean})],Xi.prototype,"outlined",void 0),Di([o({type:Boolean})],Xi.prototype,"disabled",void 0),Di([o({type:Boolean})],Xi.prototype,"dense",void 0),Di([o({type:Boolean})],Xi.prototype,"round",void 0),Di([o({type:String})],Xi.prototype,"label",void 0),Di([o({type:String})],Xi.prototype,"icon",void 0),Di([o({type:String})],Xi.prototype,"iconVariant",void 0),Di([o({type:Boolean})],Xi.prototype,"trailingIcon",void 0),Di([o({type:Boolean})],Xi.prototype,"loading",void 0),Di([o({type:String})],Xi.prototype,"tooltipPosition",void 0),Di([o({type:Boolean})],Xi.prototype,"hideTooltip",void 0),Di([s(".ft-button")],Xi.prototype,"button",void 0),Di([s(".ft-button--label slot")],Xi.prototype,"slottedContent",void 0),h("ft-button")(Xi);var qi,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};!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(qi||(qi={}));class Gi extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Qi extends xt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=qi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return Z`
660
+ <ft-icon variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:J}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}}Xi.elementDefinitions={"ft-ripple":Fi,"ft-tooltip":Ii,"ft-typography":pi,"ft-icon":$i,"ft-loader":Di},Wi([o({type:Boolean})],Xi.prototype,"primary",void 0),Wi([o({type:Boolean})],Xi.prototype,"outlined",void 0),Wi([o({type:Boolean})],Xi.prototype,"disabled",void 0),Wi([o({type:Boolean})],Xi.prototype,"dense",void 0),Wi([o({type:Boolean})],Xi.prototype,"round",void 0),Wi([o({type:String})],Xi.prototype,"label",void 0),Wi([o({type:String})],Xi.prototype,"icon",void 0),Wi([o({type:String})],Xi.prototype,"iconVariant",void 0),Wi([o({type:Boolean})],Xi.prototype,"trailingIcon",void 0),Wi([o({type:Boolean})],Xi.prototype,"loading",void 0),Wi([o({type:String})],Xi.prototype,"tooltipPosition",void 0),Wi([o({type:Boolean})],Xi.prototype,"hideTooltip",void 0),Wi([s(".ft-button")],Xi.prototype,"button",void 0),Wi([s(".ft-button--label slot")],Xi.prototype,"slottedContent",void 0),h("ft-button")(Xi);var qi,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};!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(qi||(qi={}));class Gi extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Qi extends xt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=qi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return Z`
661
661
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
662
662
  <div class="ft-size-watcher--watcher"></div>
663
663
  </div>
@@ -680,23 +680,23 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
680
680
  .ft-size-watcher--local .ft-size-watcher--watcher {
681
681
  width: 100%;
682
682
  }
683
- `,Yi([o({type:Number})],Qi.prototype,"debounceTimeout",void 0),Yi([o({type:Boolean})],Qi.prototype,"local",void 0),Yi([o({type:Number,reflect:!0})],Qi.prototype,"size",void 0),Yi([o({type:String,reflect:!0})],Qi.prototype,"category",void 0),Yi([s(".ft-size-watcher--watcher")],Qi.prototype,"watcher",void 0),h("ft-size-watcher")(Qi);var to=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 eo={expand:"Expand {0}",collapse:"Collapse {0}"},io={tabulationSize:ut.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:ut.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:ut.extend("--ft-reader-toc-text-color",yt.colorOnSurface),highlightedTextColor:ut.extend("--ft-reader-toc-highlighted-text-color",yt.colorPrimary),highlightedFontWeight:ut.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:ut.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontFamily:ut.create("--ft-reader-toc-icon-font-family","UNKNOWN","ft-icons"),iconFontSize:ut.create("--ft-reader-toc-icon-font-size","SIZE","16px")};class oo extends Dt{constructor(){super(...arguments),this.expanded=!1,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.autoCollapse=!1,this.labels={},this.labelResolver=new mt(eo,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.viewportSize=qi.M}update(t){var e,i;super.update(t),t.has("labels")&&(this.labelResolver=new mt(eo,this.labels)),!this.expanded&&["splitToc","visibleTopics","currentPage","toc"].some((e=>t.has(e)))&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(this.splitToc?[null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId]:null!==(i=this.visibleTopics)&&void 0!==i?i:[]))}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===qi.S,"ft-reader-toc-desktop":this.viewportSize!==qi.S};return Z`
683
+ `,Yi([o({type:Number})],Qi.prototype,"debounceTimeout",void 0),Yi([o({type:Boolean})],Qi.prototype,"local",void 0),Yi([o({type:Number,reflect:!0})],Qi.prototype,"size",void 0),Yi([o({type:String,reflect:!0})],Qi.prototype,"category",void 0),Yi([s(".ft-size-watcher--watcher")],Qi.prototype,"watcher",void 0),h("ft-size-watcher")(Qi);var to=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 eo={expand:"Expand {0}",collapse:"Collapse {0}"},io={tabulationSize:ut.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:ut.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:ut.extend("--ft-reader-toc-text-color",yt.colorOnSurface),highlightedTextColor:ut.extend("--ft-reader-toc-highlighted-text-color",yt.colorPrimary),highlightedFontWeight:ut.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:ut.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:ut.create("--ft-reader-toc-icon-font-size","SIZE","16px")};class oo extends Wt{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=gi.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.autoCollapse=!1,this.labels={},this.labelResolver=new mt(eo,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.viewportSize=qi.M}update(t){var e,i;super.update(t),t.has("labels")&&(this.labelResolver=new mt(eo,this.labels)),!this.expanded&&["splitToc","visibleTopics","currentPage","toc"].some((e=>t.has(e)))&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(this.splitToc?[null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId]:null!==(i=this.visibleTopics)&&void 0!==i?i:[]))}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===qi.S,"ft-reader-toc-desktop":this.viewportSize!==qi.S};return Z`
684
684
  <div class=${Pt(e)}>
685
685
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
686
686
  ${Lt(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
687
687
  </div>
688
- `}renderNode(t){var e,i;const o=this.splitToc&&null!=t.page&&!t.page.onItsOwn,n=this.splitToc?(null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId)===t.tocId:null===(i=this.visibleTopics)||void 0===i?void 0:i.includes(t.tocId),r=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||this.automaticallyExpandedNodes.has(t.tocId)&&!this.manuallyCollapsedNodes.has(t.tocId),s=!o&&t.children.length>0,a={"padding-left":`calc( ${io.tabulationSize} * ${t.depth-1} + 4px)`};return Z`
688
+ `}renderNode(t){var e,i;const o=this.splitToc&&null!=t.page&&!t.page.onItsOwn,n=this.splitToc?(null===(e=this.currentPage)||void 0===e?void 0:e.rootTocId)===t.tocId:null===(i=this.visibleTopics)||void 0===i?void 0:i.includes(t.tocId),r=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||this.automaticallyExpandedNodes.has(t.tocId)&&!this.manuallyCollapsedNodes.has(t.tocId),s=!o&&t.children.length>0,a=s&&!this.expanded,l={"padding-left":`calc( ${io.tabulationSize} * ${t.depth-1} + 4px)`};return Z`
689
689
  <div class="ft-reader-toc--node ${n?"ft-reader-toc--node-highlighted":""}">
690
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${It(a)}>
690
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${It(l)}>
691
691
  <div class="ft-reader-toc--toggle-container">
692
- ${s?Z`
692
+ ${a?Z`
693
693
  <ft-button round hideTooltip
694
694
  ?dense=${this.viewportSize!==qi.S}
695
695
  label="${this.labelResolver.resolve(r?"collapse":"expand",t.title)}"
696
- iconVariant="${gi.fluid_topics}"
696
+ iconVariant="${this.iconVariant}"
697
697
  icon="${r?this.collapseIcon:this.expandIcon}"
698
698
  @click=${()=>this.manuallyToggle(t.tocId,r)}
699
- data-expand-node=${t.tocId}
699
+ data-expand-node="${t.tocId}"
700
700
  >
701
701
  </ft-button>
702
702
  `:J}
@@ -742,8 +742,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
742
742
  }
743
743
 
744
744
  ft-button {
745
- ${vt(wi.fluidTopicsFontFamily,io.iconFontFamily)};
746
745
  ${vt(Ki.iconSize,io.iconFontSize)};
747
746
  ${vt(Ki.backgroundColor,"transparent")};
748
747
  }
749
- `,to([o({type:Boolean})],oo.prototype,"expanded",void 0),to([o()],oo.prototype,"collapseIcon",void 0),to([o()],oo.prototype,"expandIcon",void 0),to([o({type:Boolean})],oo.prototype,"autoCollapse",void 0),to([c({})],oo.prototype,"labels",void 0),to([wt()],oo.prototype,"toc",void 0),to([wt((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.shouldSplitCurrentPageToc}))],oo.prototype,"splitToc",void 0),to([wt()],oo.prototype,"currentPage",void 0),to([wt()],oo.prototype,"visibleTopics",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"automaticallyExpandedNodes",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"manuallyExpandedNodes",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"manuallyCollapsedNodes",void 0),to([n()],oo.prototype,"viewportSize",void 0),h("ft-reader-toc")(oo),t.DEFAULT_LABELS=eo,t.FtReaderToc=oo,t.FtReaderTocCssVariables=io,Object.defineProperty(t,"i",{value:!0})}({});
748
+ `,to([o({type:Boolean})],oo.prototype,"expanded",void 0),to([o()],oo.prototype,"iconVariant",void 0),to([o()],oo.prototype,"collapseIcon",void 0),to([o()],oo.prototype,"expandIcon",void 0),to([o({type:Boolean})],oo.prototype,"autoCollapse",void 0),to([c({})],oo.prototype,"labels",void 0),to([wt()],oo.prototype,"toc",void 0),to([wt((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.shouldSplitCurrentPageToc}))],oo.prototype,"splitToc",void 0),to([wt()],oo.prototype,"currentPage",void 0),to([wt()],oo.prototype,"visibleTopics",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"automaticallyExpandedNodes",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"manuallyExpandedNodes",void 0),to([n({hasChanged:(t,e)=>!p(t,e)})],oo.prototype,"manuallyCollapsedNodes",void 0),to([n()],oo.prototype,"viewportSize",void 0),h("ft-reader-toc")(oo),t.DEFAULT_LABELS=eo,t.FtReaderToc=oo,t.FtReaderTocCssVariables=io,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.11",
23
- "@fluid-topics/ft-reader-context": "0.3.11",
24
- "@fluid-topics/ft-size-watcher": "0.3.11",
25
- "@fluid-topics/ft-typography": "0.3.11",
26
- "@fluid-topics/ft-wc-utils": "0.3.11",
22
+ "@fluid-topics/ft-icon": "0.3.12",
23
+ "@fluid-topics/ft-reader-context": "0.3.12",
24
+ "@fluid-topics/ft-size-watcher": "0.3.12",
25
+ "@fluid-topics/ft-typography": "0.3.12",
26
+ "@fluid-topics/ft-wc-utils": "0.3.12",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "35c790329a8e7f9902aad2ea8d41386e5c0b36c9"
29
+ "gitHead": "126fc60c5ec4b89c3897901d1a92ee9b17286686"
30
30
  }