@fluid-topics/ft-reader-toc 1.0.59 → 1.0.60

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,136 +1,143 @@
1
- !function(t,e,i,o,n,s,r,l){var a;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(a||(a={}));var h=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const d=Symbol("registerInterval");class f extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[d]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[d]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=d,h([r.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}
1
+ !function(t,o,e,r,i,a,n,l){var c;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(c||(c={}));var s=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const f=Symbol("registerInterval");class d extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[f]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[f]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=f,s([n.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */var c;const u=window,x=u.trustedTypes,g=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,v="$lit$",y=`lit$${(Math.random()+"").slice(9)}$`,b="?"+y,m=`<${b}>`,$=document,w=()=>$.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,S="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,I=/>/g,O=RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,E=/"/g,j=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),B=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),M=new WeakMap,F=$.createTreeWalker($,129,null,!1),_=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=C;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,a=r.exec(i),null!==a);)p=r.lastIndex,r===C?"!--"===a[1]?r=N:void 0!==a[1]?r=I:void 0!==a[2]?(j.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=O):void 0!==a[3]&&(r=O):r===O?">"===a[0]?(r=null!=n?n:C,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?O:'"'===a[3]?E:A):r===E||r===A?r=O:r===N||r===I?r=C:(r=O,n=void 0);const d=r===O&&t[e+1].startsWith("/>")?" ":"";s+=r===C?i+m:h>=0?(o.push(l),i.slice(0,h)+v+i.slice(h)+y+d):i+y+(-2===h?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==g?g.createHTML(l):l,o]};class U{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=_(t,e);if(this.el=U.createElement(a,i),F.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=F.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(v)||e.startsWith(y)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+v).split(y),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?D:"?"===e[1]?H:"@"===e[1]?G:W})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(j.test(o.tagName)){const t=o.textContent.split(y),e=t.length-1;if(e>0){o.textContent=x?x.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],w()),F.nextNode(),l.push({type:2,index:++n});o.append(t[e],w())}}}else if(8===o.nodeType)if(o.data===b)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(y,t+1));)l.push({type:7,index:n}),t+=y.length-1}n++}}static createElement(t,e){const i=$.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var n,s,r,l;if(e===B)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=k(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=Z(t,a._$AS(t,e.values),a,o)),e}class P{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:$).importNode(i,!0);F.currentNode=n;let s=F.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new R(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new V(s,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=F.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{constructor(t,e,i,o){var n;this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Z(this,t,e),k(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>z(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==L&&k(this._$AH)?this._$AA.nextSibling.data=t:this.$($.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=U.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new P(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=M.get(t.strings);return void 0===e&&M.set(t.strings,e=new U(t)),e}T(t){z(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 R(this.k(w()),this.k(w()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class W{constructor(t,e,i,o,n){this.type=1,this._$AH=L,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=L}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=Z(this,t,e,0),s=!k(t)||t!==this._$AH&&t!==B,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=Z(this,o[i+r],e,r),l===B&&(l=this._$AH[r]),s||(s=!k(l)||l!==this._$AH[r]),l===L?t=L:t!==L&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class D extends W{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}const K=x?x.emptyScript:"";class H extends W{constructor(){super(...arguments),this.type=4}j(t){t&&t!==L?this.element.setAttribute(this.name,K):this.element.removeAttribute(this.name)}}class G extends W{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=Z(this,t,e,0))&&void 0!==i?i:L)===B)return;const o=this._$AH,n=t===L&&o!==L||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==L&&(o===L||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class V{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const X=u.litHtmlPolyfillSupport;null==X||X(U,R),(null!==(c=u.litHtmlVersions)&&void 0!==c?c:u.litHtmlVersions=[]).push("2.7.3");
6
+ */var h;const g=window,y=g.trustedTypes,u=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,b="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,x="?"+m,O=`<${x}>`,v=document,N=()=>v.createComment(""),S=t=>null===t||"object"!=typeof t&&"function"!=typeof t,C=Array.isArray,$="[ \t\n\f\r]",w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,k=/>/g,R=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,E=/"/g,W=/^(?:script|style|textarea|title)$/i,L=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),z=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,B=v.createTreeWalker(v,129,null,!1),F=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=w;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===w?"!--"===c[1]?n=I:void 0!==c[1]?n=k:void 0!==c[2]?(W.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=R):void 0!==c[3]&&(n=R):n===R?">"===c[0]?(n=null!=i?i:w,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?R:'"'===c[3]?E:U):n===E||n===U?n=R:n===I||n===k?n=w:(n=R,i=void 0);const f=n===R&&t[o+1].startsWith("/>")?" ":"";a+=n===w?e+O:s>=0?(r.push(l),e.slice(0,s)+b+e.slice(s)+m+f):e+m+(-2===s?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==u?u.createHTML(l):l,r]};class A{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,s]=F(t,o);if(this.el=A.createElement(c,e),B.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=B.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(b)||o.startsWith(m)){const e=s[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+b).split(m),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?P:"?"===o[1]?M:"@"===o[1]?_:j})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(W.test(r.tagName)){const t=r.textContent.split(m),o=t.length-1;if(o>0){r.textContent=y?y.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],N()),B.nextNode(),l.push({type:2,index:++i});r.append(t[o],N())}}}else if(8===r.nodeType)if(r.data===x)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(m,t+1));)l.push({type:7,index:i}),t+=m.length-1}i++}}static createElement(t,o){const e=v.createElement("template");return e.innerHTML=t,e}}function D(t,o,e=t,r){var i,a,n,l;if(o===z)return o;let c=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const s=S(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=D(t,c._$AS(t,o.values),c,r)),o}class H{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:v).importNode(e,!0);B.currentNode=i;let a=B.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new G(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new Y(a,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(a=B.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class G{constructor(t,o,e,r){var i;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=D(this,t,o),S(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>C(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&S(this._$AH)?this._$AA.nextSibling.data=t:this.$(v.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=A.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new H(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Z.get(t.strings);return void 0===o&&Z.set(t.strings,o=new A(t)),o}T(t){C(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new G(this.k(N()),this.k(N()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class j{constructor(t,o,e,r,i){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=D(this,t,o,0),a=!S(t)||t!==this._$AH&&t!==z,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=D(this,r[e+n],o,n),l===z&&(l=this._$AH[n]),a||(a=!S(l)||l!==this._$AH[n]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class P extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===K?void 0:t}}const T=y?y.emptyScript:"";class M extends j{constructor(){super(...arguments),this.type=4}j(t){t&&t!==K?this.element.setAttribute(this.name,T):this.element.removeAttribute(this.name)}}class _ extends j{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=D(this,t,o,0))&&void 0!==e?e:K)===z)return;const r=this._$AH,i=t===K&&r!==K||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==K&&(r===K||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Y{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const V=g.litHtmlPolyfillSupport;null==V||V(A,G),(null!==(h=g.litHtmlVersions)&&void 0!==h?h:g.litHtmlVersions=[]).push("2.7.3");
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2020 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t._$litStatic$},J=t=>({_$litStatic$:t,r:q}),Q=new Map,tt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=Y(s));)a+=n+e[++h],p=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=Q.get(t))&&(r.raw=r,Q.set(t,e=r)),i=l}return t(e,...i)})(T);var et;!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"}(et||(et={}));const it=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),nt={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},st=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",it),rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",nt.fontSize,"20px"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",nt.fontWeight,"normal"),at=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",nt.letterSpacing,"0.15px"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",nt.lineHeight,"1.2"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",nt.textTransform,"inherit"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",it),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",nt.fontSize,"14px"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",nt.fontWeight,"normal"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",nt.letterSpacing,"0.105px"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",nt.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",nt.textTransform,"inherit"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",ot),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",nt.fontSize,"16px"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",nt.fontWeight,"600"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",nt.letterSpacing,"0.144px"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",nt.lineHeight,"1.5"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",nt.textTransform,"inherit"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",ot),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",nt.fontSize,"14px"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",nt.fontWeight,"normal"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",nt.letterSpacing,"0.098px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",nt.lineHeight,"1.7"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",nt.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",ot),At=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",nt.fontSize,"16px"),Et=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",nt.fontWeight,"normal"),jt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",nt.letterSpacing,"0.496px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",nt.lineHeight,"1.5"),Bt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",nt.textTransform,"inherit"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",ot),Mt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",nt.fontSize,"14px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",nt.fontWeight,"normal"),_t=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",nt.letterSpacing,"0.252px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",nt.lineHeight,"1.4"),Zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",nt.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",nt.fontSize,"12px"),Wt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",nt.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",nt.letterSpacing,"0.396px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",nt.lineHeight,"1.33"),Ht=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",nt.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",ot),Vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",nt.fontSize,"10px"),Xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",nt.fontWeight,"normal"),qt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",nt.letterSpacing,"0.33px"),Yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",nt.lineHeight,"1.6"),Jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",nt.textTransform,"inherit"),Qt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",ot),te=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",nt.fontSize,"10px"),ee=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",nt.fontWeight,"normal"),ie=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",nt.letterSpacing,"1.5px"),oe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",nt.lineHeight,"1.6"),ne=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",nt.textTransform,"uppercase"),se={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",nt.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",nt.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",nt.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",nt.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",nt.textTransform,"uppercase")},re=i.css`
12
+ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},J=t=>({_$litStatic$:t,r:X}),Q=new Map,tt=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(a=e[s],i=q(a));)c+=i+o[++s],p=!0;s!==r&&l.push(a),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Q.get(t))&&(n.raw=n,Q.set(t,o=n)),e=l}return t(o,...e)})(L);var ot;!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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(ot||(ot={}));const et=t=>"string"==typeof t?e.unsafeCSS(t):t;class rt{static create(t,o,r,i){const a=t=>et(null!=t?t:i),n=e.css`var(${et(t)}, ${a(i)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${et(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${et(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${et(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):et(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${et(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${et(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const it={colorWhite:rt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:rt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:rt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:rt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:rt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:rt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:rt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:rt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:rt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:rt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:rt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:rt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:rt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:rt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:rt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:rt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:rt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:rt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:rt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:rt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:rt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:rt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:rt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:rt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:rt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:rt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:rt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:rt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:rt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:rt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:rt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:rt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:rt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:rt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:rt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:rt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:rt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:rt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:rt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:rt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:rt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:rt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:rt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:rt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:rt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:rt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:rt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:rt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:rt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:rt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:rt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:rt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:rt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:rt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:rt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:rt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:rt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:rt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:rt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:rt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:rt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:rt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:rt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:rt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:rt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:rt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:rt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:rt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:rt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:rt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:rt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:rt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:rt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:rt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:rt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:rt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:rt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:rt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:rt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:rt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:rt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:rt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:rt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:rt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:rt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:rt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:rt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:rt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:rt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:rt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:rt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:rt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:rt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:rt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:rt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:rt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:rt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:rt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:rt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:rt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:rt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:rt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:rt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:rt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:rt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:rt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:rt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:rt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:rt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:rt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:rt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:rt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:rt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:rt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:rt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:rt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:rt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:rt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:rt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:rt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:rt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:rt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:rt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:rt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:rt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:rt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:rt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:rt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:rt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:rt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:rt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:rt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:rt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:rt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:rt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:rt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:rt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:rt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:rt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:rt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:rt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:rt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:rt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:rt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:rt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:rt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:rt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:rt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:rt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:rt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:rt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:rt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:rt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:rt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:rt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:rt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:rt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:rt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:rt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:rt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:rt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:rt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:rt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:rt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:rt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:rt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:rt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:rt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:rt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:rt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:rt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:rt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:rt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:rt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:rt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:rt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:rt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:rt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:rt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:rt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:rt.create("--ft-opacity-0","","NUMBER","0"),opacity8:rt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:rt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:rt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:rt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:rt.create("--ft-opacity-80","","NUMBER","0.8")},at={display:{fontFamily:rt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:rt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:rt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:rt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:rt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:rt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:rt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:rt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:rt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:rt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:rt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:rt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:rt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:rt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:rt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:rt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:rt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:rt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:rt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:rt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:rt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:rt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:rt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:rt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:rt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:rt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:rt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:rt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:rt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:rt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:rt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:rt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:rt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:rt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:rt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:rt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:rt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:rt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:rt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:rt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:rt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:rt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:rt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:rt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:rt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:rt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:rt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:rt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:rt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:rt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},nt={backgroundActionPrimary:rt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",it.colorBrand0),backgroundErrorPrimary:rt.extend("--ft-background-error-primary","Used as background of error components.",it.colorRed0),backgroundErrorSubtle:rt.extend("--ft-background-error-subtle","Used as background of subtle error components.",it.colorRed10),backgroundInfoPrimary:rt.extend("--ft-background-info-primary","Used as background of information components.",it.colorCyan200),backgroundInfoSubtle:rt.extend("--ft-background-info-subtle","Used as background of subtle information components.",it.colorCyan10),backgroundWarningPrimary:rt.extend("--ft-background-warning-primary","Used as background of warning components.",it.colorOrange300),backgroundWarningSubtle:rt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",it.colorOrange10),backgroundSuccessPrimary:rt.extend("--ft-background-success-primary","Used as background of success components.",it.colorGreen200),backgroundSuccessSubtle:rt.extend("--ft-background-success-subtle","Used as background of subtle success components.",it.colorGreen10),backgroundGlobalSurface:rt.extend("--ft-background-global-surface","Used as app background.",it.colorWhite),backgroundGlobalOnSurface:rt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",it.colorGray10),backgroundGlobalOnSurfaceDark:rt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",it.colorGray30),contentActionPrimary:rt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",it.colorBrand0),contentWarningPrimary:rt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",it.colorOrange300),contentWarningIconOnly:rt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",it.colorOrange0),contentErrorPrimary:rt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",it.colorRed0),contentErrorIconOnly:rt.extend("--ft-content-error-icon-only","Used on error status icons alone",it.colorRed0),contentInfoPrimary:rt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",it.colorCyan200),contentInfoIconOnly:rt.extend("--ft-content-info-icon-only","Used on info status icons alone",it.colorCyan0),contentSuccessIconOnly:rt.extend("--ft-content-success-icon-only","Used on success status icons alone",it.colorGreen0),contentSuccessPrimary:rt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",it.colorGreen200),contentGlobalPrimary:rt.extend("--ft-content-global-primary","Used for main content on the page.",it.colorGray500),contentGlobalSecondary:rt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",it.colorGray200),contentGlobalSubtle:rt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",it.colorGray0),contentGlobalOnColor:rt.extend("--ft-content-global-on-color","Used for content on a dominant color.",it.colorWhite),borderActionPrimary:rt.extend("--ft-border-action-primary","Used as border for primary action components.",it.colorBrand0),borderActionFocusRing:rt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",it.colorCyan0),borderWarningPrimary:rt.extend("--ft-border-warning-primary","Used as border for warning components.",it.colorOrange30),borderSuccessPrimary:rt.extend("--ft-border-success-primary","Used as border for success components.",it.colorGreen30),borderErrorPrimary:rt.extend("--ft-border-error-primary","Used as border for error components.",it.colorRed30),borderInfoPrimary:rt.extend("--ft-border-info-primary","Used as border for information components.",it.colorCyan30),borderGlobalSubtle:rt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",it.colorGray30),borderGlobalPrimary:rt.extend("--ft-border-global-primary","Used as border for element like input.",it.colorGray50),borderInputPrimary:rt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",it.colorGray80)},lt={largeHeight:rt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:rt.extend("--ft-button-large-horizontal-padding","",it.spacing4),largeGap:rt.extend("--ft-button-large-gap","",it.spacing2),largeBorderRadius:rt.extend("--ft-button-large-border-radius","",it.borderRadiusS),largeIconSize:rt.extend("--ft-button-large-icon-size","",it.iconSize3),largeBorderWidth:rt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:rt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:rt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:rt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:rt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:rt.extend("--ft-button-small-horizontal-padding","",it.spacing3),smallGap:rt.extend("--ft-button-small-gap","",it.spacing2),smallBorderRadius:rt.extend("--ft-button-small-border-radius","",it.borderRadiusS),smallIconSize:rt.extend("--ft-button-small-icon-size","",it.iconSize2),smallBorderWidth:rt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:rt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:rt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:rt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:rt.extend("--ft-button-primary-background-color","",nt.backgroundActionPrimary),primaryColor:rt.extend("--ft-button-primary-color","",nt.contentGlobalOnColor),primaryIconColor:rt.extend("--ft-button-primary-icon-color","",nt.contentGlobalOnColor),primaryStateLayerColor:rt.extend("--ft-button-primary-state-layer-color","",nt.contentGlobalOnColor),primaryStateLayerOpacityHover:rt.extend("--ft-button-primary-state-layer-opacity-hover","",it.opacity16),primaryStateLayerOpacityFocus:rt.extend("--ft-button-primary-state-layer-opacity-focus","",it.opacity16),primaryStateLayerOpacityActive:rt.extend("--ft-button-primary-state-layer-opacity-active","",it.opacity24),primaryComponentOpacityDisabled:rt.extend("--ft-button-primary-component-opacity-disabled","",it.opacity40),focusFocusRingColor:rt.extend("--ft-button-focus-focus-ring-color","",nt.borderActionFocusRing),tertiaryBackgroundColor:rt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:rt.extend("--ft-button-tertiary-color","",nt.contentActionPrimary),tertiaryIconColor:rt.extend("--ft-button-tertiary-icon-color","",nt.contentActionPrimary),tertiaryStateLayerColor:rt.extend("--ft-button-tertiary-state-layer-color","",nt.contentActionPrimary),tertiaryStateLayerOpacityHover:rt.extend("--ft-button-tertiary-state-layer-opacity-hover","",it.opacity8),tertiaryStateLayerOpacityFocus:rt.extend("--ft-button-tertiary-state-layer-opacity-focus","",it.opacity8),tertiaryStateLayerOpacityActive:rt.extend("--ft-button-tertiary-state-layer-opacity-active","",it.opacity16),tertiaryComponentOpacityDisabled:rt.extend("--ft-button-tertiary-component-opacity-disabled","",it.opacity40),secondaryBackgroundColor:rt.extend("--ft-button-secondary-background-color","",it.colorWhite),secondaryColor:rt.extend("--ft-button-secondary-color","",nt.contentActionPrimary),secondaryIconColor:rt.extend("--ft-button-secondary-icon-color","",nt.contentActionPrimary),secondaryStateLayerColor:rt.extend("--ft-button-secondary-state-layer-color","",nt.contentActionPrimary),secondaryStateLayerOpacityHover:rt.extend("--ft-button-secondary-state-layer-opacity-hover","",it.opacity8),secondaryStateLayerOpacityFocus:rt.extend("--ft-button-secondary-state-layer-opacity-focus","",it.opacity8),secondaryStateLayerOpacityActive:rt.extend("--ft-button-secondary-state-layer-opacity-active","",it.opacity16),secondaryComponentOpacityDisabled:rt.extend("--ft-button-secondary-component-opacity-disabled","",it.opacity40),secondaryBorderColor:rt.extend("--ft-button-secondary-border-color","",nt.borderActionPrimary),neutralBackgroundColor:rt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:rt.extend("--ft-button-neutral-icon-color","",nt.contentGlobalSecondary),neutralColor:rt.extend("--ft-button-neutral-color","",nt.contentGlobalSecondary),neutralStateLayerColor:rt.extend("--ft-button-neutral-state-layer-color","",nt.contentGlobalSecondary),neutralStateLayerOpacityHover:rt.extend("--ft-button-neutral-state-layer-opacity-hover","",it.opacity8),neutralStateLayerOpacityFocus:rt.extend("--ft-button-neutral-state-layer-opacity-focus","",it.opacity8),neutralStateLayerOpacityActive:rt.extend("--ft-button-neutral-state-layer-opacity-active","",it.opacity16),neutralComponentOpacityDisabled:rt.extend("--ft-button-neutral-component-opacity-disabled","",it.opacity40)};rt.extend("--ft-tabs-top-left-border-radius","",it.borderRadiusS),rt.extend("--ft-tabs-top-right-border-radius","",it.borderRadiusS),rt.extend("--ft-tabs-label-horizontal-padding","",it.spacing4),rt.extend("--ft-tabs-label-vertical-padding","",it.spacing3),rt.extend("--ft-tabs-label-gap","",it.spacing1),rt.extend("--ft-switch-group-horizontal-padding","",it.spacing1),rt.extend("--ft-switch-group-vertical-padding","",it.spacing1),rt.extend("--ft-switch-group-gap","",it.spacing1),rt.extend("--ft-switch-group-background-color","",nt.backgroundGlobalSurface),rt.extend("--ft-switch-group-border-color","",nt.borderGlobalSubtle),rt.create("--ft-switch-group-border-radius","","SIZE","6px"),rt.extend("--ft-switch-label-horizontal-padding","",it.spacing2),rt.extend("--ft-switch-label-vertical-padding","",it.spacing1),rt.extend("--ft-switch-icon-horizontal-padding","",it.spacing1),rt.extend("--ft-switch-icon-vertical-padding","",it.spacing1),rt.create("--ft-switch-focus-outline-width","","SIZE","2px"),rt.extend("--ft-switch-focus-focus-ring-color","",nt.borderActionFocusRing),rt.extend("--ft-switch-option-border-radius","",it.borderRadiusS),rt.extend("--ft-switch-off-state-layer-opacity-hover","",it.opacity8),rt.extend("--ft-switch-off-state-layer-opacity-focus","",it.opacity8),rt.extend("--ft-switch-off-state-layer-opacity-active","",it.opacity16),rt.extend("--ft-switch-off-component-opacity-disabled","",it.opacity40),rt.extend("--ft-switch-off-color","",nt.contentGlobalSubtle),rt.extend("--ft-switch-off-state-layer-color","",nt.contentGlobalSubtle),rt.extend("--ft-chart-1-light","for area color charts",it.colorBrand40),rt.extend("--ft-chart-1-base","for line charts",it.colorBrand0),rt.extend("--ft-chart-2-light","for area color charts",it.colorYellow60),rt.extend("--ft-chart-2-base","for line charts",it.colorYellow100),rt.extend("--ft-chart-3-light","",it.colorUltramarine40),rt.extend("--ft-chart-3-base","",it.colorUltramarine70),rt.extend("--ft-chart-4-light","",it.colorCyan50),rt.extend("--ft-chart-4-base","",it.colorCyan100),rt.extend("--ft-chart-5-light","",it.colorRed40),rt.extend("--ft-chart-5-base","",it.colorRed60),rt.extend("--ft-chart-6-light","",it.colorGreen40),rt.extend("--ft-chart-6-base","",it.colorGreen70),rt.extend("--ft-chart-7-light","",it.colorOrange70),rt.extend("--ft-chart-7-base","",it.colorOrange100),rt.extend("--ft-chart-8-light","",it.colorAvocado70),rt.extend("--ft-chart-8-base","",it.colorAvocado200),rt.extend("--ft-chart-9-light","",it.colorBrown50),rt.extend("--ft-chart-9-base","",it.colorBrown200),rt.extend("--ft-chart-10-light","",it.colorGray50),rt.extend("--ft-chart-10-base","",it.colorGray80),rt.extend("--ft-chart-monochrome-10","",it.colorBrand10),rt.extend("--ft-chart-monochrome-20","",it.colorBrand20),rt.extend("--ft-chart-monochrome-30","",it.colorBrand40),rt.extend("--ft-chart-monochrome-40","",it.colorBrand60),rt.extend("--ft-chart-monochrome-50","",it.colorBrand0),rt.extend("--ft-chart-monochrome-60","",it.colorBrand200),rt.extend("--ft-chip-large-horizontal-padding","",it.spacing4),rt.extend("--ft-chip-large-vertical-padding","",it.spacing2),rt.extend("--ft-chip-large-gap","",it.spacing1),rt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-large-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-large-border-width","","SIZE","1px"),rt.extend("--ft-chip-large-icon-size","",it.iconSize3),rt.extend("--ft-chip-medium-horizontal-padding","",it.spacing3),rt.extend("--ft-chip-medium-vertical-padding","",it.spacing1),rt.extend("--ft-chip-medium-gap","",it.spacing1),rt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-medium-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-medium-border-width","","SIZE","1px"),rt.extend("--ft-chip-medium-icon-size","",it.iconSize2),rt.extend("--ft-chip-small-horizontal-padding","",it.spacing2),rt.extend("--ft-chip-small-vertical-padding","",it.spacing05),rt.extend("--ft-chip-small-gap","",it.spacing1),rt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),rt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),rt.extend("--ft-chip-small-border-radius","",it.borderRadiusPill),rt.create("--ft-chip-small-border-width","","SIZE","1px"),rt.extend("--ft-chip-small-icon-size","",it.iconSize1),rt.extend("--ft-chip-neutral-background-color","",nt.backgroundGlobalOnSurface),rt.extend("--ft-chip-neutral-color","",nt.contentGlobalPrimary),rt.extend("--ft-chip-neutral-border-color","",nt.borderGlobalSubtle),rt.extend("--ft-chip-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-chip-info-color","",nt.contentInfoPrimary),rt.extend("--ft-chip-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-chip-success-background-color","",nt.backgroundSuccessSubtle),rt.extend("--ft-chip-success-color","",nt.contentSuccessPrimary),rt.extend("--ft-chip-success-border-color","",nt.borderSuccessPrimary),rt.extend("--ft-chip-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-chip-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-chip-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-chip-error-background-color","",nt.backgroundErrorSubtle),rt.extend("--ft-chip-error-color","",nt.contentErrorPrimary),rt.extend("--ft-chip-error-border-color","",nt.borderErrorPrimary),rt.create("--ft-notice-border-width","","SIZE","1px"),rt.extend("--ft-notice-horizontal-padding","",it.spacing2),rt.extend("--ft-notice-vertical-padding","",it.spacing1),rt.extend("--ft-notice-border-radius","",it.borderRadiusS),rt.extend("--ft-notice-gap","",it.spacing2),rt.extend("--ft-notice-icon-size","",it.iconSize3),rt.extend("--ft-notice-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-notice-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-notice-info-color","",nt.contentInfoPrimary),rt.extend("--ft-notice-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-notice-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-notice-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-checkbox-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-checkbox-checked-background-color","",nt.contentActionPrimary),rt.extend("--ft-checkbox-checked-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-checkbox-checked-color","",nt.contentGlobalOnColor),rt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-checkbox-checked-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-checkbox-checked-component-opacity-disabled","",it.opacity40),rt.extend("--ft-checkbox-unchecked-border-color","",it.colorGray80),rt.extend("--ft-checkbox-unchecked-state-layer-color","",it.colorGray80),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",it.opacity40),rt.extend("--ft-checkbox-focus-focus-ring-color","",nt.borderActionFocusRing),rt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),rt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),rt.extend("--ft-checkbox-gap","",it.spacing3),rt.extend("--ft-toggle-off-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-toggle-off-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-toggle-off-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-toggle-off-component-opacity-disabled","",it.opacity40),rt.extend("--ft-toggle-off-background-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-off-icon-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-off-state-layer-color","",nt.contentGlobalSubtle),rt.extend("--ft-toggle-on-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-toggle-on-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-toggle-on-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-toggle-on-component-opacity-disabled","",it.opacity40),rt.extend("--ft-toggle-on-background-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-on-icon-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-on-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-toggle-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-toggle-focus-focus-ring-color","",nt.borderActionFocusRing),rt.extend("--ft-toggle-gap","",it.spacing3),rt.extend("--ft-radio-label-color","",nt.contentGlobalPrimary),rt.extend("--ft-radio-selected-color","",nt.contentActionPrimary),rt.extend("--ft-radio-selected-state-layer-color","",nt.contentActionPrimary),rt.extend("--ft-radio-selected-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-radio-selected-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-radio-selected-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-radio-selected-component-opacity-disabled","",it.opacity40),rt.extend("--ft-radio-unselected-state-layer-color","",it.colorGray80),rt.extend("--ft-radio-unselected-state-layer-opacity-hover","",it.opacity16),rt.extend("--ft-radio-unselected-state-layer-opacity-focus","",it.opacity16),rt.extend("--ft-radio-unselected-state-layer-opacity-active","",it.opacity24),rt.extend("--ft-radio-unselected-component-opacity-disabled","",it.opacity40),rt.extend("--ft-radio-focus-focus-ring-color","",nt.borderActionFocusRing),rt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),rt.create("--ft-radio-focus-outline-width","","SIZE","2px"),rt.extend("--ft-radio-gap","",it.spacing3),rt.extend("--ft-notification-icon-size","",it.iconSize4),rt.extend("--ft-notification-horizontal-padding","",it.spacing4),rt.extend("--ft-notification-vertical-padding","",it.spacing4),rt.extend("--ft-notification-info-background-color","",nt.backgroundInfoSubtle),rt.extend("--ft-notification-info-color","",nt.contentInfoPrimary),rt.extend("--ft-notification-info-border-color","",nt.borderInfoPrimary),rt.extend("--ft-notification-success-background-color","",nt.backgroundSuccessSubtle),rt.extend("--ft-notification-success-color","",nt.contentSuccessPrimary),rt.extend("--ft-notification-success-border-color","",nt.borderSuccessPrimary),rt.extend("--ft-notification-warning-background-color","",nt.backgroundWarningSubtle),rt.extend("--ft-notification-warning-color","",nt.contentWarningPrimary),rt.extend("--ft-notification-warning-border-color","",nt.borderWarningPrimary),rt.extend("--ft-notification-error-background-color","",nt.backgroundErrorSubtle),rt.extend("--ft-notification-error-color","",nt.contentErrorPrimary),rt.extend("--ft-notification-error-border-color","",nt.borderErrorPrimary),rt.extend("--ft-notification-border-radius","",it.borderRadiusPill),rt.create("--ft-notification-border-width","","SIZE","1px"),rt.extend("--ft-notification-gap-leading","",it.spacing2),rt.extend("--ft-notification-gap-trailing","",it.spacing8);const ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),pt={fontFamily:st,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ct),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",pt.fontSize,"20px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",pt.fontWeight,"normal"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",pt.letterSpacing,"0.15px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",pt.lineHeight,"1.2"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",pt.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ct),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",pt.fontSize,"14px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",pt.fontWeight,"normal"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",pt.letterSpacing,"0.105px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",pt.lineHeight,"1.7"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",pt.textTransform,"inherit"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",st),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",pt.fontSize,"16px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",pt.fontWeight,"600"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",pt.letterSpacing,"0.144px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",pt.lineHeight,"1.5"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",pt.textTransform,"inherit"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",st),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",pt.fontSize,"14px"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",pt.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",pt.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",pt.lineHeight,"1.7"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",pt.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",st),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",pt.fontSize,"16px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",pt.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",pt.letterSpacing,"0.496px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",pt.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",pt.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",st),Gt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",pt.fontSize,"14px"),jt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",pt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",pt.letterSpacing,"0.252px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",pt.lineHeight,"1.4"),Mt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",pt.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",st),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",pt.fontSize,"12px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",pt.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",pt.letterSpacing,"0.396px"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",pt.lineHeight,"1.33"),Jt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",pt.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",st),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",pt.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",pt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",pt.letterSpacing,"0.33px"),ro=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",pt.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",pt.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",st),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",pt.fontSize,"10px"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",pt.fontWeight,"normal"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",pt.letterSpacing,"1.5px"),so=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",pt.lineHeight,"1.6"),po=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",pt.textTransform,"uppercase"),fo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",st),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",pt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",pt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",pt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",pt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",pt.textTransform,"uppercase")},ho=e.css`
13
13
  .ft-typography--title {
14
- font-family: ${st};
15
- font-size: ${rt};
16
- font-weight: ${lt};
17
- letter-spacing: ${at};
18
- line-height: ${ht};
19
- text-transform: ${pt};
20
- }
21
- `,le=i.css`
14
+ font-family: ${ft};
15
+ font-size: ${dt};
16
+ font-weight: ${ht};
17
+ letter-spacing: ${gt};
18
+ line-height: ${yt};
19
+ text-transform: ${ut};
20
+ }
21
+ `,go=e.css`
22
22
  .ft-typography--title-dense {
23
- font-family: ${dt};
24
- font-size: ${ft};
25
- font-weight: ${ct};
26
- letter-spacing: ${ut};
27
- line-height: ${xt};
28
- text-transform: ${gt};
29
- }
30
- `,ae=i.css`
23
+ font-family: ${bt};
24
+ font-size: ${mt};
25
+ font-weight: ${xt};
26
+ letter-spacing: ${Ot};
27
+ line-height: ${vt};
28
+ text-transform: ${Nt};
29
+ }
30
+ `,yo=e.css`
31
31
  .ft-typography--subtitle1 {
32
- font-family: ${vt};
33
- font-size: ${yt};
34
- font-weight: ${bt};
35
- letter-spacing: ${mt};
36
- line-height: ${$t};
37
- text-transform: ${wt};
38
- }
39
- `,he=i.css`
32
+ font-family: ${St};
33
+ font-size: ${Ct};
34
+ font-weight: ${$t};
35
+ letter-spacing: ${wt};
36
+ line-height: ${It};
37
+ text-transform: ${kt};
38
+ }
39
+ `,uo=e.css`
40
40
  .ft-typography--subtitle2 {
41
- font-family: ${kt};
42
- font-size: ${zt};
43
- font-weight: ${St};
44
- letter-spacing: ${Ct};
45
- line-height: ${Nt};
46
- text-transform: ${It};
41
+ font-family: ${Rt};
42
+ font-size: ${Ut};
43
+ font-weight: ${Et};
44
+ letter-spacing: ${Wt};
45
+ line-height: ${Lt};
46
+ text-transform: ${zt};
47
47
  }
