@fluid-topics/ft-text-field 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,141 +1,148 @@
1
- !function(t,e,i,o,s,l){
1
+ !function(t,o,e,i,r,a){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var n;const r=window,a=r.trustedTypes,f=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",h=`lit$${(Math.random()+"").slice(9)}$`,d="?"+h,c=`<${d}>`,u=document,x=()=>u.createComment(""),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,y=Array.isArray,v="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,$=/>/g,w=RegExp(`>|${v}(?:([^\\s"'>=/]+)(${v}*=${v}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,z=/"/g,S=/^(?:script|style|textarea|title)$/i,E=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),j=new WeakMap,C=u.createTreeWalker(u,129,null,!1),O=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=b;for(let e=0;e<i;e++){const i=t[e];let r,a,f=-1,d=0;for(;d<i.length&&(n.lastIndex=d,a=n.exec(i),null!==a);)d=n.lastIndex,n===b?"!--"===a[1]?n=m:void 0!==a[1]?n=$:void 0!==a[2]?(S.test(a[2])&&(s=RegExp("</"+a[2],"g")),n=w):void 0!==a[3]&&(n=w):n===w?">"===a[0]?(n=null!=s?s:b,f=-1):void 0===a[1]?f=-2:(f=n.lastIndex-a[2].length,r=a[1],n=void 0===a[3]?w:'"'===a[3]?z:k):n===z||n===k?n=w:n===m||n===$?n=b:(n=w,s=void 0);const u=n===w&&t[e+1].startsWith("/>")?" ":"";l+=n===b?i+c:f>=0?(o.push(r),i.slice(0,f)+p+i.slice(f)+h+u):i+h+(-2===f?(o.push(void 0),e):u)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(r):r,o]};class A{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[f,c]=O(t,e);if(this.el=A.createElement(f,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=C.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(p)||e.startsWith(h)){const i=c[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+p).split(h),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?U:"?"===e[1]?T:"@"===e[1]?R:_})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(S.test(o.tagName)){const t=o.textContent.split(h),e=t.length-1;if(e>0){o.textContent=a?a.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),C.nextNode(),r.push({type:2,index:++s});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===d)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(h,t+1));)r.push({type:7,index:s}),t+=h.length-1}s++}}static createElement(t,e){const i=u.createElement("template");return i.innerHTML=t,i}}function B(t,e,i=t,o){var s,l,n,r;if(e===I)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const f=g(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==f&&(null===(l=null==a?void 0:a._$AO)||void 0===l||l.call(a,!1),void 0===f?a=void 0:(a=new f(t),a._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Co)&&void 0!==n?n:r._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=B(t,a._$AS(t,e.values),a,o)),e}class D{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:u).importNode(i,!0);C.currentNode=s;let l=C.nextNode(),n=0,r=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new Z(l,l.nextSibling,this,t):1===a.type?e=new a.ctor(l,a.name,a.strings,this,t):6===a.type&&(e=new W(l,this,t)),this._$AV.push(e),a=o[++r]}n!==(null==a?void 0:a.index)&&(l=C.nextNode(),n++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Z{constructor(t,e,i,o){var s;this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=B(this,t,e),g(t)?t===N||null==t||""===t?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>y(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!==N&&g(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=A.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new D(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new A(t)),e}T(t){y(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new Z(this.k(x()),this.k(x()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,s){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=N}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let l=!1;if(void 0===s)t=B(this,t,e,0),l=!g(t)||t!==this._$AH&&t!==I,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=B(this,o[i+n],e,n),r===I&&(r=this._$AH[n]),l||(l=!g(r)||r!==this._$AH[n]),r===N?t=N:t!==N&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class U extends _{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}}const M=a?a.emptyScript:"";class T extends _{constructor(){super(...arguments),this.type=4}j(t){t&&t!==N?this.element.setAttribute(this.name,M):this.element.removeAttribute(this.name)}}class R extends _{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=B(this,t,e,0))&&void 0!==i?i:N)===I)return;const o=this._$AH,s=t===N&&o!==N||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==N&&(o===N||s);s&&this.element.removeEventListener(this.name,this,o),l&&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 W{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){B(this,t)}}const V=r.litHtmlPolyfillSupport;null==V||V(A,Z),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.7.3");
7
+ var n;const l=window,p=l.trustedTypes,f=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,c="$lit$",s=`lit$${(Math.random()+"").slice(9)}$`,d="?"+s,h=`<${d}>`,g=document,y=()=>g.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,O=/-->/g,N=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,C=/"/g,w=/^(?:script|style|textarea|title)$/i,$=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),I=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),R=new WeakMap,W=g.createTreeWalker(g,129,null,!1),E=(t,o)=>{const e=t.length-1,i=[];let r,a=2===o?"<svg>":"",n=x;for(let o=0;o<e;o++){const e=t[o];let l,p,f=-1,d=0;for(;d<e.length&&(n.lastIndex=d,p=n.exec(e),null!==p);)d=n.lastIndex,n===x?"!--"===p[1]?n=O:void 0!==p[1]?n=N:void 0!==p[2]?(w.test(p[2])&&(r=RegExp("</"+p[2],"g")),n=v):void 0!==p[3]&&(n=v):n===v?">"===p[0]?(n=null!=r?r:x,f=-1):void 0===p[1]?f=-2:(f=n.lastIndex-p[2].length,l=p[1],n=void 0===p[3]?v:'"'===p[3]?C:S):n===C||n===S?n=v:n===O||n===N?n=x:(n=v,r=void 0);const g=n===v&&t[o+1].startsWith("/>")?" ":"";a+=n===x?e+h:f>=0?(i.push(l),e.slice(0,f)+c+e.slice(f)+s+g):e+s+(-2===f?(i.push(void 0),o):g)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==f?f.createHTML(l):l,i]};class k{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[f,h]=E(t,o);if(this.el=k.createElement(f,e),W.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=W.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(c)||o.startsWith(s)){const e=h[a++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+c).split(s),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?D:"?"===o[1]?B:"@"===o[1]?A:z})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(w.test(i.tagName)){const t=i.textContent.split(s),o=t.length-1;if(o>0){i.textContent=p?p.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],y()),W.nextNode(),l.push({type:2,index:++r});i.append(t[o],y())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(s,t+1));)l.push({type:7,index:r}),t+=s.length-1}r++}}static createElement(t,o){const e=g.createElement("template");return e.innerHTML=t,e}}function L(t,o,e=t,i){var r,a,n,l;if(o===I)return o;let p=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const f=b(o)?void 0:o._$litDirective$;return(null==p?void 0:p.constructor)!==f&&(null===(a=null==p?void 0:p._$AO)||void 0===a||a.call(p,!1),void 0===f?p=void 0:(p=new f(t),p._$AT(t,e,i)),void 0!==i?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[i]=p:e._$Cl=p),void 0!==p&&(o=L(t,p._$AS(t,o.values),p,i)),o}class K{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:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:g).importNode(e,!0);W.currentNode=r;let a=W.nextNode(),n=0,l=0,p=i[0];for(;void 0!==p;){if(n===p.index){let o;2===p.type?o=new Z(a,a.nextSibling,this,t):1===p.type?o=new p.ctor(a,p.name,p.strings,this,t):6===p.type&&(o=new H(a,this,t)),this._$AV.push(o),p=i[++l]}n!==(null==p?void 0:p.index)&&(a=W.nextNode(),n++)}return r}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 Z{constructor(t,o,e,i){var r;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}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=L(this,t,o),b(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==I&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>u(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!==U&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=k.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new K(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new k(t)),o}T(t){u(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Z(this.k(y()),this.k(y()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$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 z{constructor(t,o,e,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let a=!1;if(void 0===r)t=L(this,t,o,0),a=!b(t)||t!==this._$AH&&t!==I,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=L(this,i[e+n],o,n),l===I&&(l=this._$AH[n]),a||(a=!b(l)||l!==this._$AH[n]),l===U?t=U:t!==U&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class D extends z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const F=p?p.emptyScript:"";class B extends z{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class A extends z{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=L(this,t,o,0))&&void 0!==e?e:U)===I)return;const i=this._$AH,r=t===U&&i!==U||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==U&&(i===U||r);r&&this.element.removeEventListener(this.name,this,i),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 H{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){L(this,t)}}const G=l.litHtmlPolyfillSupport;null==G||G(k,Z),(null!==(n=l.litHtmlVersions)&&void 0!==n?n:l.litHtmlVersions=[]).push("2.7.3");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2018 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t._$litStatic$},H=t=>({_$litStatic$:t,r:F}),P=new Map,G=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let a,f=0,p=!1;for(;f<o;){for(a=e[f];f<o&&void 0!==(l=i[f],s=K(l));)a+=s+e[++f],p=!0;f!==o&&r.push(l),n.push(a),f++}if(f===o&&n.push(e[o]),p){const t=n.join("$$lit$$");void 0===(e=P.get(t))&&(n.raw=n,P.set(t,e=n)),i=r}return t(e,...i)})(E);
13
+ const j=Symbol.for(""),P=t=>{if((null==t?void 0:t.r)===j)return null==t?void 0:t._$litStatic$},M=t=>({_$litStatic$:t,r:j}),_=new Map,Y=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let p,f=0,c=!1;for(;f<i;){for(p=o[f];f<i&&void 0!==(a=e[f],r=P(a));)p+=r+o[++f],c=!0;f!==i&&l.push(a),n.push(p),f++}if(f===i&&n.push(o[i]),c){const t=n.join("$$lit$$");void 0===(o=_.get(t))&&(n.raw=n,_.set(t,o=n)),e=l}return t(o,...e)})($);
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2020 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
- */var L;!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"}(L||(L={}));const q=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),X=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),Y={fontFamily:X,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")},J=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),Q=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",Y.fontSize,"20px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Y.fontWeight,"normal"),et=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Y.letterSpacing,"0.15px"),it=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",Y.lineHeight,"1.2"),ot=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Y.textTransform,"inherit"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Y.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Y.fontWeight,"normal"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Y.letterSpacing,"0.105px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Y.lineHeight,"1.7"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Y.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",X),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Y.fontSize,"16px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Y.fontWeight,"600"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Y.letterSpacing,"0.144px"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Y.lineHeight,"1.5"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Y.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",X),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Y.fontSize,"14px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Y.fontWeight,"normal"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Y.letterSpacing,"0.098px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Y.lineHeight,"1.7"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Y.textTransform,"inherit"),wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Y.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Y.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Y.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Y.textTransform,"inherit")},kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",X),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Y.fontSize,"14px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Y.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Y.letterSpacing,"0.252px"),It=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Y.lineHeight,"1.4"),Nt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Y.textTransform,"inherit"),jt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",X),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Y.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Y.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Y.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Y.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Y.textTransform,"inherit")},Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",X),Ot=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Y.fontSize,"10px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Y.fontWeight,"normal"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Y.letterSpacing,"0.33px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Y.lineHeight,"1.6"),Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Y.textTransform,"inherit"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",X),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Y.fontSize,"10px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Y.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Y.letterSpacing,"1.5px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Y.lineHeight,"1.6"),Wt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Y.textTransform,"uppercase"),Vt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",X),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",Y.fontSize,"14px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Y.fontWeight,"600"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Y.letterSpacing,"1.246px"),Pt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",Y.lineHeight,"1.15"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Y.textTransform,"uppercase"),Lt=i.css`
18
+ */var T;!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"}(T||(T={}));const V=t=>"string"==typeof t?e.unsafeCSS(t):t;class q{static create(t,o,i,r){const a=t=>V(null!=t?t:r),n=e.css`var(${V(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${V(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${V(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${V(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):V(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${V(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${V(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const X={colorWhite:q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:q.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:q.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:q.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:q.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:q.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:q.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:q.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:q.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:q.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:q.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:q.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:q.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:q.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:q.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:q.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:q.create("--ft-opacity-0","","NUMBER","0"),opacity8:q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:q.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:q.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:q.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:q.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:q.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:q.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:q.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:q.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:q.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)};q.create("--ft-button-large-height","","SIZE","40px"),q.extend("--ft-button-large-horizontal-padding","",X.spacing4),q.extend("--ft-button-large-gap","",X.spacing2),q.extend("--ft-button-large-border-radius","",X.borderRadiusS),q.extend("--ft-button-large-icon-size","",X.iconSize3),q.create("--ft-button-large-border-width","","SIZE","1px"),q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),q.create("--ft-button-large-icon-only-width","","SIZE","40px"),q.create("--ft-button-small-height","","SIZE","30px"),q.extend("--ft-button-small-horizontal-padding","",X.spacing3),q.extend("--ft-button-small-gap","",X.spacing2),q.extend("--ft-button-small-border-radius","",X.borderRadiusS),q.extend("--ft-button-small-icon-size","",X.iconSize2),q.create("--ft-button-small-border-width","","SIZE","1px"),q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),q.create("--ft-button-small-icon-only-width","","SIZE","30px"),q.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),q.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),q.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),q.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),q.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-secondary-background-color","",X.colorWhite),q.extend("--ft-button-secondary-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),q.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),q.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),q.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),q.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40),q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),q.extend("--ft-tabs-label-gap","",X.spacing1),q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),q.extend("--ft-switch-group-vertical-padding","",X.spacing1),q.extend("--ft-switch-group-gap","",X.spacing1),q.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),q.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),q.create("--ft-switch-group-border-radius","","SIZE","6px"),q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),q.extend("--ft-switch-label-vertical-padding","",X.spacing1),q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),q.create("--ft-switch-focus-outline-width","","SIZE","2px"),q.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),q.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),q.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),q.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),q.extend("--ft-chart-3-light","",X.colorUltramarine40),q.extend("--ft-chart-3-base","",X.colorUltramarine70),q.extend("--ft-chart-4-light","",X.colorCyan50),q.extend("--ft-chart-4-base","",X.colorCyan100),q.extend("--ft-chart-5-light","",X.colorRed40),q.extend("--ft-chart-5-base","",X.colorRed60),q.extend("--ft-chart-6-light","",X.colorGreen40),q.extend("--ft-chart-6-base","",X.colorGreen70),q.extend("--ft-chart-7-light","",X.colorOrange70),q.extend("--ft-chart-7-base","",X.colorOrange100),q.extend("--ft-chart-8-light","",X.colorAvocado70),q.extend("--ft-chart-8-base","",X.colorAvocado200),q.extend("--ft-chart-9-light","",X.colorBrown50),q.extend("--ft-chart-9-base","",X.colorBrown200),q.extend("--ft-chart-10-light","",X.colorGray50),q.extend("--ft-chart-10-base","",X.colorGray80),q.extend("--ft-chart-monochrome-10","",X.colorBrand10),q.extend("--ft-chart-monochrome-20","",X.colorBrand20),q.extend("--ft-chart-monochrome-30","",X.colorBrand40),q.extend("--ft-chart-monochrome-40","",X.colorBrand60),q.extend("--ft-chart-monochrome-50","",X.colorBrand0),q.extend("--ft-chart-monochrome-60","",X.colorBrand200),q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),q.extend("--ft-chip-large-vertical-padding","",X.spacing2),q.extend("--ft-chip-large-gap","",X.spacing1),q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),q.create("--ft-chip-large-border-width","","SIZE","1px"),q.extend("--ft-chip-large-icon-size","",X.iconSize3),q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),q.extend("--ft-chip-medium-gap","",X.spacing1),q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),q.create("--ft-chip-medium-border-width","","SIZE","1px"),q.extend("--ft-chip-medium-icon-size","",X.iconSize2),q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),q.extend("--ft-chip-small-vertical-padding","",X.spacing05),q.extend("--ft-chip-small-gap","",X.spacing1),q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),q.create("--ft-chip-small-border-width","","SIZE","1px"),q.extend("--ft-chip-small-icon-size","",X.iconSize1),q.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),q.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),q.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),q.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-chip-info-color","",Q.contentInfoPrimary),q.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),q.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),q.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-chip-error-color","",Q.contentErrorPrimary),q.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),q.create("--ft-notice-border-width","","SIZE","1px"),q.extend("--ft-notice-horizontal-padding","",X.spacing2),q.extend("--ft-notice-vertical-padding","",X.spacing1),q.extend("--ft-notice-border-radius","",X.borderRadiusS),q.extend("--ft-notice-gap","",X.spacing2),q.extend("--ft-notice-icon-size","",X.iconSize3),q.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notice-info-color","",Q.contentInfoPrimary),q.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),q.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),q.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),q.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),q.extend("--ft-checkbox-gap","",X.spacing3),q.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),q.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-toggle-gap","",X.spacing3),q.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),q.extend("--ft-radio-selected-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),q.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),q.create("--ft-radio-focus-outline-width","","SIZE","2px"),q.extend("--ft-radio-gap","",X.spacing3),q.extend("--ft-notification-icon-size","",X.iconSize4),q.extend("--ft-notification-horizontal-padding","",X.spacing4),q.extend("--ft-notification-vertical-padding","",X.spacing4),q.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notification-info-color","",Q.contentInfoPrimary),q.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),q.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),q.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-notification-error-color","",Q.contentErrorPrimary),q.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),q.extend("--ft-notification-border-radius","",X.borderRadiusPill),q.create("--ft-notification-border-width","","SIZE","1px"),q.extend("--ft-notification-gap-leading","",X.spacing2),q.extend("--ft-notification-gap-trailing","",X.spacing8);const tt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),et={fontFamily:ot,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")},it=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",tt),rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",et.fontSize,"20px"),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",et.fontWeight,"normal"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",et.letterSpacing,"0.15px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",et.lineHeight,"1.2"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",et.textTransform,"inherit"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",tt),ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",et.fontSize,"14px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",et.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",et.letterSpacing,"0.105px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",et.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",et.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",et.fontSize,"16px"),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",et.fontWeight,"600"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",et.letterSpacing,"0.144px"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",et.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",et.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",et.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",et.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",et.letterSpacing,"0.098px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",et.lineHeight,"1.7"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",et.textTransform,"inherit"),It={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",et.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",et.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",et.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",et.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",et.textTransform,"inherit")},Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",et.fontSize,"14px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",et.fontWeight,"normal"),Et=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",et.letterSpacing,"0.252px"),kt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",et.lineHeight,"1.4"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",et.textTransform,"inherit"),Kt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",et.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",et.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",et.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",et.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",et.textTransform,"inherit")},Zt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),zt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",et.fontSize,"10px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",et.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",et.letterSpacing,"0.33px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",et.lineHeight,"1.6"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",et.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",et.fontSize,"10px"),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",et.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",et.letterSpacing,"1.5px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",et.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",et.textTransform,"uppercase"),Yt=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),Tt=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",et.fontSize,"14px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",et.fontWeight,"600"),qt=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",et.letterSpacing,"1.246px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",et.lineHeight,"1.15"),Jt=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",et.textTransform,"uppercase"),Qt=e.css`
19
19
  .ft-typography--title {
20
- font-family: ${J};
21
- font-size: ${Q};
22
- font-weight: ${tt};
23
- letter-spacing: ${et};
24
- line-height: ${it};
25
- text-transform: ${ot};
26
- }
27
- `,qt=i.css`
20
+ font-family: ${it};
21
+ font-size: ${rt};
22
+ font-weight: ${at};
23
+ letter-spacing: ${nt};
24
+ line-height: ${lt};
25
+ text-transform: ${pt};
26
+ }
27
+ `,to=e.css`
28
28
  .ft-typography--title-dense {
29
- font-family: ${st};
30
- font-size: ${lt};
31
- font-weight: ${nt};
32
- letter-spacing: ${rt};
33
- line-height: ${at};
34
- text-transform: ${ft};
35
- }
36
- `,Xt=i.css`
29
+ font-family: ${ft};
30
+ font-size: ${ct};
31
+ font-weight: ${st};
32
+ letter-spacing: ${dt};
33
+ line-height: ${ht};
34
+ text-transform: ${gt};
35
+ }
36
+ `,oo=e.css`
37
37
  .ft-typography--subtitle1 {
38
- font-family: ${pt};
39
- font-size: ${ht};
40
- font-weight: ${dt};
41
- letter-spacing: ${ct};
42
- line-height: ${ut};
43
- text-transform: ${xt};
44
- }
45
- `,Yt=i.css`
38
+ font-family: ${yt};
39
+ font-size: ${bt};
40
+ font-weight: ${ut};
41
+ letter-spacing: ${mt};
42
+ line-height: ${xt};
43
+ text-transform: ${Ot};
44
+ }
45
+ `,eo=e.css`
46
46
  .ft-typography--subtitle2 {
47
- font-family: ${gt};
48
- font-size: ${yt};
49
- font-weight: ${vt};
50
- letter-spacing: ${bt};
51
- line-height: ${mt};
47
+ font-family: ${Nt};
48
+ font-size: ${vt};
49
+ font-weight: ${St};
50
+ letter-spacing: ${Ct};
51
+ line-height: ${wt};
52
52
  text-transform: ${$t};
53
53
  }
