@fluid-topics/ft-text-field 0.3.36 → 0.3.38

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,16 +1,16 @@
1
- !function(t,e,i,o,l,s){
1
+ !function(t,e,i,o,s,l){
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- var r;const n=window,p=n.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,x=(t="")=>c.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,y=Array.isArray,g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,v=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),N=new WeakMap,O=c.createTreeWalker(c,129,null,!1),E=(t,e)=>{const i=t.length-1,o=[];let l,s=2===e?"<svg>":"",r=g;for(let e=0;e<i;e++){const i=t[e];let n,p,a=-1,h=0;for(;h<i.length&&(r.lastIndex=h,p=r.exec(i),null!==p);)h=r.lastIndex,r===g?"!--"===p[1]?r=b:void 0!==p[1]?r=v:void 0!==p[2]?(k.test(p[2])&&(l=RegExp("</"+p[2],"g")),r=m):void 0!==p[3]&&(r=m):r===m?">"===p[0]?(r=null!=l?l:g,a=-1):void 0===p[1]?a=-2:(a=r.lastIndex-p[2].length,n=p[1],r=void 0===p[3]?m:'"'===p[3]?w:$):r===w||r===$?r=m:r===b||r===v?r=g:(r=m,l=void 0);const c=r===m&&t[e+1].startsWith("/>")?" ":"";s+=r===g?i+d:a>=0?(o.push(n),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const n=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(n):n,o]};class I{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let l=0,s=0;const r=t.length-1,n=this.parts,[a,d]=E(t,e);if(this.el=I.createElement(a,i),O.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=O.nextNode())&&n.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);n.push({type:1,index:l,name:e[2],strings:t,ctor:"."===e[1]?U:"?"===e[1]?D:"@"===e[1]?M:B})}else n.push({type:6,index:l})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],x()),O.nextNode(),n.push({type:2,index:++l});o.append(t[e],x())}}}else if(8===o.nodeType)if(o.data===h)n.push({type:2,index:l});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)n.push({type:7,index:l}),t+=f.length-1}l++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function C(t,e,i=t,o){var l,s,r,n;if(e===S)return e;let p=void 0!==o?null===(l=i._$Co)||void 0===l?void 0:l[o]:i._$Cl;const a=u(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(s=null==p?void 0:p._$AO)||void 0===s||s.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(r=(n=i)._$Co)&&void 0!==r?r:n._$Co=[])[o]=p:i._$Cl=p),void 0!==p&&(e=C(t,p._$AS(t,e.values),p,o)),e}class _{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,l=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);O.currentNode=l;let s=O.nextNode(),r=0,n=0,p=o[0];for(;void 0!==p;){if(r===p.index){let e;2===p.type?e=new A(s,s.nextSibling,this,t):1===p.type?e=new p.ctor(s,p.name,p.strings,this,t):6===p.type&&(e=new F(s,this,t)),this.u.push(e),p=o[++n]}r!==(null==p?void 0:p.index)&&(s=O.nextNode(),r++)}return l}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class A{constructor(t,e,i,o){var l;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(l=null==o?void 0:o.isConnected)||void 0===l||l}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),u(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==S&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>y(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==j&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,l="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=I.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===l)this._$AH.p(i);else{const t=new _(l,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=N.get(t.strings);return void 0===e&&N.set(t.strings,e=new I(t)),e}k(t){y(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const l of t)o===e.length?e.push(i=new A(this.O(x()),this.O(x()),this,this.options)):i=e[o],i._$AI(l),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class B{constructor(t,e,i,o,l){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=l,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const l=this.strings;let s=!1;if(void 0===l)t=C(this,t,e,0),s=!u(t)||t!==this._$AH&&t!==S,s&&(this._$AH=t);else{const o=t;let r,n;for(t=l[0],r=0;r<l.length-1;r++)n=C(this,o[i+r],e,r),n===S&&(n=this._$AH[r]),s||(s=!u(n)||n!==this._$AH[r]),n===j?t=j:t!==j&&(t+=(null!=n?n:"")+l[r+1]),this._$AH[r]=n}s&&!o&&this.j(t)}j(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class U extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===j?void 0:t}}const Z=p?p.emptyScript:"";class D extends B{constructor(){super(...arguments),this.type=4}j(t){t&&t!==j?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class M extends B{constructor(t,e,i,o,l){super(t,e,i,o,l),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=C(this,t,e,0))&&void 0!==i?i:j)===S)return;const o=this._$AH,l=t===j&&o!==j||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==j&&(o===j||l);l&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class F{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){C(this,t)}}const R=n.litHtmlPolyfillSupport;null==R||R(I,A),(null!==(r=n.litHtmlVersions)&&void 0!==r?r:n.litHtmlVersions=[]).push("2.4.0");
7
+ var n;const r=window,p=r.trustedTypes,a=p?p.createPolicy("lit-html",{createHTML:t=>t}):void 0,f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,c=document,u=(t="")=>c.createComment(t),x=t=>null===t||"object"!=typeof t&&"function"!=typeof t,g=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,b=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,z=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),S=Symbol.for("lit-noChange"),O=Symbol.for("lit-nothing"),N=new WeakMap,E=c.createTreeWalker(c,129,null,!1),j=(t,e)=>{const i=t.length-1,o=[];let s,l=2===e?"<svg>":"",n=y;for(let e=0;e<i;e++){const i=t[e];let r,p,a=-1,h=0;for(;h<i.length&&(n.lastIndex=h,p=n.exec(i),null!==p);)h=n.lastIndex,n===y?"!--"===p[1]?n=v:void 0!==p[1]?n=b:void 0!==p[2]?(k.test(p[2])&&(s=RegExp("</"+p[2],"g")),n=m):void 0!==p[3]&&(n=m):n===m?">"===p[0]?(n=null!=s?s:y,a=-1):void 0===p[1]?a=-2:(a=n.lastIndex-p[2].length,r=p[1],n=void 0===p[3]?m:'"'===p[3]?w:$):n===w||n===$?n=m:n===v||n===b?n=y:(n=m,s=void 0);const c=n===m&&t[e+1].startsWith("/>")?" ":"";l+=n===y?i+d:a>=0?(o.push(r),i.slice(0,a)+"$lit$"+i.slice(a)+f+c):i+f+(-2===a?(o.push(void 0),e):c)}const r=l+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(r):r,o]};class C{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const n=t.length-1,r=this.parts,[a,d]=j(t,e);if(this.el=C.createElement(a,i),E.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=E.nextNode())&&r.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(f)){const i=d[l++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(f),e=/([.?@])?(.*)/.exec(i);r.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?B:"?"===e[1]?U:"@"===e[1]?M:_})}else r.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(k.test(o.tagName)){const t=o.textContent.split(f),e=t.length-1;if(e>0){o.textContent=p?p.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],u()),E.nextNode(),r.push({type:2,index:++s});o.append(t[e],u())}}}else if(8===o.nodeType)if(o.data===h)r.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(f,t+1));)r.push({type:7,index:s}),t+=f.length-1}s++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function I(t,e,i=t,o){var s,l,n,r;if(e===S)return e;let p=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const a=x(e)?void 0:e._$litDirective$;return(null==p?void 0:p.constructor)!==a&&(null===(l=null==p?void 0:p._$AO)||void 0===l||l.call(p,!1),void 0===a?p=void 0:(p=new a(t),p._$AT(t,i,o)),void 0!==o?(null!==(n=(r=i)._$Co)&&void 0!==n?n:r._$Co=[])[o]=p:i._$Cl=p),void 0!==p&&(e=I(t,p._$AS(t,e.values),p,o)),e}class A{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);E.currentNode=s;let l=E.nextNode(),n=0,r=0,p=o[0];for(;void 0!==p;){if(n===p.index){let e;2===p.type?e=new D(l,l.nextSibling,this,t):1===p.type?e=new p.ctor(l,p.name,p.strings,this,t):6===p.type&&(e=new T(l,this,t)),this.u.push(e),p=o[++r]}n!==(null==p?void 0:p.index)&&(l=E.nextNode(),n++)}return s}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{constructor(t,e,i,o){var s;this.type=2,this._$AH=O,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),x(t)?t===O||null==t||""===t?(this._$AH!==O&&this._$AR(),this._$AH=O):t!==this._$AH&&t!==S&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>g(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==O&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=C.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new A(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=N.get(t.strings);return void 0===e&&N.set(t.strings,e=new C(t)),e}k(t){g(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 D(this.O(u()),this.O(u()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class _{constructor(t,e,i,o,s){this.type=1,this._$AH=O,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=O}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=I(this,t,e,0),l=!x(t)||t!==this._$AH&&t!==S,l&&(this._$AH=t);else{const o=t;let n,r;for(t=s[0],n=0;n<s.length-1;n++)r=I(this,o[i+n],e,n),r===S&&(r=this._$AH[n]),l||(l=!x(r)||r!==this._$AH[n]),r===O?t=O:t!==O&&(t+=(null!=r?r:"")+s[n+1]),this._$AH[n]=r}l&&!o&&this.j(t)}j(t){t===O?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class B extends _{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===O?void 0:t}}const Z=p?p.emptyScript:"";class U extends _{constructor(){super(...arguments),this.type=4}j(t){t&&t!==O?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class M 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=I(this,t,e,0))&&void 0!==i?i:O)===S)return;const o=this._$AH,s=t===O&&o!==O||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,l=t!==O&&(o===O||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 T{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){I(this,t)}}const R=r.litHtmlPolyfillSupport;null==R||R(C,D),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.4.0");
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2020 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:T}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let l,s;const r=[],n=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(s=i[a],l=W(s));)p+=l+e[++a],f=!0;n.push(s),r.push(p),a++}if(a===o&&r.push(e[o]),f){const t=r.join("$$lit$$");void 0===(e=G.get(t))&&(r.raw=r,G.set(t,e=r)),i=n}return t(e,...i)})(z);var V;!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"}(V||(V={}));const q=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),P=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:P,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")},X=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),Y=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",L.fontSize,"20px"),J=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",L.lineHeight,"1.2"),et=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),it=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",L.lineHeight,"1.7"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",P),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"1.5"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",P),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"1.7"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",L.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit")},$t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",P),wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",L.lineHeight,"1.4"),jt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),Nt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",L.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit")},Ot=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",P),Et=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),_t=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"1.6"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",P),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",L.lineHeight,"1.6"),Ft=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",P),Tt=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",L.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Vt=i.css`
13
+ const F=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===F)return null==t?void 0:t._$litStatic$},K=t=>({_$litStatic$:t,r:F}),G=new Map,H=(t=>(e,...i)=>{const o=i.length;let s,l;const n=[],r=[];let p,a=0,f=!1;for(;a<o;){for(p=e[a];a<o&&void 0!==(l=i[a],s=W(l));)p+=s+e[++a],f=!0;r.push(l),n.push(p),a++}if(a===o&&n.push(e[o]),f){const t=n.join("$$lit$$");void 0===(e=G.get(t))&&(n.raw=n,G.set(t,e=n)),i=r}return t(e,...i)})(z);var V;!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"}(V||(V={}));const q=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),P=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),L={fontFamily:P,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")},X=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",q),Y=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",L.fontSize,"20px"),J=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",L.fontWeight,"normal"),Q=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",L.letterSpacing,"0.15px"),tt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",L.lineHeight,"1.2"),et=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",L.textTransform,"inherit"),it=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",q),ot=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",L.fontSize,"14px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",L.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",L.letterSpacing,"0.105px"),nt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",L.lineHeight,"1.7"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",L.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",P),at=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",L.fontSize,"16px"),ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",L.fontWeight,"600"),ht=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",L.letterSpacing,"0.144px"),dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",L.lineHeight,"1.5"),ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",L.textTransform,"inherit"),ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",P),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",L.fontSize,"14px"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",L.fontWeight,"normal"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",L.letterSpacing,"0.098px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",L.lineHeight,"1.7"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",L.textTransform,"inherit"),mt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",L.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",L.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",L.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",L.textTransform,"inherit")},$t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",P),wt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",L.fontSize,"14px"),kt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",L.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",L.letterSpacing,"0.252px"),St=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",L.lineHeight,"1.4"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",L.textTransform,"inherit"),Nt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",P),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",L.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",L.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",L.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",L.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",L.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",P),jt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",L.fontSize,"10px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",L.fontWeight,"normal"),It=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",L.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",L.lineHeight,"1.6"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",L.textTransform,"inherit"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",P),Bt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",L.fontSize,"10px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",L.fontWeight,"normal"),Ut=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",L.letterSpacing,"1.5px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",L.lineHeight,"1.6"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",L.textTransform,"uppercase"),Rt=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",P),Ft=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",L.fontSize,"14px"),Wt=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",L.fontWeight,"600"),Kt=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",L.letterSpacing,"1.246px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",L.lineHeight,"1.15"),Ht=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",L.textTransform,"uppercase"),Vt=i.css`
14
14
  .ft-typography--title {
15
15
  font-family: ${X};
16
16
  font-size: ${Y};
@@ -23,10 +23,10 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
23
23
  .ft-typography--title-dense {
24
24
  font-family: ${it};
25
25
  font-size: ${ot};
26
- font-weight: ${lt};
27
- letter-spacing: ${st};
28
- line-height: ${rt};
29
- text-transform: ${nt};
26
+ font-weight: ${st};
27
+ letter-spacing: ${lt};
28
+ line-height: ${nt};
29
+ text-transform: ${rt};
30
30
  }
31
31
  `,Pt=i.css`
32
32
  .ft-typography--subtitle1 {
@@ -39,12 +39,12 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
39
39
  }
40
40
  `,Lt=i.css`
41
41
  .ft-typography--subtitle2 {
42
- font-family: ${xt};
43
- font-size: ${ut};
44
- font-weight: ${yt};
45
- letter-spacing: ${gt};
46
- line-height: ${bt};
47
- text-transform: ${vt};
42
+ font-family: ${ut};
43
+ font-size: ${xt};
44
+ font-weight: ${gt};
45
+ letter-spacing: ${yt};
46
+ line-height: ${vt};
47
+ text-transform: ${bt};
48
48
  }
49
49
 
50
50
  `,Xt=i.css`
@@ -63,7 +63,7 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
63
63
  font-weight: ${kt};
64
64
  letter-spacing: ${zt};
65
65
  line-height: ${St};
66
- text-transform: ${jt};
66
+ text-transform: ${Ot};
67
67
  }
