@fluid-topics/ft-search-bar 1.1.26 → 1.1.27

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.
@@ -27,13 +27,13 @@
27
27
  * Copyright 2017 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
29
  */
30
- const h=globalThis,d=h.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,y="?"+b,m=`<${y}>`,v=document,x=()=>v.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,w="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,N=/>/g,C=RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),I=/'/g,E=/"/g,R=/^(?:script|style|textarea|title)$/i,L=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),z=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),W=new WeakMap,B=v.createTreeWalker(v,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==u?u.createHTML(e):e}const F=(t,e)=>{const o=t.length-1,i=[];let r,a=2===e?"<svg>":"",n=k;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,s=n.exec(o),null!==s);)p=n.lastIndex,n===k?"!--"===s[1]?n=S:void 0!==s[1]?n=N:void 0!==s[2]?(R.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=C):void 0!==s[3]&&(n=C):n===C?">"===s[0]?(n=r??k,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?C:'"'===s[3]?E:I):n===E||n===I?n=C:n===S||n===N?n=k:(n=C,r=void 0);const f=n===C&&t[e+1].startsWith("/>")?" ":"";a+=n===k?o+m:c>=0?(i.push(l),o.slice(0,c)+g+o.slice(c)+b+f):o+b+(-2===c?e:f)}return[Z(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class K{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,c]=F(t,e);if(this.el=K.createElement(s,o),B.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=B.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(g)){const e=c[a++],o=i.getAttribute(t).split(b),n=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:n[2],strings:o,ctor:"."===n[1]?M:"?"===n[1]?j:"@"===n[1]?T:P}),i.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(R.test(i.tagName)){const t=i.textContent.split(b),e=t.length-1;if(e>0){i.textContent=d?d.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],x()),B.nextNode(),l.push({type:2,index:++r});i.append(t[e],x())}}}else if(8===i.nodeType)if(i.data===y)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(b,t+1));)l.push({type:7,index:r}),t+=b.length-1}r++}}static createElement(t,e){const o=v.createElement("template");return o.innerHTML=t,o}}function D(t,e,o=t,i){if(e===z)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const a=$(e)?void 0:e._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=D(t,r._$AS(t,e.values),r,i)),e}class A{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??v).importNode(e,!0);B.currentNode=i;let r=B.nextNode(),a=0,n=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new H(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new G(r,this,t)),this._$AV.push(e),l=o[++n]}a!==l?.index&&(r=B.nextNode(),a++)}return B.currentNode=v,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}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=D(this,t,e),$(t)?t===U||null==t||""===t?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(v.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(Z(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new A(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=W.get(t.strings);return void 0===e&&W.set(t.strings,e=new K(t)),e}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new H(this.k(x()),this.k(x()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class P{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=U}_$AI(t,e=this,o,i){const r=this.strings;let a=!1;if(void 0===r)t=D(this,t,e,0),a=!$(t)||t!==this._$AH&&t!==z,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=D(this,i[o+n],e,n),l===z&&(l=this._$AH[n]),a||=!$(l)||l!==this._$AH[n],l===U?t=U:t!==U&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.O(t)}O(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends P{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===U?void 0:t}}class j extends P{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==U)}}class T extends P{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=D(this,t,e,0)??U)===z)return;const o=this._$AH,i=t===U&&o!==U||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==U&&(o===U||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const _=h.litHtmlPolyfillSupport;_?.(K,H),(h.litHtmlVersions??=[]).push("3.1.0");
30
+ const h=globalThis,d=h.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,y="?"+b,m=`<${y}>`,x=document,v=()=>x.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,w="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,k=/>/g,C=RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),I=/'/g,E=/"/g,z=/^(?:script|style|textarea|title)$/i,R=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),L=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),U=new WeakMap,B=x.createTreeWalker(x,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==u?u.createHTML(e):e}const K=(t,e)=>{const o=t.length-1,i=[];let r,a=2===e?"<svg>":"",n=S;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,s=n.exec(o),null!==s);)p=n.lastIndex,n===S?"!--"===s[1]?n=N:void 0!==s[1]?n=k:void 0!==s[2]?(z.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=C):void 0!==s[3]&&(n=C):n===C?">"===s[0]?(n=r??S,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?C:'"'===s[3]?E:I):n===E||n===I?n=C:n===N||n===k?n=S:(n=C,r=void 0);const f=n===C&&t[e+1].startsWith("/>")?" ":"";a+=n===S?o+m:c>=0?(i.push(l),o.slice(0,c)+g+o.slice(c)+b+f):o+b+(-2===c?e:f)}return[Z(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class F{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,c]=K(t,e);if(this.el=F.createElement(s,o),B.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=B.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(g)){const e=c[a++],o=i.getAttribute(t).split(b),n=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:n[2],strings:o,ctor:"."===n[1]?M:"?"===n[1]?j:"@"===n[1]?T:P}),i.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(z.test(i.tagName)){const t=i.textContent.split(b),e=t.length-1;if(e>0){i.textContent=d?d.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],v()),B.nextNode(),l.push({type:2,index:++r});i.append(t[e],v())}}}else if(8===i.nodeType)if(i.data===y)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(b,t+1));)l.push({type:7,index:r}),t+=b.length-1}r++}}static createElement(t,e){const o=x.createElement("template");return o.innerHTML=t,o}}function D(t,e,o=t,i){if(e===L)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const a=$(e)?void 0:e._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=D(t,r._$AS(t,e.values),r,i)),e}class A{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??x).importNode(e,!0);B.currentNode=i;let r=B.nextNode(),a=0,n=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new H(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new G(r,this,t)),this._$AV.push(e),l=o[++n]}a!==l?.index&&(r=B.nextNode(),a++)}return B.currentNode=x,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}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=D(this,t,e),$(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==L&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==W&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=F.createElement(Z(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new A(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=U.get(t.strings);return void 0===e&&U.set(t.strings,e=new F(t)),e}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new H(this.k(v()),this.k(v()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class P{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=W}_$AI(t,e=this,o,i){const r=this.strings;let a=!1;if(void 0===r)t=D(this,t,e,0),a=!$(t)||t!==this._$AH&&t!==L,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=D(this,i[o+n],e,n),l===L&&(l=this._$AH[n]),a||=!$(l)||l!==this._$AH[n],l===W?t=W:t!==W&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.O(t)}O(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends P{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===W?void 0:t}}class j extends P{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==W)}}class T extends P{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=D(this,t,e,0)??W)===L)return;const o=this._$AH,i=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==W&&(o===W||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const _=h.litHtmlPolyfillSupport;_?.(F,H),(h.litHtmlVersions??=[]).push("3.1.0");
31
31
  /**
32
32
  * @license
33
33
  * Copyright 2020 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
35
35
  */
36
- const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litStatic$:t,r:V}),X=new Map,J=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(a=o[c],r=q(a));)s+=r+e[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(e[i]),p){const t=n.join("$$lit$$");void 0===(e=X.get(t))&&(n.raw=n,X.set(t,e=n)),o=l}return t(e,...o)})(L);var Q;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Q||(Q={}));const tt=t=>"string"==typeof t?o.unsafeCSS(t):t;class et{static create(t,e,i,r){const a=t=>tt(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,i,r){const a=t=>i.get(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):tt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${tt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${tt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ot={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},rt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ot.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",ot.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",ot.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",ot.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",ot.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",ot.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ot.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",ot.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",ot.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",ot.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ot.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ot.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ot.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ot.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ot.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ot.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",ot.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ot.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",ot.colorCyan0),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",ot.colorGreen0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ot.colorGreen200),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",ot.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ot.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ot.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",ot.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",ot.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ot.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for warning components.",ot.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success components.",ot.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for error components.",ot.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for information components.",ot.colorCyan30),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ot.colorGray30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",ot.colorGray50),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ot.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",ot.spacing4),largeGap:et.extend("--ft-button-large-gap","",ot.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",ot.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",ot.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",ot.spacing3),smallGap:et.extend("--ft-button-small-gap","",ot.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",ot.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",ot.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",rt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",rt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",rt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",rt.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",ot.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",ot.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",ot.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",ot.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",rt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",rt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",rt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",rt.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",ot.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",ot.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",ot.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",ot.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",rt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",rt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",rt.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",ot.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",ot.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",ot.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",ot.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",rt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",rt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",rt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",rt.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",ot.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",ot.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",ot.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",ot.opacity40)};et.extend("--ft-tabs-top-left-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",ot.spacing4),et.extend("--ft-tabs-label-vertical-padding","",ot.spacing3),et.extend("--ft-tabs-label-gap","",ot.spacing1),et.extend("--ft-switch-group-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-group-vertical-padding","",ot.spacing1),et.extend("--ft-switch-group-gap","",ot.spacing1),et.extend("--ft-switch-group-background-color","",rt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",rt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",ot.spacing2),et.extend("--ft-switch-label-vertical-padding","",ot.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-icon-vertical-padding","",ot.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",ot.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-off-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-chart-1-light","for area color charts",ot.colorBrand40),et.extend("--ft-chart-1-base","for line charts",ot.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",ot.colorYellow60),et.extend("--ft-chart-2-base","for line charts",ot.colorYellow100),et.extend("--ft-chart-3-light","",ot.colorUltramarine40),et.extend("--ft-chart-3-base","",ot.colorUltramarine70),et.extend("--ft-chart-4-light","",ot.colorCyan50),et.extend("--ft-chart-4-base","",ot.colorCyan100),et.extend("--ft-chart-5-light","",ot.colorRed40),et.extend("--ft-chart-5-base","",ot.colorRed60),et.extend("--ft-chart-6-light","",ot.colorGreen40),et.extend("--ft-chart-6-base","",ot.colorGreen70),et.extend("--ft-chart-7-light","",ot.colorOrange70),et.extend("--ft-chart-7-base","",ot.colorOrange100),et.extend("--ft-chart-8-light","",ot.colorAvocado70),et.extend("--ft-chart-8-base","",ot.colorAvocado200),et.extend("--ft-chart-9-light","",ot.colorBrown50),et.extend("--ft-chart-9-base","",ot.colorBrown200),et.extend("--ft-chart-10-light","",ot.colorGray50),et.extend("--ft-chart-10-base","",ot.colorGray80),et.extend("--ft-chart-monochrome-10","",ot.colorBrand10),et.extend("--ft-chart-monochrome-20","",ot.colorBrand20),et.extend("--ft-chart-monochrome-30","",ot.colorBrand40),et.extend("--ft-chart-monochrome-40","",ot.colorBrand60),et.extend("--ft-chart-monochrome-50","",ot.colorBrand0),et.extend("--ft-chart-monochrome-60","",ot.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",ot.spacing4),et.extend("--ft-chip-large-vertical-padding","",ot.spacing2),et.extend("--ft-chip-large-gap","",ot.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",ot.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",ot.spacing3),et.extend("--ft-chip-medium-vertical-padding","",ot.spacing1),et.extend("--ft-chip-medium-gap","",ot.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",ot.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",ot.spacing2),et.extend("--ft-chip-small-vertical-padding","",ot.spacing05),et.extend("--ft-chip-small-gap","",ot.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",ot.iconSize1),et.extend("--ft-chip-neutral-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",rt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",rt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",rt.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",rt.borderInfoPrimary),et.extend("--ft-chip-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",rt.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",rt.borderSuccessPrimary),et.extend("--ft-chip-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",rt.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",rt.borderWarningPrimary),et.extend("--ft-chip-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",rt.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",rt.borderErrorPrimary),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",ot.spacing2),et.extend("--ft-notice-vertical-padding","",ot.spacing1),et.extend("--ft-notice-border-radius","",ot.borderRadiusS),et.extend("--ft-notice-gap","",ot.spacing2),et.extend("--ft-notice-icon-size","",ot.iconSize3),et.extend("--ft-notice-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",rt.borderInfoPrimary),et.extend("--ft-notice-info-color","",rt.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",rt.borderWarningPrimary),et.extend("--ft-notice-warning-color","",rt.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",rt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",rt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",ot.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-off-background-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-on-background-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-toggle-label-color","",rt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-toggle-gap","",ot.spacing3),et.extend("--ft-radio-label-color","",rt.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",ot.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",ot.spacing3),et.extend("--ft-notification-icon-size","",ot.iconSize4),et.extend("--ft-notification-horizontal-padding","",ot.spacing4),et.extend("--ft-notification-vertical-padding","",ot.spacing4),et.extend("--ft-notification-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",rt.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",rt.borderInfoPrimary),et.extend("--ft-notification-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",rt.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",rt.borderSuccessPrimary),et.extend("--ft-notification-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",rt.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",rt.borderWarningPrimary),et.extend("--ft-notification-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",rt.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",rt.borderErrorPrimary),et.extend("--ft-notification-border-radius","",ot.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",ot.spacing2),et.extend("--ft-notification-gap-trailing","",ot.spacing8);const nt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),lt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),st={fontFamily:lt,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")},ct=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nt),pt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nt),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),Ut={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit")},Wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Bt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit")},Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},qt=o.css`
36
+ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litStatic$:t,r:V}),X=new Map,J=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(a=o[c],r=q(a));)s+=r+e[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(e[i]),p){const t=n.join("$$lit$$");void 0===(e=X.get(t))&&(n.raw=n,X.set(t,e=n)),o=l}return t(e,...o)})(R);var Q;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Q||(Q={}));const tt=t=>"string"==typeof t?o.unsafeCSS(t):t;class et{static create(t,e,i,r){const a=t=>tt(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,i,r){const a=t=>i.get(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):tt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${tt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${tt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ot={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:et.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:et.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:et.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:et.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:et.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:et.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:et.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:et.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},rt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ot.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",ot.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",ot.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",ot.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",ot.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",ot.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ot.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",ot.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",ot.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",ot.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ot.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ot.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ot.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ot.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ot.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ot.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",ot.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ot.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",ot.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ot.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",ot.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",ot.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ot.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ot.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",ot.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",ot.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ot.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ot.colorOrange300),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",ot.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",ot.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",ot.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",ot.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",ot.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",ot.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",ot.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",ot.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ot.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ot.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",ot.spacing4),largeGap:et.extend("--ft-button-large-gap","",ot.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",ot.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",ot.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",ot.spacing3),smallGap:et.extend("--ft-button-small-gap","",ot.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",ot.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",ot.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",rt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",rt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",rt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",rt.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",ot.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",ot.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",ot.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",ot.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",rt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",rt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",rt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",rt.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",ot.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",ot.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",ot.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",ot.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",rt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",rt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",rt.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",ot.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",ot.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",ot.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",ot.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",rt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",rt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",rt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",rt.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",ot.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",ot.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",ot.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",ot.opacity40)};et.extend("--ft-floating-menu-horizontal-padding","",ot.spacing4),et.extend("--ft-floating-menu-vertical-padding","",ot.spacing4),et.extend("--ft-floating-menu-off-icon-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-gap","",ot.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-floating-menu-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-floating-menu-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-floating-menu-component-opacity-disabled","",ot.opacity40),et.extend("--ft-floating-menu-icon-size","",ot.iconSize3),et.extend("--ft-floating-menu-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-tabs-top-left-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",ot.spacing4),et.extend("--ft-tabs-label-vertical-padding","",ot.spacing3),et.extend("--ft-tabs-label-gap","",ot.spacing1),et.extend("--ft-tabs-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",ot.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-tabs-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-off-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-on-color","",rt.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-collapsible-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-collapsible-component-opacity-disabled","",ot.opacity40),et.extend("--ft-collapsible-horizontal-padding","",ot.spacing4),et.extend("--ft-collapsible-vertical-padding","",ot.spacing3),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-collapsible-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",rt.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",ot.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-group-vertical-padding","",ot.spacing1),et.extend("--ft-switch-group-gap","",ot.spacing1),et.extend("--ft-switch-group-background-color","",rt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",rt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",ot.spacing2),et.extend("--ft-switch-label-vertical-padding","",ot.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-icon-vertical-padding","",ot.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",ot.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-off-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-on-color","",rt.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-chart-1-light","for area color charts",ot.colorBrand40),et.extend("--ft-chart-1-base","for line charts",ot.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",ot.colorYellow60),et.extend("--ft-chart-2-base","for line charts",ot.colorYellow100),et.extend("--ft-chart-3-light","",ot.colorUltramarine40),et.extend("--ft-chart-3-base","",ot.colorUltramarine70),et.extend("--ft-chart-4-light","",ot.colorCyan50),et.extend("--ft-chart-4-base","",ot.colorCyan100),et.extend("--ft-chart-5-light","",ot.colorRed40),et.extend("--ft-chart-5-base","",ot.colorRed60),et.extend("--ft-chart-6-light","",ot.colorGreen40),et.extend("--ft-chart-6-base","",ot.colorGreen70),et.extend("--ft-chart-7-light","",ot.colorOrange70),et.extend("--ft-chart-7-base","",ot.colorOrange100),et.extend("--ft-chart-8-light","",ot.colorAvocado70),et.extend("--ft-chart-8-base","",ot.colorAvocado200),et.extend("--ft-chart-9-light","",ot.colorBrown50),et.extend("--ft-chart-9-base","",ot.colorBrown200),et.extend("--ft-chart-10-light","",ot.colorGray50),et.extend("--ft-chart-10-base","",ot.colorGray80),et.extend("--ft-chart-monochrome-10","",ot.colorBrand10),et.extend("--ft-chart-monochrome-20","",ot.colorBrand20),et.extend("--ft-chart-monochrome-30","",ot.colorBrand40),et.extend("--ft-chart-monochrome-40","",ot.colorBrand60),et.extend("--ft-chart-monochrome-50","",ot.colorBrand0),et.extend("--ft-chart-monochrome-60","",ot.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",ot.spacing4),et.extend("--ft-chip-large-vertical-padding","",ot.spacing2),et.extend("--ft-chip-large-gap","",ot.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",ot.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",ot.spacing3),et.extend("--ft-chip-medium-vertical-padding","",ot.spacing1),et.extend("--ft-chip-medium-gap","",ot.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",ot.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",ot.spacing2),et.extend("--ft-chip-small-vertical-padding","",ot.spacing05),et.extend("--ft-chip-small-gap","",ot.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",ot.iconSize1),et.extend("--ft-chip-neutral-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",rt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",rt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",rt.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",rt.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",rt.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",rt.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",rt.borderErrorSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",ot.spacing2),et.extend("--ft-notice-vertical-padding","",ot.spacing1),et.extend("--ft-notice-border-radius","",ot.borderRadiusS),et.extend("--ft-notice-gap","",ot.spacing2),et.extend("--ft-notice-icon-size","",ot.iconSize3),et.extend("--ft-notice-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notice-info-color","",rt.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notice-warning-color","",rt.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",rt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",rt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",ot.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-off-background-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-on-background-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-toggle-label-color","",rt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-toggle-gap","",ot.spacing3),et.extend("--ft-radio-label-color","",rt.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",ot.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",ot.spacing3),et.extend("--ft-notification-icon-size","",ot.iconSize4),et.extend("--ft-notification-horizontal-padding","",ot.spacing4),et.extend("--ft-notification-vertical-padding","",ot.spacing4),et.extend("--ft-notification-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",rt.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",rt.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",rt.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",rt.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",rt.borderErrorSubtle),et.extend("--ft-notification-border-radius","",ot.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",ot.spacing2),et.extend("--ft-notification-gap-trailing","",ot.spacing8),et.extend("--ft-tooltip-horizontal-padding","",ot.spacing2),et.extend("--ft-tooltip-vertical-padding","",ot.spacing2),et.extend("--ft-tooltip-border-radius","",ot.borderRadiusS),et.extend("--ft-tooltip-label","",rt.contentGlobalOnColor),et.extend("--ft-tooltip-background","",rt.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",ot.opacity80),et.extend("--ft-tooltip-shadow","",ot.shadowElevation03);const nt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),lt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),st={fontFamily:lt,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")},ct=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nt),pt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nt),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Lt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),Wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit")},Ut={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Bt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit")},Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},qt=o.css`
37
37
  .ft-typography--title {
38
38
  font-family: ${ct};
39
39
  font-size: ${pt};
@@ -48,39 +48,30 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
48
48
  font-size: ${bt};
49
49
  font-weight: ${yt};
50
50
  letter-spacing: ${mt};
51
- line-height: ${vt};
52
- text-transform: ${xt};
51
+ line-height: ${xt};
52
+ text-transform: ${vt};
53
53
  }
54
54
  `,Xt=o.css`
55
55
  .ft-typography--subtitle1 {
56
56
  font-family: ${$t};
57
57
  font-size: ${Ot};
58
58
  font-weight: ${wt};
59
- letter-spacing: ${kt};
60
- line-height: ${St};
61
- text-transform: ${Nt};
59
+ letter-spacing: ${St};
60
+ line-height: ${Nt};
61
+ text-transform: ${kt};
62
62
  }
63
63
  `,Jt=o.css`
64
64
  .ft-typography--subtitle2 {
65
65
  font-family: ${Ct};
66
66
  font-size: ${It};
67
67
  font-weight: ${Et};
68
- letter-spacing: ${Rt};
69
- line-height: ${Lt};
70
- text-transform: ${zt};
68
+ letter-spacing: ${zt};
69
+ line-height: ${Rt};
70
+ text-transform: ${Lt};
71
71
  }
72
72
 
73
73
  `,Qt=o.css`
74
74
  .ft-typography--body1 {
75
- font-family: ${Ut.fontFamily};
76
- font-size: ${Ut.fontSize};
77
- font-weight: ${Ut.fontWeight};
78
- letter-spacing: ${Ut.letterSpacing};
79
- line-height: ${Ut.lineHeight};
80
- text-transform: ${Ut.textTransform};
81
- }
82
- `,te=o.css`
83
- .ft-typography--body2 {
84
75
  font-family: ${Wt.fontFamily};
85
76
  font-size: ${Wt.fontSize};
86
77
  font-weight: ${Wt.fontWeight};
@@ -88,6 +79,15 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
88
79
  line-height: ${Wt.lineHeight};
89
80
  text-transform: ${Wt.textTransform};
90
81
  }
82
+ `,te=o.css`
83
+ .ft-typography--body2 {
84
+ font-family: ${Ut.fontFamily};
85
+ font-size: ${Ut.fontSize};
86
+ font-weight: ${Ut.fontWeight};
87
+ letter-spacing: ${Ut.letterSpacing};
88
+ line-height: ${Ut.lineHeight};
89
+ text-transform: ${Ut.textTransform};
90
+ }
91
91
  `,ee=o.css`
92
92
  .ft-typography--caption {
93
93
  font-family: ${Bt.fontFamily};
@@ -100,8 +100,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
100
100
  `,oe=o.css`
101
101
  .ft-typography--breadcrumb {
102
102
  font-family: ${Zt};
103
- font-size: ${Ft};
104
- font-weight: ${Kt};
103
+ font-size: ${Kt};
104
+ font-weight: ${Ft};
105
105
  letter-spacing: ${Dt};
106
106
  line-height: ${At};
107
107
  text-transform: ${Ht};
@@ -144,7 +144,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
144
144
  </${Y(this.element)}>
145
145
  `:J`
146
146
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
147
- `}}function ce(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function pe(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>pe(e,t.selected))),value:t.value}}function fe(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>pe(t,!1)))}}se.styles=[qt,Yt,Xt,Jt,Qt,te,ee,oe,ie,re,ae,...ne],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const he=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),de={color:he,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",he),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ue=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),ge=ue,be=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ue),ye=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),me=ye,ve=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ye),xe=o.css`
147
+ `}}function ce(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function pe(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>pe(e,t.selected))),value:t.value}}function fe(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>pe(t,!1)))}}se.styles=[qt,Yt,Xt,Jt,Qt,te,ee,oe,ie,re,ae,...ne],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const he=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),de={color:he,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",he),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ue=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),ge=ue,be=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ue),ye=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),me=ye,xe=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ye),ve=o.css`
148
148
  :host {
149
149
  display: contents;
150
150
  }
@@ -199,7 +199,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
199
199
  }