54
54
 
55
- `,Jt=i.css`
55
+ `,io=e.css`
56
56
  .ft-typography--body1 {
57
- font-family: ${wt.fontFamily};
58
- font-size: ${wt.fontSize};
59
- font-weight: ${wt.fontWeight};
60
- letter-spacing: ${wt.letterSpacing};
61
- line-height: ${wt.lineHeight};
62
- text-transform: ${wt.textTransform};
63
- }
64
- `,Qt=i.css`
57
+ font-family: ${It.fontFamily};
58
+ font-size: ${It.fontSize};
59
+ font-weight: ${It.fontWeight};
60
+ letter-spacing: ${It.letterSpacing};
61
+ line-height: ${It.lineHeight};
62
+ text-transform: ${It.textTransform};
63
+ }
64
+ `,ro=e.css`
65
65
  .ft-typography--body2 {
66
- font-family: ${kt};
67
- font-size: ${zt};
68
- font-weight: ${St};
66
+ font-family: ${Ut};
67
+ font-size: ${Rt};
68
+ font-weight: ${Wt};
69
69
  letter-spacing: ${Et};
70
- line-height: ${It};
71
- text-transform: ${Nt};
70
+ line-height: ${kt};
71
+ text-transform: ${Lt};
72
72
  }
73
- `,te=i.css`
73
+ `,ao=e.css`
74
74
  .ft-typography--caption {
75
- font-family: ${jt.fontFamily};
76
- font-size: ${jt.fontSize};
77
- font-weight: ${jt.fontWeight};
78
- letter-spacing: ${jt.letterSpacing};
79
- line-height: ${jt.lineHeight};
80
- text-transform: ${jt.textTransform};
81
- }
82
- `,ee=i.css`
75
+ font-family: ${Kt.fontFamily};
76
+ font-size: ${Kt.fontSize};
77
+ font-weight: ${Kt.fontWeight};
78
+ letter-spacing: ${Kt.letterSpacing};
79
+ line-height: ${Kt.lineHeight};
80
+ text-transform: ${Kt.textTransform};
81
+ }
82
+ `,no=e.css`
83
83
  .ft-typography--breadcrumb {
84
- font-family: ${Ct};
85
- font-size: ${Ot};
86
- font-weight: ${At};
87
- letter-spacing: ${Bt};
88
- line-height: ${Dt};
89
- text-transform: ${Zt};
90
- }
91
- `,ie=i.css`
84
+ font-family: ${Zt};
85
+ font-size: ${zt};
86
+ font-weight: ${Dt};
87
+ letter-spacing: ${Ft};
88
+ line-height: ${Bt};
89
+ text-transform: ${At};
90
+ }
91
+ `,lo=e.css`
92
92
  .ft-typography--overline {
93
- font-family: ${_t};
94
- font-size: ${Ut};
95
- font-weight: ${Mt};
96
- letter-spacing: ${Tt};
97
- line-height: ${Rt};
98
- text-transform: ${Wt};
99
- }
100
- `,oe=i.css`
93
+ font-family: ${Ht};
94
+ font-size: ${Gt};
95
+ font-weight: ${jt};
96
+ letter-spacing: ${Pt};
97
+ line-height: ${Mt};
98
+ text-transform: ${_t};
99
+ }
100
+ `,po=e.css`
101
101
  .ft-typography--button {
102
- font-family: ${Vt};
103
- font-size: ${Ft};
104
- font-weight: ${Kt};
105
- letter-spacing: ${Ht};
106
- line-height: ${Pt};
107
- text-transform: ${Gt};
108
- }
109
- `,se=i.css`
102
+ font-family: ${Yt};
103
+ font-size: ${Tt};
104
+ font-weight: ${Vt};
105
+ letter-spacing: ${qt};
106
+ line-height: ${Xt};
107
+ text-transform: ${Jt};
108
+ }
109
+ `,fo=e.css`
110
110
  .ft-typography {
111
111
  vertical-align: inherit;
112
112
  }