48
48
 
49
- `,pe=i.css`
49
+ `,bo=e.css`
50
50
  .ft-typography--body1 {
51
- font-family: ${Ot};
52
- font-size: ${At};
53
- font-weight: ${Et};
54
- letter-spacing: ${jt};
51
+ font-family: ${Kt};
52
+ font-size: ${Zt};
53
+ font-weight: ${Bt};
54
+ letter-spacing: ${Ft};
55
+ line-height: ${At};
56
+ text-transform: ${Dt};
57
+ }
58
+ `,mo=e.css`
59
+ .ft-typography--body2 {
60
+ font-family: ${Ht};
61
+ font-size: ${Gt};
62
+ font-weight: ${jt};
63
+ letter-spacing: ${Pt};
55
64
  line-height: ${Tt};
56
- text-transform: ${Bt};
65
+ text-transform: ${Mt};
57
66
  }
58
- `,de=i.css`
59
- .ft-typography--body2 {
60
- font-family: ${Lt};
61
- font-size: ${Mt};
62
- font-weight: ${Ft};
63
- letter-spacing: ${_t};
64
- line-height: ${Ut};
65
- text-transform: ${Zt};
66
- }
67
- `,fe=i.css`
67
+ `,xo=e.css`
68
68
  .ft-typography--caption {
69
- font-family: ${Pt};
70
- font-size: ${Rt};
71
- font-weight: ${Wt};
72
- letter-spacing: ${Dt};
73
- line-height: ${Kt};
74
- text-transform: ${Ht};
75
- }
76
- `,ce=i.css`
77
- .ft-typography--breadcrumb {
78
- font-family: ${Gt};
79
- font-size: ${Vt};
80
- font-weight: ${Xt};
81
- letter-spacing: ${qt};
82
- line-height: ${Yt};
69
+ font-family: ${_t};
70
+ font-size: ${Yt};
71
+ font-weight: ${Vt};
72
+ letter-spacing: ${Xt};
73
+ line-height: ${qt};
83
74
  text-transform: ${Jt};
84
75
  }