68
68
  `,Jt=i.css`
69
69
  .ft-typography--caption {
@@ -76,26 +76,26 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
76
76
  }
77
77
  `,Qt=i.css`
78
78
  .ft-typography--breadcrumb {
79
- font-family: ${Ot};
80
- font-size: ${Et};
81
- font-weight: ${It};
82
- letter-spacing: ${Ct};
83
- line-height: ${_t};
84
- text-transform: ${At};
79
+ font-family: ${Et};
80
+ font-size: ${jt};
81
+ font-weight: ${Ct};
82
+ letter-spacing: ${It};
83
+ line-height: ${At};
84
+ text-transform: ${Dt};
85
85
  }
86
86
  `,te=i.css`
87
87
  .ft-typography--overline {
88
- font-family: ${Bt};
89
- font-size: ${Ut};
88
+ font-family: ${_t};
89
+ font-size: ${Bt};
90
90
  font-weight: ${Zt};
91
- letter-spacing: ${Dt};
91
+ letter-spacing: ${Ut};
92
92
  line-height: ${Mt};
93
- text-transform: ${Ft};
93
+ text-transform: ${Tt};
94
94
  }
95
95
  `,ee=i.css`
96
96
  .ft-typography--button {
97
97
  font-family: ${Rt};
98
- font-size: ${Tt};
98
+ font-size: ${Ft};
99
99
  font-weight: ${Wt};
100
100
  letter-spacing: ${Kt};
101
101
  line-height: ${Gt};
@@ -105,32 +105,32 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
105
105
  .ft-typography {
106
106
  vertical-align: inherit;
107
107
  }
108
- `;var oe=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class le extends e.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?H`
108
+ `;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 se extends e.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?H`
109
109
  <${K(this.element)}
110
110
  class="ft-typography ft-typography--${this.variant}">
111
111
  <slot></slot>
112
112
  </${K(this.element)}>
113
113
  `:H`
114
114
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
115
- `}}le.styles=[Vt,qt,Pt,Lt,Xt,Yt,Jt,Qt,te,ee,ie],oe([o.property()],le.prototype,"element",void 0),oe([o.property()],le.prototype,"variant",void 0),e.customElement("ft-typography")(le);const se={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"),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")},re=i.css`
115
+ `}}se.styles=[Vt,qt,Pt,Lt,Xt,Yt,Jt,Qt,te,ee,ie],oe([o.property()],se.prototype,"element",void 0),oe([o.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const le={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"),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")},ne=i.css`
116
116
  .ft-input-label {
117
117
  position: absolute;
118
118
  inset: 0;
119
119
  display: flex;
120
- background-color: ${se.colorSurface};
121
- border-radius: ${se.borderRadiusS} ${se.borderRadiusS} 0 0;
120
+ background-color: ${le.colorSurface};
121
+ border-radius: ${le.borderRadiusS} ${le.borderRadiusS} 0 0;
122
122
  }
123
123
 
124
124
  .ft-input-label--outlined {
125
- border-radius: ${se.borderRadiusS};
125
+ border-radius: ${le.borderRadiusS};
126
126
  }
127
127
 
128
128
  .ft-input-label {
129
- border-color: ${se.borderColor};
129
+ border-color: ${le.borderColor};
130
130
  }
131
131
 
132
132
  .ft-input-label.ft-input-label--in-error {
133
- border-color: ${se.colorError}
133
+ border-color: ${le.colorError}
134
134
  }
135
135
 
136
136
  .ft-input-label:before,
@@ -143,7 +143,7 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
143
143
  }