113
- `;var le=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class ne extends e.FtLitElement{constructor(){super(...arguments),this.variant=L.body1}render(){return this.element?G`
114
- <${H(this.element)}
115
- class="ft-typography ft-typography--${this.variant}">
113
+ `,co=[Object.keys(J).map((t=>function(t){const o=J[t];return e.css`
114
+ font-family: ${o.fontFamily};
115
+ font-size: ${o.fontSize};
116
+ font-weight: ${o.fontWeight};
117
+ letter-spacing: ${o.letterSpacing};
118
+ line-height: ${o.lineHeight};
119
+ text-transform: ${o.textCase};
120
+ `}(t)))];var so=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ho extends o.FtLitElement{constructor(){super(...arguments),this.variant=T.body1}render(){return this.element?Y`
121
+ <${M(this.element)}
122
+ class="ft-typography ft-typography--${this.variant}">
116
123
  <slot></slot>
117
- </${H(this.element)}>
118
- `:G`
124
+ </${M(this.element)}>
125
+ `:Y`
119
126
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
120
- `}}ne.styles=[Lt,qt,Xt,Yt,Jt,Qt,te,ee,ie,oe,se],le([o.property()],ne.prototype,"element",void 0),le([o.property()],ne.prototype,"variant",void 0),e.customElement("ft-typography")(ne);const re={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},ae=i.css`
127
+ `}}ho.styles=[Qt,to,oo,eo,io,ro,ao,no,lo,po,fo,...co],so([i.property()],ho.prototype,"element",void 0),so([i.property()],ho.prototype,"variant",void 0),o.customElement("ft-typography")(ho);const go={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},yo=e.css`
121
128
  .ft-input-label {
122
129
  position: absolute;
123
130
  inset: 0;
124
131
  display: flex;
125
- background-color: ${re.colorSurface};
126
- border-radius: ${re.borderRadiusS} ${re.borderRadiusS} 0 0;
132
+ background-color: ${go.colorSurface};
133
+ border-radius: ${go.borderRadiusS} ${go.borderRadiusS} 0 0;
127
134
  }