85
- `,ue=i.css`
86
- .ft-typography--overline {
76
+ `,Oo=e.css`
77
+ .ft-typography--breadcrumb {
87
78
  font-family: ${Qt};
88
- font-size: ${te};
89
- font-weight: ${ee};
90
- letter-spacing: ${ie};
91
- line-height: ${oe};
92
- text-transform: ${ne};
79
+ font-size: ${to};
80
+ font-weight: ${oo};
81
+ letter-spacing: ${eo};
82
+ line-height: ${ro};
83
+ text-transform: ${io};
93
84
  }
94
- `,xe=i.css`
85
+ `,vo=e.css`
86
+ .ft-typography--overline {
87
+ font-family: ${ao};
88
+ font-size: ${no};
89
+ font-weight: ${lo};
90
+ letter-spacing: ${co};
91
+ line-height: ${so};
92
+ text-transform: ${po};
93
+ }
94
+ `,No=e.css`
95
95
  .ft-typography--button {
96
- font-family: ${se.fontFamily};
97
- font-size: ${se.fontSize};
98
- font-weight: ${se.fontWeight};
99
- letter-spacing: ${se.letterSpacing};
100
- line-height: ${se.lineHeight};
101
- text-transform: ${se.textTransform};
102
- }
103
- `,ge=i.css`
96
+ font-family: ${fo.fontFamily};
97
+ font-size: ${fo.fontSize};
98
+ font-weight: ${fo.fontWeight};
99
+ letter-spacing: ${fo.letterSpacing};
100
+ line-height: ${fo.lineHeight};
101
+ text-transform: ${fo.textTransform};
102
+ }
103
+ `,So=e.css`
104
104
  .ft-typography {
105
105
  vertical-align: inherit;
106
106
  }