144
144
 
145
145
  .ft-input-label:before {
146
- width: ${se.horizontalSpacing};
146
+ width: ${le.horizontalSpacing};
147
147
  flex-shrink: 0;
148
148
  }
149
149
 
@@ -159,18 +159,18 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
159
159
  border-bottom-width: 1px;
160
160
  border-bottom-style: solid;
161
161
  border-color: inherit;
162
- color: ${se.textColor};
162
+ color: ${le.textColor};
163
163
  transition: font-size 250ms, line-height 250ms, color 250ms;
164
- ${e.setVariable(Nt.fontSize,se.fontSize)};
165
- ${e.setVariable(Nt.lineHeight,se.fontSize)};
164
+ ${e.setVariable(Nt.fontSize,le.fontSize)};
165
+ ${e.setVariable(Nt.lineHeight,le.fontSize)};
166
166
  }
167
167
 
168
168
  .ft-input-label--in-error .ft-input-label--text {
169
- color: ${se.colorError}
169
+ color: ${le.colorError}
170
170
  }
171
171
 
172
172
  .ft-input-label--disabled .ft-input-label--text {
173
- color: ${se.disabledTextColor};
173
+ color: ${le.disabledTextColor};
174
174
  }
175
175
 
176
176
  .ft-input-label--hidden-text {
@@ -185,17 +185,17 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
185
185
  overflow: hidden;
186
186
  white-space: nowrap;
187
187
  text-overflow: ellipsis;
188
- padding: ${se.verticalSpacing} 4px;
189
- margin: calc(${se.verticalSpacing} * -1) 0;
188
+ padding: ${le.verticalSpacing} 4px;
189
+ margin: calc(${le.verticalSpacing} * -1) 0;
190
190
  }