128
135
 
129
136
  .ft-input-label--outlined {
130
- border-radius: ${re.borderRadiusS};
137
+ border-radius: ${go.borderRadiusS};
131
138
  }
132
139
 
133
140
  .ft-input-label {
134
- border-color: ${re.borderColor};
141
+ border-color: ${go.borderColor};
135
142
  }
136
143
 
137
144
  .ft-input-label.ft-input-label--in-error {
138
- border-color: ${re.colorError}
145
+ border-color: ${go.colorError}
139
146
  }
140
147
 
141
148
  .ft-input-label:before,
@@ -148,7 +155,7 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
148
155
  }
149
156
 
150
157
  .ft-input-label:before {
151
- width: calc(${re.horizontalSpacing} - 4px);
158
+ width: calc(${go.horizontalSpacing} - 4px);
152
159
  flex-shrink: 0;
153
160
  }
154
161
 
@@ -164,20 +171,20 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
164
171
  border-bottom-width: 1px;
165
172
  border-bottom-style: solid;
166
173
  border-color: inherit;
167
- color: ${re.textColor};
174
+ color: ${go.textColor};
168
175
  transition: font-size 250ms, line-height 250ms, color 250ms;
169
- max-width: calc(${re.labelMaxWidth} - 2 * (${re.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
176
+ max-width: calc(${go.labelMaxWidth} - 2 * (${go.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
170
177
  text-overflow: ellipsis;
171
- ${e.setVariable(jt.fontSize,re.fontSize)};
172
- ${e.setVariable(jt.lineHeight,re.fontSize)};
178
+ ${o.setVariable(Kt.fontSize,go.fontSize)};
179
+ ${o.setVariable(Kt.lineHeight,go.fontSize)};
173
180
  }
174
181
 
175
182
  .ft-input-label--in-error .ft-input-label--text {
176
- color: ${re.colorError}
183
+ color: ${go.colorError}
177
184
  }
178
185
 
179
186
  .ft-input-label--disabled .ft-input-label--text {
180
- color: ${re.disabledTextColor};
187
+ color: ${go.disabledTextColor};
181
188
  }
182
189
 
183
190
  .ft-input-label--hidden-text {
@@ -194,19 +201,19 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
194
201
  overflow: hidden;
195
202
  white-space: nowrap;
196
203
  text-overflow: ellipsis;
197
- padding: ${re.verticalSpacing} 4px;
198
- margin: calc(${re.verticalSpacing} * -1) 0;
204
+ padding: ${go.verticalSpacing} 4px;
205
+ margin: calc(${go.verticalSpacing} * -1) 0;
199
206
  max-width: 100%;
200
207
  box-sizing: border-box;
201
208
  }
202
209
 
203
210
  .ft-input-label--raised .ft-input-label--text {
204
- ${e.setVariable(jt.fontSize,re.raisedFontSize)};
205
- ${e.setVariable(jt.lineHeight,re.raisedFontSize)};
211
+ ${o.setVariable(Kt.fontSize,go.raisedFontSize)};
212
+ ${o.setVariable(Kt.lineHeight,go.raisedFontSize)};
206
213
  }
207
214
 
208
215
  .ft-input-label--raised .ft-input-label--floating-text {
209
- top: ${re.verticalSpacing};
216
+ top: ${go.verticalSpacing};
210
217
  }
211
218
 
212
219
  .ft-input-label--outlined .ft-input-label--text,
@@ -219,36 +226,36 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
219
226
  .ft-input-label--outlined:before {
220
227
  border-left-width: 1px;
221
228
  border-left-style: solid;
222
- border-radius: ${re.borderRadiusS} 0 0 ${re.borderRadiusS};
229
+ border-radius: ${go.borderRadiusS} 0 0 ${go.borderRadiusS};
223
230
  }
224
231
 
225
232
  .ft-input-label--outlined:after {
226
233
  border-right-width: 1px;
227
234
  border-right-style: solid;
228
- border-radius: 0 ${re.borderRadiusS} ${re.borderRadiusS} 0;
235
+ border-radius: 0 ${go.borderRadiusS} ${go.borderRadiusS} 0;
229
236
  }
230
237
 
231
238
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
232
239
  padding: 2px 4px;
233
- z-index: ${re.raisedZIndex};
234
- background-color: ${re.colorSurface};
235
- border-radius: ${re.borderRadiusS};
240
+ z-index: ${go.raisedZIndex};
241
+ background-color: ${go.colorSurface};
242
+ border-radius: ${go.borderRadiusS};
236
243
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
237
244
  }
238
245
 
239
246
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
240
247
  border-top: none;
241
248
  }
242
- `;var fe=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class pe extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return i.html`
243
- <div class="${s.classMap(t)}">
244
- ${this.text?i.html`
249
+ `;var bo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class uo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
250
+ <div class="${r.classMap(t)}">
251
+ ${this.text?e.html`
245
252
  <div class="ft-input-label--text ft-typography--caption">
246
253
  <span class="ft-input-label--floating-text">${this.text}</span>
247
254
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
248
255
  </div>
249
256
  `:null}
250
257
  </div>
251
- `}}pe.elementDefinitions={},pe.styles=[te,ae],fe([o.property({type:String})],pe.prototype,"text",void 0),fe([o.property({type:Boolean})],pe.prototype,"raised",void 0),fe([o.property({type:Boolean})],pe.prototype,"outlined",void 0),fe([o.property({type:Boolean})],pe.prototype,"disabled",void 0),fe([o.property({type:Boolean})],pe.prototype,"error",void 0),e.customElement("ft-input-label")(pe);const he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),de={color:he,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),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")},ce=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),ue=ce,xe=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ce),ge=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ye=ge,ve=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ge),be=i.css`
258
+ `}}uo.elementDefinitions={},uo.styles=[ao,yo],bo([i.property({type:String})],uo.prototype,"text",void 0),bo([i.property({type:Boolean})],uo.prototype,"raised",void 0),bo([i.property({type:Boolean})],uo.prototype,"outlined",void 0),bo([i.property({type:Boolean})],uo.prototype,"disabled",void 0),bo([i.property({type:Boolean})],uo.prototype,"error",void 0),o.customElement("ft-input-label")(uo);const mo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),xo={color:mo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",mo),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")},Oo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),No=Oo,vo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oo),So=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Co=So,wo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",So),$o=e.css`
252
259
  :host {
253
260
  display: contents;
254
261
  }
@@ -261,7 +268,7 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
261
268
 
262
269
  .ft-ripple:not(.ft-ripple--unbounded) {
263
270
  overflow: hidden;
264
- border-radius: ${de.borderRadius};
271
+ border-radius: ${xo.borderRadius};
265
272
  }
266
273
 
267
274
  .ft-ripple .ft-ripple--background,
@@ -295,27 +302,27 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
295
302
  }
296
303
 
297
304
  .ft-ripple .ft-ripple--background {
298
- background-color: ${de.backgroundColor};
305
+ background-color: ${xo.backgroundColor};
299
306
  }
300
307
 
301
308
  .ft-ripple .ft-ripple--effect {
302
- background-color: ${de.color};
309
+ background-color: ${xo.color};
303
310
  }
304
311
 
305
312
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
306
- background-color: ${ve};
313
+ background-color: ${wo};
307
314
  }
308
315
 
309
316
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
310
- background-color: ${ye};
317
+ background-color: ${Co};
311
318
  }
312
319
 
313
320
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
314
- background-color: ${xe};
321
+ background-color: ${vo};
315
322
  }