107
- `;var ve=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ye extends e.FtLitElement{constructor(){super(...arguments),this.variant=et.body1}render(){return this.element?tt`
107
+ `,Co=[Object.keys(at).map((t=>function(t){const o=at[t];return e.css`
108
+ font-family: ${o.fontFamily};
109
+ font-size: ${o.fontSize};
110
+ font-weight: ${o.fontWeight};
111
+ letter-spacing: ${o.letterSpacing};
112
+ line-height: ${o.lineHeight};
113
+ text-transform: ${o.textCase};
114
+ `}(t)))];var $o=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class wo extends o.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?tt`
108
115
  <${J(this.element)}
109
- class="ft-typography ft-typography--${this.variant}">
116
+ class="ft-typography ft-typography--${this.variant}">
110
117
  <slot></slot>
111
118
  </${J(this.element)}>
112
119
  `:tt`
113
120
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
114
- `}}ye.styles=[re,le,ae,he,pe,de,fe,ce,ue,xe,ge],ve([r.property()],ye.prototype,"element",void 0),ve([r.property()],ye.prototype,"variant",void 0),e.customElement("ft-typography")(ye);const be=e.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color",e.designSystemVariables.colorPrimary),me=i.css`
121
+ `}}wo.styles=[ho,go,yo,uo,bo,mo,xo,Oo,vo,No,So,...Co],$o([n.property()],wo.prototype,"element",void 0),$o([n.property()],wo.prototype,"variant",void 0),o.customElement("ft-typography")(wo);const Io=o.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",o.designSystemVariables.colorPrimary),ko=e.css`
115
122
  :host {
116
123
  display: contents;
117
124
  }
118
125
 
119
126
  a:focus {
120
- outline-color: ${be};
127
+ outline-color: ${Io};
121
128
  }
122
129
 
123
130
  .ft-reader-link--remove-style {
124
131
  text-decoration: none;
125
132
  color: inherit;
126
133
  }
127
- `;var $e,we,ke=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ze extends f{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=n.classMap({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return i.html`
128
- <a class=${e}
134
+ `;var Ro,Uo,Eo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Wo extends d{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=i.classMap({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return e.html`
135
+ <a class=${o}
129
136
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
130
137
  @click=${t=>this.onLinkClick(t)}>
131
138
  <slot></slot>
132
139
  </a>
133
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}ze.styles=me,ke([r.property()],ze.prototype,"tocId",void 0),ke([r.property()],ze.prototype,"section",void 0),ke([r.property({type:Number})],ze.prototype,"pageNumber",void 0),ke([r.property({type:Boolean})],ze.prototype,"removeStyle",void 0),e.customElement("ft-reader-internal-link")(ze),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}($e||($e={})),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;"}(we||(we={})),new Map([...["abw"].map((t=>[t,we.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,we.AUDIO])),...["avi"].map((t=>[t,we.AVI])),...["chm","xhs"].map((t=>[t,we.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,we.CODE])),...["csv"].map((t=>[t,we.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,we.DITA])),...["epub"].map((t=>[t,we.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,we.EXCEL])),...["flac"].map((t=>[t,we.FLAC])),...["gif"].map((t=>[t,we.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,we.GZIP])),...["html","htm","xhtml"].map((t=>[t,we.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,we.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,we.JPEG])),...["json"].map((t=>[t,we.JSON])),...["m4a","m4p"].map((t=>[t,we.M4A])),...["mov","qt"].map((t=>[t,we.MOV])),...["mp3"].map((t=>[t,we.MP3])),...["mp4","m4v"].map((t=>[t,we.MP4])),...["ogg","oga"].map((t=>[t,we.OGG])),...["pdf","ps"].map((t=>[t,we.PDF])),...["png"].map((t=>[t,we.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,we.POWERPOINT])),...["rar"].map((t=>[t,we.RAR])),...["stp"].map((t=>[t,we.STP])),...["txt","rtf","md","mdown"].map((t=>[t,we.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,we.VIDEO])),...["wav"].map((t=>[t,we.WAV])),...["wma"].map((t=>[t,we.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,we.WORD])),...["xml","xsl","rdf"].map((t=>[t,we.XML])),...["yaml","yml","x-yaml"].map((t=>[t,we.YAML])),...["zip"].map((t=>[t,we.ZIP]))]);const Se={size:e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ce=i.css`
140
+ `}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Wo.styles=ko,Eo([n.property()],Wo.prototype,"tocId",void 0),Eo([n.property()],Wo.prototype,"section",void 0),Eo([n.property({type:Number})],Wo.prototype,"pageNumber",void 0),Eo([n.property({type:Boolean})],Wo.prototype,"removeStyle",void 0),o.customElement("ft-reader-internal-link")(Wo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ro||(Ro={})),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;"}(Uo||(Uo={})),new Map([...["abw"].map((t=>[t,Uo.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,Uo.AUDIO])),...["avi"].map((t=>[t,Uo.AVI])),...["chm","xhs"].map((t=>[t,Uo.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,Uo.CODE])),...["csv"].map((t=>[t,Uo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Uo.DITA])),...["epub"].map((t=>[t,Uo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Uo.EXCEL])),...["flac"].map((t=>[t,Uo.FLAC])),...["gif"].map((t=>[t,Uo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Uo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Uo.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,Uo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Uo.JPEG])),...["json"].map((t=>[t,Uo.JSON])),...["m4a","m4p"].map((t=>[t,Uo.M4A])),...["mov","qt"].map((t=>[t,Uo.MOV])),...["mp3"].map((t=>[t,Uo.MP3])),...["mp4","m4v"].map((t=>[t,Uo.MP4])),...["ogg","oga"].map((t=>[t,Uo.OGG])),...["pdf","ps"].map((t=>[t,Uo.PDF])),...["png"].map((t=>[t,Uo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Uo.POWERPOINT])),...["rar"].map((t=>[t,Uo.RAR])),...["stp"].map((t=>[t,Uo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Uo.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,Uo.VIDEO])),...["wav"].map((t=>[t,Uo.WAV])),...["wma"].map((t=>[t,Uo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Uo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Uo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Uo.YAML])),...["zip"].map((t=>[t,Uo.ZIP]))]);const Lo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},zo=e.css`
134
141
  :host, i.ft-icon {
135
142
  display: inline-flex;
136
143
  align-items: center;
@@ -139,14 +146,14 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
139
146
  }
140
147
 
141
148
  :host {
142
- width: ${Se.size};
143
- height: ${Se.size};
149
+ width: ${Lo.size};
150
+ height: ${Lo.size};
144
151
  }
145
152
 
146
153
  i.ft-icon {
147
154
  width: 100%;
148
155
  height: 100%;
149
- font-size: ${Se.size};
156
+ font-size: ${Lo.size};
150
157
  line-height: 1;
151
158
  font-weight: normal;
152
159
  text-transform: none;
@@ -157,33 +164,33 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
157
164
  text-rendering: auto;
158
165
  -webkit-font-smoothing: antialiased;
159
166
  -moz-osx-font-smoothing: grayscale;
160
- vertical-align: ${Se.verticalAlign};
167
+ vertical-align: ${Lo.verticalAlign};
161
168
  }
162
169
 
163
170
  i.ft-icon.ft-icon--fluid-topics {
164
- font-family: ${Se.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
171
+ font-family: ${Lo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
165
172
 
166
173
  /* Ugly fix because font is broken */
167
- font-size: calc(0.75 * ${Se.size});
168
- line-height: ${Se.size};
174
+ font-size: calc(0.75 * ${Lo.size});
175
+ line-height: ${Lo.size};
169
176
  position: relative;
170
177
  top: -4%;
171
178
  justify-content: center;
172
179
  }
173
180
 
174
181
  .ft-icon--file-format {
175
- font-family: ${Se.fileFormatFontFamily}, ft-mime, sans-serif;
182
+ font-family: ${Lo.fileFormatFontFamily}, ft-mime, sans-serif;
176
183
  }
177
184
 
178
185
  .ft-icon--material {
179
- font-family: ${Se.materialFontFamily}, "Material Icons", sans-serif;
186
+ font-family: ${Lo.materialFontFamily}, "Material Icons", sans-serif;
180
187
  }
181
- `;var Ne;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ne||(Ne={}));var Ie=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Oe extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(Ne).includes(this.variant)?this.variant:Ne.fluid_topics,e=t!==Ne.material||!!this.value;return i.html`
188
+ `;var Ko;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ko||(Ko={}));var Zo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Bo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ko).includes(this.variant)?this.variant:Ko.fluid_topics,o=t!==Ko.material||!!this.value;return e.html`
182
189
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
183
190
  ${l.unsafeHTML(this.resolvedIcon)}
184
- <slot ?hidden=${e}></slot>
191
+ <slot ?hidden=${o}></slot>
185
192
  </i>
186
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Ne.file_format:this.resolvedIcon=null!==(t=we[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ne.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=$e[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Oe.elementDefinitions={},Oe.styles=Ce,Ie([r.property()],Oe.prototype,"variant",void 0),Ie([r.property()],Oe.prototype,"value",void 0),Ie([r.state()],Oe.prototype,"resolvedIcon",void 0),Ie([r.query("slot")],Oe.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Oe);const Ae=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),Ee={color:Ae,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",Ae),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},je=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),Te=je,Be=e.FtCssVariableFactory.extend("--ft-ripple-background-color",je),Le=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),Me=Le,Fe=e.FtCssVariableFactory.extend("--ft-ripple-background-color",Le),_e=i.css`
193
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Ko.file_format:this.resolvedIcon=null!==(t=Uo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Ko.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Ro[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Bo.elementDefinitions={},Bo.styles=zo,Zo([n.property()],Bo.prototype,"variant",void 0),Zo([n.property()],Bo.prototype,"value",void 0),Zo([n.state()],Bo.prototype,"resolvedIcon",void 0),Zo([n.query("slot")],Bo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Bo);const Fo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Ao={color:Fo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Fo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Do=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ho=Do,Go=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Do),jo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Po=jo,To=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",jo),Mo=e.css`
187
194
  :host {
188
195
  display: contents;
189
196
  }
@@ -196,7 +203,7 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
196
203
 
197
204
  .ft-ripple:not(.ft-ripple--unbounded) {
198
205
  overflow: hidden;
199
- border-radius: ${Ee.borderRadius};
206
+ border-radius: ${Ao.borderRadius};
200
207
  }
201
208
 
202
209
  .ft-ripple .ft-ripple--background,
@@ -230,27 +237,27 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
230
237
  }
231
238
 
232
239
  .ft-ripple .ft-ripple--background {
233
- background-color: ${Ee.backgroundColor};
240
+ background-color: ${Ao.backgroundColor};
234
241
  }
235
242
 
236
243
  .ft-ripple .ft-ripple--effect {
237
- background-color: ${Ee.color};
244
+ background-color: ${Ao.color};
238
245
  }
239
246
 
240
247
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
241
- background-color: ${Fe};
248
+ background-color: ${To};
242
249
  }
243
250
 
244
251
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
245
- background-color: ${Me};
252
+ background-color: ${Po};
246
253
  }
247
254
 
248
255
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
249
- background-color: ${Be};
256
+ background-color: ${Go};
250
257
  }
251
258
 
252
259
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
253
- background-color: ${Te};
260
+ background-color: ${Ho};
254
261
  }
255
262
 
256
263
  .ft-ripple .ft-ripple--background {
@@ -280,80 +287,22 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
280
287
  }
281
288
 
282
289
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
283
- opacity: ${Ee.opacityContentOnSurfaceHover};
290
+ opacity: ${Ao.opacityContentOnSurfaceHover};
284
291
  }
285
292
 
286
293
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
287
- opacity: ${Ee.opacityContentOnSurfaceSelected};
294
+ opacity: ${Ao.opacityContentOnSurfaceSelected};
288
295
  }