191
191
 
192
192
  .ft-input-label--raised .ft-input-label--text {
193
- ${e.setVariable(Nt.fontSize,se.raisedFontSize)};
194
- ${e.setVariable(Nt.lineHeight,se.raisedFontSize)};
193
+ ${e.setVariable(Nt.fontSize,le.raisedFontSize)};
194
+ ${e.setVariable(Nt.lineHeight,le.raisedFontSize)};
195
195
  }
196
196
 
197
197
  .ft-input-label--raised .ft-input-label--floating-text {
198
- top: ${se.verticalSpacing};
198
+ top: ${le.verticalSpacing};
199
199
  }
200
200
 
201
201
  .ft-input-label--outlined .ft-input-label--text,
@@ -208,28 +208,28 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
208
208
  .ft-input-label--outlined:before {
209
209
  border-left-width: 1px;
210
210
  border-left-style: solid;
211
- border-radius: ${se.borderRadiusS} 0 0 ${se.borderRadiusS};
211
+ border-radius: ${le.borderRadiusS} 0 0 ${le.borderRadiusS};
212
212
  }
213
213
 
214
214
  .ft-input-label--outlined:after {
215
215
  border-right-width: 1px;
216
216
  border-right-style: solid;
217
- border-radius: 0 ${se.borderRadiusS} ${se.borderRadiusS} 0;
217
+ border-radius: 0 ${le.borderRadiusS} ${le.borderRadiusS} 0;
218
218
  }
219
219
 
220
220
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
221
221
  padding: 2px 4px;
222
- z-index: ${se.raisedZIndex};
223
- background-color: ${se.colorSurface};
224
- border-radius: ${se.borderRadiusS};
222
+ z-index: ${le.raisedZIndex};
223
+ background-color: ${le.colorSurface};
224
+ border-radius: ${le.borderRadiusS};
225
225
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
226
226
  }
227
227
 
228
228
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
229
229
  border-top: none;
230
230
  }
231
- `;var ne=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};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`
232
- <div class="${l.classMap(t)}">
231
+ `;var re=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`
232
+ <div class="${s.classMap(t)}">
233
233
  ${this.text?i.html`
234
234
  <div class="ft-input-label--text ft-typography--caption">
235
235
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -237,7 +237,7 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
237
237
  </div>
238
238
  `:null}
239
239
  </div>
240
- `}}pe.elementDefinitions={},pe.styles=[Jt,re],ne([o.property({type:String})],pe.prototype,"text",void 0),ne([o.property({type:Boolean})],pe.prototype,"raised",void 0),ne([o.property({type:Boolean})],pe.prototype,"outlined",void 0),ne([o.property({type:Boolean})],pe.prototype,"disabled",void 0),ne([o.property({type:Boolean})],pe.prototype,"error",void 0),e.customElement("ft-input-label")(pe);const ae=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),fe={color:ae,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",ae),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),de=he,ce=e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),xe=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),ue=xe,ye=e.FtCssVariableFactory.extend("--ft-ripple-background-color",xe),ge=i.css`
240
+ `}}pe.elementDefinitions={},pe.styles=[Jt,ne],re([o.property({type:String})],pe.prototype,"text",void 0),re([o.property({type:Boolean})],pe.prototype,"raised",void 0),re([o.property({type:Boolean})],pe.prototype,"outlined",void 0),re([o.property({type:Boolean})],pe.prototype,"disabled",void 0),re([o.property({type:Boolean})],pe.prototype,"error",void 0),e.customElement("ft-input-label")(pe);const ae=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),fe={color:ae,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",ae),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},he=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),de=he,ce=e.FtCssVariableFactory.extend("--ft-ripple-background-color",he),ue=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),xe=ue,ge=e.FtCssVariableFactory.extend("--ft-ripple-background-color",ue),ye=i.css`
241
241
  :host {
242
242
  display: contents;
243
243
  }
@@ -267,11 +267,11 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
267
267
  }
268
268
 
269
269
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
270
- background-color: ${ye};
270
+ background-color: ${ge};
271
271
  }
272
272
 
273
273
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
274
- background-color: ${ue};
274
+ background-color: ${xe};
275
275
  }
276
276
 
277
277
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -326,7 +326,7 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
326
326
  opacity: ${fe.opacityContentOnSurfacePressed};
327
327
  transform: translate(-50%, -50%) scale(1);
328
328
  }
329
- `;var be,ve,me=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class $e 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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),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.moveRipple=t=>{var e,i;let{x:o,y:l}=this.getCoordinates(t),s=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=l?l-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.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`
329
+ `;var ve,be,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 $e 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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),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.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.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`
330
330
  <style>
331
331
  .ft-ripple .ft-ripple--effect,
332
332
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -339,11 +339,11 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
339
339
  top: ${this.originY}px;
340
340
  }
341
341
  </style>
342
- <div class="${l.classMap(t)}">
342
+ <div class="${s.classMap(t)}">
343
343
  <div class="ft-ripple--background"></div>
344
344
  <div class="ft-ripple--effect"></div>
345
345
  </div>