316
323
 
317
324
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
318
- background-color: ${ue};
325
+ background-color: ${No};
319
326
  }
320
327
 
321
328
  .ft-ripple .ft-ripple--background {
@@ -345,33 +352,33 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
345
352
  }
346
353
 
347
354
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
348
- opacity: ${de.opacityContentOnSurfaceHover};
355
+ opacity: ${xo.opacityContentOnSurfaceHover};
349
356
  }
350
357
 
351
358
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
352
- opacity: ${de.opacityContentOnSurfaceSelected};
359
+ opacity: ${xo.opacityContentOnSurfaceSelected};
353
360
  }
354
361
 
355
362
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
356
- opacity: ${de.opacityContentOnSurfaceFocused};
363
+ opacity: ${xo.opacityContentOnSurfaceFocused};
357
364
  }
358
365
 
359
366
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
360
- opacity: ${de.opacityContentOnSurfacePressed};
367
+ opacity: ${xo.opacityContentOnSurfacePressed};
361
368
  transform: translate(-50%, -50%) scale(1);
362
369
  }
363
- `;var me,$e,we=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class ke 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:s}=this.getCoordinates(t),l=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-l.x:l.width/2),this.originY=Math.round(null!=s?s-l.y:l.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`
370
+ `;var Io,Uo,Ro=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Wo 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:i,y:r}=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!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-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`
364
371
  <style>
365
372
  .ft-ripple .ft-ripple--effect {
366
373
  left: ${this.originX}px;
367
374
  top: ${this.originY}px;
368
375
  }
369
376
  </style>
370
- <div class="${s.classMap(t)}">
377
+ <div class="${r.classMap(t)}">
371
378
  <div class="ft-ripple--background"></div>
372
379
  <div class="ft-ripple--effect"></div>
373
380
  </div>