289
296
 
290
297
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
291
- opacity: ${Ee.opacityContentOnSurfaceFocused};
298
+ opacity: ${Ao.opacityContentOnSurfaceFocused};
292
299
  }
293
300
 
294
301
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
295
- opacity: ${Ee.opacityContentOnSurfacePressed};
302
+ opacity: ${Ao.opacityContentOnSurfacePressed};
296
303
  transform: translate(-50%, -50%) scale(1);
297
304
  }
298
- `;var Ue=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ze extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
299
- <style>
300
- .ft-ripple .ft-ripple--effect {
301
- left: ${this.originX}px;
302
- top: ${this.originY}px;
303
- }
304
- </style>
305
- <div class="${n.classMap(t)}">
306
- <div class="ft-ripple--background"></div>
307
- <div class="ft-ripple--effect"></div>
308
- </div>
309
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ze.elementDefinitions={},Ze.styles=_e,Ue([r.property({type:Boolean})],Ze.prototype,"primary",void 0),Ue([r.property({type:Boolean})],Ze.prototype,"secondary",void 0),Ue([r.property({type:Boolean})],Ze.prototype,"unbounded",void 0),Ue([r.property({type:Boolean})],Ze.prototype,"activated",void 0),Ue([r.property({type:Boolean})],Ze.prototype,"selected",void 0),Ue([r.property({type:Boolean})],Ze.prototype,"disabled",void 0),Ue([r.state()],Ze.prototype,"hovered",void 0),Ue([r.state()],Ze.prototype,"focused",void 0),Ue([r.state()],Ze.prototype,"pressed",void 0),Ue([r.state()],Ze.prototype,"rippling",void 0),Ue([r.state()],Ze.prototype,"originX",void 0),Ue([r.state()],Ze.prototype,"originY",void 0),Ue([r.query(".ft-ripple")],Ze.prototype,"ripple",void 0),Ue([r.query(".ft-ripple--effect")],Ze.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Ze);const Pe=e.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Re=e.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),We=e.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),De=e.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),Ke=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),He=e.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Ge=i.css`
310
- .ft-tooltip--container {
311
- display: block;
312
- }
313
-
314
- .ft-tooltip--inline {
315
- display: inline-block;
316
- max-width: 100%;
317
- }
318
-
319
- .ft-tooltip {
320
- position: absolute;
321
- box-sizing: border-box;
322
- overflow: hidden;
323
- width: max-content;
324
- max-width: ${He};
325
- text-align: center;
326
- padding: ${Pe};
327
- z-index: ${De};
328
- }
329
-
330
- .ft-tooltip--content {
331
- padding: 4px 8px;
332
- border-radius: ${Ke};
333
- background-color: ${We};
334
- color: ${Re};
335
- position: relative;
336
- word-break: break-word;
337
- }
338
- `;var Ve=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Xe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return i.html`
339
- <div part="container"
340
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
341
- @mouseenter=${this.onHover}
342
- @mouseleave=${this.onOut}
343
- @focusin=${this.onHover}
344
- @focusout=${this.onOut}
345
- @touchstart=${this.onTouch}>
346
- <slot></slot>
347
- <div part="tooltip" role="tooltip" inert
348
- class="ft-tooltip ft-tooltip--${this.validPosition}"
349
- ?hidden=${!this.visible}>
350
- <div part="tooltip-content" class="ft-tooltip--content">
351
- <slot name="text"></slot>
352
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
353
- </div>
354
- </div>
355
- </div>
356
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,n=(t.offsetWidth-e)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=s+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,p=a.x+a.width-window.innerWidth;l.left=s+Math.round(this.correctOutOfWindowPixels(h,p))+"px";let d=-a.y,f=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(d,f))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${He})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Xe.elementDefinitions={"ft-typography":ye},Xe.styles=Ge,Ve([r.property()],Xe.prototype,"text",void 0),Ve([r.property({type:Boolean})],Xe.prototype,"manual",void 0),Ve([r.property({type:Boolean})],Xe.prototype,"inline",void 0),Ve([r.property({type:Number})],Xe.prototype,"delay",void 0),Ve([r.property()],Xe.prototype,"position",void 0),Ve([r.queryAssignedNodes("",!0)],Xe.prototype,"slotNodes",void 0),Ve([r.query(".ft-tooltip--container")],Xe.prototype,"container",void 0),Ve([r.query(".ft-tooltip")],Xe.prototype,"tooltip",void 0),Ve([r.query(".ft-tooltip--content")],Xe.prototype,"tooltipContent",void 0),Ve([r.state()],Xe.prototype,"visible",void 0),e.customElement("ft-tooltip")(Xe);const qe={color:e.FtCssVariableFactory.extend("--ft-loader-color",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},Ye=i.css`
305
+ `,_o={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Yo=e.css`
357
306
  :host {
358
307
  line-height: 0;
359
308
  }
@@ -362,8 +311,8 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
362
311
  display: inline-block;
363
312
  position: relative;
364
313
 
365
- width: ${qe.size};
366
- height: ${qe.size};
314
+ width: ${_o.size};
315
+ height: ${_o.size};
367
316
  }
368
317
 
369
318
  .ft-loader div {
@@ -372,7 +321,7 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
372
321
  width: 25%;
373
322
  height: 25%;
374
323
  border-radius: 50%;
375
- background: ${qe.color};
324
+ background: ${_o.color};
376
325
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
377
326
  }
378
327
 
@@ -419,17 +368,10 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
419
368
  transform: translate(0, 0);
420
369
  }
421
370
  100% {
422
- transform: translate(calc(0.35 * ${qe.size}), 0);
371
+ transform: translate(calc(0.35 * ${_o.size}), 0);
423
372
  }
424
373
  }
425
- `;class Je extends e.FtLitElement{render(){return i.html`
426
- <div class="ft-loader">
427
- <div></div>
428
- <div></div>
429
- <div></div>
430
- <div></div>
431
- </div>
432
- `}}Je.styles=Ye,e.customElement("ft-loader")(Je);const Qe=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),ti={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:Qe,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",se.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",Qe),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},ei=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),ii={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:ei,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",ei)},oi=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),ni=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),si=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),ri=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),li=[i.css`
374
+ `,Vo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Xo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Vo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",fo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Vo),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},qo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Jo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:qo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",qo)},Qo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),te=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),oe=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ee=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),re=[e.css`
433
375
  :host {
434
376
  display: inline-block;
435
377
  max-width: 100%;
@@ -440,7 +382,7 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
440
382
  box-shadow: 0px 0px 0px transparent;
441
383
  border: 0px solid transparent;
442
384
  text-shadow: 0px 0px 0px transparent;
443
- font-size: ${ti.fontSize};
385
+ font-size: ${Xo.fontSize};
444
386
  }
445
387
 
446
388
  button:hover {
@@ -469,31 +411,31 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
469
411
  border: none;
470
412
  pointer-events: auto;
471
413
 
472
- --ft-button-internal-line-height: max(calc(${ti.fontSize} + 2px), ${ti.iconSize});
473
- --ft-button-internal-color: ${ti.color};
474
- ${e.setVariable(Se.size,ti.iconSize)};
475
- ${e.setVariable(Ee.color,ti.rippleColor)};
414
+ --ft-button-internal-line-height: max(calc(${Xo.fontSize} + 2px), ${Xo.iconSize});
415
+ --ft-button-internal-color: ${Xo.color};
416
+ ${o.setVariable(Lo.size,Xo.iconSize)};
417
+ ${o.setVariable(Ao.color,Xo.rippleColor)};
476
418
 
477
- border-radius: ${ti.borderRadius};
478
- padding: ${ti.verticalPadding} ${ti.horizontalPadding};
479
- background-color: ${ti.backgroundColor};
419
+ border-radius: ${Xo.borderRadius};
420
+ padding: ${Xo.verticalPadding} ${Xo.horizontalPadding};
421
+ background-color: ${Xo.backgroundColor};
480
422
  color: var(--ft-button-internal-color);
481
423
  -webkit-mask-image: radial-gradient(white, black);
482
424
  }
483
425
 
484
426
  .ft-button.ft-button--outlined {
485
427
  border: 1px solid var(--ft-button-internal-color);
486
- padding: calc(${ti.verticalPadding} - 1px) calc(${ti.horizontalPadding} - 1px);
428
+ padding: calc(${Xo.verticalPadding} - 1px) calc(${Xo.horizontalPadding} - 1px);
487
429
  }
488
430
 
489
431
  .ft-button.ft-button--dense {
490
- padding: ${ni} ${si};
491
- border-radius: ${oi};
492
- gap: ${ri};
432
+ padding: ${te} ${oe};
433
+ border-radius: ${Qo};
434
+ gap: ${ee};
493
435
  }
494
436
 
495
437
  .ft-button.ft-button--dense.ft-button--outlined {
496
- padding: calc(${ni} - 1px) calc(${si} - 1px);
438
+ padding: calc(${te} - 1px) calc(${oe} - 1px);
497
439
  }
498
440
 
499
441
  .ft-button:not([disabled]):hover {
@@ -501,22 +443,22 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
501
443
  }
502
444
 
503
445
  .ft-button--round {
504
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ti.verticalPadding});
446
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xo.verticalPadding});
505
447
  }
506
448
 
507
449
  .ft-button--round.ft-button--dense {
508
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ni});
450
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te});
509
451
  }
510
452
 
511
453
  .ft-button[disabled] {
512
454
  filter: grayscale(1);
513
- opacity: ${ti.opacityDisabled};
455
+ opacity: ${Xo.opacityDisabled};
514
456
  }
515
457
 