200
200
 
201
201
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
202
- background-color: ${ve};
202
+ background-color: ${xe};
203
203
  }
204
204
 
205
205
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
@@ -325,7 +325,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
325
325
  transform: translate(calc(0.35 * ${$e.size}), 0);
326
326
  }
327
327
  }
328
- `,we={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ke=o.css`
328
+ `,we={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Se=o.css`
329
329
  :host, i.ft-icon {
330
330
  display: inline-flex;
331
331
  align-items: center;
@@ -373,7 +373,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
373
373
  .ft-icon--material {
374
374
  font-family: ${we.materialFontFamily}, "Material Icons", sans-serif;
375
375
  }
376
- `,Se=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),Ne={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Se,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Vt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Se),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ce=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Ie={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Ce,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ce)},Ee=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Re=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Le=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ze=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ue=[o.css`
376
+ `,Ne=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),ke={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Ne,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Vt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ne),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ce=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Ie={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Ce,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ce)},Ee=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),ze=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Re=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Le=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),We=[o.css`
377
377
  :host {
378
378
  display: inline-block;
379
379
  max-width: 100%;
@@ -384,7 +384,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
384
384
  box-shadow: 0px 0px 0px transparent;
385
385
  border: 0px solid transparent;
386
386
  text-shadow: 0px 0px 0px transparent;
387
- font-size: ${Ne.fontSize};
387
+ font-size: ${ke.fontSize};
388
388
  }
389
389
 
390
390
  button:hover {
@@ -413,31 +413,31 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
413
413
  border: none;
414
414
  pointer-events: auto;
415
415
 
416
- --ft-button-internal-line-height: max(calc(${Ne.fontSize} + 2px), ${Ne.iconSize});
417
- --ft-button-internal-color: ${Ne.color};
418
- ${e.setVariable(we.size,Ne.iconSize)};
419
- ${e.setVariable(de.color,Ne.rippleColor)};
416
+ --ft-button-internal-line-height: max(calc(${ke.fontSize} + 2px), ${ke.iconSize});
417
+ --ft-button-internal-color: ${ke.color};
418
+ ${e.setVariable(we.size,ke.iconSize)};
419
+ ${e.setVariable(de.color,ke.rippleColor)};
420
420
 
421
- border-radius: ${Ne.borderRadius};
422
- padding: ${Ne.verticalPadding} ${Ne.horizontalPadding};
423
- background-color: ${Ne.backgroundColor};
421
+ border-radius: ${ke.borderRadius};
422
+ padding: ${ke.verticalPadding} ${ke.horizontalPadding};
423
+ background-color: ${ke.backgroundColor};
424
424
  color: var(--ft-button-internal-color);
425
425
  -webkit-mask-image: radial-gradient(white, black);
426
426
  }
427
427
 
428
428
  .ft-button.ft-button--outlined {
429
429
  border: 1px solid var(--ft-button-internal-color);
430
- padding: calc(${Ne.verticalPadding} - 1px) calc(${Ne.horizontalPadding} - 1px);
430
+ padding: calc(${ke.verticalPadding} - 1px) calc(${ke.horizontalPadding} - 1px);
431
431
  }
432
432
 
433
433
  .ft-button.ft-button--dense {
434
- padding: ${Re} ${Le};
434
+ padding: ${ze} ${Re};
435
435
  border-radius: ${Ee};
436
- gap: ${ze};
436
+ gap: ${Le};
437
437
  }
438
438
 
439
439
  .ft-button.ft-button--dense.ft-button--outlined {
440
- padding: calc(${Re} - 1px) calc(${Le} - 1px);
440
+ padding: calc(${ze} - 1px) calc(${Re} - 1px);
441
441
  }
442
442
 
443
443
  .ft-button:not([disabled]):hover {
@@ -445,16 +445,16 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
445
445
  }
446
446
 
447
447
  .ft-button--round {
448
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ne.verticalPadding});
448
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ke.verticalPadding});
449
449
  }