374
- `}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"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}ke.elementDefinitions={},ke.styles=be,we([o.property({type:Boolean})],ke.prototype,"primary",void 0),we([o.property({type:Boolean})],ke.prototype,"secondary",void 0),we([o.property({type:Boolean})],ke.prototype,"unbounded",void 0),we([o.property({type:Boolean})],ke.prototype,"activated",void 0),we([o.property({type:Boolean})],ke.prototype,"selected",void 0),we([o.property({type:Boolean})],ke.prototype,"disabled",void 0),we([o.state()],ke.prototype,"hovered",void 0),we([o.state()],ke.prototype,"focused",void 0),we([o.state()],ke.prototype,"pressed",void 0),we([o.state()],ke.prototype,"rippling",void 0),we([o.state()],ke.prototype,"originX",void 0),we([o.state()],ke.prototype,"originY",void 0),we([o.query(".ft-ripple")],ke.prototype,"ripple",void 0),we([o.query(".ft-ripple--effect")],ke.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(ke),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;"}(me||(me={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}($e||($e={})),new Map([...["abw"].map((t=>[t,$e.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,$e.AUDIO])),...["avi"].map((t=>[t,$e.AVI])),...["chm","xhs"].map((t=>[t,$e.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,$e.CODE])),...["csv"].map((t=>[t,$e.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$e.DITA])),...["epub"].map((t=>[t,$e.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$e.EXCEL])),...["flac"].map((t=>[t,$e.FLAC])),...["gif"].map((t=>[t,$e.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$e.GZIP])),...["html","htm","xhtml"].map((t=>[t,$e.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,$e.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$e.JPEG])),...["json"].map((t=>[t,$e.JSON])),...["m4a","m4p"].map((t=>[t,$e.M4A])),...["mov","qt"].map((t=>[t,$e.MOV])),...["mp3"].map((t=>[t,$e.MP3])),...["mp4","m4v"].map((t=>[t,$e.MP4])),...["ogg","oga"].map((t=>[t,$e.OGG])),...["pdf","ps"].map((t=>[t,$e.PDF])),...["png"].map((t=>[t,$e.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$e.POWERPOINT])),...["rar"].map((t=>[t,$e.RAR])),...["stp"].map((t=>[t,$e.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$e.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,$e.VIDEO])),...["wav"].map((t=>[t,$e.WAV])),...["wma"].map((t=>[t,$e.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$e.WORD])),...["xml","xsl","rdf"].map((t=>[t,$e.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$e.YAML])),...["zip"].map((t=>[t,$e.ZIP]))]);const ze=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),Se=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Ee=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Ie=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Ne=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),je=i.css`
381
+ `}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"),i=o("touchend","touchcancel"),r=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",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}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()}}Wo.elementDefinitions={},Wo.styles=$o,Ro([i.property({type:Boolean})],Wo.prototype,"primary",void 0),Ro([i.property({type:Boolean})],Wo.prototype,"secondary",void 0),Ro([i.property({type:Boolean})],Wo.prototype,"unbounded",void 0),Ro([i.property({type:Boolean})],Wo.prototype,"activated",void 0),Ro([i.property({type:Boolean})],Wo.prototype,"selected",void 0),Ro([i.property({type:Boolean})],Wo.prototype,"disabled",void 0),Ro([i.state()],Wo.prototype,"hovered",void 0),Ro([i.state()],Wo.prototype,"focused",void 0),Ro([i.state()],Wo.prototype,"pressed",void 0),Ro([i.state()],Wo.prototype,"rippling",void 0),Ro([i.state()],Wo.prototype,"originX",void 0),Ro([i.state()],Wo.prototype,"originY",void 0),Ro([i.query(".ft-ripple")],Wo.prototype,"ripple",void 0),Ro([i.query(".ft-ripple--effect")],Wo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(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;"}(Io||(Io={})),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 Eo=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),ko=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Lo=o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Ko=o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Zo=o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),zo=e.css`
375
382
  :host, i.ft-icon {
376
383
  display: inline-flex;
377
384
  align-items: center;
@@ -380,14 +387,14 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
380
387
  }
381
388
 
382
389
  :host {
383
- width: ${ze};
384
- height: ${ze};
390
+ width: ${Eo};
391
+ height: ${Eo};
385
392
  }
386
393
 
387
394
  i.ft-icon {
388
395
  width: 100%;
389
396
  height: 100%;
390
- font-size: ${ze};
397
+ font-size: ${Eo};
391
398
  line-height: 1;
392
399
  font-weight: normal;
393
400
  text-transform: none;
@@ -398,33 +405,33 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
398
405
  text-rendering: auto;
399
406
  -webkit-font-smoothing: antialiased;
400
407
  -moz-osx-font-smoothing: grayscale;
401
- vertical-align: ${Ne};
408
+ vertical-align: ${Zo};
402
409
  }
403
410
 
404
411
  i.ft-icon.ft-icon--fluid-topics {
405
- font-family: ${Se}, ft-icons, fticons, sans-serif;
412
+ font-family: ${ko}, ft-icons, fticons, sans-serif;
406
413
 
407
414
  /* Ugly fix because font is broken */
408
- font-size: calc(0.75 * ${ze});
409
- line-height: ${ze};
415
+ font-size: calc(0.75 * ${Eo});
416
+ line-height: ${Eo};
410
417
  position: relative;
411
418
  top: -4%;
412
419
  justify-content: center;
413
420
  }
414
421
 
415
422
  .ft-icon--file-format {
416
- font-family: ${Ee}, ft-mime, sans-serif;
423
+ font-family: ${Lo}, ft-mime, sans-serif;
417
424
  }
418
425
 
419
426
  .ft-icon--material {
420
- font-family: ${Ie}, "Material Icons", sans-serif;
427
+ font-family: ${Ko}, "Material Icons", sans-serif;
421
428
  }
422
- `;var Ce;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ce||(Ce={}));var Oe=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Ae extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(Ce).includes(this.variant)?this.variant:Ce.fluid_topics,e=t!==Ce.material||!!this.value;return i.html`
429
+ `;var Do;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Do||(Do={}));var Fo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(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(Do).includes(this.variant)?this.variant:Do.fluid_topics,o=t!==Do.material||!!this.value;return e.html`
423
430
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
424
- ${l.unsafeHTML(this.resolvedIcon)}
425
- <slot ?hidden=${e}></slot>
431
+ ${a.unsafeHTML(this.resolvedIcon)}
432
+ <slot ?hidden=${o}></slot>
426
433
  </i>
427
- `}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 Ce.file_format:this.resolvedIcon=null!==(t=$e[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ce.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=me[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ae.elementDefinitions={},Ae.styles=je,Oe([o.property()],Ae.prototype,"variant",void 0),Oe([o.property()],Ae.prototype,"value",void 0),Oe([o.state()],Ae.prototype,"resolvedIcon",void 0),Oe([o.query("slot")],Ae.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ae);const Be={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-field-helper-color",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariableFactory.extend("--ft-text-field-prefix-color",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariableFactory.extend("--ft-text-field-icon-color",e.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:e.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),suggestSize:e.FtCssVariableFactory.create("--ft-text-field-suggest-size","SIZE","300px")},De=i.css`
434
+ `}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 i=this.value||this.textContent;switch(this.variant){case Do.file_format:this.resolvedIcon=null!==(t=Uo[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Do.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Io[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Bo.elementDefinitions={},Bo.styles=zo,Fo([i.property()],Bo.prototype,"variant",void 0),Fo([i.property()],Bo.prototype,"value",void 0),Fo([i.state()],Bo.prototype,"resolvedIcon",void 0),Fo([i.query("slot")],Bo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Bo);const Ao={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ho=e.css`
428
435
  *:focus {
429
436
  outline: none;
430
437
  }
@@ -437,16 +444,16 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
437
444
  }
438
445
 
439
446
  ft-input-label {
440
- ${e.setVariable(re.fontSize,Be.fontSize)};
441
- ${e.setVariable(re.raisedFontSize,Be.labelSize)};
442
- ${e.setVariable(re.verticalSpacing,Be.verticalSpacing)};
443
- ${e.setVariable(re.horizontalSpacing,Be.horizontalSpacing)};
447
+ ${o.setVariable(go.fontSize,Ao.fontSize)};
448
+ ${o.setVariable(go.raisedFontSize,Ao.labelSize)};
449
+ ${o.setVariable(go.verticalSpacing,Ao.verticalSpacing)};
450
+ ${o.setVariable(go.horizontalSpacing,Ao.horizontalSpacing)};
444
451
  }
445
452
 
446
453
  .ft-text-field--main-panel {
447
454
  position: relative;
448
455
  display: flex;
449
- height: calc(4 * ${Be.verticalSpacing} + ${Be.labelSize} + ${Be.fontSize});
456
+ height: calc(4 * ${Ao.verticalSpacing} + ${Ao.labelSize} + ${Ao.fontSize});
450
457
  }