516
458
  .ft-button.ft-button--primary {
517
- background-color: ${ii.backgroundColor};
518
- --ft-button-internal-color: ${ii.color};
519
- ${e.setVariable(Ee.color,ii.rippleColor)};
459
+ background-color: ${Jo.backgroundColor};
460
+ --ft-button-internal-color: ${Jo.color};
461
+ ${o.setVariable(Ao.color,Jo.rippleColor)};
520
462
  }
521
463
 
522
464
  .ft-button:focus {
@@ -529,13 +471,13 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
529
471
  white-space: nowrap;
530
472
  text-overflow: ellipsis;
531
473
  display: block;
532
- margin: 0 ${ti.iconPadding};
533
- ${e.setVariable(se.fontSize,"1em")};
534
- ${e.setVariable(se.lineHeight,"var(--ft-button-internal-line-height)")};
474
+ margin: 0 ${Xo.iconPadding};
475
+ ${o.setVariable(fo.fontSize,"1em")};
476
+ ${o.setVariable(fo.lineHeight,"var(--ft-button-internal-line-height)")};
535
477
  }
536
478
 
537
479
  .ft-button--dense .ft-button--label {
538
- margin: 0 ${ri};
480
+ margin: 0 ${ee};
539
481
  }
540
482
 
541
483
  .ft-button--label[hidden] {
@@ -548,13 +490,13 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
548
490
  }
549
491
 
550
492
  .ft-button--label[hidden] + ft-icon {
551
- margin: 0 calc(${ti.horizontalPadding} * -1);
552
- padding: 0 ${ti.verticalPadding};
493
+ margin: 0 calc(${Xo.horizontalPadding} * -1);
494
+ padding: 0 ${Xo.verticalPadding};
553
495
  }
554
496
 
555
497
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
556
- margin: 0 calc(${si} * -1);
557
- padding: 0 ${ni};
498
+ margin: 0 calc(${oe} * -1);
499
+ padding: 0 ${te};
558
500
  }
559
501
 
560
502
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -563,33 +505,316 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
563
505
  }
564
506
 
565
507
  ft-loader {
566
- ${e.setVariable(qe.size,ti.iconSize)};
567
- ${e.setVariable(qe.color,"var(--ft-button-internal-color)")};
508
+ ${o.setVariable(_o.size,Xo.iconSize)};
509
+ ${o.setVariable(_o.color,"var(--ft-button-internal-color)")};
568
510
  }
569
- `,e.noTextSelect];var ai,hi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class pi extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(i.html`
511
+ `,o.noTextSelect];var ie=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ae extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
512
+ <style>
513
+ .ft-ripple .ft-ripple--effect {
514
+ left: ${this.originX}px;
515
+ top: ${this.originY}px;
516
+ }
517
+ </style>
518
+ <div class="${i.classMap(t)}">
519
+ <div class="ft-ripple--background"></div>
520
+ <div class="ft-ripple--effect"></div>
521
+ </div>
522
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ae.elementDefinitions={},ae.styles=Mo,ie([n.property({type:Boolean})],ae.prototype,"primary",void 0),ie([n.property({type:Boolean})],ae.prototype,"secondary",void 0),ie([n.property({type:Boolean})],ae.prototype,"unbounded",void 0),ie([n.property({type:Boolean})],ae.prototype,"activated",void 0),ie([n.property({type:Boolean})],ae.prototype,"selected",void 0),ie([n.property({type:Boolean})],ae.prototype,"disabled",void 0),ie([n.state()],ae.prototype,"hovered",void 0),ie([n.state()],ae.prototype,"focused",void 0),ie([n.state()],ae.prototype,"pressed",void 0),ie([n.state()],ae.prototype,"rippling",void 0),ie([n.state()],ae.prototype,"originX",void 0),ie([n.state()],ae.prototype,"originY",void 0),ie([n.query(".ft-ripple")],ae.prototype,"ripple",void 0),ie([n.query(".ft-ripple--effect")],ae.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(ae);const ne=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),le=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ce=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),se=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),pe=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),fe=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),de=e.css`
523
+ .ft-tooltip--container {
524
+ display: block;
525
+ }
526
+
527
+ .ft-tooltip--inline {
528
+ display: inline-block;
529
+ max-width: 100%;
530
+ }
531
+
532
+ .ft-tooltip {
533
+ position: absolute;
534
+ box-sizing: border-box;
535
+ overflow: hidden;
536
+ width: max-content;
537
+ max-width: ${fe};
538
+ text-align: center;
539
+ padding: ${ne};
540
+ z-index: ${se};
541
+ }
542
+
543
+ .ft-tooltip--content {
544
+ padding: 4px 8px;
545
+ border-radius: ${pe};
546
+ background-color: ${ce};
547
+ color: ${le};
548
+ position: relative;
549
+ word-break: break-word;
550
+ }
551
+ `;var he=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ge extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
552
+ <div part="container"
553
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
554
+ @mouseenter=${this.onHover}
555
+ @mouseleave=${this.onOut}
556
+ @focusin=${this.onHover}
557
+ @focusout=${this.onOut}
558
+ @touchstart=${this.onTouch}>
559
+ <slot></slot>
560
+ <div part="tooltip" role="tooltip" inert
561
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
562
+ ?hidden=${!this.visible}>
563
+ <div part="tooltip-content" class="ft-tooltip--content">
564
+ <slot name="text"></slot>
565
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
566
+ </div>
567
+ </div>
568
+ </div>
569
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${fe})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ge.elementDefinitions={"ft-typography":wo},ge.styles=de,he([n.property()],ge.prototype,"text",void 0),he([n.property({type:Boolean})],ge.prototype,"manual",void 0),he([n.property({type:Boolean})],ge.prototype,"inline",void 0),he([n.property({type:Number})],ge.prototype,"delay",void 0),he([n.property()],ge.prototype,"position",void 0),he([n.queryAssignedNodes("",!0)],ge.prototype,"slotNodes",void 0),he([n.query(".ft-tooltip--container")],ge.prototype,"container",void 0),he([n.query(".ft-tooltip")],ge.prototype,"tooltip",void 0),he([n.query(".ft-tooltip--content")],ge.prototype,"tooltipContent",void 0),he([n.state()],ge.prototype,"visible",void 0),o.customElement("ft-tooltip")(ge);class ye extends o.FtLitElement{render(){return e.html`
570
+ <div class="ft-loader">
571
+ <div></div>
572
+ <div></div>
573
+ <div></div>
574
+ <div></div>
575
+ </div>
576
+ `}}ye.styles=Yo,o.customElement("ft-loader")(ye);var ue=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class be extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
570
577
  <button part="button"
571
- class="${n.classMap(t)}"
578
+ class="${i.classMap(this.buttonClasses)}"
572
579
  aria-label="${this.getLabel()}"
573
580
  ?disabled=${this.isDisabled()}>
574
581
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
575
582
  <ft-typography part="label"
576
- variant="button"
583
+ variant=${this.typographyVariant}
577
584
  element="span"
578
- class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
585
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
579
586
  ?hidden=${!this.hasTextContent()}>
580
587
  <slot @slotchange=${this.onSlotchange}></slot>
581
588
  </ft-typography>
582
589
  ${this.resolveIcon()}
583
590
  </button>
584
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?i.html`
591
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
585
592
  <ft-tooltip part="tooltip"
586
593
  text="${this.getLabel()}"
587
594
  position="${this.tooltipPosition}">
588
595
  ${t}
589
596
  </ft-tooltip>