346
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),l=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",l),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",l),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,l;return null!=e.x?({x:o,y:l}=e):null!=i.touches&&(o=i.touches[0].clientX,l=i.touches[0].clientY),{x:o,y:l}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}$e.elementDefinitions={},$e.styles=ge,me([o.property({type:Boolean})],$e.prototype,"primary",void 0),me([o.property({type:Boolean})],$e.prototype,"secondary",void 0),me([o.property({type:Boolean})],$e.prototype,"unbounded",void 0),me([o.property({type:Boolean})],$e.prototype,"activated",void 0),me([o.property({type:Boolean})],$e.prototype,"selected",void 0),me([o.property({type:Boolean})],$e.prototype,"disabled",void 0),me([o.state()],$e.prototype,"hovered",void 0),me([o.state()],$e.prototype,"focused",void 0),me([o.state()],$e.prototype,"pressed",void 0),me([o.state()],$e.prototype,"rippling",void 0),me([o.state()],$e.prototype,"rippleSize",void 0),me([o.state()],$e.prototype,"originX",void 0),me([o.state()],$e.prototype,"originY",void 0),me([o.query(".ft-ripple")],$e.prototype,"ripple",void 0),me([o.query(".ft-ripple--effect")],$e.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")($e),function(t){t.DESKTOP="&#xe95e",t.MOBILE_LANDSCAPE="&#xe95f",t.MOBILE_PORTRAIT="&#xe960",t.TABLET_LANDSCAPE="&#xe961",t.TABLET_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="&#xf06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(be||(be={})),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;"}(ve||(ve={})),new Map([...["abw"].map((t=>[t,ve.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,ve.AUDIO])),...["avi"].map((t=>[t,ve.AVI])),...["chm","xhs"].map((t=>[t,ve.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,ve.CODE])),...["csv"].map((t=>[t,ve.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ve.DITA])),...["epub"].map((t=>[t,ve.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ve.EXCEL])),...["flac"].map((t=>[t,ve.FLAC])),...["gif"].map((t=>[t,ve.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ve.GZIP])),...["html","htm","xhtml"].map((t=>[t,ve.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,ve.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ve.JPEG])),...["json"].map((t=>[t,ve.JSON])),...["m4a","m4p"].map((t=>[t,ve.M4A])),...["mov","qt"].map((t=>[t,ve.MOV])),...["mp3"].map((t=>[t,ve.MP3])),...["mp4","m4v"].map((t=>[t,ve.MP4])),...["ogg","oga"].map((t=>[t,ve.OGG])),...["pdf","ps"].map((t=>[t,ve.PDF])),...["png"].map((t=>[t,ve.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ve.POWERPOINT])),...["rar"].map((t=>[t,ve.RAR])),...["stp"].map((t=>[t,ve.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ve.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,ve.VIDEO])),...["wav"].map((t=>[t,ve.WAV])),...["wma"].map((t=>[t,ve.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ve.WORD])),...["xml","xsl","rdf"].map((t=>[t,ve.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ve.YAML])),...["zip"].map((t=>[t,ve.ZIP]))]);const we=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),ke=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ze=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Se=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),je=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ne=i.css`
346
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}$e.elementDefinitions={},$e.styles=ye,me([o.property({type:Boolean})],$e.prototype,"primary",void 0),me([o.property({type:Boolean})],$e.prototype,"secondary",void 0),me([o.property({type:Boolean})],$e.prototype,"unbounded",void 0),me([o.property({type:Boolean})],$e.prototype,"activated",void 0),me([o.property({type:Boolean})],$e.prototype,"selected",void 0),me([o.property({type:Boolean})],$e.prototype,"disabled",void 0),me([o.state()],$e.prototype,"hovered",void 0),me([o.state()],$e.prototype,"focused",void 0),me([o.state()],$e.prototype,"pressed",void 0),me([o.state()],$e.prototype,"rippling",void 0),me([o.state()],$e.prototype,"rippleSize",void 0),me([o.state()],$e.prototype,"originX",void 0),me([o.state()],$e.prototype,"originY",void 0),me([o.query(".ft-ripple")],$e.prototype,"ripple",void 0),me([o.query(".ft-ripple--effect")],$e.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")($e),function(t){t.DESKTOP="&#xe95e",t.TABLET_LANDSCAPE="&#xe95f",t.TABLET_PORTRAIT="&#xe960",t.MOBILE_LANDSCAPE="&#xe961",t.MOBILE_PORTRAIT="&#xe962",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="&#xf06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ve||(ve={})),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;"}(be||(be={})),new Map([...["abw"].map((t=>[t,be.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,be.AUDIO])),...["avi"].map((t=>[t,be.AVI])),...["chm","xhs"].map((t=>[t,be.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,be.CODE])),...["csv"].map((t=>[t,be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,be.DITA])),...["epub"].map((t=>[t,be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,be.EXCEL])),...["flac"].map((t=>[t,be.FLAC])),...["gif"].map((t=>[t,be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,be.GZIP])),...["html","htm","xhtml"].map((t=>[t,be.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,be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,be.JPEG])),...["json"].map((t=>[t,be.JSON])),...["m4a","m4p"].map((t=>[t,be.M4A])),...["mov","qt"].map((t=>[t,be.MOV])),...["mp3"].map((t=>[t,be.MP3])),...["mp4","m4v"].map((t=>[t,be.MP4])),...["ogg","oga"].map((t=>[t,be.OGG])),...["pdf","ps"].map((t=>[t,be.PDF])),...["png"].map((t=>[t,be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,be.POWERPOINT])),...["rar"].map((t=>[t,be.RAR])),...["stp"].map((t=>[t,be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,be.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,be.VIDEO])),...["wav"].map((t=>[t,be.WAV])),...["wma"].map((t=>[t,be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,be.WORD])),...["xml","xsl","rdf"].map((t=>[t,be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,be.YAML])),...["zip"].map((t=>[t,be.ZIP]))]);const we=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),ke=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),ze=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Se=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),Oe=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),Ne=i.css`
347
347
  :host {
348
348
  display: inline-block;
349
349
  }
@@ -366,7 +366,7 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
366
366
  text-rendering: auto;
367
367
  -webkit-font-smoothing: antialiased;
368
368
  -moz-osx-font-smoothing: grayscale;
369
- vertical-align: ${je};
369
+ vertical-align: ${Oe};
370
370
  }
371
371
 