451
458
 
452
459
  .ft-text-field--input-panel {
@@ -455,24 +462,24 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
455
462
  display: flex;
456
463
  align-items: center;
457
464
  overflow: hidden;
458
- padding: 0 ${Be.horizontalSpacing};
465
+ padding: 0 ${Ao.horizontalSpacing};
459
466
 
460
- ${e.setVariable(wt.fontSize,Be.fontSize)};
461
- ${e.setVariable(wt.lineHeight,Be.fontSize)};
467
+ ${o.setVariable(It.fontSize,Ao.fontSize)};
468
+ ${o.setVariable(It.lineHeight,Ao.fontSize)};
462
469
  }
463
470
 
464
471
  .ft-text-field--input-panel ft-ripple {
465
- ${e.setVariable(de.opacityContentOnSurfaceHover,"0.08")};
466
- ${e.setVariable(de.opacityContentOnSurfacePressed,"0.04")};
472
+ ${o.setVariable(xo.opacityContentOnSurfaceHover,"0.08")};
473
+ ${o.setVariable(xo.opacityContentOnSurfacePressed,"0.04")};
467
474
  }
468
475
 
469
476
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
470
477
  align-items: flex-end;
471
- padding: 0 ${Be.horizontalSpacing} ${Be.verticalSpacing} ${Be.horizontalSpacing};
478
+ padding: 0 ${Ao.horizontalSpacing} ${Ao.verticalSpacing} ${Ao.horizontalSpacing};
472
479
  }
473
480
 
474
481
  .ft-text-field--prefix {
475
- color: ${Be.prefixColor};
482
+ color: ${Ao.prefixColor};
476
483
  margin-right: 2px;
477
484
  flex-shrink: 1;
478
485
  overflow: hidden;
@@ -491,15 +498,15 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
491
498
  flex-shrink: 1;
492
499
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
493
500
 
494
- color: ${Be.colorOnSurface};
495
- padding: calc(2 * ${Be.verticalSpacing}) 0;
501
+ color: ${Ao.colorOnSurface};
502
+ padding: calc(2 * ${Ao.verticalSpacing}) 0;
496
503
  border: none;
497
504
  background: none;
498
505
  }
499
506
 
500
507
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
501
508
  padding-bottom: 0;
502
- padding-top: calc(${Be.labelSize} + 2 * ${Be.verticalSpacing});
509
+ padding-top: calc(${Ao.labelSize} + 2 * ${Ao.verticalSpacing});
503
510
  }
504
511
 
505
512
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -508,37 +515,37 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
508
515
  }
509
516
 
510
517
  .ft-text-field--disabled .ft-text-field--input {
511
- color: ${Be.colorOnSurfaceDisabled};
518
+ color: ${Ao.colorOnSurfaceDisabled};
512
519
  }
513
520
 
514
521
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
515
- ${e.setVariable(re.borderColor,Be.colorPrimary)};
516
- ${e.setVariable(re.textColor,Be.colorPrimary)};
522
+ ${o.setVariable(go.borderColor,Ao.colorPrimary)};
523
+ ${o.setVariable(go.textColor,Ao.colorPrimary)};
517
524
  }
518
525
 
519
526
  .ft-text-field--filled .ft-text-field--input-panel {
520
- border-radius: ${Be.borderRadiusS} ${Be.borderRadiusS} 0 0;
527
+ border-radius: ${Ao.borderRadiusS} ${Ao.borderRadiusS} 0 0;
521
528
  }
522
529
 
523
530
  .ft-text-field--outlined .ft-text-field--input-panel {
524
- border-radius: ${Be.borderRadiusS};
531
+ border-radius: ${Ao.borderRadiusS};
525
532
  }
526
533
 
527
534
  .ft-text-field--helper-text {
528
- padding: 0 12px 0 ${Be.horizontalSpacing};
529
- color: ${Be.helperColor};
535
+ padding: 0 12px 0 ${Ao.horizontalSpacing};
536
+ color: ${Ao.helperColor};
530
537
  }
531
538
 
532
539
  .ft-text-field--in-error .ft-text-field--input,
533
540
  .ft-text-field--in-error .ft-text-field--helper-text,
534
541
  .ft-text-field--in-error .ft-text-field--prefix {
535
- color: ${Be.colorError};
542
+ color: ${Ao.colorError};
536
543
  }
537
544
 
538
545
  .ft-text-field--icon {
539
546
  align-self: center;
540
547
  margin-left: 8px;
541
- color: ${Be.iconColor};
548
+ color: ${Ao.iconColor};
542
549
  }
543
550
 
544
551
  .ft-text-field--container {
@@ -551,13 +558,13 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
551
558
  position: absolute;
552
559
  left: 0;
553
560
  right: 0;
554
- z-index: ${Be.floatingZIndex};
555
- background: ${Be.colorSurface};
556
- border: 1px solid ${Be.colorOutline};
557
- border-radius: 0 0 ${Be.borderRadiusS} ${Be.borderRadiusS};
558
- box-shadow: ${Be.elevation02};
561
+ z-index: ${Ao.floatingZIndex};
562
+ background: ${Ao.colorSurface};
563
+ border: 1px solid ${Ao.colorOutline};
564
+ border-radius: 0 0 ${Ao.borderRadiusS} ${Ao.borderRadiusS};
565
+ box-shadow: ${Ao.elevation02};
559
566
  outline: none;
560
- max-height: ${Be.suggestSize};
567
+ max-height: ${Ao.suggestSize};
561
568
  overflow-y: auto;
562
569
  }
563
570
 
@@ -574,14 +581,14 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
574
581
  }
575
582
 
576
583
  .ft-text-field--with-icon {
577
- ${e.setVariable(re.labelMaxWidth,`calc(100% - ${ze} - ${re.horizontalSpacing})`)};
584
+ ${o.setVariable(go.labelMaxWidth,`calc(100% - ${Eo} - ${go.horizontalSpacing})`)};
578
585
  }
579
586
 
580
587
  .ft-text-field--with-password ft-icon:hover {
581
588
  cursor: pointer;
582
589
  }
583
- `;var Ze=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class _e extends(e.toFtFormComponent(e.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=me.EYE_SLASH,this.passwordRevealedIcon=me.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return i.html`
584
- <div class="${s.classMap(t)}">
590
+ `;var Go=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class jo extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Io.EYE_SLASH,this.passwordRevealedIcon=Io.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return e.html`
591
+ <div class="${r.classMap(t)}">
585
592
  <div class="ft-text-field--main-panel"
586
593
  @keydown=${this.handleKeyboardNavigation}
587
594
  @focusout=${this.onMainPanelBlur}>
@@ -591,16 +598,16 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
591
598
  ?raised=${this.focused||""!=this.value}
592
599
  ?error=${this.error}></ft-input-label>
593
600
  <div class="ft-text-field--input-panel">