590
- `:t}resolveIcon(){return this.loading?i.html`
591
- <ft-loader part="loader icon"></ft-loader> `:this.icon?i.html`
592
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:i.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}}pi.elementDefinitions={"ft-ripple":Ze,"ft-tooltip":Xe,"ft-typography":ye,"ft-icon":Oe,"ft-loader":Je},pi.styles=[e.safariEllipsisFix,li],hi([r.property({type:String,reflect:!0})],pi.prototype,"role",void 0),hi([r.property()],pi.prototype,"type",void 0),hi([r.property({type:Boolean})],pi.prototype,"primary",void 0),hi([r.property({type:Boolean})],pi.prototype,"outlined",void 0),hi([r.property({type:Boolean})],pi.prototype,"disabled",void 0),hi([r.property({type:Boolean})],pi.prototype,"dense",void 0),hi([r.property({type:Boolean})],pi.prototype,"round",void 0),hi([r.property()],pi.prototype,"label",void 0),hi([r.property()],pi.prototype,"icon",void 0),hi([r.property()],pi.prototype,"iconVariant",void 0),hi([r.property({type:Boolean})],pi.prototype,"trailingIcon",void 0),hi([r.property({type:Boolean})],pi.prototype,"loading",void 0),hi([r.property()],pi.prototype,"tooltipPosition",void 0),hi([r.property({type:Boolean})],pi.prototype,"hideTooltip",void 0),hi([r.property({type:Boolean})],pi.prototype,"forceTooltip",void 0),hi([r.query(".ft-button")],pi.prototype,"button",void 0),hi([r.query(".ft-button--label slot")],pi.prototype,"slottedContent",void 0),e.customElement("ft-button")(pi),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(ai||(ai={}));const di=i.css`
597
+ `:t}resolveIcon(){return this.loading?e.html`
598
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
599
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}be.elementDefinitions={"ft-ripple":ae,"ft-tooltip":ge,"ft-typography":wo,"ft-icon":Bo,"ft-loader":ye},ue([n.property({type:String,reflect:!0})],be.prototype,"role",void 0),ue([n.property()],be.prototype,"type",void 0),ue([n.property({type:Boolean})],be.prototype,"disabled",void 0),ue([n.property()],be.prototype,"label",void 0),ue([n.property()],be.prototype,"icon",void 0),ue([n.property()],be.prototype,"iconVariant",void 0),ue([n.property({type:Boolean})],be.prototype,"trailingIcon",void 0),ue([n.property({type:Boolean})],be.prototype,"loading",void 0),ue([n.property()],be.prototype,"tooltipPosition",void 0),ue([n.property({type:Boolean})],be.prototype,"hideTooltip",void 0),ue([n.property({type:Boolean})],be.prototype,"forceTooltip",void 0),ue([n.query(".ft-button")],be.prototype,"button",void 0),ue([n.query(".ft-button--label slot")],be.prototype,"slottedContent",void 0);var me=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class xe extends be{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}xe.styles=[o.safariEllipsisFix,re],me([n.property({type:Boolean})],xe.prototype,"primary",void 0),me([n.property({type:Boolean})],xe.prototype,"outlined",void 0),me([n.property({type:Boolean})],xe.prototype,"disabled",void 0),me([n.property({type:Boolean})],xe.prototype,"dense",void 0),me([n.property({type:Boolean})],xe.prototype,"round",void 0);const Oe=[e.css`
600
+ :host {
601
+ display: inline-block;
602
+ max-width: 100%;
603
+ pointer-events: none;
604
+ }
605
+
606
+ /** Remove default button styles **/
607
+
608
+ button {
609
+ box-shadow: 0 0 0 transparent;
610
+ border: 0 solid transparent;
611
+ text-shadow: 0 0 0 transparent;
612
+ }
613
+
614
+ button:hover {
615
+ box-shadow: 0 0 0 transparent;
616
+ text-shadow: 0 0 0 transparent;
617
+ }
618
+
619
+ button:active {
620
+ outline: none;
621
+ }
622
+
623
+ button:focus {
624
+ outline: 0;
625
+ }
626
+
627
+ /** Base styles **/
628
+
629
+ .ft-button {
630
+ position: relative;
631
+ display: flex;
632
+ justify-content: center;
633
+ align-items: center;
634
+ width: 100%;
635
+ overflow: hidden;
636
+ box-sizing: border-box;
637
+ pointer-events: auto;
638
+ }
639
+
640
+ .ft-button:not([disabled]):hover {
641
+ cursor: pointer;
642
+ }
643
+
644
+ .ft-button:focus {
645
+ outline: none;
646
+ }
647
+
648
+ .ft-button:focus-visible {
649
+ outline-color: ${lt.focusFocusRingColor};
650
+ outline-style: solid;
651
+ }
652
+
653
+ ft-icon {
654
+ flex-shrink: 0;
655
+ position: relative;
656
+ }
657
+
658
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
659
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
660
+ order: -1;
661
+ }
662
+
663
+ .ft-button--label {
664
+ position: relative;
665
+ overflow: hidden;
666
+ white-space: nowrap;
667
+ text-overflow: ellipsis;
668
+ display: block;
669
+ }
670
+
671
+ .ft-button--label[hidden] {
672
+ display: none;
673
+ }
674
+
675
+ /** Primary styles **/
676
+
677
+ .ft-button--primary {
678
+ ${o.setVariable(_o.color,lt.primaryIconColor)};
679
+
680
+ ${o.setVariable(Ao.color,lt.primaryStateLayerColor)};
681
+ ${o.setVariable(Ao.opacityContentOnSurfaceHover,lt.primaryStateLayerOpacityHover)};
682
+ ${o.setVariable(Ao.opacityContentOnSurfaceFocused,lt.primaryStateLayerOpacityFocus)};
683
+ ${o.setVariable(Ao.opacityContentOnSurfaceSelected,lt.primaryStateLayerOpacityActive)};
684
+ ${o.setVariable(Ao.opacityContentOnSurfacePressed,lt.primaryStateLayerOpacityActive)};
685
+
686
+ background-color: ${lt.primaryBackgroundColor};
687
+ color: ${lt.primaryColor};
688
+ border-style: none;
689
+ }
690
+
691
+ .ft-button--primary[disabled] {
692
+ opacity: ${lt.primaryComponentOpacityDisabled};
693
+ }
694
+
695
+ .ft-button--primary ft-icon {
696
+ color: ${lt.primaryIconColor};
697
+ }
698
+
699
+ /** Secondary styles **/
700
+
701
+ .ft-button--secondary {
702
+ ${o.setVariable(_o.color,lt.secondaryIconColor)};
703
+
704
+ ${o.setVariable(Ao.color,lt.secondaryStateLayerColor)};
705
+ ${o.setVariable(Ao.opacityContentOnSurfaceHover,lt.secondaryStateLayerOpacityHover)};
706
+ ${o.setVariable(Ao.opacityContentOnSurfaceFocused,lt.secondaryStateLayerOpacityFocus)};
707
+ ${o.setVariable(Ao.opacityContentOnSurfaceSelected,lt.secondaryStateLayerOpacityActive)};
708
+ ${o.setVariable(Ao.opacityContentOnSurfacePressed,lt.secondaryStateLayerOpacityActive)};
709
+
710
+ background-color: ${lt.secondaryBackgroundColor};
711
+ color: ${lt.secondaryColor};
712
+ border-color: ${lt.secondaryBorderColor};
713
+ border-style: solid;
714
+ }
715
+
716
+ .ft-button--secondary[disabled] {
717
+ opacity: ${lt.secondaryComponentOpacityDisabled};
718
+ }
719
+
720
+ .ft-button--secondary ft-icon {
721
+ color: ${lt.secondaryIconColor};
722
+ }
723
+
724
+ /** Tertiary styles **/
725
+
726
+ .ft-button--tertiary {
727
+ ${o.setVariable(_o.color,lt.tertiaryIconColor)};
728
+
729
+ ${o.setVariable(Ao.color,lt.tertiaryStateLayerColor)};
730
+ ${o.setVariable(Ao.opacityContentOnSurfaceHover,lt.tertiaryStateLayerOpacityHover)};
731
+ ${o.setVariable(Ao.opacityContentOnSurfaceFocused,lt.tertiaryStateLayerOpacityFocus)};
732
+ ${o.setVariable(Ao.opacityContentOnSurfaceSelected,lt.tertiaryStateLayerOpacityActive)};
733
+ ${o.setVariable(Ao.opacityContentOnSurfacePressed,lt.tertiaryStateLayerOpacityActive)};
734
+
735
+ background-color: ${lt.tertiaryBackgroundColor};
736
+ color: ${lt.tertiaryColor};
737
+ border-style: none;
738
+ }
739
+
740
+ .ft-button--tertiary[disabled] {
741
+ opacity: ${lt.tertiaryComponentOpacityDisabled};
742
+ }
743
+
744
+ .ft-button--tertiary ft-icon {
745
+ color: ${lt.tertiaryIconColor};
746
+ }
747
+
748
+ /** Neutral styles **/
749
+
750
+ .ft-button--neutral {
751
+ ${o.setVariable(_o.color,lt.neutralIconColor)};
752
+
753
+ ${o.setVariable(Ao.backgroundColor,lt.neutralStateLayerColor)};
754
+ ${o.setVariable(Ao.opacityContentOnSurfaceHover,lt.neutralStateLayerOpacityHover)};
755
+ ${o.setVariable(Ao.opacityContentOnSurfaceFocused,lt.neutralStateLayerOpacityFocus)};
756
+ ${o.setVariable(Ao.opacityContentOnSurfaceSelected,lt.neutralStateLayerOpacityActive)};
757
+ ${o.setVariable(Ao.opacityContentOnSurfacePressed,lt.neutralStateLayerOpacityActive)};
758
+
759
+ background-color: ${lt.neutralBackgroundColor};
760
+ color: ${lt.neutralColor};
761
+ border-style: none;
762
+ }
763
+
764
+ .ft-button--neutral[disabled] {
765
+ opacity: ${lt.neutralComponentOpacityDisabled};
766
+ }
767
+
768
+ .ft-button--neutral ft-icon {
769
+ color: ${lt.neutralIconColor};
770
+ }
771
+
772
+ /** Large styles **/
773
+
774
+ .ft-button--large {
775
+ ${o.setVariable(Lo.size,lt.largeIconSize)};
776
+ ${o.setVariable(_o.size,lt.largeIconSize)};
777
+
778
+ height: ${lt.largeHeight};
779
+ padding: 0 ${lt.largeHorizontalPadding};
780
+ gap: ${lt.largeGap};
781
+ border-radius: ${lt.largeBorderRadius};
782
+ border-width: ${lt.largeBorderWidth};
783
+ }
784
+
785
+ .ft-button--large:focus-visible {
786
+ outline-width: ${lt.largeFocusOutlineWidth};
787
+ outline-offset: ${lt.largeFocusOutlineOffset};
788
+ }
789
+
790
+ .ft-button--large.ft-button--icon-only {
791
+ width: ${lt.largeIconOnlyWidth};
792
+ padding: unset;
793
+ }
794
+
795
+ /** Small styles **/
796
+
797
+ .ft-button--small {
798
+ ${o.setVariable(Lo.size,lt.smallIconSize)};
799
+ ${o.setVariable(_o.size,lt.smallIconSize)};
800
+
801
+ height: ${lt.smallHeight};
802
+ padding: 0 ${lt.smallHorizontalPadding};
803
+ gap: ${lt.smallGap};
804
+ border-radius: ${lt.smallBorderRadius};
805
+ border-width: ${lt.smallBorderWidth};
806
+ }
807
+
808
+ .ft-button--small:focus-visible {
809
+ outline-width: ${lt.smallFocusOutlineWidth};
810
+ outline-offset: ${lt.smallFocusOutlineOffset};
811
+ }
812
+
813
+ .ft-button--small.ft-button--icon-only {
814
+ width: ${lt.smallIconOnlyWidth};
815
+ padding: unset;
816
+ }
817
+ `,o.noTextSelect];var ve,Ne=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Se extends be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ot.caption1medium:ot.body2medium}}Se.styles=[o.safariEllipsisFix,Oe],Ne([n.property({type:Boolean})],Se.prototype,"primary",void 0),Ne([n.property({type:Boolean})],Se.prototype,"secondary",void 0),Ne([n.property({type:Boolean})],Se.prototype,"tertiary",void 0),Ne([n.property({type:Boolean})],Se.prototype,"neutral",void 0),Ne([n.property({type:Boolean})],Se.prototype,"small",void 0),o.customElement("ft-button")(xe),o.customElement("ftds-button")(Se),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(ve||(ve={}));const Ce=e.css`
593
818
  .ft-size-watcher--pixel {
594
819
  width: 0;
595
820
  height: 0;
@@ -608,34 +833,34 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
608
833
  .ft-size-watcher--local .ft-size-watcher--watcher {
609
834
  width: 100%;
610
835
  }
611
- `;var fi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ci extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ui extends e.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ai.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e.Debouncer}render(){return i.html`
836
+ `;var $e=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class we extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class Ie extends o.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ve.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o.Debouncer}render(){return e.html`
612
837
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
613
838
  <div class="ft-size-watcher--watcher"></div>
614
839
  </div>
615
- `}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=ai.S:this.size<976?this.category=ai.M:this.size<1024?this.category=ai.L:this.size<1440?this.category=ai.XL:this.category=ai.XXL,this.dispatchEvent(new ci(this.size,this.category)))}),this.debounceTimeout)}}ui.elementDefinitions={},ui.styles=di,fi([r.property({type:Number})],ui.prototype,"debounceTimeout",void 0),fi([r.property({type:Boolean})],ui.prototype,"local",void 0),fi([r.property({type:Number,reflect:!0})],ui.prototype,"size",void 0),fi([r.property({type:String,reflect:!0})],ui.prototype,"category",void 0),fi([r.query(".ft-size-watcher--watcher")],ui.prototype,"watcher",void 0),e.customElement("ft-size-watcher")(ui);const xi={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},gi={tabulationSize:e.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:e.FtCssVariableFactory.extend("--ft-reader-toc-text-color",e.designSystemVariables.colorOnSurface),hoverColor:e.FtCssVariableFactory.extend("--ft-reader-toc-hover-color",e.designSystemVariables.colorPrimary),highlightedTextColor:e.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color",e.designSystemVariables.colorPrimary),highlightedFontWeight:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:e.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","SIZE","16px")},vi=i.css`
840
+ `}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=ve.S:this.size<976?this.category=ve.M:this.size<1024?this.category=ve.L:this.size<1440?this.category=ve.XL:this.category=ve.XXL,this.dispatchEvent(new we(this.size,this.category)))}),this.debounceTimeout)}}Ie.elementDefinitions={},Ie.styles=Ce,$e([n.property({type:Number})],Ie.prototype,"debounceTimeout",void 0),$e([n.property({type:Boolean})],Ie.prototype,"local",void 0),$e([n.property({type:Number,reflect:!0})],Ie.prototype,"size",void 0),$e([n.property({type:String,reflect:!0})],Ie.prototype,"category",void 0),$e([n.query(".ft-size-watcher--watcher")],Ie.prototype,"watcher",void 0),o.customElement("ft-size-watcher")(Ie);const ke={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},Re={tabulationSize:o.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",o.designSystemVariables.colorOnSurface),hoverColor:o.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",o.designSystemVariables.colorPrimary),highlightedTextColor:o.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",o.designSystemVariables.colorPrimary),highlightedFontWeight:o.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},Ue=e.css`
616
841
  .ft-reader-toc {
617
- color: ${gi.textColor};
842
+ color: ${Re.textColor};
618
843
  }
619
844
 
620
845
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
621
- background-color: ${gi.highlightedBackgroundColor};
622
- color: ${gi.highlightedTextColor};
623
- ${e.setVariable(nt.fontWeight,gi.highlightedFontWeight)}
846
+ background-color: ${Re.highlightedBackgroundColor};
847
+ color: ${Re.highlightedTextColor};
848
+ ${o.setVariable(pt.fontWeight,Re.highlightedFontWeight)}
624
849
  }
625
850
 