450
450
 
451
451
  .ft-button--round.ft-button--dense {
452
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Re});
452
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ze});
453
453
  }
454
454
 
455
455
  .ft-button[disabled] {
456
456
  filter: grayscale(1);
457
- opacity: ${Ne.opacityDisabled};
457
+ opacity: ${ke.opacityDisabled};
458
458
  }
459
459
 
460
460
  .ft-button.ft-button--primary {
@@ -473,13 +473,13 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
473
473
  white-space: nowrap;
474
474
  text-overflow: ellipsis;
475
475
  display: block;
476
- margin: 0 ${Ne.iconPadding};
476
+ margin: 0 ${ke.iconPadding};
477
477
  ${e.setVariable(Vt.fontSize,"1em")};
478
478
  ${e.setVariable(Vt.lineHeight,"var(--ft-button-internal-line-height)")};
479
479
  }
480
480
 
481
481
  .ft-button--dense .ft-button--label {
482
- margin: 0 ${ze};
482
+ margin: 0 ${Le};
483
483
  }
484
484
 
485
485
  .ft-button--label[hidden] {
@@ -492,13 +492,13 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
492
492
  }
493
493
 
494
494
  .ft-button--label[hidden] + ft-icon {
495
- margin: 0 calc(${Ne.horizontalPadding} * -1);
496
- padding: 0 ${Ne.verticalPadding};
495
+ margin: 0 calc(${ke.horizontalPadding} * -1);
496
+ padding: 0 ${ke.verticalPadding};
497
497
  }
498
498
 
499
499
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
500
- margin: 0 calc(${Le} * -1);
501
- padding: 0 ${Re};
500
+ margin: 0 calc(${Re} * -1);
501
+ padding: 0 ${ze};
502
502
  }
503
503
 
504
504
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -507,10 +507,10 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
507
507
  }
508
508
 
509
509
  ft-loader {
510
- ${e.setVariable($e.size,Ne.iconSize)};
510
+ ${e.setVariable($e.size,ke.iconSize)};
511
511
  ${e.setVariable($e.color,"var(--ft-button-internal-color)")};
512
512
  }
513
- `,e.noTextSelect];var We=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Be extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),a=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return o.html`
513
+ `,e.noTextSelect];var Ue=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Be extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),a=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return o.html`
514
514
  <style>
515
515
  .ft-ripple .ft-ripple--effect {
516
516
  left: ${this.originX}px;
@@ -521,7 +521,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
521
521
  <div class="ft-ripple--background"></div>
522
522
  <div class="ft-ripple--effect"></div>
523
523
  </div>
524
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",o,a),t.addEventListener("touchstart",i,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",r,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",o,a),t.removeEventListener("touchstart",i,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",r,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Be.elementDefinitions={},Be.styles=xe,We([i.property({type:Boolean})],Be.prototype,"primary",void 0),We([i.property({type:Boolean})],Be.prototype,"secondary",void 0),We([i.property({type:Boolean})],Be.prototype,"unbounded",void 0),We([i.property({type:Boolean})],Be.prototype,"activated",void 0),We([i.property({type:Boolean})],Be.prototype,"selected",void 0),We([i.property({type:Boolean})],Be.prototype,"disabled",void 0),We([i.state()],Be.prototype,"hovered",void 0),We([i.state()],Be.prototype,"focused",void 0),We([i.state()],Be.prototype,"pressed",void 0),We([i.state()],Be.prototype,"rippling",void 0),We([i.state()],Be.prototype,"originX",void 0),We([i.state()],Be.prototype,"originY",void 0),We([i.query(".ft-ripple")],Be.prototype,"ripple",void 0),We([i.query(".ft-ripple--effect")],Be.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Be);const Ze={distance:e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),maxWidth:e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Fe=o.css`
524
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",o,a),t.addEventListener("touchstart",i,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",r,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",o,a),t.removeEventListener("touchstart",i,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",r,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Be.elementDefinitions={},Be.styles=ve,Ue([i.property({type:Boolean})],Be.prototype,"primary",void 0),Ue([i.property({type:Boolean})],Be.prototype,"secondary",void 0),Ue([i.property({type:Boolean})],Be.prototype,"unbounded",void 0),Ue([i.property({type:Boolean})],Be.prototype,"activated",void 0),Ue([i.property({type:Boolean})],Be.prototype,"selected",void 0),Ue([i.property({type:Boolean})],Be.prototype,"disabled",void 0),Ue([i.state()],Be.prototype,"hovered",void 0),Ue([i.state()],Be.prototype,"focused",void 0),Ue([i.state()],Be.prototype,"pressed",void 0),Ue([i.state()],Be.prototype,"rippling",void 0),Ue([i.state()],Be.prototype,"originX",void 0),Ue([i.state()],Be.prototype,"originY",void 0),Ue([i.query(".ft-ripple")],Be.prototype,"ripple",void 0),Ue([i.query(".ft-ripple--effect")],Be.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Be);const Ze={distance:e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),maxWidth:e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ke=o.css`
525
525
  .ft-tooltip--container {
526
526
  display: block;
527
527
  }
@@ -550,7 +550,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
550
550
  position: relative;
551
551
  word-break: break-word;
552
552
  }