594
- ${this.outlined?i.nothing:i.html`
601
+ ${this.outlined?e.nothing:e.html`
595
602
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
596
603
  `}
597
- ${this.prefix?i.html`
604
+ ${this.prefix?e.html`
598
605
  <ft-typography class="ft-text-field--prefix" vaiant="body1">
599
606
  ${this.prefix}
600
607
  </ft-typography>
601
- `:i.nothing}
608
+ `:e.nothing}
602
609
  <input type=${this.password&&this.hidePassword?"password":"text"}
603
- maxlength=${(t=>null!=t?t:N)(this.maxLength||void 0)}
610
+ maxlength=${(t=>null!=t?t:U)(this.maxLength||void 0)}
604
611
  aria-label="${this.label}"
605
612
  class="ft-typography--body1 ft-text-field--input"
606
613
  ?disabled=${this.disabled}
@@ -615,23 +622,23 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
615
622
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
616
623
  </div>
617
624
  </div>
618
- ${this.helper?i.html`
625
+ ${this.helper?e.html`
619
626
  <ft-typography class="ft-text-field--helper-text" variant="caption">
620
627
  ${this.helper}
621
628
  </ft-typography>
622
- `:i.nothing}
629
+ `:e.nothing}
623
630
  </div>
624
- `}renderPasswordIcon(){return i.html`
631
+ `}renderPasswordIcon(){return e.html`
625
632
  <ft-icon class="ft-text-field--icon"
626
633
  .variant=${this.iconVariant}
627
634
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
628
635
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
629
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?i.html`
636
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?e.html`
630
637
  <ft-icon class="ft-text-field--icon"
631
638
  .variant=${this.iconVariant}
632
639
  .value=${this.icon}
633
640
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
634
- `:i.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const i=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(i,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}_e.elementDefinitions={"ft-input-label":pe,"ft-ripple":ke,"ft-typography":ne,"ft-icon":Ae},_e.styles=[Jt,De],Ze([o.property()],_e.prototype,"label",void 0),Ze([o.property({noAccessor:!0})],_e.prototype,"value",null),Ze([o.state()],_e.prototype,"dispatchedValue",void 0),Ze([o.property()],_e.prototype,"helper",void 0),Ze([o.property({type:Boolean})],_e.prototype,"outlined",void 0),Ze([o.property({type:Boolean})],_e.prototype,"disabled",void 0),Ze([o.property({type:Boolean})],_e.prototype,"error",void 0),Ze([o.property()],_e.prototype,"prefix",void 0),Ze([o.property()],_e.prototype,"icon",void 0),Ze([o.property()],_e.prototype,"passwordHiddenIcon",void 0),Ze([o.property()],_e.prototype,"passwordRevealedIcon",void 0),Ze([o.property()],_e.prototype,"iconVariant",void 0),Ze([o.property({type:Boolean})],_e.prototype,"filterSuggestions",void 0),Ze([o.property({type:Number})],_e.prototype,"maxLength",void 0),Ze([o.property({type:Boolean})],_e.prototype,"password",void 0),Ze([o.state()],_e.prototype,"focused",void 0),Ze([o.state()],_e.prototype,"hidePassword",void 0),Ze([o.state()],_e.prototype,"suggestionsOnTop",void 0),Ze([o.state()],_e.prototype,"hideSuggestions",void 0),Ze([o.state()],_e.prototype,"visibleSuggestions",void 0),Ze([o.query(".ft-text-field--main-panel")],_e.prototype,"mainPanel",void 0),Ze([o.query(".ft-text-field--input")],_e.prototype,"input",void 0),Ze([o.query(".ft-text-field--suggestions")],_e.prototype,"suggestionsContainer",void 0),Ze([o.queryAssignedElements({selector:"ft-text-field-suggestion"})],_e.prototype,"suggestions",void 0);const Ue=i.css`
641
+ `:e.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var o,e;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(o=this.input)||void 0===o?void 0:o.getBoundingClientRect(),i=null===(e=this.suggestionsContainer)||void 0===e?void 0:e.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}jo.elementDefinitions={"ft-input-label":uo,"ft-ripple":Wo,"ft-typography":ho,"ft-icon":Bo},jo.styles=[io,Ho],Go([i.property()],jo.prototype,"label",void 0),Go([i.property({noAccessor:!0})],jo.prototype,"value",null),Go([i.state()],jo.prototype,"dispatchedValue",void 0),Go([i.property()],jo.prototype,"helper",void 0),Go([i.property({type:Boolean})],jo.prototype,"outlined",void 0),Go([i.property({type:Boolean})],jo.prototype,"disabled",void 0),Go([i.property({type:Boolean})],jo.prototype,"error",void 0),Go([i.property()],jo.prototype,"prefix",void 0),Go([i.property()],jo.prototype,"icon",void 0),Go([i.property()],jo.prototype,"passwordHiddenIcon",void 0),Go([i.property()],jo.prototype,"passwordRevealedIcon",void 0),Go([i.property()],jo.prototype,"iconVariant",void 0),Go([i.property({type:Boolean})],jo.prototype,"filterSuggestions",void 0),Go([i.property({type:Number})],jo.prototype,"maxLength",void 0),Go([i.property({type:Boolean})],jo.prototype,"password",void 0),Go([i.state()],jo.prototype,"focused",void 0),Go([i.state()],jo.prototype,"hidePassword",void 0),Go([i.state()],jo.prototype,"suggestionsOnTop",void 0),Go([i.state()],jo.prototype,"hideSuggestions",void 0),Go([i.state()],jo.prototype,"visibleSuggestions",void 0),Go([i.query(".ft-text-field--main-panel")],jo.prototype,"mainPanel",void 0),Go([i.query(".ft-text-field--input")],jo.prototype,"input",void 0),Go([i.query(".ft-text-field--suggestions")],jo.prototype,"suggestionsContainer",void 0),Go([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],jo.prototype,"suggestions",void 0);const Po=e.css`
635
642
  .ft-text-field-suggestion {
636
643
  position: relative;
637
644
  padding: 8px 16px;
@@ -656,7 +663,7 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
656
663
  slot {
657
664
  pointer-events: none;
658
665
  }
659
- `;var Me=function(t,e,i,o){for(var s,l=arguments.length,n=l<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,r=t.length-1;r>=0;r--)(s=t[r])&&(n=(l<3?s(n):l>3?s(e,i,n):s(e,i))||n);return l>3&&n&&Object.defineProperty(e,i,n),n};class Te extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Re extends e.FtLitElement{render(){return i.html`
666
+ `;var Mo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class _o extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Yo extends o.FtLitElement{render(){return e.html`
660
667
  <div class="ft-text-field-suggestion"
661
668
  tabindex="-1"
662
669
  @keydown=${this.onKeyDown}
@@ -668,4 +675,4 @@ const F=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t
668
675
  <slot></slot>
669
676
  </ft-typography>
670
677
  </div>
671
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Te(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Re.elementDefinitions={"ft-ripple":ke,"ft-typography":ne,"ft-icon":Ae},Re.styles=Ue,Me([o.property()],Re.prototype,"value",void 0),Me([o.query(".ft-text-field-suggestion")],Re.prototype,"container",void 0),Me([o.queryAssignedNodes()],Re.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(_e),e.customElement("ft-text-field-suggestion")(Re),t.FtTextField=_e,t.FtTextFieldCssVariables=Be,t.FtTextFieldSuggestion=Re,t.SuggestionSelectedEvent=Te,t.styles=De,t.suggestionStyles=Ue}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
678
+ `}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new _o(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Yo.elementDefinitions={"ft-ripple":Wo,"ft-typography":ho,"ft-icon":Bo},Yo.styles=Po,Mo([i.property()],Yo.prototype,"value",void 0),Mo([i.query(".ft-text-field-suggestion")],Yo.prototype,"container",void 0),Mo([i.queryAssignedNodes()],Yo.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(jo),o.customElement("ft-text-field-suggestion")(Yo),t.FtTextField=jo,t.FtTextFieldCssVariables=Ao,t.FtTextFieldSuggestion=Yo,t.SuggestionSelectedEvent=_o,t.styles=Ho,t.suggestionStyles=Po}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);