626
851
  .ft-reader-toc--link-container {
627
852
  display: flex;
628
853
  gap: 4px;
629
- padding: ${gi.verticalSpacing} 4px; /* left padding is override on inline style */
854
+ padding: ${Re.verticalSpacing} 4px; /* left padding is override on inline style */
630
855
  align-items: center;
631
856
  }
632
857
 
633
858
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
634
- color: ${gi.hoverColor};
859
+ color: ${Re.hoverColor};
635
860
  }
636
861
 
637
862
  ft-button {
638
- ${e.setVariable(ti.iconSize,gi.iconFontSize)};
863
+ ${o.setVariable(Xo.iconSize,Re.iconFontSize)};
639
864
  }
640
865
 
641
866
  .ft-reader-toc--toggle-container {
@@ -643,11 +868,11 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
643
868
  }
644
869
 
645
870
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
646
- width: calc(${gi.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
871
+ width: calc(${Re.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
647
872
  }
648
873
 
649
874
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
650
- width: calc(${gi.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
875
+ width: calc(${Re.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
651
876
  }
652
877
 
653
878
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -670,20 +895,20 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
670
895
  .ft-reader-toc-expand-collapse-all-justify ft-button {
671
896
  flex-grow: 1;
672
897
  }
673
- `;var yi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class bi extends f{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Ne.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(xi,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=ai.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var i,o,n;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(i=this.toc)&&void 0!==i?i:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new e.ParametrizedLabelResolver(xi,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(n=this.toc)&&void 0!==n?n:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===ai.S,"ft-reader-toc-desktop":this.viewportSize!==ai.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return i.html`
674
- ${this.hideIfEmpty&&this.empty?i.html`
898
+ `;var Ee=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class We extends d{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Ko.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new o.ParametrizedLabelResolver(ke,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=ve.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,r,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new o.ParametrizedLabelResolver(ke,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(r=this.highlightedTocIds)&&void 0!==r?r:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===ve.S,"ft-reader-toc-desktop":this.viewportSize!==ve.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return e.html`
899
+ ${this.hideIfEmpty&&this.empty?e.html`
675
900
  <style>
676
901
  :host {
677
902
  display: none !important;
678
903
  }
679
904
  </style>
680
- `:i.nothing}
681
- <div class=${n.classMap(e)}>
905
+ `:e.nothing}
906
+ <div class=${i.classMap(o)}>
682
907
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
683
908
  ${this.renderExpandCollapseAll()}
684
- ${o.repeat(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
909
+ ${r.repeat(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
685
910
  </div>
686
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?i.html`
911
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?e.html`
687
912
  <div part="expand-collapse-all-container"
688
913
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
689
914
  <ft-button
@@ -698,28 +923,28 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
698
923
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
699
924
  </ft-button>
700
925
  </div>
701
- `:i.nothing}renderNode(t){var e,n,r;const l=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),a=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),h=t.children.length>0,p=this.isCurrentPageToc?(null!==(r=null===(n=this.currentPage)||void 0===n?void 0:n.breadcrumb.length)&&void 0!==r?r:0)+1:0,d=t.depth-1-p,f={"padding-left":`calc( ${gi.tabulationSize} * ${d} + 4px)`};return i.html`
926
+ `:e.nothing}renderNode(t){var o,i,n;const l=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),c=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),s=t.children.length>0,p=this.isCurrentPageToc?(null!==(n=null===(i=this.currentPage)||void 0===i?void 0:i.breadcrumb.length)&&void 0!==n?n:0)+1:0,f=t.depth-1-p,d={"padding-left":`calc( ${Re.tabulationSize} * ${f} + 4px)`};return e.html`
702
927
  <div class="ft-reader-toc--node ${l?"ft-reader-toc--node-highlighted":""}">
703
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${s.styleMap(f)}>
704
- ${this.nodesToExpandExist&&!this.expanded?i.html`
928
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${a.styleMap(d)}>
929
+ ${this.nodesToExpandExist&&!this.expanded?e.html`
705
930
  <div class="ft-reader-toc--toggle-container">
706
- ${h?i.html`
931
+ ${s?e.html`
707
932
  <ft-button
708
933
  part="expand-collapse-node"
709
934
  round hideTooltip
710
- ?dense=${this.viewportSize!==ai.S}
711
- label="${this.labelResolver.resolve(a?"collapse":"expand",t.title)}"
935
+ ?dense=${this.viewportSize!==ve.S}
936
+ label="${this.labelResolver.resolve(c?"collapse":"expand",t.title)}"
712
937
  .iconVariant="${this.iconVariant}"
713
- icon="${a?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
714
- @click=${()=>this.manuallyToggle(t.tocId,a)}
938
+ icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
939
+ @click=${()=>this.manuallyToggle(t.tocId,c)}
715
940
  data-expand-node="${t.tocId}"
716
941
  aria-controls="${t.tocId}-children"
717
- aria-expanded="${a}"
942
+ aria-expanded="${c}"
718
943
  >
719
944
  </ft-button>
720
- `:i.nothing}
945
+ `:e.nothing}
721
946
  </div>
722
- `:i.nothing}
947
+ `:e.nothing}
723
948
  <ft-reader-internal-link
724
949
  part="node-link"
725
950
  tocId="${t.tocId}"
@@ -727,11 +952,11 @@ const q=Symbol.for(""),Y=t=>{if((null==t?void 0:t.r)===q)return null==t?void 0:t
727
952
  <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
728
953
  </ft-reader-internal-link>
729
954
  </div>
730
- ${h?i.html`
955
+ ${s?e.html`
731
956
  <div class="ft-reader-toc--node-children" id="${t.tocId}-children"
732
- ?hidden=${!a}>
733
- ${a?o.repeat(t.children,(t=>t.tocId),(t=>this.renderNode(t))):i.nothing}
957
+ ?hidden=${!c}>
958
+ ${c?r.repeat(t.children,(t=>t.tocId),(t=>this.renderNode(t))):e.nothing}
734
959
  </div>
735
- `:i.nothing}
960
+ `:e.nothing}
736
961
  </div>
737
- `}buildAutomaticallyExpandedNodes(t){var e,i;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t){let t=n;for(;t&&!o.has(t);)o.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(i=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===i?void 0:i.parentTocId}return o}manuallyToggle(t,e){e?(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}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}bi.elementDefinitions={"ft-button":pi,"ft-reader-internal-link":ze,"ft-size-watcher":ui,"ft-typography":ye},bi.styles=vi,yi([r.property({type:Boolean})],bi.prototype,"expanded",void 0),yi([r.property()],bi.prototype,"iconVariant",void 0),yi([r.property()],bi.prototype,"collapseIcon",void 0),yi([r.property()],bi.prototype,"expandIcon",void 0),yi([r.property({type:Boolean})],bi.prototype,"expandCollapseAll",void 0),yi([r.property({type:Boolean})],bi.prototype,"expandCollapseAllHideLabel",void 0),yi([r.property({type:Boolean})],bi.prototype,"expandCollapseAllTrailingIcon",void 0),yi([r.property()],bi.prototype,"expandCollapseAllAlignment",void 0),yi([r.property({type:Boolean})],bi.prototype,"expandCollapseAllHideIcon",void 0),yi([r.property()],bi.prototype,"expandCollapseAllIconVariant",void 0),yi([r.property()],bi.prototype,"collapseAllIcon",void 0),yi([r.property()],bi.prototype,"expandAllIcon",void 0),yi([r.property({type:Boolean})],bi.prototype,"autoCollapse",void 0),yi([r.property()],bi.prototype,"scope",void 0),yi([r.property({type:Boolean})],bi.prototype,"hideIfEmpty",void 0),yi([r.property({type:Boolean,reflect:!0})],bi.prototype,"empty",void 0),yi([e.jsonProperty({})],bi.prototype,"labels",void 0),yi([e.redux({selector:(t,e)=>{var i,o,n;return e.isCurrentPageToc?(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?null===(o=t.currentPage)||void 0===o?void 0:o.toc:void 0:(null===(n=t.paginationConfiguration)||void 0===n?void 0:n.splitCurrentPageToc)?t.pagesToc:t.toc}})],bi.prototype,"toc",void 0),yi([e.redux({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],bi.prototype,"splitToc",void 0),yi([e.redux()],bi.prototype,"currentPage",void 0),yi([e.redux({selector:(t,e)=>{var i,o;return(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(o=t.currentPage)||void 0===o?void 0:o.rootTocId]:t.visibleTopics}})],bi.prototype,"highlightedTocIds",void 0),yi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],bi.prototype,"automaticallyExpandedNodes",void 0),yi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],bi.prototype,"manuallyExpandedNodes",void 0),yi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],bi.prototype,"manuallyCollapsedNodes",void 0),yi([r.state()],bi.prototype,"expandAll",void 0),yi([r.state()],bi.prototype,"viewportSize",void 0),e.customElement("ft-reader-toc")(bi),t.DEFAULT_LABELS=xi,t.FtReaderToc=bi,t.FtReaderTocCssVariables=gi,t.styles=vi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
962
+ `}buildAutomaticallyExpandedNodes(t){var o,e;let r=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let t=i;for(;t&&!r.has(t);)r.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return r}manuallyToggle(t,o){o?(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}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}We.elementDefinitions={"ft-button":xe,"ft-reader-internal-link":Wo,"ft-size-watcher":Ie,"ft-typography":wo},We.styles=Ue,Ee([n.property({type:Boolean})],We.prototype,"expanded",void 0),Ee([n.property()],We.prototype,"iconVariant",void 0),Ee([n.property()],We.prototype,"collapseIcon",void 0),Ee([n.property()],We.prototype,"expandIcon",void 0),Ee([n.property({type:Boolean})],We.prototype,"expandCollapseAll",void 0),Ee([n.property({type:Boolean})],We.prototype,"expandCollapseAllHideLabel",void 0),Ee([n.property({type:Boolean})],We.prototype,"expandCollapseAllTrailingIcon",void 0),Ee([n.property()],We.prototype,"expandCollapseAllAlignment",void 0),Ee([n.property({type:Boolean})],We.prototype,"expandCollapseAllHideIcon",void 0),Ee([n.property()],We.prototype,"expandCollapseAllIconVariant",void 0),Ee([n.property()],We.prototype,"collapseAllIcon",void 0),Ee([n.property()],We.prototype,"expandAllIcon",void 0),Ee([n.property({type:Boolean})],We.prototype,"autoCollapse",void 0),Ee([n.property()],We.prototype,"scope",void 0),Ee([n.property({type:Boolean})],We.prototype,"hideIfEmpty",void 0),Ee([n.property({type:Boolean,reflect:!0})],We.prototype,"empty",void 0),Ee([o.jsonProperty({})],We.prototype,"labels",void 0),Ee([o.redux({selector:(t,o)=>{var e,r,i;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(r=t.currentPage)||void 0===r?void 0:r.toc:void 0:(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?t.pagesToc:t.toc}})],We.prototype,"toc",void 0),Ee([o.redux({selector:t=>{var o;return null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc}})],We.prototype,"splitToc",void 0),Ee([o.redux()],We.prototype,"currentPage",void 0),Ee([o.redux({selector:(t,o)=>{var e,r;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(r=t.currentPage)||void 0===r?void 0:r.rootTocId]:t.visibleTopics}})],We.prototype,"highlightedTocIds",void 0),Ee([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],We.prototype,"automaticallyExpandedNodes",void 0),Ee([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],We.prototype,"manuallyExpandedNodes",void 0),Ee([n.state({hasChanged:(t,e)=>!o.deepEqual(t,e)})],We.prototype,"manuallyCollapsedNodes",void 0),Ee([n.state()],We.prototype,"expandAll",void 0),Ee([n.state()],We.prototype,"viewportSize",void 0),o.customElement("ft-reader-toc")(We),t.DEFAULT_LABELS=ke,t.FtReaderToc=We,t.FtReaderTocCssVariables=Re,t.styles=Ue}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);