372
372
  .ft-icon--fluid-topics {
@@ -380,12 +380,12 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
380
380
  .ft-icon--material {
381
381
  font-family: ${Se}, "Material Icons", sans-serif;
382
382
  }
383
- `;var Oe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oe||(Oe={}));var Ee=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ie extends e.FtLitElement{constructor(){super(...arguments),this.variant=Oe.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
383
+ `;var Ee;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ee||(Ee={}));var je=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 Ce extends e.FtLitElement{constructor(){super(...arguments),this.variant=Ee.fluid_topics,this.resolvedIcon=i.nothing}render(){const t="material"!==this.variant||this.value;return i.html`
384
384
  <i class="ft-icon ${"ft-icon--"+this.variant}">
385
- ${s.unsafeHTML(this.resolvedIcon)}
385
+ ${l.unsafeHTML(this.resolvedIcon)}
386
386
  <slot ?hidden=${t}></slot>
387
387
  </i>
388
- `}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 Oe.file_format:this.resolvedIcon=null!==(t=ve[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Oe.fluid_topics:this.resolvedIcon=null!==(e=be[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ie.elementDefinitions={},Ie.styles=Ne,Ee([o.property()],Ie.prototype,"variant",void 0),Ee([o.property()],Ie.prototype,"value",void 0),Ee([o.state()],Ie.prototype,"resolvedIcon",void 0),Ee([o.query("slot")],Ie.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ie);const Ce={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)},_e=i.css`
388
+ `}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 Ee.file_format:this.resolvedIcon=null!==(t=be[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ee.fluid_topics:this.resolvedIcon=null!==(e=ve[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ce.elementDefinitions={},Ce.styles=Ne,je([o.property()],Ce.prototype,"variant",void 0),je([o.property()],Ce.prototype,"value",void 0),je([o.state()],Ce.prototype,"resolvedIcon",void 0),je([o.query("slot")],Ce.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Ce);const Ie={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")},Ae=i.css`
389
389
  *:focus {
390
390
  outline: none;
391
391
  }
@@ -394,19 +394,20 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
394
394
  display: flex;
395
395
  flex-direction: column;
396
396
  align-items: stretch;
397
+ position: relative;
397
398
  }
398
399
 
399
400
  ft-input-label {
400
- ${e.setVariable(se.fontSize,Ce.fontSize)};
401
- ${e.setVariable(se.raisedFontSize,Ce.labelSize)};
402
- ${e.setVariable(se.verticalSpacing,Ce.verticalSpacing)};
403
- ${e.setVariable(se.horizontalSpacing,i.css`calc(${Ce.horizontalSpacing} - 4px)`)};
401
+ ${e.setVariable(le.fontSize,Ie.fontSize)};
402
+ ${e.setVariable(le.raisedFontSize,Ie.labelSize)};
403
+ ${e.setVariable(le.verticalSpacing,Ie.verticalSpacing)};
404
+ ${e.setVariable(le.horizontalSpacing,i.css`calc(${Ie.horizontalSpacing} - 4px)`)};
404
405
  }
405
406
 
406
407
  .ft-text-field--main-panel {
407
408
  position: relative;
408
409
  display: flex;
409
- height: calc(4 * ${Ce.verticalSpacing} + ${Ce.labelSize} + ${Ce.fontSize});
410
+ height: calc(4 * ${Ie.verticalSpacing} + ${Ie.labelSize} + ${Ie.fontSize});
410
411
  }
411
412
 
412
413
  .ft-text-field--input-panel {
@@ -415,6 +416,10 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
415
416
  display: flex;
416
417
  align-items: center;
417
418
  overflow: hidden;
419
+ padding: 0 ${Ie.horizontalSpacing};
420
+
421
+ ${e.setVariable(mt.fontSize,Ie.fontSize)};
422
+ ${e.setVariable(mt.lineHeight,Ie.fontSize)};
418
423
  }
419
424
 
420
425
  .ft-text-field--input-panel ft-ripple {
@@ -422,31 +427,22 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
422
427
  ${e.setVariable(fe.opacityContentOnSurfacePressed,"0.04")};
423
428
  }
424
429
 
425
- .ft-text-field--input-wrapper {
426
- flex-grow: 1;
427
- flex-shrink: 1;
428
-
429
- display: flex;
430
- align-items: center;
431
-
432
- ${e.setVariable(mt.fontSize,Ce.fontSize)};
433
- ${e.setVariable(mt.lineHeight,Ce.fontSize)};
434
-
435
- padding: 0 ${Ce.horizontalSpacing};
436
- }
437
-
438
- .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input-wrapper {
430
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
439
431
  align-items: flex-end;
440
- padding: 0 ${Ce.horizontalSpacing} ${Ce.verticalSpacing} ${Ce.horizontalSpacing};
432
+ padding: 0 ${Ie.horizontalSpacing} ${Ie.verticalSpacing} ${Ie.horizontalSpacing};
441
433
  }
442
434
 
443
435
  .ft-text-field--prefix {
444
- display: none;
445
- color: ${Ce.prefixColor}
436
+ color: ${Ie.prefixColor};
437
+ margin-right: 2px;
438
+ flex-shrink: 1;
439
+ overflow: hidden;
440
+ white-space: nowrap;
441
+ text-overflow: ellipsis;
446
442
  }
447
443
 
448
- .ft-text-field--with-prefix.ft-text-field--raised-label .ft-text-field--prefix {
449
- display: block;
444
+ .ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
445
+ display: none;
450
446
  }
451
447
 
452
448
  .ft-text-field--input {
@@ -456,15 +452,15 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
456
452
  flex-shrink: 1;
457
453
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
458
454
 
459
- color: ${Ce.colorOnSurface};
460
- padding: calc(2 * ${Ce.verticalSpacing}) 0;
455
+ color: ${Ie.colorOnSurface};
456
+ padding: calc(2 * ${Ie.verticalSpacing}) 0;
461
457
  border: none;
462
458
  background: none;
463
459
  }
464
460
 
465
- .ft-text-field--filled:not(.ft-text-field--no-label) .ft-text-field--input {
461
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
466
462
  padding-bottom: 0;
467
- padding-top: calc(${Ce.labelSize} + 2 * ${Ce.verticalSpacing});
463
+ padding-top: calc(${Ie.labelSize} + 2 * ${Ie.verticalSpacing});
468
464
  }
469
465
 
470
466
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -473,74 +469,146 @@ const T=Symbol.for(""),W=t=>{if((null==t?void 0:t.r)===T)return null==t?void 0:t
473
469
  }
474
470
 
475
471
  .ft-text-field--disabled .ft-text-field--input {
476
- color: ${Ce.colorOnSurfaceDisabled};
477
- }
478
-
479
- .ft-text-field:not(.ft-text-field--disabled) .ft-text-field--input-panel {
480
- cursor: pointer;
472
+ color: ${Ie.colorOnSurfaceDisabled};
481
473
  }
482
474
 
483
475
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
484
- ${e.setVariable(se.borderColor,Ce.colorPrimary)};
485
- ${e.setVariable(se.textColor,Ce.colorPrimary)};
476
+ ${e.setVariable(le.borderColor,Ie.colorPrimary)};
477
+ ${e.setVariable(le.textColor,Ie.colorPrimary)};
486
478
  }
487
479
 
488
480
  .ft-text-field--filled .ft-text-field--input-panel {
489
- border-radius: ${Ce.borderRadiusS} ${Ce.borderRadiusS} 0 0;
481
+ border-radius: ${Ie.borderRadiusS} ${Ie.borderRadiusS} 0 0;
490
482
  }
491
483
 
492
484
  .ft-text-field--outlined .ft-text-field--input-panel {
493
- border-radius: ${Ce.borderRadiusS};
485
+ border-radius: ${Ie.borderRadiusS};
494
486
  }
495
487
 
496
488
  .ft-text-field--helper-text {
497
- padding: 0 12px 0 ${Ce.horizontalSpacing};
498
- color: ${Ce.helperColor};
489
+ padding: 0 12px 0 ${Ie.horizontalSpacing};
490
+ color: ${Ie.helperColor};
499
491
  }
500
492
 
501
493
  .ft-text-field--in-error .ft-text-field--input,
502
494
  .ft-text-field--in-error .ft-text-field--helper-text,
503
495
  .ft-text-field--in-error .ft-text-field--prefix {
504
- color: ${Ce.colorError};
496
+ color: ${Ie.colorError};
505
497
  }
506
498
 
507
499
  .ft-text-field--icon {
508
- padding-right: ${Ce.horizontalSpacing};
509
- color: ${Ce.iconColor};
500
+ align-self: center;
501
+ margin-left: 8px;
502
+ color: ${Ie.iconColor};
510
503
  }
511
- `;var Ae=function(t,e,i,o){for(var l,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,n=t.length-1;n>=0;n--)(l=t[n])&&(r=(s<3?l(r):s>3?l(e,i,r):l(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Be extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix="",this.icon="",this.iconVariant="",this.focused=!1}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--no-label":!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--raised-label":this.focused||""!=this.value};return i.html`
512
- <div class="${l.classMap(t)}">
513
- <div class="ft-text-field--main-panel">
504
+
505
+ .ft-text-field--container {
506
+ position: relative;
507
+ }
508
+
509
+ .ft-text-field--suggestions {
510
+ display: none;
511
+ flex-direction: column;
512
+ position: absolute;
513
+ left: 0;
514
+ right: 0;
515
+ z-index: ${Ie.floatingZIndex};
516
+ background: ${Ie.colorSurface};
517
+ border: 1px solid ${Ie.colorOutline};
518
+ border-radius: 0 0 ${Ie.borderRadiusS} ${Ie.borderRadiusS};
519
+ box-shadow: ${Ie.elevation02};
520
+ outline: none;
521
+ max-height: ${Ie.suggestSize};
522
+ overflow-y: auto;
523
+ }
524
+
525
+ .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
526
+ top: 100%;
527
+ }
528
+
529
+ .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
530
+ bottom: 100%;
531
+ }
532
+
533
+ .ft-text-field--suggestions-displayed .ft-text-field--suggestions {
534
+ display: flex;
535
+ }
536
+ `;var De=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.FtLitElement{constructor(){super(...arguments),this.value="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.filterSuggestions=!1,this.focused=!1,this.suggestionsOnTop=!1,this.displaySuggestions=!1,this.visibleSuggestions=0}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--suggestions-displayed":this.visibleSuggestions>0&&this.displaySuggestions,"ft-text-field--raised-label":this.focused||""!=this.value};return i.html`
537
+ <div class="${s.classMap(t)}">
538
+ <div class="ft-text-field--main-panel"
539
+ @keydown=${this.handleKeyboardNavigation}
540
+ @focusout=${this.onFocusOut}>
514
541
  <ft-input-label text="${this.label}"
515
542
  ?disabled=${this.disabled}
516
543
  ?outlined=${this.outlined}
517
544
  ?raised=${this.focused||""!=this.value}
518
- ?error=${this.error}
519
- ></ft-input-label>
520
- <div class="ft-text-field--input-panel"
521
- aria-label="${this.label}">
522
- ${this.outlined?null:i.html`
545
+ ?error=${this.error}></ft-input-label>
546
+ <div class="ft-text-field--input-panel">
547
+ ${this.outlined?i.nothing:i.html`
523
548
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
524
549
  `}
525
- <div class="ft-text-field--input-wrapper">
526
- <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
527
- <input type="text"
528
- class="ft-typography--body1 ft-text-field--input"
529
- ?disabled=${this.disabled}
530
- .value=${this.value}
531
- @change=${this.updateValueFromInputField}
532
- @keyup=${this.liveUpdateValueFromInputField}
533
- @focus=${()=>this.focused=!0}
534
- @focusout=${()=>this.focused=!1}
535
- />
536
- </div>
550
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">${this.prefix}</ft-typography>
551
+ <input type="text"
552
+ aria-label="${this.label}"
553
+ class="ft-typography--body1 ft-text-field--input"
554
+ ?disabled=${this.disabled}
555
+ .value=${this.value}
556
+ @change=${this.updateValueFromInputField}
557
+ @keyup=${this.handleInput}
558
+ @focus=${this.onFocus}/>
537
559
  ${this.icon?i.html`
538
- <ft-icon class="ft-text-field--icon" variant="${this.iconVariant}">${this.icon}
539
- </ft-icon>`:void 0}
560
+ <ft-icon class="ft-text-field--icon"
561
+ .variant=${this.iconVariant}
562
+ .value=${this.icon}
563
+ @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
564
+ `:i.nothing}
565
+ </div>
566
+ <div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
567
+ @suggestion-selected=${this.onSuggestionSelected}>
568
+ <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
540
569
  </div>
541
570
  </div>
542
571
  ${this.helper?i.html`
543
- <ft-typography class="ft-text-field--helper-text" variant="caption">${this.helper}
544
- </ft-typography>`:void 0}
572
+ <ft-typography class="ft-text-field--helper-text" variant="caption">
573
+ ${this.helper}
574
+ </ft-typography>
575
+ `:i.nothing}
576
+ </div>
577
+ `}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden)).length):this.visibleSuggestions=this.suggestions.length}contentAvailableCallback(t){var e,i;if(super.contentAvailableCallback(t),this.suggestions.length&&t.has("suggestionsDisplayed")&&this.displaySuggestions){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)}}updateValueFromInputField(){var t;this.setValue((null===(t=this.input)||void 0===t?void 0:t.value)||"",!0),this.displaySuggestions=!1}handleInput(){var t;const e=(null===(t=this.input)||void 0===t?void 0:t.value)||"";this.value!==e&&(this.value=e,this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})))}setValue(t,e){this.value=t,e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}handleKeyboardNavigation(t){var e;if(this.suggestions.length&&("ArrowDown"===t.key||"ArrowUp"===t.key)){t.preventDefault(),t.stopPropagation(),this.displaySuggestions=!0;const i=this.suggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.suggestions.length-1?i+1:0:i>0?i-1:this.suggestions.length-1,null===(e=this.suggestions[o])||void 0===e||e.focus()}}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.displaySuggestions=!1),0)}onFocus(){this.focused=!0,this.displaySuggestions=!0}onFocusOut(){this.focused=!1,setTimeout((()=>{var t,e;return this.displaySuggestions=this.focused||null!==(e=null===(t=this.suggestionsContainer)||void 0===t?void 0:t.matches(":focus-within"))&&void 0!==e&&e}),0)}}_e.elementDefinitions={"ft-input-label":pe,"ft-ripple":$e,"ft-typography":se,"ft-icon":Ce},_e.styles=[Xt,Ae],De([o.property()],_e.prototype,"label",void 0),De([o.property()],_e.prototype,"value",void 0),De([o.property()],_e.prototype,"helper",void 0),De([o.property({type:Boolean})],_e.prototype,"outlined",void 0),De([o.property({type:Boolean})],_e.prototype,"disabled",void 0),De([o.property({type:Boolean})],_e.prototype,"error",void 0),De([o.property()],_e.prototype,"prefix",void 0),De([o.property()],_e.prototype,"icon",void 0),De([o.property()],_e.prototype,"iconVariant",void 0),De([o.property({type:Boolean})],_e.prototype,"filterSuggestions",void 0),De([o.state()],_e.prototype,"focused",void 0),De([o.state()],_e.prototype,"suggestionsOnTop",void 0),De([o.state()],_e.prototype,"displaySuggestions",void 0),De([o.state()],_e.prototype,"visibleSuggestions",void 0),De([o.query(".ft-text-field--input")],_e.prototype,"input",void 0),De([o.query(".ft-text-field--suggestions")],_e.prototype,"suggestionsContainer",void 0),De([o.queryAssignedElements({selector:"ft-text-field-suggestion"})],_e.prototype,"suggestions",void 0);const Be=i.css`
578
+ .ft-text-field-suggestion {
579
+ position: relative;
580
+ padding: 8px 16px;
581
+ cursor: pointer;
582
+ min-height: 44px;
583
+ box-sizing: border-box;
584
+ outline: none;
585
+ }
586
+
587
+ .ft-text-field-suggestion,
588
+ .ft-text-field-suggestion--label {
589
+ display: flex;
590
+ align-items: center;
591
+ gap: 8px;
592
+ }
593
+
594
+ .ft-text-field-suggestion--label {
595
+ flex-grow: 1;
596
+ flex-shrink: 1;
597
+ }
598
+
599
+ slot {
600
+ pointer-events: none;
601
+ }
602
+ `;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 Ue extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Me extends e.FtLitElement{render(){return i.html`
603
+ <div class="ft-text-field-suggestion"
604
+ tabindex="-1"
605
+ @keydown=${this.onKeyDown}
606
+ @click=${this.confirmSuggestion}>
607
+ <ft-ripple></ft-ripple>
608
+ <ft-typography part="label"
609
+ variant="body1"
610
+ class="ft-text-field-suggestion--label">
611
+ <slot></slot>
612
+ </ft-typography>
545
613
  </div>
546
- `}updated(t){super.updated(t),t.has("value")&&this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}updateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||"",this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.input)||void 0===t?void 0:t.value)||""}}Be.elementDefinitions={"ft-input-label":pe,"ft-ripple":$e,"ft-typography":le,"ft-icon":Ie},Be.styles=[Xt,_e],Ae([o.property({type:String})],Be.prototype,"label",void 0),Ae([o.property({reflect:!0})],Be.prototype,"value",void 0),Ae([o.property({type:String})],Be.prototype,"helper",void 0),Ae([o.property({type:Boolean})],Be.prototype,"outlined",void 0),Ae([o.property({type:Boolean})],Be.prototype,"disabled",void 0),Ae([o.property({type:Boolean})],Be.prototype,"error",void 0),Ae([o.query(".ft-text-field--input")],Be.prototype,"input",void 0),Ae([o.property({type:String})],Be.prototype,"prefix",void 0),Ae([o.property({type:String})],Be.prototype,"icon",void 0),Ae([o.property({type:String})],Be.prototype,"iconVariant",void 0),Ae([o.state()],Be.prototype,"focused",void 0),e.customElement("ft-text-field")(Be),t.FtTextField=Be,t.FtTextFieldCssVariables=Ce,t.styles=_e,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
614
+ `}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 Ue(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())}}Me.elementDefinitions={"ft-ripple":$e,"ft-typography":se,"ft-icon":Ce},Me.styles=Be,Ze([o.property()],Me.prototype,"value",void 0),Ze([o.query(".ft-text-field-suggestion")],Me.prototype,"container",void 0),Ze([o.queryAssignedNodes()],Me.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(_e),e.customElement("ft-text-field-suggestion")(Me),t.FtTextField=_e,t.FtTextFieldCssVariables=Ie,t.FtTextFieldSuggestion=Me,t.SuggestionSelectedEvent=Ue,t.styles=Ae,t.suggestionStyles=Be,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);