@fluid-topics/ft-filter 1.1.3 → 1.1.5
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.
- package/build/ft-filter.light.js +127 -127
- package/build/ft-filter.min.js +348 -343
- package/package.json +10 -10
package/build/ft-filter.light.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
!function(t,o,e,i,r,a
|
|
1
|
+
!function(t,o,e,i,r,n,a){
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,
|
|
7
|
+
const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,d=`<${h}>`,y=document,g=()=>y.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,m="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,O=/>/g,N=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,S=/"/g,w=/^(?:script|style|textarea|title)$/i,C=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),k=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),R=new WeakMap,E=y.createTreeWalker(y,129);function L(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(o):o}const W=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=x;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,h=0;for(;h<e.length&&(a.lastIndex=h,s=a.exec(e),null!==s);)h=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(w.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=N):void 0!==s[3]&&(a=N):a===N?">"===s[0]?(a=r??x,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?N:'"'===s[3]?S:$):a===S||a===$?a=N:a===v||a===O?a=x:(a=N,r=void 0);const y=a===N&&t[o+1].startsWith("/>")?" ":"";n+=a===x?e+d:c>=0?(i.push(l),e.slice(0,c)+p+e.slice(c)+f+y):e+f+(-2===c?o:y)}return[L(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class U{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,d]=W(t,o);if(this.el=U.createElement(c,e),E.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=E.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(p)){const o=d[n++],e=i.getAttribute(t).split(f),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?F:"?"===a[1]?D:"@"===a[1]?A:B}),i.removeAttribute(t)}else t.startsWith(f)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(w.test(i.tagName)){const t=i.textContent.split(f),o=t.length-1;if(o>0){i.textContent=s?s.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],g()),E.nextNode(),l.push({type:2,index:++r});i.append(t[o],g())}}}else if(8===i.nodeType)if(i.data===h)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(f,t+1));)l.push({type:7,index:r}),t+=f.length-1}r++}}static createElement(t,o){const e=y.createElement("template");return e.innerHTML=t,e}}function z(t,o,e=t,i){if(o===k)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=u(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=z(t,r._$AS(t,o.values),r,i)),o}class K{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??y).importNode(o,!0);E.currentNode=i;let r=E.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Z(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new H(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=E.nextNode(),n++)}return E.currentNode=y,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Z{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=z(this,t,o),u(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>b(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!==I&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=U.createElement(L(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new K(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=R.get(t.strings);return void 0===o&&R.set(t.strings,o=new U(t)),o}T(t){b(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Z(this.k(g()),this.k(g()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class B{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=I}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=z(this,t,o,0),n=!u(t)||t!==this._$AH&&t!==k,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=z(this,i[e+a],o,a),l===k&&(l=this._$AH[a]),n||=!u(l)||l!==this._$AH[a],l===I?t=I:t!==I&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class F extends B{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===I?void 0:t}}class D extends B{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==I)}}class A extends B{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=z(this,t,o,0)??I)===k)return;const e=this._$AH,i=t===I&&e!==I||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==I&&(e===I||i);i&&this.element.removeEventListener(this.name,this,e),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 H{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const j=l.litHtmlPolyfillSupport;j?.(U,Z),(l.litHtmlVersions??=[]).push("3.1.0");
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:G}),P=new Map,_=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(a=e[c],r=T(a));)s+=r+o[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=P.get(t))&&(n.raw=n,P.set(t,o=n)),e=l}return t(o,...e)})(C);var V;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",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"}(V||(V={}));const Y=t=>"string"==typeof t?e.unsafeCSS(t):t;class q{static create(t,o,i,r){const a=t=>Y(null!=t?t:r),n=e.css`var(${Y(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Y(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${Y(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Y(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const X={colorWhite:q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:q.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:q.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:q.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:q.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:q.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:q.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:q.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:q.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:q.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:q.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:q.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:q.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:q.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:q.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:q.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:q.create("--ft-opacity-0","","NUMBER","0"),opacity8:q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:q.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:q.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:q.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:q.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:q.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:q.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:q.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:q.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:q.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:q.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)},tt={largeHeight:q.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:q.extend("--ft-button-large-horizontal-padding","",X.spacing4),largeGap:q.extend("--ft-button-large-gap","",X.spacing2),largeBorderRadius:q.extend("--ft-button-large-border-radius","",X.borderRadiusS),largeIconSize:q.extend("--ft-button-large-icon-size","",X.iconSize3),largeBorderWidth:q.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:q.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:q.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:q.extend("--ft-button-small-horizontal-padding","",X.spacing3),smallGap:q.extend("--ft-button-small-gap","",X.spacing2),smallBorderRadius:q.extend("--ft-button-small-border-radius","",X.borderRadiusS),smallIconSize:q.extend("--ft-button-small-icon-size","",X.iconSize2),smallBorderWidth:q.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:q.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:q.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:q.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:q.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:q.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryStateLayerOpacityHover:q.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),primaryStateLayerOpacityFocus:q.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),primaryStateLayerOpacityActive:q.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),primaryComponentOpacityDisabled:q.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),focusFocusRingColor:q.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:q.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:q.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:q.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryStateLayerOpacityHover:q.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),tertiaryStateLayerOpacityFocus:q.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),tertiaryStateLayerOpacityActive:q.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),tertiaryComponentOpacityDisabled:q.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),secondaryBackgroundColor:q.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:q.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:q.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:q.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryStateLayerOpacityHover:q.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),secondaryStateLayerOpacityFocus:q.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),secondaryStateLayerOpacityActive:q.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),secondaryComponentOpacityDisabled:q.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),secondaryBorderColor:q.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:q.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:q.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:q.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralStateLayerOpacityHover:q.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),neutralStateLayerOpacityFocus:q.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),neutralStateLayerOpacityActive:q.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),neutralComponentOpacityDisabled:q.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40)};q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),q.extend("--ft-tabs-label-gap","",X.spacing1),q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),q.extend("--ft-switch-group-vertical-padding","",X.spacing1),q.extend("--ft-switch-group-gap","",X.spacing1),q.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),q.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),q.create("--ft-switch-group-border-radius","","SIZE","6px"),q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),q.extend("--ft-switch-label-vertical-padding","",X.spacing1),q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),q.create("--ft-switch-focus-outline-width","","SIZE","2px"),q.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),q.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),q.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),q.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),q.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),q.extend("--ft-chart-3-light","",X.colorUltramarine40),q.extend("--ft-chart-3-base","",X.colorUltramarine70),q.extend("--ft-chart-4-light","",X.colorCyan50),q.extend("--ft-chart-4-base","",X.colorCyan100),q.extend("--ft-chart-5-light","",X.colorRed40),q.extend("--ft-chart-5-base","",X.colorRed60),q.extend("--ft-chart-6-light","",X.colorGreen40),q.extend("--ft-chart-6-base","",X.colorGreen70),q.extend("--ft-chart-7-light","",X.colorOrange70),q.extend("--ft-chart-7-base","",X.colorOrange100),q.extend("--ft-chart-8-light","",X.colorAvocado70),q.extend("--ft-chart-8-base","",X.colorAvocado200),q.extend("--ft-chart-9-light","",X.colorBrown50),q.extend("--ft-chart-9-base","",X.colorBrown200),q.extend("--ft-chart-10-light","",X.colorGray50),q.extend("--ft-chart-10-base","",X.colorGray80),q.extend("--ft-chart-monochrome-10","",X.colorBrand10),q.extend("--ft-chart-monochrome-20","",X.colorBrand20),q.extend("--ft-chart-monochrome-30","",X.colorBrand40),q.extend("--ft-chart-monochrome-40","",X.colorBrand60),q.extend("--ft-chart-monochrome-50","",X.colorBrand0),q.extend("--ft-chart-monochrome-60","",X.colorBrand200),q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),q.extend("--ft-chip-large-vertical-padding","",X.spacing2),q.extend("--ft-chip-large-gap","",X.spacing1),q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),q.create("--ft-chip-large-border-width","","SIZE","1px"),q.extend("--ft-chip-large-icon-size","",X.iconSize3),q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),q.extend("--ft-chip-medium-gap","",X.spacing1),q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),q.create("--ft-chip-medium-border-width","","SIZE","1px"),q.extend("--ft-chip-medium-icon-size","",X.iconSize2),q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),q.extend("--ft-chip-small-vertical-padding","",X.spacing05),q.extend("--ft-chip-small-gap","",X.spacing1),q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),q.create("--ft-chip-small-border-width","","SIZE","1px"),q.extend("--ft-chip-small-icon-size","",X.iconSize1),q.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),q.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),q.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),q.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-chip-info-color","",Q.contentInfoPrimary),q.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),q.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),q.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-chip-error-color","",Q.contentErrorPrimary),q.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),q.create("--ft-notice-border-width","","SIZE","1px"),q.extend("--ft-notice-horizontal-padding","",X.spacing2),q.extend("--ft-notice-vertical-padding","",X.spacing1),q.extend("--ft-notice-border-radius","",X.borderRadiusS),q.extend("--ft-notice-gap","",X.spacing2),q.extend("--ft-notice-icon-size","",X.iconSize3),q.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notice-info-color","",Q.contentInfoPrimary),q.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),q.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),q.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),q.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),q.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),q.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),q.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),q.extend("--ft-checkbox-gap","",X.spacing3),q.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),q.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),q.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),q.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),q.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),q.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),q.extend("--ft-toggle-gap","",X.spacing3),q.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),q.extend("--ft-radio-selected-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),q.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),q.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),q.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),q.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),q.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),q.create("--ft-radio-focus-outline-width","","SIZE","2px"),q.extend("--ft-radio-gap","",X.spacing3),q.extend("--ft-notification-icon-size","",X.iconSize4),q.extend("--ft-notification-horizontal-padding","",X.spacing4),q.extend("--ft-notification-vertical-padding","",X.spacing4),q.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),q.extend("--ft-notification-info-color","",Q.contentInfoPrimary),q.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),q.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),q.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),q.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),q.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),q.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),q.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),q.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),q.extend("--ft-notification-error-color","",Q.contentErrorPrimary),q.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),q.extend("--ft-notification-border-radius","",X.borderRadiusPill),q.create("--ft-notification-border-width","","SIZE","1px"),q.extend("--ft-notification-gap-leading","",X.spacing2),q.extend("--ft-notification-gap-trailing","",X.spacing8);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),it={fontFamily:et,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit"),zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),Zt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Pt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Qt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},to=e.css`
|
|
13
|
+
const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},P=t=>({_$litStatic$:t,r:G}),M=new Map,_=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=T(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=M.get(t))&&(a.raw=a,M.set(t,o=a)),e=l}return t(o,...e)})(C);var V;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",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"}(V||(V={}));const Y=t=>"string"==typeof t?e.unsafeCSS(t):t;class X{static create(t,o,i,r){const n=t=>Y(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const q={colorWhite:X.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:X.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:X.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:X.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:X.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:X.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:X.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:X.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:X.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:X.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:X.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:X.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:X.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:X.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:X.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:X.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:X.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:X.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:X.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:X.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:X.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:X.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:X.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:X.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:X.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:X.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:X.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:X.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:X.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:X.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:X.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:X.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:X.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:X.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:X.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:X.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:X.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:X.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:X.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:X.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:X.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:X.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:X.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:X.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:X.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:X.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:X.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:X.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:X.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:X.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:X.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:X.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:X.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:X.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:X.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:X.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:X.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:X.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:X.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:X.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:X.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:X.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:X.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:X.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:X.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:X.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:X.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:X.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:X.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:X.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:X.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:X.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:X.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:X.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:X.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:X.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:X.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:X.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:X.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:X.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:X.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:X.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:X.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:X.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:X.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:X.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:X.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:X.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:X.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:X.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:X.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:X.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:X.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:X.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:X.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:X.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:X.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:X.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:X.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:X.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:X.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:X.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:X.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:X.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:X.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:X.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:X.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:X.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:X.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:X.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:X.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:X.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:X.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:X.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:X.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:X.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:X.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:X.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:X.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:X.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:X.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:X.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:X.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:X.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:X.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:X.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:X.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:X.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:X.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:X.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:X.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:X.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:X.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:X.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:X.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:X.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:X.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:X.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:X.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:X.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:X.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:X.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:X.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:X.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:X.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:X.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:X.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:X.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:X.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:X.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:X.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:X.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:X.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:X.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:X.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:X.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:X.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:X.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:X.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:X.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:X.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:X.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:X.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:X.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:X.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:X.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:X.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:X.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:X.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:X.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:X.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:X.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:X.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:X.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:X.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:X.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:X.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:X.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:X.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:X.create("--ft-icon-size-6","","SIZE","48px"),opacity0:X.create("--ft-opacity-0","","NUMBER","0"),opacity8:X.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:X.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:X.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:X.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:X.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:X.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:X.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:X.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:X.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:X.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:X.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:X.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:X.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:X.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:X.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:X.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:X.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:X.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:X.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:X.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:X.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:X.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:X.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:X.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:X.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:X.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:X.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:X.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:X.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:X.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:X.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:X.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:X.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:X.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:X.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:X.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:X.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:X.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:X.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:X.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:X.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:X.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:X.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:X.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:X.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:X.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:X.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:X.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:X.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:X.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:X.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:X.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:X.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:X.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Q={backgroundActionPrimary:X.extend("--ft-background-action-primary","Used as backgorund of primary action components.",q.colorBrand0),backgroundErrorPrimary:X.extend("--ft-background-error-primary","Used as background of error components.",q.colorRed0),backgroundErrorSubtle:X.extend("--ft-background-error-subtle","Used as background of subtle error components.",q.colorRed10),backgroundInfoPrimary:X.extend("--ft-background-info-primary","Used as background of information components.",q.colorCyan200),backgroundInfoSubtle:X.extend("--ft-background-info-subtle","Used as background of subtle information components.",q.colorCyan10),backgroundWarningPrimary:X.extend("--ft-background-warning-primary","Used as background of warning components.",q.colorOrange300),backgroundWarningSubtle:X.extend("--ft-background-warning-subtle","Used as background of subtle information components.",q.colorOrange10),backgroundSuccessPrimary:X.extend("--ft-background-success-primary","Used as background of success components.",q.colorGreen200),backgroundSuccessSubtle:X.extend("--ft-background-success-subtle","Used as background of subtle success components.",q.colorGreen10),backgroundGlobalSurface:X.extend("--ft-background-global-surface","Used as app background.",q.colorWhite),backgroundGlobalOnSurface:X.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",q.colorGray10),backgroundGlobalOnSurfaceDark:X.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",q.colorGray30),contentActionPrimary:X.extend("--ft-content-action-primary","Used on label of primary action on light surface.",q.colorBrand0),contentWarningPrimary:X.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",q.colorOrange300),contentWarningIconOnly:X.extend("--ft-content-warning-icon-only","Used on warning status icons alone",q.colorOrange0),contentErrorPrimary:X.extend("--ft-content-error-primary","Used on label of error messages on light surface.",q.colorRed0),contentErrorIconOnly:X.extend("--ft-content-error-icon-only","Used on error status icons alone",q.colorRed0),contentInfoPrimary:X.extend("--ft-content-info-primary","Used on label of information messages on light surface.",q.colorCyan200),contentInfoIconOnly:X.extend("--ft-content-info-icon-only","Used on info status icons alone",q.colorCyan0),contentSuccessIconOnly:X.extend("--ft-content-success-icon-only","Used on success status icons alone",q.colorGreen0),contentSuccessPrimary:X.extend("--ft-content-success-primary","Used on label of success messages on light surface.",q.colorGreen200),contentGlobalPrimary:X.extend("--ft-content-global-primary","Used for main content on the page.",q.colorGray500),contentGlobalSecondary:X.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",q.colorGray200),contentGlobalSubtle:X.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",q.colorGray0),contentGlobalOnColor:X.extend("--ft-content-global-on-color","Used for content on a dominant color.",q.colorWhite),borderActionPrimary:X.extend("--ft-border-action-primary","Used as border for primary action components.",q.colorBrand0),borderActionFocusRing:X.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",q.colorCyan0),borderWarningPrimary:X.extend("--ft-border-warning-primary","Used as border for warning components.",q.colorOrange30),borderSuccessPrimary:X.extend("--ft-border-success-primary","Used as border for success components.",q.colorGreen30),borderErrorPrimary:X.extend("--ft-border-error-primary","Used as border for error components.",q.colorRed30),borderInfoPrimary:X.extend("--ft-border-info-primary","Used as border for information components.",q.colorCyan30),borderGlobalSubtle:X.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",q.colorGray30),borderGlobalPrimary:X.extend("--ft-border-global-primary","Used as border for element like input.",q.colorGray50),borderInputPrimary:X.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",q.colorGray80)},tt={largeHeight:X.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:X.extend("--ft-button-large-horizontal-padding","",q.spacing4),largeGap:X.extend("--ft-button-large-gap","",q.spacing2),largeBorderRadius:X.extend("--ft-button-large-border-radius","",q.borderRadiusS),largeIconSize:X.extend("--ft-button-large-icon-size","",q.iconSize3),largeBorderWidth:X.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:X.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:X.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:X.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:X.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:X.extend("--ft-button-small-horizontal-padding","",q.spacing3),smallGap:X.extend("--ft-button-small-gap","",q.spacing2),smallBorderRadius:X.extend("--ft-button-small-border-radius","",q.borderRadiusS),smallIconSize:X.extend("--ft-button-small-icon-size","",q.iconSize2),smallBorderWidth:X.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:X.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:X.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:X.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:X.extend("--ft-button-primary-background-color","",Q.backgroundActionPrimary),primaryColor:X.extend("--ft-button-primary-color","",Q.contentGlobalOnColor),primaryIconColor:X.extend("--ft-button-primary-icon-color","",Q.contentGlobalOnColor),primaryStateLayerColor:X.extend("--ft-button-primary-state-layer-color","",Q.contentGlobalOnColor),primaryStateLayerOpacityHover:X.extend("--ft-button-primary-state-layer-opacity-hover","",q.opacity16),primaryStateLayerOpacityFocus:X.extend("--ft-button-primary-state-layer-opacity-focus","",q.opacity16),primaryStateLayerOpacityActive:X.extend("--ft-button-primary-state-layer-opacity-active","",q.opacity24),primaryComponentOpacityDisabled:X.extend("--ft-button-primary-component-opacity-disabled","",q.opacity40),focusFocusRingColor:X.extend("--ft-button-focus-focus-ring-color","",Q.borderActionFocusRing),tertiaryBackgroundColor:X.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:X.extend("--ft-button-tertiary-color","",Q.contentActionPrimary),tertiaryIconColor:X.extend("--ft-button-tertiary-icon-color","",Q.contentActionPrimary),tertiaryStateLayerColor:X.extend("--ft-button-tertiary-state-layer-color","",Q.contentActionPrimary),tertiaryStateLayerOpacityHover:X.extend("--ft-button-tertiary-state-layer-opacity-hover","",q.opacity8),tertiaryStateLayerOpacityFocus:X.extend("--ft-button-tertiary-state-layer-opacity-focus","",q.opacity8),tertiaryStateLayerOpacityActive:X.extend("--ft-button-tertiary-state-layer-opacity-active","",q.opacity16),tertiaryComponentOpacityDisabled:X.extend("--ft-button-tertiary-component-opacity-disabled","",q.opacity40),secondaryBackgroundColor:X.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:X.extend("--ft-button-secondary-color","",Q.contentActionPrimary),secondaryIconColor:X.extend("--ft-button-secondary-icon-color","",Q.contentActionPrimary),secondaryStateLayerColor:X.extend("--ft-button-secondary-state-layer-color","",Q.contentActionPrimary),secondaryStateLayerOpacityHover:X.extend("--ft-button-secondary-state-layer-opacity-hover","",q.opacity8),secondaryStateLayerOpacityFocus:X.extend("--ft-button-secondary-state-layer-opacity-focus","",q.opacity8),secondaryStateLayerOpacityActive:X.extend("--ft-button-secondary-state-layer-opacity-active","",q.opacity16),secondaryComponentOpacityDisabled:X.extend("--ft-button-secondary-component-opacity-disabled","",q.opacity40),secondaryBorderColor:X.extend("--ft-button-secondary-border-color","",Q.borderActionPrimary),neutralBackgroundColor:X.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:X.extend("--ft-button-neutral-icon-color","",Q.contentGlobalSecondary),neutralColor:X.extend("--ft-button-neutral-color","",Q.contentGlobalSecondary),neutralStateLayerColor:X.extend("--ft-button-neutral-state-layer-color","",Q.contentGlobalSecondary),neutralStateLayerOpacityHover:X.extend("--ft-button-neutral-state-layer-opacity-hover","",q.opacity8),neutralStateLayerOpacityFocus:X.extend("--ft-button-neutral-state-layer-opacity-focus","",q.opacity8),neutralStateLayerOpacityActive:X.extend("--ft-button-neutral-state-layer-opacity-active","",q.opacity16),neutralComponentOpacityDisabled:X.extend("--ft-button-neutral-component-opacity-disabled","",q.opacity40)};X.extend("--ft-tabs-top-left-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-top-right-border-radius","",q.borderRadiusS),X.extend("--ft-tabs-label-horizontal-padding","",q.spacing4),X.extend("--ft-tabs-label-vertical-padding","",q.spacing3),X.extend("--ft-tabs-label-gap","",q.spacing1),X.extend("--ft-switch-group-horizontal-padding","",q.spacing1),X.extend("--ft-switch-group-vertical-padding","",q.spacing1),X.extend("--ft-switch-group-gap","",q.spacing1),X.extend("--ft-switch-group-background-color","",Q.backgroundGlobalSurface),X.extend("--ft-switch-group-border-color","",Q.borderGlobalSubtle),X.create("--ft-switch-group-border-radius","","SIZE","6px"),X.extend("--ft-switch-label-horizontal-padding","",q.spacing2),X.extend("--ft-switch-label-vertical-padding","",q.spacing1),X.extend("--ft-switch-icon-horizontal-padding","",q.spacing1),X.extend("--ft-switch-icon-vertical-padding","",q.spacing1),X.create("--ft-switch-focus-outline-width","","SIZE","2px"),X.extend("--ft-switch-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-switch-option-border-radius","",q.borderRadiusS),X.extend("--ft-switch-off-state-layer-opacity-hover","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-focus","",q.opacity8),X.extend("--ft-switch-off-state-layer-opacity-active","",q.opacity16),X.extend("--ft-switch-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-switch-off-color","",Q.contentGlobalSubtle),X.extend("--ft-switch-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-chart-1-light","for area color charts",q.colorBrand40),X.extend("--ft-chart-1-base","for line charts",q.colorBrand0),X.extend("--ft-chart-2-light","for area color charts",q.colorYellow60),X.extend("--ft-chart-2-base","for line charts",q.colorYellow100),X.extend("--ft-chart-3-light","",q.colorUltramarine40),X.extend("--ft-chart-3-base","",q.colorUltramarine70),X.extend("--ft-chart-4-light","",q.colorCyan50),X.extend("--ft-chart-4-base","",q.colorCyan100),X.extend("--ft-chart-5-light","",q.colorRed40),X.extend("--ft-chart-5-base","",q.colorRed60),X.extend("--ft-chart-6-light","",q.colorGreen40),X.extend("--ft-chart-6-base","",q.colorGreen70),X.extend("--ft-chart-7-light","",q.colorOrange70),X.extend("--ft-chart-7-base","",q.colorOrange100),X.extend("--ft-chart-8-light","",q.colorAvocado70),X.extend("--ft-chart-8-base","",q.colorAvocado200),X.extend("--ft-chart-9-light","",q.colorBrown50),X.extend("--ft-chart-9-base","",q.colorBrown200),X.extend("--ft-chart-10-light","",q.colorGray50),X.extend("--ft-chart-10-base","",q.colorGray80),X.extend("--ft-chart-monochrome-10","",q.colorBrand10),X.extend("--ft-chart-monochrome-20","",q.colorBrand20),X.extend("--ft-chart-monochrome-30","",q.colorBrand40),X.extend("--ft-chart-monochrome-40","",q.colorBrand60),X.extend("--ft-chart-monochrome-50","",q.colorBrand0),X.extend("--ft-chart-monochrome-60","",q.colorBrand200),X.extend("--ft-chip-large-horizontal-padding","",q.spacing4),X.extend("--ft-chip-large-vertical-padding","",q.spacing2),X.extend("--ft-chip-large-gap","",q.spacing1),X.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-large-border-radius","",q.borderRadiusPill),X.create("--ft-chip-large-border-width","","SIZE","1px"),X.extend("--ft-chip-large-icon-size","",q.iconSize3),X.extend("--ft-chip-medium-horizontal-padding","",q.spacing3),X.extend("--ft-chip-medium-vertical-padding","",q.spacing1),X.extend("--ft-chip-medium-gap","",q.spacing1),X.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-medium-border-radius","",q.borderRadiusPill),X.create("--ft-chip-medium-border-width","","SIZE","1px"),X.extend("--ft-chip-medium-icon-size","",q.iconSize2),X.extend("--ft-chip-small-horizontal-padding","",q.spacing2),X.extend("--ft-chip-small-vertical-padding","",q.spacing05),X.extend("--ft-chip-small-gap","",q.spacing1),X.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),X.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),X.extend("--ft-chip-small-border-radius","",q.borderRadiusPill),X.create("--ft-chip-small-border-width","","SIZE","1px"),X.extend("--ft-chip-small-icon-size","",q.iconSize1),X.extend("--ft-chip-neutral-background-color","",Q.backgroundGlobalOnSurface),X.extend("--ft-chip-neutral-color","",Q.contentGlobalPrimary),X.extend("--ft-chip-neutral-border-color","",Q.borderGlobalSubtle),X.extend("--ft-chip-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-chip-info-color","",Q.contentInfoPrimary),X.extend("--ft-chip-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-chip-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-chip-success-color","",Q.contentSuccessPrimary),X.extend("--ft-chip-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-chip-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-chip-warning-color","",Q.contentWarningPrimary),X.extend("--ft-chip-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-chip-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-chip-error-color","",Q.contentErrorPrimary),X.extend("--ft-chip-error-border-color","",Q.borderErrorPrimary),X.create("--ft-notice-border-width","","SIZE","1px"),X.extend("--ft-notice-horizontal-padding","",q.spacing2),X.extend("--ft-notice-vertical-padding","",q.spacing1),X.extend("--ft-notice-border-radius","",q.borderRadiusS),X.extend("--ft-notice-gap","",q.spacing2),X.extend("--ft-notice-icon-size","",q.iconSize3),X.extend("--ft-notice-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notice-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notice-info-color","",Q.contentInfoPrimary),X.extend("--ft-notice-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notice-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notice-warning-color","",Q.contentWarningPrimary),X.extend("--ft-checkbox-label-color","",Q.contentGlobalPrimary),X.extend("--ft-checkbox-checked-background-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-checkbox-checked-color","",Q.contentGlobalOnColor),X.extend("--ft-checkbox-checked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-checked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-checked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-unchecked-border-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-color","",q.colorGray80),X.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",q.opacity24),X.extend("--ft-checkbox-unchecked-component-opacity-disabled","",q.opacity40),X.extend("--ft-checkbox-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),X.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),X.extend("--ft-checkbox-gap","",q.spacing3),X.extend("--ft-toggle-off-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-off-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-off-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-off-background-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-icon-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-off-state-layer-color","",Q.contentGlobalSubtle),X.extend("--ft-toggle-on-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-toggle-on-state-layer-opacity-active","",q.opacity24),X.extend("--ft-toggle-on-component-opacity-disabled","",q.opacity40),X.extend("--ft-toggle-on-background-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-icon-color","",Q.contentActionPrimary),X.extend("--ft-toggle-on-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-toggle-label-color","",Q.contentGlobalPrimary),X.extend("--ft-toggle-focus-focus-ring-color","",Q.borderActionFocusRing),X.extend("--ft-toggle-gap","",q.spacing3),X.extend("--ft-radio-label-color","",Q.contentGlobalPrimary),X.extend("--ft-radio-selected-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-color","",Q.contentActionPrimary),X.extend("--ft-radio-selected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-selected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-selected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-unselected-state-layer-color","",q.colorGray80),X.extend("--ft-radio-unselected-state-layer-opacity-hover","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-focus","",q.opacity16),X.extend("--ft-radio-unselected-state-layer-opacity-active","",q.opacity24),X.extend("--ft-radio-unselected-component-opacity-disabled","",q.opacity40),X.extend("--ft-radio-focus-focus-ring-color","",Q.borderActionFocusRing),X.create("--ft-radio-focus-outline-offset","","SIZE","3px"),X.create("--ft-radio-focus-outline-width","","SIZE","2px"),X.extend("--ft-radio-gap","",q.spacing3),X.extend("--ft-notification-icon-size","",q.iconSize4),X.extend("--ft-notification-horizontal-padding","",q.spacing4),X.extend("--ft-notification-vertical-padding","",q.spacing4),X.extend("--ft-notification-info-background-color","",Q.backgroundInfoSubtle),X.extend("--ft-notification-info-color","",Q.contentInfoPrimary),X.extend("--ft-notification-info-border-color","",Q.borderInfoPrimary),X.extend("--ft-notification-success-background-color","",Q.backgroundSuccessSubtle),X.extend("--ft-notification-success-color","",Q.contentSuccessPrimary),X.extend("--ft-notification-success-border-color","",Q.borderSuccessPrimary),X.extend("--ft-notification-warning-background-color","",Q.backgroundWarningSubtle),X.extend("--ft-notification-warning-color","",Q.contentWarningPrimary),X.extend("--ft-notification-warning-border-color","",Q.borderWarningPrimary),X.extend("--ft-notification-error-background-color","",Q.backgroundErrorSubtle),X.extend("--ft-notification-error-color","",Q.contentErrorPrimary),X.extend("--ft-notification-error-border-color","",Q.borderErrorPrimary),X.extend("--ft-notification-border-radius","",q.borderRadiusPill),X.create("--ft-notification-border-width","","SIZE","1px"),X.extend("--ft-notification-gap-leading","",q.spacing2),X.extend("--ft-notification-gap-trailing","",q.spacing8);const ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),it={fontFamily:et,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ot),nt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ot),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",et),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit"),zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),Zt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),Ft=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),At=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),qt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Qt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},to=e.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${rt};
|
|
16
|
-
font-size: ${
|
|
17
|
-
font-weight: ${
|
|
16
|
+
font-size: ${nt};
|
|
17
|
+
font-weight: ${at};
|
|
18
18
|
letter-spacing: ${lt};
|
|
19
19
|
line-height: ${st};
|
|
20
20
|
text-transform: ${ct};
|
|
@@ -25,13 +25,13 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
25
25
|
font-size: ${ft};
|
|
26
26
|
font-weight: ${ht};
|
|
27
27
|
letter-spacing: ${dt};
|
|
28
|
-
line-height: ${
|
|
29
|
-
text-transform: ${
|
|
28
|
+
line-height: ${yt};
|
|
29
|
+
text-transform: ${gt};
|
|
30
30
|
}
|
|
31
31
|
`,eo=e.css`
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${
|
|
34
|
-
font-size: ${
|
|
33
|
+
font-family: ${ut};
|
|
34
|
+
font-size: ${bt};
|
|
35
35
|
font-weight: ${mt};
|
|
36
36
|
letter-spacing: ${xt};
|
|
37
37
|
line-height: ${vt};
|
|
@@ -51,12 +51,12 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
51
51
|
.ft-typography--body1 {
|
|
52
52
|
font-family: ${It};
|
|
53
53
|
font-size: ${Rt};
|
|
54
|
-
font-weight: ${
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
54
|
+
font-weight: ${Et};
|
|
55
|
+
letter-spacing: ${Lt};
|
|
56
|
+
line-height: ${Wt};
|
|
57
|
+
text-transform: ${Ut};
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,no=e.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
61
|
font-family: ${zt.fontFamily};
|
|
62
62
|
font-size: ${zt.fontSize};
|
|
@@ -65,31 +65,31 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
65
65
|
line-height: ${zt.lineHeight};
|
|
66
66
|
text-transform: ${zt.textTransform};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,ao=e.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
70
|
font-family: ${Kt};
|
|
71
71
|
font-size: ${Zt};
|
|
72
72
|
font-weight: ${Bt};
|
|
73
73
|
letter-spacing: ${Ft};
|
|
74
74
|
line-height: ${Dt};
|
|
75
|
-
text-transform: ${
|
|
75
|
+
text-transform: ${At};
|
|
76
76
|
}
|
|
77
77
|
`,lo=e.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
|
-
font-family: ${
|
|
79
|
+
font-family: ${Ht};
|
|
80
80
|
font-size: ${jt};
|
|
81
81
|
font-weight: ${Gt};
|
|
82
82
|
letter-spacing: ${Tt};
|
|
83
|
-
line-height: ${
|
|
84
|
-
text-transform: ${
|
|
83
|
+
line-height: ${Pt};
|
|
84
|
+
text-transform: ${Mt};
|
|
85
85
|
}
|
|
86
86
|
`,so=e.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
88
|
font-family: ${_t};
|
|
89
89
|
font-size: ${Vt};
|
|
90
90
|
font-weight: ${Yt};
|
|
91
|
-
letter-spacing: ${
|
|
92
|
-
line-height: ${
|
|
91
|
+
letter-spacing: ${Xt};
|
|
92
|
+
line-height: ${qt};
|
|
93
93
|
text-transform: ${Jt};
|
|
94
94
|
}
|
|
95
95
|
`,co=e.css`
|
|
@@ -114,14 +114,14 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
114
114
|
line-height: ${o.lineHeight};
|
|
115
115
|
text-transform: ${o.textCase};
|
|
116
116
|
}
|
|
117
|
-
`}(t)))];var ho=function(t,o,e,i){for(var r,
|
|
118
|
-
<${
|
|
117
|
+
`}(t)))];var ho=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yo extends o.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?_`
|
|
118
|
+
<${P(this.element)}
|
|
119
119
|
class="ft-typography ft-typography--${this.variant}">
|
|
120
120
|
<slot></slot>
|
|
121
|
-
</${
|
|
121
|
+
</${P(this.element)}>
|
|
122
122
|
`:_`
|
|
123
123
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
124
|
-
`}}
|
|
124
|
+
`}}yo.styles=[to,oo,eo,io,ro,no,ao,lo,so,co,po,...fo],ho([i.property()],yo.prototype,"element",void 0),ho([i.property()],yo.prototype,"variant",void 0),o.customElement("ft-typography")(yo);const go=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),uo={color:go,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",go),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),mo=bo,xo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bo),vo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Oo=vo,No=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo),$o=e.css`
|
|
125
125
|
:host {
|
|
126
126
|
display: contents;
|
|
127
127
|
}
|
|
@@ -134,7 +134,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
134
134
|
|
|
135
135
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
136
136
|
overflow: hidden;
|
|
137
|
-
border-radius: ${
|
|
137
|
+
border-radius: ${uo.borderRadius};
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.ft-ripple .ft-ripple--background,
|
|
@@ -168,11 +168,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.ft-ripple .ft-ripple--background {
|
|
171
|
-
background-color: ${
|
|
171
|
+
background-color: ${uo.backgroundColor};
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.ft-ripple .ft-ripple--effect {
|
|
175
|
-
background-color: ${
|
|
175
|
+
background-color: ${uo.color};
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -218,19 +218,19 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
221
|
-
opacity: ${
|
|
221
|
+
opacity: ${uo.opacityContentOnSurfaceHover};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
225
|
-
opacity: ${
|
|
225
|
+
opacity: ${uo.opacityContentOnSurfaceSelected};
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
229
|
-
opacity: ${
|
|
229
|
+
opacity: ${uo.opacityContentOnSurfaceFocused};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
233
|
-
opacity: ${
|
|
233
|
+
opacity: ${uo.opacityContentOnSurfacePressed};
|
|
234
234
|
transform: translate(-50%, -50%) scale(1);
|
|
235
235
|
}
|
|
236
236
|
`,So={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},wo=e.css`
|
|
@@ -350,7 +350,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
350
350
|
.ft-icon--material {
|
|
351
351
|
font-family: ${Co.materialFontFamily}, "Material Icons", sans-serif;
|
|
352
352
|
}
|
|
353
|
-
`,Io=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ro={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Io,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Qt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Io),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},
|
|
353
|
+
`,Io=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ro={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Io,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Qt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Io),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Eo=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Lo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Eo,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Eo)},Wo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Uo=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),zo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ko=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Zo=[e.css`
|
|
354
354
|
:host {
|
|
355
355
|
display: inline-block;
|
|
356
356
|
max-width: 100%;
|
|
@@ -393,7 +393,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
393
393
|
--ft-button-internal-line-height: max(calc(${Ro.fontSize} + 2px), ${Ro.iconSize});
|
|
394
394
|
--ft-button-internal-color: ${Ro.color};
|
|
395
395
|
${o.setVariable(Co.size,Ro.iconSize)};
|
|
396
|
-
${o.setVariable(
|
|
396
|
+
${o.setVariable(uo.color,Ro.rippleColor)};
|
|
397
397
|
|
|
398
398
|
border-radius: ${Ro.borderRadius};
|
|
399
399
|
padding: ${Ro.verticalPadding} ${Ro.horizontalPadding};
|
|
@@ -408,13 +408,13 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button.ft-button--dense {
|
|
411
|
-
padding: ${
|
|
412
|
-
border-radius: ${
|
|
411
|
+
padding: ${Uo} ${zo};
|
|
412
|
+
border-radius: ${Wo};
|
|
413
413
|
gap: ${Ko};
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
417
|
-
padding: calc(${
|
|
417
|
+
padding: calc(${Uo} - 1px) calc(${zo} - 1px);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button:not([disabled]):hover {
|
|
@@ -426,7 +426,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.ft-button--round.ft-button--dense {
|
|
429
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
429
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Uo});
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.ft-button[disabled] {
|
|
@@ -435,9 +435,9 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
.ft-button.ft-button--primary {
|
|
438
|
-
background-color: ${
|
|
439
|
-
--ft-button-internal-color: ${
|
|
440
|
-
${o.setVariable(
|
|
438
|
+
background-color: ${Lo.backgroundColor};
|
|
439
|
+
--ft-button-internal-color: ${Lo.color};
|
|
440
|
+
${o.setVariable(uo.color,Lo.rippleColor)};
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
.ft-button:focus {
|
|
@@ -475,7 +475,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
475
475
|
|
|
476
476
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
477
477
|
margin: 0 calc(${zo} * -1);
|
|
478
|
-
padding: 0 ${
|
|
478
|
+
padding: 0 ${Uo};
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -487,18 +487,18 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
487
487
|
${o.setVariable(So.size,Ro.iconSize)};
|
|
488
488
|
${o.setVariable(So.color,"var(--ft-button-internal-color)")};
|
|
489
489
|
}
|
|
490
|
-
`,o.noTextSelect];var Bo=function(t,o,e,i){for(var r,
|
|
490
|
+
`,o.noTextSelect];var Bo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fo extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
491
491
|
<style>
|
|
492
492
|
.ft-ripple .ft-ripple--effect {
|
|
493
493
|
left: ${this.originX}px;
|
|
494
494
|
top: ${this.originY}px;
|
|
495
495
|
}
|
|
496
496
|
</style>
|
|
497
|
-
<div class="${
|
|
497
|
+
<div class="${n.classMap(t)}">
|
|
498
498
|
<div class="ft-ripple--background"></div>
|
|
499
499
|
<div class="ft-ripple--effect"></div>
|
|
500
500
|
</div>
|
|
501
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fo.elementDefinitions={},Fo.styles=$o,Bo([i.property({type:Boolean})],Fo.prototype,"primary",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"secondary",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"unbounded",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"activated",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"selected",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"disabled",void 0),Bo([i.state()],Fo.prototype,"hovered",void 0),Bo([i.state()],Fo.prototype,"focused",void 0),Bo([i.state()],Fo.prototype,"pressed",void 0),Bo([i.state()],Fo.prototype,"rippling",void 0),Bo([i.state()],Fo.prototype,"originX",void 0),Bo([i.state()],Fo.prototype,"originY",void 0),Bo([i.query(".ft-ripple")],Fo.prototype,"ripple",void 0),Bo([i.query(".ft-ripple--effect")],Fo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Fo);const Do=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),
|
|
501
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fo.elementDefinitions={},Fo.styles=$o,Bo([i.property({type:Boolean})],Fo.prototype,"primary",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"secondary",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"unbounded",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"activated",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"selected",void 0),Bo([i.property({type:Boolean})],Fo.prototype,"disabled",void 0),Bo([i.state()],Fo.prototype,"hovered",void 0),Bo([i.state()],Fo.prototype,"focused",void 0),Bo([i.state()],Fo.prototype,"pressed",void 0),Bo([i.state()],Fo.prototype,"rippling",void 0),Bo([i.state()],Fo.prototype,"originX",void 0),Bo([i.state()],Fo.prototype,"originY",void 0),Bo([i.query(".ft-ripple")],Fo.prototype,"ripple",void 0),Bo([i.query(".ft-ripple--effect")],Fo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Fo);const Do=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Ao=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ho=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),jo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Go=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),To=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Po=e.css`
|
|
502
502
|
.ft-tooltip--container {
|
|
503
503
|
display: block;
|
|
504
504
|
}
|
|
@@ -522,12 +522,12 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
522
522
|
.ft-tooltip--content {
|
|
523
523
|
padding: 4px 8px;
|
|
524
524
|
border-radius: ${Go};
|
|
525
|
-
background-color: ${
|
|
526
|
-
color: ${
|
|
525
|
+
background-color: ${Ho};
|
|
526
|
+
color: ${Ao};
|
|
527
527
|
position: relative;
|
|
528
528
|
word-break: break-word;
|
|
529
529
|
}
|
|
530
|
-
`;var Po,_o,Vo,Yo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class qo extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
530
|
+
`,Mo=["start","end"],_o=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Mo[0],o+"-"+Mo[1])),[]),Vo=Math.min,Yo=Math.max,Xo=Math.round,qo=t=>({x:t,y:t}),Jo={left:"right",right:"left",bottom:"top",top:"bottom"},Qo={start:"end",end:"start"};function te(t,o,e){return Yo(t,Vo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function re(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return re(ae(t))}function se(t){return t.replace(/left|right|bottom|top/g,(t=>Jo[t]))}function ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:i,floating:r}=t;const n=ae(o),a=le(o),l=ne(a),s=ee(o),c="y"===n,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(ie(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function fe(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=oe(o,t),y=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],u=ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(u.top-v.top+y.top)/x.y,bottom:(v.bottom-u.bottom+y.bottom)/x.y,left:(u.left-v.left+y.left)/x.x,right:(v.right-u.right+y.right)/x.x}}function he(t,o,e){return(t?[...e.filter((o=>ie(o)===t)),...e.filter((o=>ie(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Qo[t]))}(e)!==e)))}const de=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=_o,autoAlignment:d=!0,...y}=oe(t,o),g=void 0!==f||h===_o?he(f||null,d,h):h,u=await fe(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=ie(t),r=le(t),n=ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=se(a)),[a,se(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[u[ee(m)],u[x[0]],u[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const $=O.map((t=>{const o=ie(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=$.filter((t=>t[2].slice(0,ie(t[0])?2:3).every((t=>t<=0)))),w=(null==(r=S[0])?void 0:r[0])||$[0][0];return w!==l?{data:{index:b+1,overflows:O},reset:{placement:w}}:{}}}};function ye(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ue(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ne(t){return["table","td","th"].includes(ye(t))}function $e(t){const o=Se(),e=Ce(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Se(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function we(t){return["html","body","#document"].includes(ye(t))}function Ce(t){return ge(t).getComputedStyle(t)}function ke(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ie(t){if("html"===ye(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ue(t);return ve(o)?o.host:o}function Re(t){const o=Ie(t);return we(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:Re(o)}function Ee(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Re(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ge(r);return n?o.concat(a,a.visualViewport||[],Oe(r)?r:[],a.frameElement&&e?Ee(a.frameElement):[]):o.concat(r,Ee(r,[],e))}function Le(t){const o=Ce(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=xe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Xo(e)!==n||Xo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function We(t){return me(t)?t:t.contextElement}function Ue(t){const o=We(t);if(!xe(o))return qo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Le(o);let a=(n?Xo(e.width):e.width)/i,l=(n?Xo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ze=qo(0);function Ke(t){const o=ge(t);return Se()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ze}function Ze(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=We(t);let a=qo(1);o&&(i?me(i)&&(a=Ue(i)):a=Ue(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,i)?Ke(n):qo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ge(n),o=i&&me(i)?ge(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Ue(e),o=e.getBoundingClientRect(),i=Ce(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=ge(e).frameElement}}return ce({width:p,height:f,x:s,y:c})}function Be(t){return Ze(ue(t)).left+ke(t).scrollLeft}function Fe(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ge(t),i=ue(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Se();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=ue(t),e=ke(t),i=t.ownerDocument.body,r=Yo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Yo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Be(t);const l=-e.scrollTop;return"rtl"===Ce(i).direction&&(a+=Yo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ue(t));else if(me(o))i=function(t,o){const e=Ze(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=xe(t)?Ue(t):qo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ke(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ce(i)}function De(t,o){const e=Ie(t);return!(e===o||!me(e)||we(e))&&("fixed"===Ce(e).position||De(e,o))}function Ae(t,o,e){const i=xe(o),r=ue(o),n="fixed"===e,a=Ze(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=qo(0);if(i||!i&&!n)if(("body"!==ye(o)||Oe(r))&&(l=ke(o)),i){const t=Ze(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Be(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function He(t,o){return xe(t)&&"fixed"!==Ce(t).position?o?o(t):t.offsetParent:null}function je(t,o){const e=ge(t);if(!xe(t))return e;let i=He(t,o);for(;i&&Ne(i)&&"static"===Ce(i).position;)i=He(i,o);return i&&("html"===ye(i)||"body"===ye(i)&&"static"===Ce(i).position&&!$e(i))?e:i||function(t){let o=Ie(t);for(;xe(o)&&!we(o);){if($e(o))return o;o=Ie(o)}return null}(t)||e}const Ge={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=xe(e),n=ue(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=qo(1);const s=qo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ye(e)||Oe(n))&&(a=ke(e)),xe(e))){const t=Ze(e);l=Ue(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:ue,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Ee(t,[],!1).filter((t=>me(t)&&"body"!==ye(t))),r=null;const n="fixed"===Ce(t).position;let a=n?Ie(t):t;for(;me(a)&&!we(a);){const o=Ce(a),e=$e(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Oe(a)&&!e&&De(t,a))?i=i.filter((t=>t!==a)):r=o,a=Ie(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Fe(o,e,r);return t.top=Yo(i.top,t.top),t.right=Vo(i.right,t.right),t.bottom=Vo(i.bottom,t.bottom),t.left=Yo(i.left,t.left),t}),Fe(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:je,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||je,n=this.getDimensions;return{reference:Ae(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Le(t)},getScale:Ue,isElement:me,isRTL:function(t){return"rtl"===Ce(t).direction}},Te=(t,o,e)=>{const i=new Map,r={platform:Ge,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=pe(c,i,s),h=i,d={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=pe(c,h,s))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var Pe,Me,_e,Ve=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ye extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
531
531
|
<div part="container"
|
|
532
532
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
533
533
|
@mouseenter=${this.onHover}
|
|
@@ -545,21 +545,21 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
545
545
|
</div>
|
|
546
546
|
</div>
|
|
547
547
|
</div>
|
|
548
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,h=s.y+s.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${To})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}qo.elementDefinitions={"ft-typography":go},qo.styles=Mo,Yo([i.property()],qo.prototype,"text",void 0),Yo([i.property({type:Boolean})],qo.prototype,"manual",void 0),Yo([i.property({type:Boolean})],qo.prototype,"inline",void 0),Yo([i.property({type:Number})],qo.prototype,"delay",void 0),Yo([i.property()],qo.prototype,"position",void 0),Yo([i.queryAssignedNodes()],qo.prototype,"slotNodes",void 0),Yo([i.query(".ft-tooltip--container")],qo.prototype,"container",void 0),Yo([i.query(".ft-tooltip")],qo.prototype,"tooltip",void 0),Yo([i.query(".ft-tooltip--content")],qo.prototype,"tooltipContent",void 0),Yo([i.state()],qo.prototype,"visible",void 0),o.customElement("ft-tooltip")(qo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Po||(Po={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(_o||(_o={})),new Map([...["abw"].map((t=>[t,_o.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,_o.AUDIO])),...["avi"].map((t=>[t,_o.AVI])),...["chm","xhs"].map((t=>[t,_o.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,_o.CODE])),...["csv"].map((t=>[t,_o.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_o.DITA])),...["epub"].map((t=>[t,_o.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_o.EXCEL])),...["flac"].map((t=>[t,_o.FLAC])),...["gif"].map((t=>[t,_o.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_o.GZIP])),...["html","htm","xhtml"].map((t=>[t,_o.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,_o.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_o.JPEG])),...["json"].map((t=>[t,_o.JSON])),...["m4a","m4p"].map((t=>[t,_o.M4A])),...["mov","qt"].map((t=>[t,_o.MOV])),...["mp3"].map((t=>[t,_o.MP3])),...["mp4","m4v"].map((t=>[t,_o.MP4])),...["ogg","oga"].map((t=>[t,_o.OGG])),...["pdf","ps"].map((t=>[t,_o.PDF])),...["png"].map((t=>[t,_o.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_o.POWERPOINT])),...["rar"].map((t=>[t,_o.RAR])),...["stp"].map((t=>[t,_o.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_o.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,_o.VIDEO])),...["wav"].map((t=>[t,_o.WAV])),...["wma"].map((t=>[t,_o.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_o.WORD])),...["xml","xsl","rdf"].map((t=>[t,_o.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_o.YAML])),...["zip"].map((t=>[t,_o.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Vo||(Vo={}));var Xo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Jo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Vo).includes(this.variant)?this.variant:Vo.fluid_topics,o=t!==Vo.material||!!this.value;return e.html`
|
|
548
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Te(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=oe(t,o),c={x:e,y:i},p=await fe(o,s),f=ae(ee(r)),h=re(f);let d=c[h],y=c[f];if(n){const t="y"===h?"bottom":"right";d=te(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";y=te(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[h]:d,[f]:y});return{...g,data:{x:g.x-e,y:g.y-i}}}}),de({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ye.elementDefinitions={"ft-typography":yo},Ye.styles=Po,Ve([i.property()],Ye.prototype,"text",void 0),Ve([i.property({type:Boolean})],Ye.prototype,"manual",void 0),Ve([i.property({type:Boolean})],Ye.prototype,"inline",void 0),Ve([i.property({type:Number})],Ye.prototype,"delay",void 0),Ve([i.property()],Ye.prototype,"position",void 0),Ve([i.queryAssignedNodes()],Ye.prototype,"slotNodes",void 0),Ve([i.query(".ft-tooltip--container")],Ye.prototype,"container",void 0),Ve([i.query(".ft-tooltip")],Ye.prototype,"tooltip",void 0),Ve([i.query(".ft-tooltip--content")],Ye.prototype,"tooltipContent",void 0),Ve([i.state()],Ye.prototype,"visible",void 0),Ve([i.eventOptions({passive:!0})],Ye.prototype,"onTouch",null),Ve([i.eventOptions({passive:!0})],Ye.prototype,"onHover",null),Ve([i.eventOptions({passive:!0})],Ye.prototype,"onOut",null),o.customElement("ft-tooltip")(Ye),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Pe||(Pe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Me||(Me={})),new Map([...["abw"].map((t=>[t,Me.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,Me.AUDIO])),...["avi"].map((t=>[t,Me.AVI])),...["chm","xhs"].map((t=>[t,Me.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,Me.CODE])),...["csv"].map((t=>[t,Me.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Me.DITA])),...["epub"].map((t=>[t,Me.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Me.EXCEL])),...["flac"].map((t=>[t,Me.FLAC])),...["gif"].map((t=>[t,Me.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Me.GZIP])),...["html","htm","xhtml"].map((t=>[t,Me.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Me.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Me.JPEG])),...["json"].map((t=>[t,Me.JSON])),...["m4a","m4p"].map((t=>[t,Me.M4A])),...["mov","qt"].map((t=>[t,Me.MOV])),...["mp3"].map((t=>[t,Me.MP3])),...["mp4","m4v"].map((t=>[t,Me.MP4])),...["ogg","oga"].map((t=>[t,Me.OGG])),...["pdf","ps"].map((t=>[t,Me.PDF])),...["png"].map((t=>[t,Me.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Me.POWERPOINT])),...["rar"].map((t=>[t,Me.RAR])),...["stp"].map((t=>[t,Me.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Me.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,Me.VIDEO])),...["wav"].map((t=>[t,Me.WAV])),...["wma"].map((t=>[t,Me.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Me.WORD])),...["xml","xsl","rdf"].map((t=>[t,Me.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Me.YAML])),...["zip"].map((t=>[t,Me.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(_e||(_e={}));var Xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(_e).includes(this.variant)?this.variant:_e.fluid_topics,o=t!==_e.material||!!this.value;return e.html`
|
|
549
549
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
550
|
-
${
|
|
550
|
+
${a.unsafeHTML(this.resolvedIcon)}
|
|
551
551
|
<slot ?hidden=${o}></slot>
|
|
552
552
|
</i>
|
|
553
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case
|
|
553
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case _e.file_format:this.resolvedIcon=null!==(t=Me[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case _e.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Pe[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}qe.elementDefinitions={},qe.styles=ko,Xe([i.property()],qe.prototype,"variant",void 0),Xe([i.property()],qe.prototype,"value",void 0),Xe([i.state()],qe.prototype,"resolvedIcon",void 0),Xe([i.query("slot")],qe.prototype,"slottedContent",void 0),o.customElement("ft-icon")(qe);class Je extends o.FtLitElement{render(){return e.html`
|
|
554
554
|
<div class="ft-loader">
|
|
555
555
|
<div></div>
|
|
556
556
|
<div></div>
|
|
557
557
|
<div></div>
|
|
558
558
|
<div></div>
|
|
559
559
|
</div>
|
|
560
|
-
`}}
|
|
560
|
+
`}}Je.styles=wo,o.customElement("ft-loader")(Je);var Qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ti extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
561
561
|
<button part="button"
|
|
562
|
-
class="${
|
|
562
|
+
class="${n.classMap(this.buttonClasses)}"
|
|
563
563
|
aria-label="${this.getLabel()}"
|
|
564
564
|
?disabled=${this.isDisabled()}>
|
|
565
565
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -580,7 +580,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
580
580
|
</ft-tooltip>
|
|
581
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
582
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
583
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
583
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ti.elementDefinitions={"ft-ripple":Fo,"ft-tooltip":Ye,"ft-typography":yo,"ft-icon":qe,"ft-loader":Je},Qe([i.property({type:String,reflect:!0})],ti.prototype,"role",void 0),Qe([i.property()],ti.prototype,"type",void 0),Qe([i.property({type:Boolean})],ti.prototype,"disabled",void 0),Qe([i.property()],ti.prototype,"label",void 0),Qe([i.property()],ti.prototype,"icon",void 0),Qe([i.property()],ti.prototype,"iconVariant",void 0),Qe([i.property({type:Boolean})],ti.prototype,"trailingIcon",void 0),Qe([i.property({type:Boolean})],ti.prototype,"loading",void 0),Qe([i.property()],ti.prototype,"tooltipPosition",void 0),Qe([i.property({type:Boolean})],ti.prototype,"hideTooltip",void 0),Qe([i.property({type:Boolean})],ti.prototype,"forceTooltip",void 0),Qe([i.query(".ft-button")],ti.prototype,"button",void 0),Qe([i.query(".ft-button--label slot")],ti.prototype,"slottedContent",void 0);var oi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ei extends ti{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"}}ei.styles=[o.safariEllipsisFix,Zo],oi([i.property({type:Boolean})],ei.prototype,"primary",void 0),oi([i.property({type:Boolean})],ei.prototype,"outlined",void 0),oi([i.property({type:Boolean})],ei.prototype,"dense",void 0),oi([i.property({type:Boolean})],ei.prototype,"round",void 0);const ii=[e.css`
|
|
584
584
|
:host {
|
|
585
585
|
display: inline-block;
|
|
586
586
|
max-width: 100%;
|
|
@@ -661,11 +661,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
661
661
|
.ft-button--primary {
|
|
662
662
|
${o.setVariable(So.color,tt.primaryIconColor)};
|
|
663
663
|
|
|
664
|
-
${o.setVariable(
|
|
665
|
-
${o.setVariable(
|
|
666
|
-
${o.setVariable(
|
|
667
|
-
${o.setVariable(
|
|
668
|
-
${o.setVariable(
|
|
664
|
+
${o.setVariable(uo.color,tt.primaryStateLayerColor)};
|
|
665
|
+
${o.setVariable(uo.opacityContentOnSurfaceHover,tt.primaryStateLayerOpacityHover)};
|
|
666
|
+
${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.primaryStateLayerOpacityFocus)};
|
|
667
|
+
${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.primaryStateLayerOpacityActive)};
|
|
668
|
+
${o.setVariable(uo.opacityContentOnSurfacePressed,tt.primaryStateLayerOpacityActive)};
|
|
669
669
|
|
|
670
670
|
background-color: ${tt.primaryBackgroundColor};
|
|
671
671
|
color: ${tt.primaryColor};
|
|
@@ -685,11 +685,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
685
685
|
.ft-button--secondary {
|
|
686
686
|
${o.setVariable(So.color,tt.secondaryIconColor)};
|
|
687
687
|
|
|
688
|
-
${o.setVariable(
|
|
689
|
-
${o.setVariable(
|
|
690
|
-
${o.setVariable(
|
|
691
|
-
${o.setVariable(
|
|
692
|
-
${o.setVariable(
|
|
688
|
+
${o.setVariable(uo.color,tt.secondaryStateLayerColor)};
|
|
689
|
+
${o.setVariable(uo.opacityContentOnSurfaceHover,tt.secondaryStateLayerOpacityHover)};
|
|
690
|
+
${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.secondaryStateLayerOpacityFocus)};
|
|
691
|
+
${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.secondaryStateLayerOpacityActive)};
|
|
692
|
+
${o.setVariable(uo.opacityContentOnSurfacePressed,tt.secondaryStateLayerOpacityActive)};
|
|
693
693
|
|
|
694
694
|
background-color: ${tt.secondaryBackgroundColor};
|
|
695
695
|
color: ${tt.secondaryColor};
|
|
@@ -710,11 +710,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
710
710
|
.ft-button--tertiary {
|
|
711
711
|
${o.setVariable(So.color,tt.tertiaryIconColor)};
|
|
712
712
|
|
|
713
|
-
${o.setVariable(
|
|
714
|
-
${o.setVariable(
|
|
715
|
-
${o.setVariable(
|
|
716
|
-
${o.setVariable(
|
|
717
|
-
${o.setVariable(
|
|
713
|
+
${o.setVariable(uo.color,tt.tertiaryStateLayerColor)};
|
|
714
|
+
${o.setVariable(uo.opacityContentOnSurfaceHover,tt.tertiaryStateLayerOpacityHover)};
|
|
715
|
+
${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.tertiaryStateLayerOpacityFocus)};
|
|
716
|
+
${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.tertiaryStateLayerOpacityActive)};
|
|
717
|
+
${o.setVariable(uo.opacityContentOnSurfacePressed,tt.tertiaryStateLayerOpacityActive)};
|
|
718
718
|
|
|
719
719
|
background-color: ${tt.tertiaryBackgroundColor};
|
|
720
720
|
color: ${tt.tertiaryColor};
|
|
@@ -734,11 +734,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
734
734
|
.ft-button--neutral {
|
|
735
735
|
${o.setVariable(So.color,tt.neutralIconColor)};
|
|
736
736
|
|
|
737
|
-
${o.setVariable(
|
|
738
|
-
${o.setVariable(
|
|
739
|
-
${o.setVariable(
|
|
740
|
-
${o.setVariable(
|
|
741
|
-
${o.setVariable(
|
|
737
|
+
${o.setVariable(uo.backgroundColor,tt.neutralStateLayerColor)};
|
|
738
|
+
${o.setVariable(uo.opacityContentOnSurfaceHover,tt.neutralStateLayerOpacityHover)};
|
|
739
|
+
${o.setVariable(uo.opacityContentOnSurfaceFocused,tt.neutralStateLayerOpacityFocus)};
|
|
740
|
+
${o.setVariable(uo.opacityContentOnSurfaceSelected,tt.neutralStateLayerOpacityActive)};
|
|
741
|
+
${o.setVariable(uo.opacityContentOnSurfacePressed,tt.neutralStateLayerOpacityActive)};
|
|
742
742
|
|
|
743
743
|
background-color: ${tt.neutralBackgroundColor};
|
|
744
744
|
color: ${tt.neutralColor};
|
|
@@ -798,14 +798,14 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
798
798
|
width: ${tt.smallIconOnlyWidth};
|
|
799
799
|
padding: unset;
|
|
800
800
|
}
|
|
801
|
-
`,o.noTextSelect];var
|
|
801
|
+
`,o.noTextSelect];var ri=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ni extends ti{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?V.caption1medium:V.body2medium}}ni.styles=[o.safariEllipsisFix,ii],ri([i.property({type:Boolean})],ni.prototype,"primary",void 0),ri([i.property({type:Boolean})],ni.prototype,"secondary",void 0),ri([i.property({type:Boolean})],ni.prototype,"tertiary",void 0),ri([i.property({type:Boolean})],ni.prototype,"neutral",void 0),ri([i.property({type:Boolean})],ni.prototype,"small",void 0),o.customElement("ft-button")(ei),o.customElement("ftds-button")(ni);const ai=o.FtCssVariableFactory.extend("--ft-checkbox-text-color","",o.designSystemVariables.colorOnSurfaceHigh),li=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),si=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),ci=o.FtCssVariableFactory.extend("--ft-checkbox-border-color","",o.designSystemVariables.colorOnSurfaceMedium),pi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),fi=e.css`
|
|
802
802
|
* {
|
|
803
803
|
box-sizing: border-box;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
.ft-checkbox {
|
|
807
807
|
box-sizing: border-box;
|
|
808
|
-
color: ${
|
|
808
|
+
color: ${ai};
|
|
809
809
|
|
|
810
810
|
display: inline-flex;
|
|
811
811
|
align-items: center;
|
|
@@ -813,7 +813,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
813
813
|
}
|
|
814
814
|
|
|
815
815
|
.ft-checkbox--disabled {
|
|
816
|
-
color: ${
|
|
816
|
+
color: ${pi};
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
input {
|
|
@@ -837,26 +837,26 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
837
837
|
|
|
838
838
|
.ft-checkbox--box {
|
|
839
839
|
display: flex;
|
|
840
|
-
border: 2px solid ${
|
|
840
|
+
border: 2px solid ${ci};
|
|
841
841
|
border-radius: 2px;
|
|
842
842
|
|
|
843
843
|
width: 18px;
|
|
844
844
|
height: 18px;
|
|
845
845
|
|
|
846
|
-
color: ${
|
|
846
|
+
color: ${si};
|
|
847
847
|
}
|
|
848
848
|
|
|
849
849
|
|
|
850
850
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
851
851
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
852
|
-
border-color: ${
|
|
853
|
-
background-color: ${
|
|
852
|
+
border-color: ${li};
|
|
853
|
+
background-color: ${li};
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
857
|
-
border-color: ${
|
|
857
|
+
border-color: ${pi};
|
|
858
858
|
background-color: transparent;
|
|
859
|
-
color: ${
|
|
859
|
+
color: ${pi};
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
.ft-checkbox--checkmark {
|
|
@@ -875,8 +875,8 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
875
875
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
876
876
|
opacity: 1;
|
|
877
877
|
}
|
|
878
|
-
`;var
|
|
879
|
-
<label class="${
|
|
878
|
+
`;var hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class di extends o.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return e.html`
|
|
879
|
+
<label class="${n.classMap(t)}" for="checkbox-input">
|
|
880
880
|
<div class="ft-checkbox--box-container">
|
|
881
881
|
<ft-ripple
|
|
882
882
|
?disabled=${this.disabled}
|
|
@@ -901,14 +901,14 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
901
901
|
<slot></slot>
|
|
902
902
|
</ft-typography>
|
|
903
903
|
</label>
|
|
904
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}
|
|
904
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}di.elementDefinitions={"ft-ripple":Fo,"ft-typography":yo},di.styles=fi,hi([i.property()],di.prototype,"name",void 0),hi([i.property({type:Boolean,reflect:!0})],di.prototype,"checked",void 0),hi([i.property({type:Boolean})],di.prototype,"indeterminate",void 0),hi([i.property({type:Boolean})],di.prototype,"disabled",void 0),hi([i.query(".ft-checkbox")],di.prototype,"container",void 0),hi([i.query("ft-ripple")],di.prototype,"ripple",void 0),o.customElement("ft-checkbox")(di);const yi=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),gi=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),ui=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),bi=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),mi=e.css`
|
|
905
905
|
* {
|
|
906
906
|
box-sizing: border-box;
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
.ft-radio {
|
|
910
910
|
box-sizing: border-box;
|
|
911
|
-
color: ${
|
|
911
|
+
color: ${yi};
|
|
912
912
|
|
|
913
913
|
display: inline-flex;
|
|
914
914
|
align-items: center;
|
|
@@ -916,7 +916,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
.ft-radio--disabled {
|
|
919
|
-
color: ${
|
|
919
|
+
color: ${bi};
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
input {
|
|
@@ -939,7 +939,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
.ft-radio--box {
|
|
942
|
-
border: 2px solid ${
|
|
942
|
+
border: 2px solid ${ui};
|
|
943
943
|
border-radius: 50%;
|
|
944
944
|
|
|
945
945
|
display: flex;
|
|
@@ -952,7 +952,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
952
952
|
|
|
953
953
|
.ft-radio--box:after {
|
|
954
954
|
content: " ";
|
|
955
|
-
background-color: ${
|
|
955
|
+
background-color: ${gi};
|
|
956
956
|
|
|
957
957
|
border-radius: 50%;
|
|
958
958
|
|
|
@@ -964,7 +964,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
.ft-radio--checked .ft-radio--box {
|
|
967
|
-
border-color: ${
|
|
967
|
+
border-color: ${gi};
|
|
968
968
|
}
|
|
969
969
|
|
|
970
970
|
|
|
@@ -973,15 +973,15 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
973
973
|
}
|
|
974
974
|
|
|
975
975
|
.ft-radio--disabled .ft-radio--box {
|
|
976
|
-
border-color: ${
|
|
976
|
+
border-color: ${bi};
|
|
977
977
|
background-color: transparent;
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
.ft-radio--disabled .ft-radio--box:after {
|
|
981
|
-
background-color: ${
|
|
981
|
+
background-color: ${bi};
|
|
982
982
|
}
|
|
983
|
-
`;var
|
|
984
|
-
<div class="${
|
|
983
|
+
`;var xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vi extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Oi extends o.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 e.html`
|
|
984
|
+
<div class="${n.classMap(t)}">
|
|
985
985
|
<div class="ft-radio--box-container">
|
|
986
986
|
<ft-ripple
|
|
987
987
|
?disabled=${this.disabled}
|
|
@@ -1005,16 +1005,16 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1005
1005
|
</ft-typography>
|
|
1006
1006
|
</label>
|
|
1007
1007
|
</div>
|
|
1008
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new
|
|
1008
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new vi(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new vi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Oi.elementDefinitions={"ft-ripple":Fo,"ft-typography":yo},Oi.styles=mi,xi([i.property()],Oi.prototype,"value",void 0),xi([i.property()],Oi.prototype,"name",void 0),xi([i.property({type:Boolean,reflect:!0})],Oi.prototype,"checked",void 0),xi([i.property({type:Boolean})],Oi.prototype,"disabled",void 0),xi([i.query(".ft-radio")],Oi.prototype,"container",void 0),xi([i.query("ft-ripple")],Oi.prototype,"ripple",void 0),xi([i.query("input")],Oi.prototype,"input",void 0);const Ni=e.css`
|
|
1009
1009
|
:host {
|
|
1010
1010
|
display: contents;
|
|
1011
1011
|
}
|
|
1012
|
-
`;var
|
|
1012
|
+
`;var $i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Si extends o.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
|
|
1013
1013
|
<slot @slotchange=${this.onSlotChange}
|
|
1014
1014
|
@change=${this.onChange}
|
|
1015
1015
|
@keydown=${this.onKeyDown}
|
|
1016
1016
|
></slot>
|
|
1017
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].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)}}
|
|
1017
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].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)}}Si.elementDefinitions={},Si.styles=Ni,$i([i.property()],Si.prototype,"name",void 0),$i([i.queryAssignedElements()],Si.prototype,"radioButtons",void 0),o.customElement("ft-radio")(Oi),o.customElement("ft-radio-group")(Si);const wi={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(zt.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(zt.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(zt.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(zt.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(zt.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(zt.textTransform,"Body2 typography")},Ci=e.css`
|
|
1018
1018
|
.ft-filter-level--container {
|
|
1019
1019
|
display: flex;
|
|
1020
1020
|
flex-direction: column;
|
|
@@ -1028,14 +1028,14 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1028
1028
|
flex-shrink: 0;
|
|
1029
1029
|
text-decoration: none;
|
|
1030
1030
|
position: relative;
|
|
1031
|
-
border-radius: ${
|
|
1031
|
+
border-radius: ${wi.borderRadiusM};
|
|
1032
1032
|
overflow: hidden;
|
|
1033
1033
|
display: flex;
|
|
1034
1034
|
align-items: center;
|
|
1035
1035
|
padding: 4px 4px;
|
|
1036
1036
|
gap: 4px;
|
|
1037
1037
|
cursor: pointer;
|
|
1038
|
-
color: ${
|
|
1038
|
+
color: ${wi.colorOnSurface};
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
.ft-filter-level--go-back:focus {
|
|
@@ -1064,7 +1064,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
1066
|
ft-button {
|
|
1067
|
-
${o.setVariable(Ro.color,
|
|
1067
|
+
${o.setVariable(Ro.color,wi.colorOnSurface)};
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
ft-radio, ft-checkbox {
|
|
@@ -1078,9 +1078,9 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1078
1078
|
|
|
1079
1079
|
.ft-filter-level--no-values {
|
|
1080
1080
|
margin: 10px 0;
|
|
1081
|
-
color: ${
|
|
1081
|
+
color: ${wi.colorOnSurfaceMedium};
|
|
1082
1082
|
}
|
|
1083
|
-
`;var
|
|
1083
|
+
`;var ki=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ii extends o.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,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o: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 o=t.slice(0,this.limit);return e.html`
|
|
1084
1084
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1085
1085
|
${null==this.parent?null:e.html`
|
|
1086
1086
|
<div tabindex="0"
|
|
@@ -1144,7 +1144,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1144
1144
|
@change=${t=>t.stopPropagation()}>
|
|
1145
1145
|
${t.renderOption?t.renderOption:t.label}
|
|
1146
1146
|
</ft-radio>
|
|
1147
|
-
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}
|
|
1147
|
+
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ii.elementDefinitions={"ft-button":ei,"ft-ripple":Fo,"ft-typography":yo,"ft-checkbox":di,"ft-icon":qe,"ft-radio":Oi},Ii.styles=Ci,ki([i.property({type:String})],Ii.prototype,"filterId",void 0),ki([i.property({type:Object})],Ii.prototype,"parent",void 0),ki([i.property({type:Array})],Ii.prototype,"options",void 0),ki([i.property({type:Boolean})],Ii.prototype,"multivalued",void 0),ki([i.property({type:Boolean})],Ii.prototype,"disabled",void 0),ki([i.property({type:Boolean})],Ii.prototype,"hideSelectedOptions",void 0),ki([i.property({type:Boolean})],Ii.prototype,"preventNavigation",void 0),ki([i.property({type:String})],Ii.prototype,"filter",void 0),ki([i.property({type:String})],Ii.prototype,"moreValuesButtonLabel",void 0),ki([i.property({type:String})],Ii.prototype,"noValuesLabel",void 0),ki([i.property({type:Number})],Ii.prototype,"displayedValuesLimit",void 0),ki([i.query(".ft-filter-level--container")],Ii.prototype,"container",void 0),ki([i.state()],Ii.prototype,"displayedPages",void 0);const Ri={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},Ei=e.css`
|
|
1148
1148
|
.ft-snap-scroll {
|
|
1149
1149
|
box-sizing: border-box;
|
|
1150
1150
|
position: relative;
|
|
@@ -1179,7 +1179,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1179
1179
|
flex-wrap: nowrap;
|
|
1180
1180
|
align-items: flex-start;
|
|
1181
1181
|
justify-content: flex-start;
|
|
1182
|
-
gap: ${
|
|
1182
|
+
gap: ${Ri.gap};
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
1185
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1222,11 +1222,11 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1222
1222
|
.ft-snap-scroll--next {
|
|
1223
1223
|
position: absolute;
|
|
1224
1224
|
display: flex;
|
|
1225
|
-
z-index: ${
|
|
1225
|
+
z-index: ${Ri.buttonsZIndex};
|
|
1226
1226
|
opacity: 1;
|
|
1227
1227
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1228
1228
|
${o.setVariable(Ro.backgroundColor,"transparent")};
|
|
1229
|
-
${o.setVariable(Ro.color,
|
|
1229
|
+
${o.setVariable(Ro.color,Ri.buttonsColor)};
|
|
1230
1230
|
}
|
|
1231
1231
|
|
|
1232
1232
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1239,37 +1239,37 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1239
1239
|
top: 0;
|
|
1240
1240
|
left: -1px;
|
|
1241
1241
|
bottom: 0;
|
|
1242
|
-
background: linear-gradient(to right, ${
|
|
1242
|
+
background: linear-gradient(to right, ${Ri.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
1245
1245
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1246
1246
|
top: -1px;
|
|
1247
1247
|
left: 0;
|
|
1248
1248
|
right: 0;
|
|
1249
|
-
background: linear-gradient(to bottom, ${
|
|
1249
|
+
background: linear-gradient(to bottom, ${Ri.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1250
1250
|
}
|
|
1251
1251
|
|
|
1252
1252
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1253
1253
|
top: 0;
|
|
1254
1254
|
right: -1px;
|
|
1255
1255
|
bottom: 0;
|
|
1256
|
-
background: linear-gradient(to left, ${
|
|
1256
|
+
background: linear-gradient(to left, ${Ri.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
1259
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1260
1260
|
left: 0;
|
|
1261
1261
|
right: 0;
|
|
1262
1262
|
bottom: -1px;
|
|
1263
|
-
background: linear-gradient(to top, ${
|
|
1263
|
+
background: linear-gradient(to top, ${Ri.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1264
1264
|
}
|
|
1265
1265
|
|
|
1266
1266
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1267
1267
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1268
1268
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1269
1269
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1270
|
-
background-color: ${
|
|
1270
|
+
background-color: ${Ri.colorSurface};
|
|
1271
1271
|
}
|
|
1272
|
-
`;var
|
|
1272
|
+
`;var Li=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wi extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Ui extends o.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 o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}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=n.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":o.isSafari}),i=this.controls&&this.withScroll;return e.html`
|
|
1273
1273
|
<div part="container" class="${t}">
|
|
1274
1274
|
<ft-button
|
|
1275
1275
|
class="ft-snap-scroll--previous"
|
|
@@ -1293,7 +1293,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1293
1293
|
@click=${this.next}
|
|
1294
1294
|
></ft-button>
|
|
1295
1295
|
</div>
|
|
1296
|
-
`}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
|
|
1296
|
+
`}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 Wi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;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===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);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 o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Ui.elementDefinitions={"ft-button":ei},Ui.styles=Ei,Li([i.property({type:Boolean})],Ui.prototype,"horizontal",void 0),Li([i.property({type:Boolean})],Ui.prototype,"hideScrollbar",void 0),Li([i.property({type:Boolean})],Ui.prototype,"controls",void 0),Li([i.property({type:Boolean})],Ui.prototype,"limitSize",void 0),Li([i.state()],Ui.prototype,"elements",void 0),Li([i.state()],Ui.prototype,"currentElement",void 0),Li([i.state()],Ui.prototype,"withScroll",void 0),Li([i.state()],Ui.prototype,"startReached",void 0),Li([i.state()],Ui.prototype,"endReached",void 0),Li([i.query(".ft-snap-scroll--content")],Ui.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(Ui);const zi={colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),transitionDuration:o.FtCssVariableFactory.external(o.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:o.FtCssVariableFactory.external(o.designSystemVariables.transitionTimingFunction,"Design system")},Ki=[ao,e.css`
|
|
1297
1297
|
:host {
|
|
1298
1298
|
display: flex;
|
|
1299
1299
|
max-height: 100%;
|
|
@@ -1306,7 +1306,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1306
1306
|
flex-direction: column;
|
|
1307
1307
|
max-height: 100%;
|
|
1308
1308
|
max-width: 100%;
|
|
1309
|
-
color: ${
|
|
1309
|
+
color: ${zi.colorOnSurface};
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
.ft-filter--header {
|
|
@@ -1342,8 +1342,8 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1342
1342
|
padding: 0 10px;
|
|
1343
1343
|
overflow: hidden;
|
|
1344
1344
|
height: 32px;
|
|
1345
|
-
transition: height ${
|
|
1346
|
-
margin ${
|
|
1345
|
+
transition: height ${zi.transitionDuration} ${zi.transitionTimingFunction},
|
|
1346
|
+
margin ${zi.transitionDuration} ${zi.transitionTimingFunction};
|
|
1347
1347
|
transition-delay: 500ms;
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
@@ -1356,15 +1356,15 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1356
1356
|
display: block;
|
|
1357
1357
|
width: 100%;
|
|
1358
1358
|
border-radius: 4px;
|
|
1359
|
-
border: 1px solid ${
|
|
1359
|
+
border: 1px solid ${zi.colorOutline};
|
|
1360
1360
|
padding: 4px;
|
|
1361
|
-
background-color: ${
|
|
1362
|
-
color: ${
|
|
1363
|
-
outline-color: ${
|
|
1361
|
+
background-color: ${zi.colorSurface};
|
|
1362
|
+
color: ${zi.colorOnSurface};
|
|
1363
|
+
outline-color: ${zi.colorPrimary};
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
1366
|
input::placeholder {
|
|
1367
|
-
color: ${
|
|
1367
|
+
color: ${zi.colorOnSurfaceMedium};
|
|
1368
1368
|
}
|
|
1369
1369
|
|
|
1370
1370
|
input:placeholder-shown {
|
|
@@ -1380,7 +1380,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
1382
|
.ft-filter--separator {
|
|
1383
|
-
border-top: 1px solid ${
|
|
1383
|
+
border-top: 1px solid ${zi.colorOutline};
|
|
1384
1384
|
margin: 4px 10px;
|
|
1385
1385
|
}
|
|
1386
1386
|
|
|
@@ -1405,7 +1405,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1405
1405
|
slot:not([name]) {
|
|
1406
1406
|
display: none;
|
|
1407
1407
|
}
|
|
1408
|
-
`];var
|
|
1408
|
+
`];var Zi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Bi extends CustomEvent{constructor(t){super("change",{detail:t})}}class Fi extends o.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o.Debouncer(300),this.changeDebouncer=new o.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return o.flatDeep(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return e.html`
|
|
1409
1409
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1410
1410
|
part="container">
|
|
1411
1411
|
${this.label||t?e.html`
|
|
@@ -1438,7 +1438,7 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1438
1438
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1439
1439
|
@option-change=${this.optionsChanged}></slot>
|
|
1440
1440
|
</div>
|
|
1441
|
-
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,
|
|
1441
|
+
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return e.html`
|
|
1442
1442
|
${this.raiseSelectedOptions&&o.length>0?e.html`
|
|
1443
1443
|
<ft-filter-level
|
|
1444
1444
|
filterId="${this.id}"
|
|
@@ -1477,6 +1477,6 @@ const G=Symbol.for(""),T=t=>{if(t?.r===G)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
1477
1477
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1478
1478
|
noValuesLabel="${this.noValuesLabel}"
|
|
1479
1479
|
></ft-filter-level>
|
|
1480
|
-
`}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 o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.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;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new
|
|
1480
|
+
`}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 o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.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;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new Bi(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Fi.elementDefinitions={"ft-button":ei,"ft-filter-level":Ii,"ft-snap-scroll":Ui,"ft-typography":yo},Fi.styles=Ki,Zi([i.property({type:String})],Fi.prototype,"id",void 0),Zi([i.property({type:String})],Fi.prototype,"label",void 0),Zi([i.property({type:String})],Fi.prototype,"filterPlaceHolder",void 0),Zi([i.property({type:String})],Fi.prototype,"clearButtonLabel",void 0),Zi([i.property({type:String})],Fi.prototype,"moreValuesButtonLabel",void 0),Zi([i.property({type:String})],Fi.prototype,"noValuesLabel",void 0),Zi([o.jsonProperty([])],Fi.prototype,"options",void 0),Zi([i.property({type:Boolean})],Fi.prototype,"multivalued",void 0),Zi([i.property({type:Boolean})],Fi.prototype,"disabled",void 0),Zi([i.property({type:Boolean})],Fi.prototype,"raiseSelectedOptions",void 0),Zi([i.property({type:Number})],Fi.prototype,"displayedValuesLimit",void 0),Zi([i.property({type:Boolean})],Fi.prototype,"hideClearButton",void 0),Zi([i.query(".ft-filter--slot")],Fi.prototype,"slotElement",void 0),Zi([i.query(".ft-filter--container")],Fi.prototype,"container",void 0),Zi([i.query(".ft-filter--values")],Fi.prototype,"valuesContainer",void 0),Zi([i.query(".ft-filter--levels")],Fi.prototype,"levelsContainer",void 0),Zi([i.state()],Fi.prototype,"lastLevelHasHiddenvalues",void 0),Zi([i.query(".ft-filter--filter input")],Fi.prototype,"filterInput",void 0),Zi([i.queryAll(".ft-filter--levels ft-filter-level")],Fi.prototype,"levels",void 0),Zi([i.state()],Fi.prototype,"withScroll",void 0),Zi([i.state()],Fi.prototype,"filter",void 0),Zi([i.state()],Fi.prototype,"slideIn",void 0),Zi([i.state()],Fi.prototype,"slideOut",void 0);var Di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ai extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
|
|
1481
1481
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1482
|
-
`}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}))}}
|
|
1482
|
+
`}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}))}}Ai.elementDefinitions={},Di([i.property({type:String})],Ai.prototype,"label",void 0),Di([i.property({type:Object,converter:t=>t})],Ai.prototype,"value",void 0),Di([i.property({type:Boolean,reflect:!0})],Ai.prototype,"selected",void 0),Di([i.property({type:Object})],Ai.prototype,"subOptions",void 0),Di([o.jsonProperty({})],Ai.prototype,"renderOption",void 0),Di([i.query(".ft-filter-option--slot")],Ai.prototype,"slotElement",void 0),o.customElement("ft-filter")(Fi),o.customElement("ft-filter-option")(Ai),t.FtFilter=Fi,t.FtFilterChangeEvent=Bi,t.FtFilterCssVariables=zi,t.FtFilterLevelCssVariables=wi,t.FtFilterOption=Ai,t.levelStyles=Ci,t.styles=Ki}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|