553
- `,Ke=["start","end"],De=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ke[0],e+"-"+Ke[1])),[]),Ae=Math.min,He=Math.max,Pe=Math.round,Me=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-x.top+u.top)/v.y,bottom:(x.bottom-b.bottom+u.bottom)/v.y,left:(b.left-x.left+u.left)/v.x,right:(x.right-b.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=De,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===De?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[b[Ve(m)],b[v[0]],b[v[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],O=g[y+1];if(O)return{data:{index:y+1,overflows:$},reset:{placement:O}};const w=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),k=w.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=k[0])?void 0:r[0])||w[0][0];return S!==l?{data:{index:y+1,overflows:$},reset:{placement:S}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=vo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function vo(t){return lo(t).getComputedStyle(t)}function xo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function Oo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:Oo(e)}function wo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Oo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?wo(n.frameElement):[]):e.concat(r,wo(r,[],o))}function ko(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Pe(o)!==a||Pe(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function So(t){return po(t)?t:t.contextElement}function No(t){const e=So(t);if(!fo(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=ko(e);let n=(a?Pe(o.width):o.width)/i,l=(a?Pe(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Me(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=So(t);let n=Me(1);e&&(i?po(i)&&(n=No(i)):n=No(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Me(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function Ro(t){return Eo(so(t)).left+xo(t).scrollLeft}function Lo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=xo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Ro(t);const l=-o.scrollTop;return"rtl"===vo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?No(t):Me(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function zo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===vo(o).position||zo(o,e))}function Uo(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Me(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=xo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Ro(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Wo(t,e){return fo(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&go(i)&&"static"===vo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===vo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Me(1);const s=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=xo(o)),fo(o))){const t=Eo(o);l=No(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=wo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===vo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=vo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&zo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),i],n=a[0],l=a.reduce(((t,o)=>{const i=Lo(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Lo(e,n,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Uo(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ko(t)},getScale:No,isElement:po,isRTL:function(t){return"rtl"===vo(t).direction}},Fo=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Ko(t){return function(t){for(let e=t;e;e=Do(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Do(t);e;e=Do(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Do(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Po=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Mo extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
553
+ `,Fe=["start","end"],De=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),Ae=Math.min,He=Math.max,Pe=Math.round,Me=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},v=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-v.top+u.top)/x.y,bottom:(v.bottom-b.bottom+u.bottom)/x.y,left:(b.left-v.left+u.left)/x.x,right:(v.right-b.right+u.right)/x.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=De,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===De?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[b[Ve(m)],b[x[0]],b[x[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],O=g[y+1];if(O)return{data:{index:y+1,overflows:$},reset:{placement:O}};const w=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=w.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=S[0])?void 0:r[0])||w[0][0];return N!==l?{data:{index:y+1,overflows:$},reset:{placement:N}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=xo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=xo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function xo(t){return lo(t).getComputedStyle(t)}function vo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function Oo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:Oo(e)}function wo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Oo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?wo(n.frameElement):[]):e.concat(r,wo(r,[],o))}function So(t){const e=xo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Pe(o)!==a||Pe(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function No(t){return po(t)?t:t.contextElement}function ko(t){const e=No(t);if(!fo(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=So(e);let n=(a?Pe(o.width):o.width)/i,l=(a?Pe(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Me(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=No(t);let n=Me(1);e&&(i?po(i)&&(n=ko(i)):n=ko(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Me(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=ko(o),e=o.getBoundingClientRect(),i=xo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function zo(t){return Eo(so(t)).left+vo(t).scrollLeft}function Ro(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=vo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+zo(t);const l=-o.scrollTop;return"rtl"===xo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?ko(t):Me(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function Lo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===xo(o).position||Lo(o,e))}function Wo(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Me(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=vo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=zo(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Uo(t,e){return fo(t)&&"fixed"!==xo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Uo(t,e);for(;i&&go(i)&&"static"===xo(i).position;)i=Uo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===xo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Me(1);const s=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=vo(o)),fo(o))){const t=Eo(o);l=ko(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=wo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===xo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=xo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&Lo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),i],n=a[0],l=a.reduce(((t,o)=>{const i=Ro(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Ro(e,n,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Wo(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:ko,isElement:po,isRTL:function(t){return"rtl"===xo(t).direction}},Ko=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Fo(t){return function(t){for(let e=t;e;e=Do(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Do(t);e;e=Do(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Do(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Po=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Mo extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
554
554
  <div part="container"
555
555
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
556
556
  @mouseenter=${this.onHover}
@@ -568,19 +568,19 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
568
568
  </div>
569
569
  </div>
570
570
  </div>
571
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Fo(t,e,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Ko)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(i,t),c={x:e,y:o},p=await io(t,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),ao({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Mo.elementDefinitions={"ft-typography":se},Mo.styles=Fe,Po([i.property()],Mo.prototype,"text",void 0),Po([i.property({type:Boolean})],Mo.prototype,"manual",void 0),Po([i.property({type:Boolean})],Mo.prototype,"inline",void 0),Po([i.property({type:Number})],Mo.prototype,"delay",void 0),Po([i.property()],Mo.prototype,"position",void 0),Po([i.queryAssignedNodes()],Mo.prototype,"slotNodes",void 0),Po([i.query(".ft-tooltip--container")],Mo.prototype,"container",void 0),Po([i.query(".ft-tooltip")],Mo.prototype,"tooltip",void 0),Po([i.query(".ft-tooltip--content")],Mo.prototype,"tooltipContent",void 0),Po([i.state()],Mo.prototype,"visible",void 0),Po([i.eventOptions({passive:!0})],Mo.prototype,"onTouch",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onHover",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onOut",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onClick",null),e.customElement("ft-tooltip")(Mo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(Ao||(Ao={})),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;"}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;Ho.ABW,Ho.AUDIO,Ho.AVI,Ho.CHM,Ho.CODE,Ho.CSV,Ho.DITA,Ho.EPUB,Ho.EXCEL,Ho.FLAC,Ho.GIF,Ho.GZIP,Ho.HTML,Ho.IMAGE,Ho.JPEG,Ho.JSON,Ho.M4A,Ho.MOV,Ho.MP3,Ho.MP4,Ho.OGG,Ho.PDF,Ho.PNG,Ho.POWERPOINT,Ho.RAR,Ho.STP,Ho.TEXT,Ho.UNKNOWN,Ho.VIDEO,Ho.WAV,Ho.WMA,Ho.WORD,Ho.XML,Ho.YAML,Ho.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
571
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Ko(t,e,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Fo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(i,t),c={x:e,y:o},p=await io(t,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),ao({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Mo.elementDefinitions={"ft-typography":se},Mo.styles=Ke,Po([i.property()],Mo.prototype,"text",void 0),Po([i.property({type:Boolean})],Mo.prototype,"manual",void 0),Po([i.property({type:Boolean})],Mo.prototype,"inline",void 0),Po([i.property({type:Number})],Mo.prototype,"delay",void 0),Po([i.property()],Mo.prototype,"position",void 0),Po([i.queryAssignedNodes()],Mo.prototype,"slotNodes",void 0),Po([i.query(".ft-tooltip--container")],Mo.prototype,"container",void 0),Po([i.query(".ft-tooltip")],Mo.prototype,"tooltip",void 0),Po([i.query(".ft-tooltip--content")],Mo.prototype,"tooltipContent",void 0),Po([i.state()],Mo.prototype,"visible",void 0),Po([i.eventOptions({passive:!0})],Mo.prototype,"onTouch",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onHover",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onOut",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onClick",null),e.customElement("ft-tooltip")(Mo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(Ao||(Ao={})),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;"}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;Ho.ABW,Ho.AUDIO,Ho.AVI,Ho.CHM,Ho.CODE,Ho.CSV,Ho.DITA,Ho.EPUB,Ho.EXCEL,Ho.FLAC,Ho.GIF,Ho.GZIP,Ho.HTML,Ho.IMAGE,Ho.JPEG,Ho.JSON,Ho.M4A,Ho.MOV,Ho.MP3,Ho.MP4,Ho.OGG,Ho.PDF,Ho.PNG,Ho.POWERPOINT,Ho.RAR,Ho.STP,Ho.TEXT,Ho.UNKNOWN,Ho.VIDEO,Ho.WAV,Ho.WMA,Ho.WORD,Ho.XML,Ho.YAML,Ho.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
572
572
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
573
573
  ${n.unsafeHTML(this.resolvedIcon)}
574
574
  <slot ?hidden=${e}></slot>
575
575
  </i>
576
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Go.file_format:this.resolvedIcon=null!==(t=Ho[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Go.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=Ao[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Vo.elementDefinitions={},Vo.styles=ke,_o([i.property()],Vo.prototype,"variant",void 0),_o([i.property()],Vo.prototype,"value",void 0),_o([i.state()],Vo.prototype,"resolvedIcon",void 0),_o([i.query("slot")],Vo.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Vo);class qo extends e.FtLitElement{render(){return o.html`
576
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Go.file_format:this.resolvedIcon=null!==(t=Ho[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Go.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=Ao[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Vo.elementDefinitions={},Vo.styles=Se,_o([i.property()],Vo.prototype,"variant",void 0),_o([i.property()],Vo.prototype,"value",void 0),_o([i.state()],Vo.prototype,"resolvedIcon",void 0),_o([i.query("slot")],Vo.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Vo);class qo extends e.FtLitElement{render(){return o.html`
577
577
  <div class="ft-loader">
578
578
  <div></div>
579
579
  <div></div>
580
580
  <div></div>
581
581
  <div></div>
582
582
  </div>
583
- `}}qo.styles=Oe,e.customElement("ft-loader")(qo);var Yo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Xo extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(o.html`
583
+ `}}qo.styles=Oe,e.customElement("ft-loader")(qo);var Yo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Xo extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(o.html`
584
584
  <button part="button"
585
585
  class="${a.classMap(this.buttonClasses)}"
586
586
  aria-label="${this.getLabel()}"
@@ -603,7 +603,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
603
603
  </ft-tooltip>
604
604
  `:t}resolveIcon(){return this.loading?o.html`
605
605
  <ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
606
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Xo.elementDefinitions={"ft-ripple":Be,"ft-tooltip":Mo,"ft-typography":se,"ft-icon":Vo,"ft-loader":qo},Yo([i.property({type:String,reflect:!0})],Xo.prototype,"role",void 0),Yo([i.property()],Xo.prototype,"type",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"disabled",void 0),Yo([i.property()],Xo.prototype,"label",void 0),Yo([i.property()],Xo.prototype,"icon",void 0),Yo([i.property()],Xo.prototype,"iconVariant",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"trailingIcon",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"loading",void 0),Yo([i.property()],Xo.prototype,"tooltipPosition",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"hideTooltip",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"forceTooltip",void 0),Yo([i.query(".ft-button")],Xo.prototype,"button",void 0),Yo([i.query(".ft-button--label slot")],Xo.prototype,"slottedContent",void 0);var Jo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Qo extends Xo{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qo.styles=[e.safariEllipsisFix,Ue],Jo([i.property({type:Boolean})],Qo.prototype,"primary",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"outlined",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"dense",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"round",void 0);const ti=[o.css`
606
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Xo.elementDefinitions={"ft-ripple":Be,"ft-tooltip":Mo,"ft-typography":se,"ft-icon":Vo,"ft-loader":qo},Yo([i.property({type:String,reflect:!0})],Xo.prototype,"role",void 0),Yo([i.property()],Xo.prototype,"type",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"disabled",void 0),Yo([i.property()],Xo.prototype,"label",void 0),Yo([i.property()],Xo.prototype,"icon",void 0),Yo([i.property()],Xo.prototype,"iconVariant",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"trailingIcon",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"loading",void 0),Yo([i.property()],Xo.prototype,"tooltipPosition",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"hideTooltip",void 0),Yo([i.property({type:Boolean})],Xo.prototype,"forceTooltip",void 0),Yo([i.query(".ft-button")],Xo.prototype,"button",void 0),Yo([i.query(".ft-button--label slot")],Xo.prototype,"slottedContent",void 0);var Jo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Qo extends Xo{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qo.styles=[e.safariEllipsisFix,We],Jo([i.property({type:Boolean})],Qo.prototype,"primary",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"outlined",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"dense",void 0),Jo([i.property({type:Boolean})],Qo.prototype,"round",void 0);const ti=[o.css`
607
607
  :host {
608
608
  display: inline-block;
609
609
  max-width: 100%;
@@ -1004,7 +1004,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1004
1004
  .ft-radio--disabled .ft-radio--box:after {
1005
1005
  background-color: ${gi};
1006
1006
  }
1007
- `;var yi=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class mi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class vi extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return o.html`
1007
+ `;var yi=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class mi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class xi extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return o.html`
1008
1008
  <div class="${a.classMap(t)}">
1009
1009
  <div class="ft-radio--box-container">
1010
1010
  <ft-ripple
@@ -1029,7 +1029,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1029
1029
  </ft-typography>
1030
1030
  </label>
1031
1031
  </div>
1032
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new mi(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new mi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}vi.elementDefinitions={"ft-ripple":Be,"ft-typography":se},vi.styles=bi,yi([i.property()],vi.prototype,"value",void 0),yi([i.property()],vi.prototype,"name",void 0),yi([i.property({type:Boolean,reflect:!0})],vi.prototype,"checked",void 0),yi([i.property({type:Boolean})],vi.prototype,"disabled",void 0),yi([i.query(".ft-radio")],vi.prototype,"container",void 0),yi([i.query("ft-ripple")],vi.prototype,"ripple",void 0),yi([i.query("input")],vi.prototype,"input",void 0);const xi=o.css`
1032
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new mi(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new mi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}xi.elementDefinitions={"ft-ripple":Be,"ft-typography":se},xi.styles=bi,yi([i.property()],xi.prototype,"value",void 0),yi([i.property()],xi.prototype,"name",void 0),yi([i.property({type:Boolean,reflect:!0})],xi.prototype,"checked",void 0),yi([i.property({type:Boolean})],xi.prototype,"disabled",void 0),yi([i.query(".ft-radio")],xi.prototype,"container",void 0),yi([i.query("ft-ripple")],xi.prototype,"ripple",void 0),yi([i.query("input")],xi.prototype,"input",void 0);const vi=o.css`
1033
1033
  :host {
1034
1034
  display: contents;
1035
1035
  }
@@ -1038,7 +1038,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1038
1038
  @change=${this.onChange}
1039
1039
  @keydown=${this.onKeyDown}
1040
1040
  ></slot>
1041
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Oi.elementDefinitions={},Oi.styles=xi,$i([i.property()],Oi.prototype,"name",void 0),$i([i.queryAssignedElements()],Oi.prototype,"radioButtons",void 0),e.customElement("ft-radio")(vi),e.customElement("ft-radio-group")(Oi);const wi={borderRadiusM:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusM,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:e.FtCssVariableFactory.external(Wt.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Wt.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Wt.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Wt.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Wt.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Wt.textTransform,"Body2 typography")},ki=o.css`
1041
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Oi.elementDefinitions={},Oi.styles=vi,$i([i.property()],Oi.prototype,"name",void 0),$i([i.queryAssignedElements()],Oi.prototype,"radioButtons",void 0),e.customElement("ft-radio")(xi),e.customElement("ft-radio-group")(Oi);const wi={borderRadiusM:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusM,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:e.FtCssVariableFactory.external(Ut.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Ut.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Ut.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Ut.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Ut.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Ut.textTransform,"Body2 typography")},Si=o.css`
1042
1042
  .ft-filter-level--container {
1043
1043
  display: flex;
1044
1044
  flex-direction: column;
@@ -1088,7 +1088,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1088
1088
  }
1089
1089
 
1090
1090
  ft-button {
1091
- ${e.setVariable(Ne.color,wi.colorOnSurface)};
1091
+ ${e.setVariable(ke.color,wi.colorOnSurface)};
1092
1092
  }
1093
1093
 
1094
1094
  ft-radio, ft-checkbox {
@@ -1104,7 +1104,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1104
1104
  margin: 10px 0;
1105
1105
  color: ${wi.colorOnSurfaceMedium};
1106
1106
  }
1107
- `;var Si=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ni extends e.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return o.html`
1107
+ `;var Ni=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class ki extends e.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return o.html`
1108
1108
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1109
1109
  ${null==this.parent?null:o.html`
1110
1110
  <div tabindex="0"
@@ -1168,7 +1168,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1168
1168
  @change=${t=>t.stopPropagation()}>
1169
1169
  ${t.renderOption?t.renderOption:t.label}
1170
1170
  </ft-radio>
1171
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ni.elementDefinitions={"ft-button":Qo,"ft-ripple":Be,"ft-typography":se,"ft-checkbox":fi,"ft-icon":Vo,"ft-radio":vi},Ni.styles=ki,Si([i.property({type:String})],Ni.prototype,"filterId",void 0),Si([i.property({type:Object})],Ni.prototype,"parent",void 0),Si([i.property({type:Array})],Ni.prototype,"options",void 0),Si([i.property({type:Boolean})],Ni.prototype,"multivalued",void 0),Si([i.property({type:Boolean})],Ni.prototype,"disabled",void 0),Si([i.property({type:Boolean})],Ni.prototype,"hideSelectedOptions",void 0),Si([i.property({type:Boolean})],Ni.prototype,"preventNavigation",void 0),Si([i.property({type:String})],Ni.prototype,"filter",void 0),Si([i.property({type:String})],Ni.prototype,"moreValuesButtonLabel",void 0),Si([i.property({type:String})],Ni.prototype,"noValuesLabel",void 0),Si([i.property({type:Number})],Ni.prototype,"displayedValuesLimit",void 0),Si([i.query(".ft-filter-level--container")],Ni.prototype,"container",void 0),Si([i.state()],Ni.prototype,"displayedPages",void 0);const Ci={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Ii=o.css`
1171
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ki.elementDefinitions={"ft-button":Qo,"ft-ripple":Be,"ft-typography":se,"ft-checkbox":fi,"ft-icon":Vo,"ft-radio":xi},ki.styles=Si,Ni([i.property({type:String})],ki.prototype,"filterId",void 0),Ni([i.property({type:Object})],ki.prototype,"parent",void 0),Ni([i.property({type:Array})],ki.prototype,"options",void 0),Ni([i.property({type:Boolean})],ki.prototype,"multivalued",void 0),Ni([i.property({type:Boolean})],ki.prototype,"disabled",void 0),Ni([i.property({type:Boolean})],ki.prototype,"hideSelectedOptions",void 0),Ni([i.property({type:Boolean})],ki.prototype,"preventNavigation",void 0),Ni([i.property({type:String})],ki.prototype,"filter",void 0),Ni([i.property({type:String})],ki.prototype,"moreValuesButtonLabel",void 0),Ni([i.property({type:String})],ki.prototype,"noValuesLabel",void 0),Ni([i.property({type:Number})],ki.prototype,"displayedValuesLimit",void 0),Ni([i.query(".ft-filter-level--container")],ki.prototype,"container",void 0),Ni([i.state()],ki.prototype,"displayedPages",void 0);const Ci={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Ii=o.css`
1172
1172
  .ft-snap-scroll {
1173
1173
  box-sizing: border-box;
1174
1174
  position: relative;
@@ -1249,8 +1249,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1249
1249
  z-index: ${Ci.buttonsZIndex};
1250
1250
  opacity: 1;
1251
1251
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1252
- ${e.setVariable(Ne.backgroundColor,"transparent")};
1253
- ${e.setVariable(Ne.color,Ci.buttonsColor)};
1252
+ ${e.setVariable(ke.backgroundColor,"transparent")};
1253
+ ${e.setVariable(ke.color,Ci.buttonsColor)};
1254
1254
  }
1255
1255
 
1256
1256
  .ft-snap-scroll--previous[hidden],
@@ -1293,7 +1293,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1293
1293
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1294
1294
  background-color: ${Ci.colorSurface};
1295
1295
  }
1296
- `;var Ei=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ri extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Li extends e.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e.Debouncer(200),this.updateScrollDebouncer=new e.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=a.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":e.isSafari}),i=this.controls&&this.withScroll;return o.html`
1296
+ `;var Ei=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class zi extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Ri extends e.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e.Debouncer(200),this.updateScrollDebouncer=new e.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=a.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":e.isSafari}),i=this.controls&&this.withScroll;return o.html`
1297
1297
  <div part="container" class="${t}">
1298
1298
  <ft-button
1299
1299
  class="ft-snap-scroll--previous"
@@ -1317,7 +1317,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1317
1317
  @click=${this.next}
1318
1318
  ></ft-button>
1319
1319
  </div>
1320
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Ri(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Li.elementDefinitions={"ft-button":Qo},Li.styles=Ii,Ei([i.property({type:Boolean})],Li.prototype,"horizontal",void 0),Ei([i.property({type:Boolean})],Li.prototype,"hideScrollbar",void 0),Ei([i.property({type:Boolean})],Li.prototype,"controls",void 0),Ei([i.property({type:Boolean})],Li.prototype,"limitSize",void 0),Ei([i.state()],Li.prototype,"elements",void 0),Ei([i.state()],Li.prototype,"currentElement",void 0),Ei([i.state()],Li.prototype,"withScroll",void 0),Ei([i.state()],Li.prototype,"startReached",void 0),Ei([i.state()],Li.prototype,"endReached",void 0),Ei([i.query(".ft-snap-scroll--content")],Li.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Li);const zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Ui=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Wi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Bi=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),Fi=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),Ki=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),Di=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),Ai=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",st.fontSize,"16px"),Hi=[ee,o.css`
1320
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new zi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Ri.elementDefinitions={"ft-button":Qo},Ri.styles=Ii,Ei([i.property({type:Boolean})],Ri.prototype,"horizontal",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"hideScrollbar",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"controls",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"limitSize",void 0),Ei([i.state()],Ri.prototype,"elements",void 0),Ei([i.state()],Ri.prototype,"currentElement",void 0),Ei([i.state()],Ri.prototype,"withScroll",void 0),Ei([i.state()],Ri.prototype,"startReached",void 0),Ei([i.state()],Ri.prototype,"endReached",void 0),Ei([i.query(".ft-snap-scroll--content")],Ri.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Ri);const Li=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Wi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Ui=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Bi=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),Ki=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),Fi=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),Di=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),Ai=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",st.fontSize,"16px"),Hi=[ee,o.css`
1321
1321
  :host {
1322
1322
  display: flex;
1323
1323
  max-height: 100%;
@@ -1344,7 +1344,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1344
1344
  .ft-filter--header ft-button {
1345
1345
  flex-shrink: 0;
1346
1346
  margin-left: auto;
1347
- ${e.setVariable(Ne.iconSize,"18px")};
1347
+ ${e.setVariable(ke.iconSize,"18px")};
1348
1348
  }
1349
1349
 
1350
1350
  .ft-filter--label {
@@ -1366,8 +1366,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1366
1366
  padding: 0 10px;
1367
1367
  overflow: hidden;
1368
1368
  height: 32px;
1369
- transition: height ${Fi} ${Ki},
1370
- margin ${Fi} ${Ki};
1369
+ transition: height ${Ki} ${Fi},
1370
+ margin ${Ki} ${Fi};
1371
1371
  transition-delay: 500ms;
1372
1372
  }
1373
1373
 
@@ -1380,15 +1380,15 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1380
1380
  display: block;
1381
1381
  width: 100%;
1382
1382
  border-radius: 4px;
1383
- border: 1px solid ${zi};
1383
+ border: 1px solid ${Li};
1384
1384
  padding: 4px;
1385
1385
  background-color: ${Zi};
1386
- color: ${Ui};
1386
+ color: ${Wi};
1387
1387
  outline-color: ${Bi};
1388
1388
  }
1389
1389
 
1390
1390
  input::placeholder {
1391
- color: ${Wi};
1391
+ color: ${Ui};
1392
1392
  }
1393
1393
 
1394
1394
  input:placeholder-shown {
@@ -1404,7 +1404,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1404
1404
  }
1405
1405
 
1406
1406
  .ft-filter--separator {
1407
- border-top: 1px solid ${zi};
1407
+ border-top: 1px solid ${Li};
1408
1408
  margin: 4px 10px;
1409
1409
  }
1410
1410
 
@@ -1501,7 +1501,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1501
1501
  .exportpartsPrefixes=${["values","available-values"]}
1502
1502
  noValuesLabel="${this.noValuesLabel}"
1503
1503
  ></ft-filter-level>
1504
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;e.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new Mi(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ji.elementDefinitions={"ft-button":Qo,"ft-filter-level":Ni,"ft-snap-scroll":Li,"ft-typography":se},ji.styles=Hi,Pi([i.property({type:String})],ji.prototype,"id",void 0),Pi([i.property({type:String})],ji.prototype,"label",void 0),Pi([i.property({type:String})],ji.prototype,"filterPlaceHolder",void 0),Pi([i.property({type:String})],ji.prototype,"clearButtonLabel",void 0),Pi([i.property({type:String})],ji.prototype,"moreValuesButtonLabel",void 0),Pi([i.property({type:String})],ji.prototype,"noValuesLabel",void 0),Pi([e.jsonProperty([])],ji.prototype,"options",void 0),Pi([i.property({type:Boolean})],ji.prototype,"multivalued",void 0),Pi([i.property({type:Boolean})],ji.prototype,"disabled",void 0),Pi([i.property({type:Boolean})],ji.prototype,"raiseSelectedOptions",void 0),Pi([i.property({type:Number})],ji.prototype,"displayedValuesLimit",void 0),Pi([i.property({type:Boolean})],ji.prototype,"hideClearButton",void 0),Pi([i.query(".ft-filter--slot")],ji.prototype,"slotElement",void 0),Pi([i.query(".ft-filter--container")],ji.prototype,"container",void 0),Pi([i.query(".ft-filter--values")],ji.prototype,"valuesContainer",void 0),Pi([i.query(".ft-filter--levels")],ji.prototype,"levelsContainer",void 0),Pi([i.state()],ji.prototype,"lastLevelHasHiddenvalues",void 0),Pi([i.query(".ft-filter--filter input")],ji.prototype,"filterInput",void 0),Pi([i.queryAll(".ft-filter--levels ft-filter-level")],ji.prototype,"levels",void 0),Pi([i.state()],ji.prototype,"withScroll",void 0),Pi([i.state()],ji.prototype,"filter",void 0),Pi([i.state()],ji.prototype,"slideIn",void 0),Pi([i.state()],ji.prototype,"slideOut",void 0);var Ti=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Gi extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1504
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;e.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new Mi(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ji.elementDefinitions={"ft-button":Qo,"ft-filter-level":ki,"ft-snap-scroll":Ri,"ft-typography":se},ji.styles=Hi,Pi([i.property({type:String})],ji.prototype,"id",void 0),Pi([i.property({type:String})],ji.prototype,"label",void 0),Pi([i.property({type:String})],ji.prototype,"filterPlaceHolder",void 0),Pi([i.property({type:String})],ji.prototype,"clearButtonLabel",void 0),Pi([i.property({type:String})],ji.prototype,"moreValuesButtonLabel",void 0),Pi([i.property({type:String})],ji.prototype,"noValuesLabel",void 0),Pi([e.jsonProperty([])],ji.prototype,"options",void 0),Pi([i.property({type:Boolean})],ji.prototype,"multivalued",void 0),Pi([i.property({type:Boolean})],ji.prototype,"disabled",void 0),Pi([i.property({type:Boolean})],ji.prototype,"raiseSelectedOptions",void 0),Pi([i.property({type:Number})],ji.prototype,"displayedValuesLimit",void 0),Pi([i.property({type:Boolean})],ji.prototype,"hideClearButton",void 0),Pi([i.query(".ft-filter--slot")],ji.prototype,"slotElement",void 0),Pi([i.query(".ft-filter--container")],ji.prototype,"container",void 0),Pi([i.query(".ft-filter--values")],ji.prototype,"valuesContainer",void 0),Pi([i.query(".ft-filter--levels")],ji.prototype,"levelsContainer",void 0),Pi([i.state()],ji.prototype,"lastLevelHasHiddenvalues",void 0),Pi([i.query(".ft-filter--filter input")],ji.prototype,"filterInput",void 0),Pi([i.queryAll(".ft-filter--levels ft-filter-level")],ji.prototype,"levels",void 0),Pi([i.state()],ji.prototype,"withScroll",void 0),Pi([i.state()],ji.prototype,"filter",void 0),Pi([i.state()],ji.prototype,"slideIn",void 0),Pi([i.state()],ji.prototype,"slideOut",void 0);var Ti=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Gi extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1505
1505
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1506
1506
  `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Gi.elementDefinitions={},Ti([i.property({type:String})],Gi.prototype,"label",void 0),Ti([i.property({type:Object,converter:t=>t})],Gi.prototype,"value",void 0),Ti([i.property({type:Boolean,reflect:!0})],Gi.prototype,"selected",void 0),Ti([i.property({type:Object})],Gi.prototype,"subOptions",void 0),Ti([e.jsonProperty({})],Gi.prototype,"renderOption",void 0),Ti([i.query(".ft-filter-option--slot")],Gi.prototype,"slotElement",void 0),e.customElement("ft-filter")(ji),e.customElement("ft-filter-option")(Gi);const _i=o.css`
1507
1507
  .ft-accordion {
@@ -1586,7 +1586,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1586
1586
  </div>
1587
1587
  <div class="ft-accordion-item--separator" part="separator"></div>
1588
1588
  </div>
1589
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}er.elementDefinitions={"ft-ripple":Be,"ft-typography":se,"ft-icon":Vo},er.styles=Qi,tr([i.property()],er.prototype,"icon",void 0),tr([i.property()],er.prototype,"iconVariant",void 0),tr([i.property()],er.prototype,"label",void 0),tr([i.property({type:Boolean,reflect:!0})],er.prototype,"active",void 0),e.customElement("ft-accordion")(qi),e.customElement("ft-accordion-item")(er);const or=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),ir={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:or,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Wt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:e.FtCssVariableFactory.extend("--ft-chip-ripple-color","",or),horizontalPadding:e.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:e.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},rr=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),ar={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:rr,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",rr)},nr=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),lr=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),sr=[e.noTextSelect,o.css`
1589
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}er.elementDefinitions={"ft-ripple":Be,"ft-typography":se,"ft-icon":Vo},er.styles=Qi,tr([i.property()],er.prototype,"icon",void 0),tr([i.property()],er.prototype,"iconVariant",void 0),tr([i.property()],er.prototype,"label",void 0),tr([i.property({type:Boolean,reflect:!0})],er.prototype,"active",void 0),e.customElement("ft-accordion")(qi),e.customElement("ft-accordion-item")(er);const or=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),ir={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:or,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Ut.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:e.FtCssVariableFactory.extend("--ft-chip-ripple-color","",or),horizontalPadding:e.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:e.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},rr=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),ar={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:rr,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",rr)},nr=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),lr=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),sr=[e.noTextSelect,o.css`
1590
1590
  :host {
1591
1591
  display: inline-block;
1592
1592
  max-width: 100%;
@@ -1676,9 +1676,9 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1676
1676
  }
1677
1677
 
1678
1678
  .ft-chip--icon-button {
1679
- ${e.setVariable(Ne.iconSize,ir.iconSize)};
1680
- ${e.setVariable(Ne.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1681
- ${e.setVariable(Ne.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1679
+ ${e.setVariable(ke.iconSize,ir.iconSize)};
1680
+ ${e.setVariable(ke.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1681
+ ${e.setVariable(ke.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1682
1682
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1683
1683
  }
1684
1684
 
@@ -1686,8 +1686,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1686
1686
  vertical-align: bottom;
1687
1687
  display: block;
1688
1688
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1689
- ${e.setVariable(Wt.fontSize,"var(--ft-chip-internal-font-size)")};
1690
- ${e.setVariable(Wt.lineHeight,"var(--ft-chip-internal-content-height)")};
1689
+ ${e.setVariable(Ut.fontSize,"var(--ft-chip-internal-font-size)")};
1690
+ ${e.setVariable(Ut.lineHeight,"var(--ft-chip-internal-content-height)")};
1691
1691
  }
1692
1692
 
1693
1693
  .ft-chip--safari-fix .ft-chip--label {
@@ -1952,8 +1952,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
1952
1952
  overflow: hidden;
1953
1953
  white-space: nowrap;
1954
1954
  text-overflow: ellipsis;
1955
- ${e.setVariable(Ut.fontSize,br.selectedOptionSize)};
1956
- ${e.setVariable(Ut.lineHeight,br.selectedOptionSize)};
1955
+ ${e.setVariable(Wt.fontSize,br.selectedOptionSize)};
1956
+ ${e.setVariable(Wt.lineHeight,br.selectedOptionSize)};
1957
1957
  }
1958
1958
 
1959
1959
  .ft-select--in-error .ft-select--selected-option {
@@ -2026,7 +2026,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2026
2026
  .ft-select--in-error .ft-select--helper-text {
2027
2027
  color: ${br.colorError};
2028
2028
  }
2029
- `;var mr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class vr extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return o.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}vr.elementDefinitions={},mr([i.property({type:String})],vr.prototype,"label",void 0),mr([i.property({type:Object,converter:t=>t})],vr.prototype,"value",void 0),mr([i.property({type:Boolean,reflect:!0})],vr.prototype,"selected",void 0);class xr extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const p=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return o.html`
2029
+ `;var mr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class xr extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return o.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}xr.elementDefinitions={},mr([i.property({type:String})],xr.prototype,"label",void 0),mr([i.property({type:Object,converter:t=>t})],xr.prototype,"value",void 0),mr([i.property({type:Boolean,reflect:!0})],xr.prototype,"selected",void 0);class vr extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const p=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,f={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return o.html`
2030
2030
  <div class="${a.classMap(f)}" part="container">
2031
2031
  <div class="ft-select--main-panel" part="main-panel">
2032
2032
  <ft-input-label text="${this.label}"
@@ -2074,7 +2074,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2074
2074
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
2075
2075
  <span>${t.label}</span>
2076
2076
  </div>
2077
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,a;let n;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),n=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),n=null!==(a=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==a?a:this.firstOption}null==n||n.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var o,i;if(!e.deepEqual(null===(o=this.selectedOption)||void 0===o?void 0:o.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}xr.elementDefinitions={"ft-input-label":gr,"ft-typography":se,"ft-ripple":Be,"ft-icon":Vo},xr.styles=[te,ee,yr],mr([i.property({type:String})],xr.prototype,"label",void 0),mr([i.property({type:String})],xr.prototype,"helper",void 0),mr([i.property({type:Boolean})],xr.prototype,"outlined",void 0),mr([i.property({type:Boolean})],xr.prototype,"disabled",void 0),mr([i.property({type:Boolean})],xr.prototype,"error",void 0),mr([i.property({type:Boolean})],xr.prototype,"fixedMenuPosition",void 0),mr([i.property({type:Array})],xr.prototype,"options",void 0),mr([i.state()],xr.prototype,"selectedOption",void 0),mr([i.state()],xr.prototype,"optionsDisplayed",void 0),mr([i.state()],xr.prototype,"focusOptions",void 0),mr([i.query(".ft-select")],xr.prototype,"container",void 0),mr([i.query(".ft-select--options")],xr.prototype,"optionsMenu",void 0),mr([i.query(".ft-select--input-panel")],xr.prototype,"mainPanel",void 0),mr([i.query(".ft-select--option:first-child")],xr.prototype,"firstOption",void 0),mr([i.query(".ft-select--option:focus")],xr.prototype,"focusedOption",void 0),mr([i.query(".ft-select--option.ft-select--option-selected")],xr.prototype,"selectedOptionElement",void 0),mr([i.query(".ft-select--option:last-child")],xr.prototype,"lastOption",void 0),mr([i.query("slot")],xr.prototype,"optionsSlot",void 0),e.customElement("ft-select")(xr),e.customElement("ft-select-option")(vr);const $r={display:e.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:e.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:e.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:e.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:e.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:e.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:e.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusM,"Design system")},Or=o.css`
2077
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,a;let n;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),n=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),n=null!==(a=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==a?a:this.firstOption}null==n||n.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var o,i;if(!e.deepEqual(null===(o=this.selectedOption)||void 0===o?void 0:o.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}vr.elementDefinitions={"ft-input-label":gr,"ft-typography":se,"ft-ripple":Be,"ft-icon":Vo},vr.styles=[te,ee,yr],mr([i.property({type:String})],vr.prototype,"label",void 0),mr([i.property({type:String})],vr.prototype,"helper",void 0),mr([i.property({type:Boolean})],vr.prototype,"outlined",void 0),mr([i.property({type:Boolean})],vr.prototype,"disabled",void 0),mr([i.property({type:Boolean})],vr.prototype,"error",void 0),mr([i.property({type:Boolean})],vr.prototype,"fixedMenuPosition",void 0),mr([i.property({type:Array})],vr.prototype,"options",void 0),mr([i.state()],vr.prototype,"selectedOption",void 0),mr([i.state()],vr.prototype,"optionsDisplayed",void 0),mr([i.state()],vr.prototype,"focusOptions",void 0),mr([i.query(".ft-select")],vr.prototype,"container",void 0),mr([i.query(".ft-select--options")],vr.prototype,"optionsMenu",void 0),mr([i.query(".ft-select--input-panel")],vr.prototype,"mainPanel",void 0),mr([i.query(".ft-select--option:first-child")],vr.prototype,"firstOption",void 0),mr([i.query(".ft-select--option:focus")],vr.prototype,"focusedOption",void 0),mr([i.query(".ft-select--option.ft-select--option-selected")],vr.prototype,"selectedOptionElement",void 0),mr([i.query(".ft-select--option:last-child")],vr.prototype,"lastOption",void 0),mr([i.query("slot")],vr.prototype,"optionsSlot",void 0),e.customElement("ft-select")(vr),e.customElement("ft-select-option")(xr);const $r={display:e.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:e.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:e.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:e.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:e.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:e.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:e.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusM,"Design system")},Or=o.css`
2078
2078
  :host {
2079
2079
  width: ${$r.width};
2080
2080
  height: ${$r.height};
@@ -2101,7 +2101,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2101
2101
  background-position: calc(100vw + ${$r.glareWidth}) 0, calc(${$r.glareWidth} * -1) 0;
2102
2102
  }
2103
2103
  }
2104
- `,wr={height:e.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:e.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",e.designSystemVariables.borderRadiusS),mobileOpenPosition:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:e.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:e.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),buttonColor:e.FtCssVariableFactory.external(Ne.color,"Button"),buttonRippleColor:e.FtCssVariableFactory.external(Ne.rippleColor,"Button")},kr=o.css`
2104
+ `,wr={height:e.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:e.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",e.designSystemVariables.borderRadiusS),mobileOpenPosition:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:e.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:e.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:e.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),buttonColor:e.FtCssVariableFactory.external(ke.color,"Button"),buttonRippleColor:e.FtCssVariableFactory.external(ke.rippleColor,"Button")},Sr=o.css`
2105
2105
  * {
2106
2106
  box-sizing: border-box;
2107
2107
  }
@@ -2210,11 +2210,11 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2210
2210
  .ft-search-bar > ft-button,
2211
2211
  .ft-search-bar--actions ft-button {
2212
2212
  flex-shrink: 0;
2213
- ${e.setVariable(Ne.backgroundColor,"transparent")};
2213
+ ${e.setVariable(ke.backgroundColor,"transparent")};
2214
2214
  }
2215
2215
 
2216
2216
  .ft-search-bar--left-action {
2217
- ${e.setVariable(Ne.borderRadius,`calc(${wr.borderRadius} - 1px) 0 0 calc(${wr.borderRadius} - 1px)`)};
2217
+ ${e.setVariable(ke.borderRadius,`calc(${wr.borderRadius} - 1px) 0 0 calc(${wr.borderRadius} - 1px)`)};
2218
2218
  border-right: 1px solid ${wr.colorOutline};
2219
2219
  height: 100%;
2220
2220
  }
@@ -2224,7 +2224,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2224
2224
  }
2225
2225
 
2226
2226
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2227
- ${e.setVariable(Ne.borderRadius,`calc(${wr.borderRadius} - 1px) 0 0 0`)};
2227
+ ${e.setVariable(ke.borderRadius,`calc(${wr.borderRadius} - 1px) 0 0 0`)};
2228
2228
  }
2229
2229
 
2230
2230
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2266,7 +2266,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2266
2266
  flex-direction: column;
2267
2267
  max-height: 100%;
2268
2268
  max-width: 100%;
2269
- color: ${Ui};
2269
+ color: ${Wi};
2270
2270
  }
2271
2271
 
2272
2272
  [part="content-locale-selector"] > ft-radio-group {
@@ -2296,7 +2296,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2296
2296
  ${e.setVariable(st.fontWeight,"bold")};
2297
2297
  }
2298
2298
 
2299
- `,Sr=o.css`
2299
+ `,Nr=o.css`
2300
2300
  .ft-search-bar--presets {
2301
2301
  min-width: 200px;
2302
2302
  }
@@ -2457,8 +2457,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2457
2457
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2458
2458
  margin: 0;
2459
2459
  }
2460
- `;class Nr extends e.FtLitElement{render(){return o.html`
2461
- `}}Nr.elementDefinitions={},Nr.styles=Or,e.customElement("ft-skeleton")(Nr);class Cr{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e.Debouncer(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return o.html`
2460
+ `;class kr extends e.FtLitElement{render(){return o.html`
2461
+ `}}kr.elementDefinitions={},kr.styles=Or,e.customElement("ft-skeleton")(kr);class Cr{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e.Debouncer(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return o.html`
2462
2462
  <div class="ft-search-bar--suggestions ft-word-wrap ${e?"ft-search-bar--suggestions-not-empty":""}"
2463
2463
  part="suggestions-container"
2464
2464
  @keydown=${t=>this.onSuggestKeyDown(t)}>
@@ -2697,7 +2697,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2697
2697
  </div>
2698
2698
  `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Er.styles=o.css`
2699
2699
 
2700
- `;class Rr{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Ir(t),this.suggestManager=null!=o?o:new Cr(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return o.html`
2700
+ `;class zr{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Ir(t),this.suggestManager=null!=o?o:new Cr(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return o.html`
2701
2701
  <div class="${a.classMap(t)}" part="container" tabindex="-1">
2702
2702
  <div class="ft-search-bar" part="search-bar">
2703
2703
  ${this.renderSearchBarLeftAction()}
@@ -2764,9 +2764,9 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2764
2764
  @click=${()=>this.searchBar.launchSearch()}
2765
2765
  ></ft-button>
2766
2766
  </div>
2767
- `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Rr.styles=o.css`
2767
+ `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}zr.styles=o.css`
2768
2768
 
2769
- `;var Lr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const zr={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Ur extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Wr extends CustomEvent{constructor(t){super("change",{detail:t})}}const Br=()=>{};class Zr extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(zr,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Cr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new Rr(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await e.waitFor((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
2769
+ `;var Rr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Lr={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Wr extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Ur extends CustomEvent{constructor(t){super("change",{detail:t})}}const Br=()=>{};class Zr extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(Lr,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Cr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new zr(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await e.waitFor((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
2770
2770
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2771
2771
  ${this.renderSearchBar()}
2772
2772
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():o.html`
@@ -2902,11 +2902,11 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2902
2902
  ></ft-filter>
2903
2903
  `}))}
2904
2904
  </ft-snap-scroll>
2905
- `:o.nothing}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var o,i,r,a,n;if(t.has("labels")&&(this.labelResolver=new e.ParametrizedLabelResolver(zr,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const e=t=>this.availableContentLocales.some((e=>e.lang==t));e(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&e(t.get("contentLocale"))?t.get("contentLocale"):null===(o=this.availableContentLocales[0])||void 0===o?void 0:o.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(i=this.presets)&&void 0!==i?i:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>ce(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(a=this.presets)&&void 0!==a?a:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new Wr(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(Br)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new Ur(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!e.isTouchScreen&&(this.reactToFocus=!1,await this.focusInput(),this.enableFocusReactionOnAnyUserInteraction())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,o){let i=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((i=>{i.key===t&&e.flatDeep(i.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=o.includes(t.value)))})),o.length&&i.push({key:t,negative:!1,values:o}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>e.flatDeep(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?o.nothing:o.html`
2905
+ `:o.nothing}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var o,i,r,a,n;if(t.has("labels")&&(this.labelResolver=new e.ParametrizedLabelResolver(Lr,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const e=t=>this.availableContentLocales.some((e=>e.lang==t));e(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&e(t.get("contentLocale"))?t.get("contentLocale"):null===(o=this.availableContentLocales[0])||void 0===o?void 0:o.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(i=this.presets)&&void 0!==i?i:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>ce(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(a=this.presets)&&void 0!==a?a:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new Ur(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(Br)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new Wr(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!e.isTouchScreen&&(this.reactToFocus=!1,await this.focusInput(),this.enableFocusReactionOnAnyUserInteraction())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,o){let i=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((i=>{i.key===t&&e.flatDeep(i.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=o.includes(t.value)))})),o.length&&i.push({key:t,negative:!1,values:o}),this.searchFilters=i,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>e.flatDeep(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?o.nothing:o.html`
2906
2906
  <div class="ft-search-bar--floating-panel"
2907
2907
  id="ft-search-bar-floating-panel"
2908
2908
  @keyup=${this.onFloatingContainerKeyUp}
2909
2909
  part="floating-panel"
2910
2910
  tabindex="-1">
2911
2911
  ${this.renderDesktopMenu()}
2912
- </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}Zr.elementDefinitions={"ft-accordion":qi,"ft-accordion-item":er,"ft-button":Qo,"ft-chip":fr,"ft-filter":ji,"ft-filter-option":Gi,"ft-icon":Vo,"ft-ripple":Be,"ft-select":xr,"ft-select-option":vr,"ft-size-watcher":f,"ft-skeleton":Nr,"ft-snap-scroll":Li,"ft-tooltip":Mo,"ft-typography":se,"ft-radio-group":Oi,"ft-radio":vi},Zr.styles=[te,kr,Sr,Ir.styles,Cr.styles],Lr([i.property({type:Boolean})],Zr.prototype,"dense",void 0),Lr([i.property()],Zr.prototype,"mode",void 0),Lr([i.property({type:Boolean})],Zr.prototype,"forceMobileMenuOpen",void 0),Lr([i.property({type:Boolean})],Zr.prototype,"forceMenuOpen",void 0),Lr([i.property()],Zr.prototype,"baseUrl",void 0),Lr([i.property()],Zr.prototype,"apiIntegrationIdentifier",void 0),Lr([i.property()],Zr.prototype,"contentLocale",void 0),Lr([i.state()],Zr.prototype,"availableContentLocales",void 0),Lr([i.state()],Zr.prototype,"availableContentLocalesInitialized",void 0),Lr([i.property()],Zr.prototype,"uiLocale",void 0),Lr([e.jsonProperty({})],Zr.prototype,"labels",void 0),Lr([e.jsonProperty([])],Zr.prototype,"displayedFilters",void 0),Lr([e.jsonProperty([])],Zr.prototype,"presets",void 0),Lr([i.property({type:String,reflect:!0})],Zr.prototype,"selectedPreset",void 0),Lr([e.jsonProperty([])],Zr.prototype,"priors",void 0),Lr([i.property()],Zr.prototype,"searchRequestSerializer",void 0),Lr([i.property({type:Boolean})],Zr.prototype,"focusOnDisplay",void 0),Lr([i.state()],Zr.prototype,"searchFilters",void 0),Lr([i.state()],Zr.prototype,"sizeCategory",void 0),Lr([i.state()],Zr.prototype,"displayFacets",void 0),Lr([i.state()],Zr.prototype,"mobileMenuOpen",void 0),Lr([i.state()],Zr.prototype,"facets",void 0),Lr([i.state()],Zr.prototype,"facetsInitialized",void 0),Lr([i.query(".ft-search-bar--container")],Zr.prototype,"container",void 0),Lr([i.query(".ft-search-bar--filters-opener")],Zr.prototype,"filtersOpener",void 0),Lr([i.query(".ft-search-bar--floating-panel")],Zr.prototype,"floatingContainer",void 0),Lr([i.query("ft-snap-scroll.ft-search-bar--filters-container")],Zr.prototype,"scrollingFiltersContainer",void 0),Lr([i.query(".ft-search-bar--input")],Zr.prototype,"input",void 0),Lr([i.state()],Zr.prototype,"query",void 0),Lr([i.state()],Zr.prototype,"suggestions",void 0),Lr([i.state()],Zr.prototype,"recentSearches",void 0),Lr([i.state()],Zr.prototype,"scrollToFacet",void 0),Lr([i.state()],Zr.prototype,"api",void 0),Lr([i.state()],Zr.prototype,"reactToFocus",void 0),Lr([i.state()],Zr.prototype,"facetsLoaded",void 0),e.customElement("ft-search-bar")(Zr),t.DEFAULT_LABELS=zr,t.FtSearchBar=Zr,t.FtSearchBarCssVariables=wr,t.LaunchSearchEvent=Ur,t.SearchStateChangeEvent=Wr,t.facetsCss=Sr,t.searchBarCss=kr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
2912
+ </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}Zr.elementDefinitions={"ft-accordion":qi,"ft-accordion-item":er,"ft-button":Qo,"ft-chip":fr,"ft-filter":ji,"ft-filter-option":Gi,"ft-icon":Vo,"ft-ripple":Be,"ft-select":vr,"ft-select-option":xr,"ft-size-watcher":f,"ft-skeleton":kr,"ft-snap-scroll":Ri,"ft-tooltip":Mo,"ft-typography":se,"ft-radio-group":Oi,"ft-radio":xi},Zr.styles=[te,Sr,Nr,Ir.styles,Cr.styles],Rr([i.property({type:Boolean})],Zr.prototype,"dense",void 0),Rr([i.property()],Zr.prototype,"mode",void 0),Rr([i.property({type:Boolean})],Zr.prototype,"forceMobileMenuOpen",void 0),Rr([i.property({type:Boolean})],Zr.prototype,"forceMenuOpen",void 0),Rr([i.property()],Zr.prototype,"baseUrl",void 0),Rr([i.property()],Zr.prototype,"apiIntegrationIdentifier",void 0),Rr([i.property()],Zr.prototype,"contentLocale",void 0),Rr([i.state()],Zr.prototype,"availableContentLocales",void 0),Rr([i.state()],Zr.prototype,"availableContentLocalesInitialized",void 0),Rr([i.property()],Zr.prototype,"uiLocale",void 0),Rr([e.jsonProperty({})],Zr.prototype,"labels",void 0),Rr([e.jsonProperty([])],Zr.prototype,"displayedFilters",void 0),Rr([e.jsonProperty([])],Zr.prototype,"presets",void 0),Rr([i.property({type:String,reflect:!0})],Zr.prototype,"selectedPreset",void 0),Rr([e.jsonProperty([])],Zr.prototype,"priors",void 0),Rr([i.property()],Zr.prototype,"searchRequestSerializer",void 0),Rr([i.property({type:Boolean})],Zr.prototype,"focusOnDisplay",void 0),Rr([i.state()],Zr.prototype,"searchFilters",void 0),Rr([i.state()],Zr.prototype,"sizeCategory",void 0),Rr([i.state()],Zr.prototype,"displayFacets",void 0),Rr([i.state()],Zr.prototype,"mobileMenuOpen",void 0),Rr([i.state()],Zr.prototype,"facets",void 0),Rr([i.state()],Zr.prototype,"facetsInitialized",void 0),Rr([i.query(".ft-search-bar--container")],Zr.prototype,"container",void 0),Rr([i.query(".ft-search-bar--filters-opener")],Zr.prototype,"filtersOpener",void 0),Rr([i.query(".ft-search-bar--floating-panel")],Zr.prototype,"floatingContainer",void 0),Rr([i.query("ft-snap-scroll.ft-search-bar--filters-container")],Zr.prototype,"scrollingFiltersContainer",void 0),Rr([i.query(".ft-search-bar--input")],Zr.prototype,"input",void 0),Rr([i.state()],Zr.prototype,"query",void 0),Rr([i.state()],Zr.prototype,"suggestions",void 0),Rr([i.state()],Zr.prototype,"recentSearches",void 0),Rr([i.state()],Zr.prototype,"scrollToFacet",void 0),Rr([i.state()],Zr.prototype,"api",void 0),Rr([i.state()],Zr.prototype,"reactToFocus",void 0),Rr([i.state()],Zr.prototype,"facetsLoaded",void 0),e.customElement("ft-search-bar")(Zr),t.DEFAULT_LABELS=Lr,t.FtSearchBar=Zr,t.FtSearchBarCssVariables=wr,t.LaunchSearchEvent=Wr,t.SearchStateChangeEvent=Ur,t.facetsCss=Nr,t.searchBarCss=Sr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);