@fluid-topics/ft-filterable-table 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-filterable-table.light.js +295 -295
- package/build/ft-filterable-table.min.js +383 -378
- package/package.json +6 -6
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
!function(t,o,
|
|
1
|
+
!function(t,e,o,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,
|
|
7
|
+
const l=globalThis,s=l.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,f="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,d="?"+p,h=`<${d}>`,u=document,g=()=>u.createComment(""),y=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,$=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,w=/"/g,S=/^(?:script|style|textarea|title)$/i,C=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),I=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),E=new WeakMap,R=u.createTreeWalker(u,129);function U(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==c?c.createHTML(e):e}const W=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=x;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,d=0;for(;d<o.length&&(a.lastIndex=d,s=a.exec(o),null!==s);)d=a.lastIndex,a===x?"!--"===s[1]?a=v:void 0!==s[1]?a=O:void 0!==s[2]?(S.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=$):void 0!==s[3]&&(a=$):a===$?">"===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]?$:'"'===s[3]?w:N):a===w||a===N?a=$:a===v||a===O?a=x:(a=$,r=void 0);const u=a===$&&t[e+1].startsWith("/>")?" ":"";n+=a===x?o+h:c>=0?(i.push(l),o.slice(0,c)+f+o.slice(c)+p+u):o+p+(-2===c?e:u)}return[U(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class L{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,h]=W(t,e);if(this.el=L.createElement(c,o),R.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=R.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(f)){const e=h[n++],o=i.getAttribute(t).split(p),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?B:"?"===a[1]?F:"@"===a[1]?A:D}),i.removeAttribute(t)}else t.startsWith(p)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(S.test(i.tagName)){const t=i.textContent.split(p),e=t.length-1;if(e>0){i.textContent=s?s.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],g()),R.nextNode(),l.push({type:2,index:++r});i.append(t[e],g())}}}else if(8===i.nodeType)if(i.data===d)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(p,t+1));)l.push({type:7,index:r}),t+=p.length-1}r++}}static createElement(t,e){const o=u.createElement("template");return o.innerHTML=t,o}}function z(t,e,o=t,i){if(e===I)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=y(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=z(t,r._$AS(t,e.values),r,i)),e}class Z{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??u).importNode(e,!0);R.currentNode=i;let r=R.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new K(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new H(r,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(r=R.nextNode(),n++)}return R.currentNode=u,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class K{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=z(this,t,e),y(t)?t===k||null==t||""===t?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==I&&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!==k&&y(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=L.createElement(U(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Z(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new L(t)),e}T(t){b(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new K(this.k(g()),this.k(g()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class D{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=k,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=k}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=z(this,t,e,0),n=!y(t)||t!==this._$AH&&t!==I,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[o+a],e,a),l===I&&(l=this._$AH[a]),n||=!y(l)||l!==this._$AH[a],l===k?t=k:t!==k&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends D{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===k?void 0:t}}class F extends D{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==k)}}class A extends D{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=z(this,t,e,0)??k)===I)return;const o=this._$AH,i=t===k&&o!==k||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==k&&(o===k||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class H{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const G=l.litHtmlPolyfillSupport;G?.(L,K),(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 j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:j}),T=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=P(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=T.get(t))&&(n.raw=n,T.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"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=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"),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"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",et),Nt=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"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),kt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",et),Rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",et),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",et),Dt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",et),jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Vt={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")},Yt=e.css`
|
|
13
|
+
const P=Symbol.for(""),j=t=>{if(t?.r===P)return t?._$litStatic$},M=t=>({_$litStatic$:t,r:P}),T=new Map,_=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=j(n));)s+=r+e[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=T.get(t))&&(a.raw=a,T.set(t,e=a)),o=l}return t(e,...o)})(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?o.unsafeCSS(t):t;class X{static create(t,e,i,r){const n=t=>Y(null!=t?t:r),a=o.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Y(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Y(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Y(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Y(null!=e?e:t.lastResortDefaultValue()),r=o.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=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Y(t.name)}, ${i(e)})`,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 et=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ot=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),it={fontFamily:ot,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",et),nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",it.fontSize,"20px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",it.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",it.letterSpacing,"0.15px"),st=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",it.lineHeight,"1.2"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",it.textTransform,"inherit"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",et),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",it.fontSize,"14px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",it.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",it.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",it.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",it.textTransform,"inherit"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",it.fontSize,"16px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",it.fontWeight,"600"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",it.letterSpacing,"0.144px"),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",it.lineHeight,"1.5"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",it.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",it.fontSize,"14px"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",it.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",it.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",it.lineHeight,"1.7"),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",it.textTransform,"inherit"),kt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",it.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",it.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",it.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",it.textTransform,"inherit")},Et=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),Rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",it.fontSize,"14px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",it.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",it.letterSpacing,"0.252px"),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",it.lineHeight,"1.4"),zt=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",it.textTransform,"inherit"),Zt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",it.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",it.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",it.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",it.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",it.textTransform,"inherit")},Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",it.fontSize,"10px"),Bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",it.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",it.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",it.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",it.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",it.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",it.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",it.letterSpacing,"1.5px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",it.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",it.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",it.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",it.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",it.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",it.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",it.textTransform,"uppercase")},Yt=o.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};
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
22
|
+
`,Xt=o.css`
|
|
23
23
|
.ft-typography--title-dense {
|
|
24
|
-
font-family: ${
|
|
25
|
-
font-size: ${
|
|
24
|
+
font-family: ${ft};
|
|
25
|
+
font-size: ${pt};
|
|
26
26
|
font-weight: ${dt};
|
|
27
27
|
letter-spacing: ${ht};
|
|
28
|
-
line-height: ${
|
|
29
|
-
text-transform: ${
|
|
28
|
+
line-height: ${ut};
|
|
29
|
+
text-transform: ${gt};
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,qt=o.css`
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${
|
|
33
|
+
font-family: ${yt};
|
|
34
34
|
font-size: ${bt};
|
|
35
35
|
font-weight: ${mt};
|
|
36
36
|
letter-spacing: ${xt};
|
|
37
37
|
line-height: ${vt};
|
|
38
38
|
text-transform: ${Ot};
|
|
39
39
|
}
|
|
40
|
-
`,Jt=
|
|
40
|
+
`,Jt=o.css`
|
|
41
41
|
.ft-typography--subtitle2 {
|
|
42
42
|
font-family: ${$t};
|
|
43
43
|
font-size: ${Nt};
|
|
44
|
-
font-weight: ${
|
|
45
|
-
letter-spacing: ${
|
|
44
|
+
font-weight: ${wt};
|
|
45
|
+
letter-spacing: ${St};
|
|
46
46
|
line-height: ${Ct};
|
|
47
47
|
text-transform: ${It};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
`,Qt=
|
|
50
|
+
`,Qt=o.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
52
|
font-family: ${kt.fontFamily};
|
|
53
53
|
font-size: ${kt.fontSize};
|
|
@@ -56,7 +56,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
56
56
|
line-height: ${kt.lineHeight};
|
|
57
57
|
text-transform: ${kt.textTransform};
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,te=o.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
61
|
font-family: ${Et};
|
|
62
62
|
font-size: ${Rt};
|
|
@@ -65,7 +65,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
65
65
|
line-height: ${Lt};
|
|
66
66
|
text-transform: ${zt};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,ee=o.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
70
|
font-family: ${Zt.fontFamily};
|
|
71
71
|
font-size: ${Zt.fontSize};
|
|
@@ -74,25 +74,25 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
74
74
|
line-height: ${Zt.lineHeight};
|
|
75
75
|
text-transform: ${Zt.textTransform};
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,oe=o.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
79
|
font-family: ${Kt};
|
|
80
80
|
font-size: ${Dt};
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
81
|
+
font-weight: ${Bt};
|
|
82
|
+
letter-spacing: ${Ft};
|
|
83
83
|
line-height: ${At};
|
|
84
84
|
text-transform: ${Ht};
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,ie=o.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
88
|
font-family: ${Gt};
|
|
89
|
-
font-size: ${
|
|
90
|
-
font-weight: ${
|
|
89
|
+
font-size: ${Pt};
|
|
90
|
+
font-weight: ${jt};
|
|
91
91
|
letter-spacing: ${Mt};
|
|
92
92
|
line-height: ${Tt};
|
|
93
93
|
text-transform: ${_t};
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`,re=o.css`
|
|
96
96
|
.ft-typography--button {
|
|
97
97
|
font-family: ${Vt.fontFamily};
|
|
98
98
|
font-size: ${Vt.fontSize};
|
|
@@ -101,45 +101,45 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
101
101
|
line-height: ${Vt.lineHeight};
|
|
102
102
|
text-transform: ${Vt.textTransform};
|
|
103
103
|
}
|
|
104
|
-
`,
|
|
104
|
+
`,ne=o.css`
|
|
105
105
|
.ft-typography {
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
|
-
`,
|
|
109
|
-
.ft-typography--${
|
|
110
|
-
font-family: ${
|
|
111
|
-
font-size: ${
|
|
112
|
-
font-weight: ${
|
|
113
|
-
letter-spacing: ${
|
|
114
|
-
line-height: ${
|
|
115
|
-
text-transform: ${
|
|
108
|
+
`,ae=[Object.keys(J).map((t=>function(t){const e=J[t];return o.css`
|
|
109
|
+
.ft-typography--${o.unsafeCSS(t)} {
|
|
110
|
+
font-family: ${e.fontFamily};
|
|
111
|
+
font-size: ${e.fontSize};
|
|
112
|
+
font-weight: ${e.fontWeight};
|
|
113
|
+
letter-spacing: ${e.letterSpacing};
|
|
114
|
+
line-height: ${e.lineHeight};
|
|
115
|
+
text-transform: ${e.textCase};
|
|
116
116
|
}
|
|
117
|
-
`}(t)))];var
|
|
117
|
+
`}(t)))];var le=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class se extends e.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?_`
|
|
118
118
|
<${M(this.element)}
|
|
119
119
|
class="ft-typography ft-typography--${this.variant}">
|
|
120
120
|
<slot></slot>
|
|
121
121
|
</${M(this.element)}>
|
|
122
122
|
`:_`
|
|
123
123
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
124
|
-
`}}
|
|
124
|
+
`}}se.styles=[Yt,Xt,qt,Jt,Qt,te,ee,oe,ie,re,ne,...ae],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),e.customElement("ft-typography")(se);const ce={fontSize:e.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:e.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:e.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:e.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:e.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:e.FtCssVariableFactory.extend("--ft-input-label-border-color","",e.designSystemVariables.colorOutline),textColor:e.FtCssVariableFactory.extend("--ft-input-label-text-color","",e.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:e.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",e.designSystemVariables.colorOnSurfaceDisabled),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},fe=o.css`
|
|
125
125
|
.ft-input-label {
|
|
126
126
|
position: absolute;
|
|
127
127
|
inset: 0;
|
|
128
128
|
display: flex;
|
|
129
|
-
background-color: ${
|
|
130
|
-
border-radius: ${
|
|
129
|
+
background-color: ${ce.colorSurface};
|
|
130
|
+
border-radius: ${ce.borderRadiusS} ${ce.borderRadiusS} 0 0;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.ft-input-label--outlined {
|
|
134
|
-
border-radius: ${
|
|
134
|
+
border-radius: ${ce.borderRadiusS};
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.ft-input-label {
|
|
138
|
-
border-color: ${
|
|
138
|
+
border-color: ${ce.borderColor};
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.ft-input-label.ft-input-label--in-error {
|
|
142
|
-
border-color: ${
|
|
142
|
+
border-color: ${ce.colorError}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.ft-input-label:before,
|
|
@@ -152,7 +152,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.ft-input-label:before {
|
|
155
|
-
width: calc(${
|
|
155
|
+
width: calc(${ce.horizontalSpacing} - 4px);
|
|
156
156
|
flex-shrink: 0;
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -168,20 +168,20 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
168
168
|
border-bottom-width: 1px;
|
|
169
169
|
border-bottom-style: solid;
|
|
170
170
|
border-color: inherit;
|
|
171
|
-
color: ${
|
|
171
|
+
color: ${ce.textColor};
|
|
172
172
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
173
|
-
max-width: calc(${
|
|
173
|
+
max-width: calc(${ce.labelMaxWidth} - 2 * (${ce.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
174
174
|
text-overflow: ellipsis;
|
|
175
|
-
${
|
|
176
|
-
${
|
|
175
|
+
${e.setVariable(Zt.fontSize,ce.fontSize)};
|
|
176
|
+
${e.setVariable(Zt.lineHeight,ce.fontSize)};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.ft-input-label--in-error .ft-input-label--text {
|
|
180
|
-
color: ${
|
|
180
|
+
color: ${ce.colorError}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-input-label--disabled .ft-input-label--text {
|
|
184
|
-
color: ${
|
|
184
|
+
color: ${ce.disabledTextColor};
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.ft-input-label--hidden-text {
|
|
@@ -198,19 +198,19 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
198
198
|
overflow: hidden;
|
|
199
199
|
white-space: nowrap;
|
|
200
200
|
text-overflow: ellipsis;
|
|
201
|
-
padding: ${
|
|
202
|
-
margin: calc(${
|
|
201
|
+
padding: ${ce.verticalSpacing} 4px;
|
|
202
|
+
margin: calc(${ce.verticalSpacing} * -1) 0;
|
|
203
203
|
max-width: 100%;
|
|
204
204
|
box-sizing: border-box;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.ft-input-label--raised .ft-input-label--text {
|
|
208
|
-
${
|
|
209
|
-
${
|
|
208
|
+
${e.setVariable(Zt.fontSize,ce.raisedFontSize)};
|
|
209
|
+
${e.setVariable(Zt.lineHeight,ce.raisedFontSize)};
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
213
|
-
top: ${
|
|
213
|
+
top: ${ce.verticalSpacing};
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -223,36 +223,36 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
223
223
|
.ft-input-label--outlined:before {
|
|
224
224
|
border-left-width: 1px;
|
|
225
225
|
border-left-style: solid;
|
|
226
|
-
border-radius: ${
|
|
226
|
+
border-radius: ${ce.borderRadiusS} 0 0 ${ce.borderRadiusS};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-input-label--outlined:after {
|
|
230
230
|
border-right-width: 1px;
|
|
231
231
|
border-right-style: solid;
|
|
232
|
-
border-radius: 0 ${
|
|
232
|
+
border-radius: 0 ${ce.borderRadiusS} ${ce.borderRadiusS} 0;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
236
236
|
padding: 2px 4px;
|
|
237
|
-
z-index: ${
|
|
238
|
-
background-color: ${
|
|
239
|
-
border-radius: ${
|
|
237
|
+
z-index: ${ce.raisedZIndex};
|
|
238
|
+
background-color: ${ce.colorSurface};
|
|
239
|
+
border-radius: ${ce.borderRadiusS};
|
|
240
240
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
244
244
|
border-top: none;
|
|
245
245
|
}
|
|
246
|
-
`;var
|
|
247
|
-
<div class="${
|
|
248
|
-
${this.text?
|
|
246
|
+
`;var pe=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class de extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return o.html`
|
|
247
|
+
<div class="${a.classMap(t)}">
|
|
248
|
+
${this.text?o.html`
|
|
249
249
|
<div class="ft-input-label--text ft-typography--caption">
|
|
250
250
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
251
251
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
252
252
|
</div>
|
|
253
253
|
`:null}
|
|
254
254
|
</div>
|
|
255
|
-
`}}
|
|
255
|
+
`}}de.elementDefinitions={},de.styles=[ee,fe],pe([i.property({type:String})],de.prototype,"text",void 0),pe([i.property({type:Boolean})],de.prototype,"raised",void 0),pe([i.property({type:Boolean})],de.prototype,"outlined",void 0),pe([i.property({type:Boolean})],de.prototype,"disabled",void 0),pe([i.property({type:Boolean})],de.prototype,"error",void 0),e.customElement("ft-input-label")(de);const he=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),ue={color:he,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",he),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ge=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),ye=ge,be=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ge),me=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),xe=me,ve=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",me),Oe=o.css`
|
|
256
256
|
:host {
|
|
257
257
|
display: contents;
|
|
258
258
|
}
|
|
@@ -265,7 +265,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
265
265
|
|
|
266
266
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
267
267
|
overflow: hidden;
|
|
268
|
-
border-radius: ${
|
|
268
|
+
border-radius: ${ue.borderRadius};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-ripple .ft-ripple--background,
|
|
@@ -299,27 +299,27 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.ft-ripple .ft-ripple--background {
|
|
302
|
-
background-color: ${
|
|
302
|
+
background-color: ${ue.backgroundColor};
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.ft-ripple .ft-ripple--effect {
|
|
306
|
-
background-color: ${
|
|
306
|
+
background-color: ${ue.color};
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
310
|
-
background-color: ${
|
|
310
|
+
background-color: ${ve};
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
314
|
-
background-color: ${
|
|
314
|
+
background-color: ${xe};
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
318
|
-
background-color: ${
|
|
318
|
+
background-color: ${be};
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
322
|
-
background-color: ${
|
|
322
|
+
background-color: ${ye};
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.ft-ripple .ft-ripple--background {
|
|
@@ -349,33 +349,33 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
352
|
-
opacity: ${
|
|
352
|
+
opacity: ${ue.opacityContentOnSurfaceHover};
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
356
|
-
opacity: ${
|
|
356
|
+
opacity: ${ue.opacityContentOnSurfaceSelected};
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
360
|
-
opacity: ${
|
|
360
|
+
opacity: ${ue.opacityContentOnSurfaceFocused};
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
364
|
-
opacity: ${
|
|
364
|
+
opacity: ${ue.opacityContentOnSurfacePressed};
|
|
365
365
|
transform: translate(-50%, -50%) scale(1);
|
|
366
366
|
}
|
|
367
|
-
`;var
|
|
367
|
+
`;var $e,Ne,we=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Se extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-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 o.html`
|
|
368
368
|
<style>
|
|
369
369
|
.ft-ripple .ft-ripple--effect {
|
|
370
370
|
left: ${this.originX}px;
|
|
371
371
|
top: ${this.originY}px;
|
|
372
372
|
}
|
|
373
373
|
</style>
|
|
374
|
-
<div class="${
|
|
374
|
+
<div class="${a.classMap(t)}">
|
|
375
375
|
<div class="ft-ripple--background"></div>
|
|
376
376
|
<div class="ft-ripple--effect"></div>
|
|
377
377
|
</div>
|
|
378
|
-
`}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()}}Co.elementDefinitions={},Co.styles=$o,wo([i.property({type:Boolean})],Co.prototype,"primary",void 0),wo([i.property({type:Boolean})],Co.prototype,"secondary",void 0),wo([i.property({type:Boolean})],Co.prototype,"unbounded",void 0),wo([i.property({type:Boolean})],Co.prototype,"activated",void 0),wo([i.property({type:Boolean})],Co.prototype,"selected",void 0),wo([i.property({type:Boolean})],Co.prototype,"disabled",void 0),wo([i.state()],Co.prototype,"hovered",void 0),wo([i.state()],Co.prototype,"focused",void 0),wo([i.state()],Co.prototype,"pressed",void 0),wo([i.state()],Co.prototype,"rippling",void 0),wo([i.state()],Co.prototype,"originX",void 0),wo([i.state()],Co.prototype,"originY",void 0),wo([i.query(".ft-ripple")],Co.prototype,"ripple",void 0),wo([i.query(".ft-ripple--effect")],Co.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Co),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=""}(No||(No={})),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=""}(So||(So={})),new Map([...["abw"].map((t=>[t,So.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,So.AUDIO])),...["avi"].map((t=>[t,So.AVI])),...["chm","xhs"].map((t=>[t,So.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,So.CODE])),...["csv"].map((t=>[t,So.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,So.DITA])),...["epub"].map((t=>[t,So.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,So.EXCEL])),...["flac"].map((t=>[t,So.FLAC])),...["gif"].map((t=>[t,So.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,So.GZIP])),...["html","htm","xhtml"].map((t=>[t,So.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,So.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,So.JPEG])),...["json"].map((t=>[t,So.JSON])),...["m4a","m4p"].map((t=>[t,So.M4A])),...["mov","qt"].map((t=>[t,So.MOV])),...["mp3"].map((t=>[t,So.MP3])),...["mp4","m4v"].map((t=>[t,So.MP4])),...["ogg","oga"].map((t=>[t,So.OGG])),...["pdf","ps"].map((t=>[t,So.PDF])),...["png"].map((t=>[t,So.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,So.POWERPOINT])),...["rar"].map((t=>[t,So.RAR])),...["stp"].map((t=>[t,So.STP])),...["txt","rtf","md","mdown"].map((t=>[t,So.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,So.VIDEO])),...["wav"].map((t=>[t,So.WAV])),...["wma"].map((t=>[t,So.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,So.WORD])),...["xml","xsl","rdf"].map((t=>[t,So.XML])),...["yaml","yml","x-yaml"].map((t=>[t,So.YAML])),...["zip"].map((t=>[t,So.ZIP]))]);const Io={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ko=e.css`
|
|
378
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,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",o,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 e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Se.elementDefinitions={},Se.styles=Oe,we([i.property({type:Boolean})],Se.prototype,"primary",void 0),we([i.property({type:Boolean})],Se.prototype,"secondary",void 0),we([i.property({type:Boolean})],Se.prototype,"unbounded",void 0),we([i.property({type:Boolean})],Se.prototype,"activated",void 0),we([i.property({type:Boolean})],Se.prototype,"selected",void 0),we([i.property({type:Boolean})],Se.prototype,"disabled",void 0),we([i.state()],Se.prototype,"hovered",void 0),we([i.state()],Se.prototype,"focused",void 0),we([i.state()],Se.prototype,"pressed",void 0),we([i.state()],Se.prototype,"rippling",void 0),we([i.state()],Se.prototype,"originX",void 0),we([i.state()],Se.prototype,"originY",void 0),we([i.query(".ft-ripple")],Se.prototype,"ripple",void 0),we([i.query(".ft-ripple--effect")],Se.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(Se),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=""}($e||($e={})),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=""}(Ne||(Ne={})),new Map([...["abw"].map((t=>[t,Ne.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,Ne.AUDIO])),...["avi"].map((t=>[t,Ne.AVI])),...["chm","xhs"].map((t=>[t,Ne.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,Ne.CODE])),...["csv"].map((t=>[t,Ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ne.DITA])),...["epub"].map((t=>[t,Ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ne.EXCEL])),...["flac"].map((t=>[t,Ne.FLAC])),...["gif"].map((t=>[t,Ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ne.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,Ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ne.JPEG])),...["json"].map((t=>[t,Ne.JSON])),...["m4a","m4p"].map((t=>[t,Ne.M4A])),...["mov","qt"].map((t=>[t,Ne.MOV])),...["mp3"].map((t=>[t,Ne.MP3])),...["mp4","m4v"].map((t=>[t,Ne.MP4])),...["ogg","oga"].map((t=>[t,Ne.OGG])),...["pdf","ps"].map((t=>[t,Ne.PDF])),...["png"].map((t=>[t,Ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ne.POWERPOINT])),...["rar"].map((t=>[t,Ne.RAR])),...["stp"].map((t=>[t,Ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ne.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,Ne.VIDEO])),...["wav"].map((t=>[t,Ne.WAV])),...["wma"].map((t=>[t,Ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ne.YAML])),...["zip"].map((t=>[t,Ne.ZIP]))]);const Ce={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ie=o.css`
|
|
379
379
|
:host, i.ft-icon {
|
|
380
380
|
display: inline-flex;
|
|
381
381
|
align-items: center;
|
|
@@ -384,14 +384,14 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
:host {
|
|
387
|
-
width: ${
|
|
388
|
-
height: ${
|
|
387
|
+
width: ${Ce.size};
|
|
388
|
+
height: ${Ce.size};
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
i.ft-icon {
|
|
392
392
|
width: 100%;
|
|
393
393
|
height: 100%;
|
|
394
|
-
font-size: ${
|
|
394
|
+
font-size: ${Ce.size};
|
|
395
395
|
line-height: 1;
|
|
396
396
|
font-weight: normal;
|
|
397
397
|
text-transform: none;
|
|
@@ -402,33 +402,33 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
402
402
|
text-rendering: auto;
|
|
403
403
|
-webkit-font-smoothing: antialiased;
|
|
404
404
|
-moz-osx-font-smoothing: grayscale;
|
|
405
|
-
vertical-align: ${
|
|
405
|
+
vertical-align: ${Ce.verticalAlign};
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
i.ft-icon.ft-icon--fluid-topics {
|
|
409
|
-
font-family: ${
|
|
409
|
+
font-family: ${Ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
410
410
|
|
|
411
411
|
/* Ugly fix because font is broken */
|
|
412
|
-
font-size: calc(0.75 * ${
|
|
413
|
-
line-height: ${
|
|
412
|
+
font-size: calc(0.75 * ${Ce.size});
|
|
413
|
+
line-height: ${Ce.size};
|
|
414
414
|
position: relative;
|
|
415
415
|
top: -4%;
|
|
416
416
|
justify-content: center;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.ft-icon--file-format {
|
|
420
|
-
font-family: ${
|
|
420
|
+
font-family: ${Ce.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
.ft-icon--material {
|
|
424
|
-
font-family: ${
|
|
424
|
+
font-family: ${Ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
425
425
|
}
|
|
426
|
-
`;var
|
|
426
|
+
`;var ke;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ke||(ke={}));var Ee=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Re extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,e=t!==ke.material||!!this.value;return o.html`
|
|
427
427
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
428
|
-
${
|
|
429
|
-
<slot ?hidden=${
|
|
428
|
+
${n.unsafeHTML(this.resolvedIcon)}
|
|
429
|
+
<slot ?hidden=${e}></slot>
|
|
430
430
|
</i>
|
|
431
|
-
`}get textContent(){var t,
|
|
431
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case ke.file_format:this.resolvedIcon=null!==(t=Ne[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ke.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=$e[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Re.elementDefinitions={},Re.styles=Ie,Ee([i.property()],Re.prototype,"variant",void 0),Ee([i.property()],Re.prototype,"value",void 0),Ee([i.state()],Re.prototype,"resolvedIcon",void 0),Ee([i.query("slot")],Re.prototype,"slottedContent",void 0),e.customElement("ft-icon")(Re);const Ue={labelSize:e.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:e.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:e.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:e.FtCssVariableFactory.extend("--ft-select-selected-option-color","",e.designSystemVariables.colorOnSurface),helperColor:e.FtCssVariableFactory.extend("--ft-select-helper-color","",e.designSystemVariables.colorOnSurfaceMedium),optionsColor:e.FtCssVariableFactory.extend("--ft-select-options-color","",e.designSystemVariables.colorOnSurface),optionsZIndex:e.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system")},We=o.css`
|
|
432
432
|
*:focus {
|
|
433
433
|
outline: none;
|
|
434
434
|
}
|
|
@@ -442,7 +442,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
442
442
|
.ft-select--main-panel {
|
|
443
443
|
position: relative;
|
|
444
444
|
display: flex;
|
|
445
|
-
height: calc(4 * ${
|
|
445
|
+
height: calc(4 * ${Ue.verticalSpacing} + ${Ue.labelSize} + ${Ue.selectedOptionSize});
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
.ft-select--input-panel {
|
|
@@ -451,17 +451,17 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
451
451
|
display: flex;
|
|
452
452
|
align-items: center;
|
|
453
453
|
overflow: hidden;
|
|
454
|
-
padding-left: ${
|
|
455
|
-
padding-right: ${
|
|
454
|
+
padding-left: ${Ue.horizontalSpacing};
|
|
455
|
+
padding-right: ${Ue.horizontalSpacing};
|
|
456
456
|
gap: 8px;
|
|
457
|
-
color: ${
|
|
458
|
-
${
|
|
457
|
+
color: ${Ue.selectedOptionColor};
|
|
458
|
+
${e.setVariable(ue.color,Ue.selectedOptionColor)};
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-select--input-panel,
|
|
462
462
|
.ft-select--option {
|
|
463
|
-
${
|
|
464
|
-
${
|
|
463
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,"0.08")};
|
|
464
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,"0.04")};
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -471,7 +471,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
471
471
|
|
|
472
472
|
.ft-select--disabled .ft-select--input-panel,
|
|
473
473
|
.ft-select--disabled .ft-select--option {
|
|
474
|
-
color: ${
|
|
474
|
+
color: ${Ue.colorOnSurfaceDisabled};
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -480,20 +480,20 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
ft-input-label {
|
|
483
|
-
${
|
|
484
|
-
${
|
|
485
|
-
${
|
|
486
|
-
${
|
|
487
|
-
${
|
|
483
|
+
${e.setVariable(ce.fontSize,Ue.selectedOptionSize)};
|
|
484
|
+
${e.setVariable(ce.raisedFontSize,Ue.labelSize)};
|
|
485
|
+
${e.setVariable(ce.verticalSpacing,Ue.verticalSpacing)};
|
|
486
|
+
${e.setVariable(ce.horizontalSpacing,Ue.horizontalSpacing)};
|
|
487
|
+
${e.setVariable(ce.labelMaxWidth,`calc(100% - ${Ce.size} - 8px)`)};
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
491
|
-
color: ${
|
|
491
|
+
color: ${Ue.colorPrimary};
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
495
|
-
${
|
|
496
|
-
${
|
|
495
|
+
${e.setVariable(ce.borderColor,Ue.colorPrimary)};
|
|
496
|
+
${e.setVariable(ce.textColor,Ue.colorPrimary)};
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-select--selected-option {
|
|
@@ -503,12 +503,12 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
503
503
|
overflow: hidden;
|
|
504
504
|
white-space: nowrap;
|
|
505
505
|
text-overflow: ellipsis;
|
|
506
|
-
${
|
|
507
|
-
${
|
|
506
|
+
${e.setVariable(kt.fontSize,Ue.selectedOptionSize)};
|
|
507
|
+
${e.setVariable(kt.lineHeight,Ue.selectedOptionSize)};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.ft-select--in-error .ft-select--selected-option {
|
|
511
|
-
color: ${
|
|
511
|
+
color: ${Ue.colorError};
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
ft-icon {
|
|
@@ -520,16 +520,16 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.ft-select--filled .ft-select--input-panel {
|
|
523
|
-
border-radius: ${
|
|
523
|
+
border-radius: ${Ue.borderRadiusS} ${Ue.borderRadiusS} 0 0;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
527
527
|
align-self: stretch;
|
|
528
|
-
padding-top: calc(${
|
|
528
|
+
padding-top: calc(${Ue.labelSize} + 2 * ${Ue.verticalSpacing});
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.ft-select--outlined .ft-select--input-panel {
|
|
532
|
-
border-radius: ${
|
|
532
|
+
border-radius: ${Ue.borderRadiusS};
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
.ft-select--options {
|
|
@@ -538,10 +538,10 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
538
538
|
top: 100%;
|
|
539
539
|
left: 0;
|
|
540
540
|
right: 0;
|
|
541
|
-
color: ${
|
|
542
|
-
background: ${
|
|
543
|
-
z-index: ${
|
|
544
|
-
box-shadow: ${
|
|
541
|
+
color: ${Ue.optionsColor};
|
|
542
|
+
background: ${Ue.colorSurface};
|
|
543
|
+
z-index: ${Ue.optionsZIndex};
|
|
544
|
+
box-shadow: ${Ue.elevation02};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.ft-select--fixed .ft-select--options {
|
|
@@ -552,13 +552,13 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
552
552
|
|
|
553
553
|
.ft-select--options-displayed .ft-select--options {
|
|
554
554
|
display: block;
|
|
555
|
-
max-height: ${
|
|
555
|
+
max-height: ${Ue.optionsHeight};
|
|
556
556
|
overflow-y: auto;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
.ft-select--option {
|
|
560
560
|
position: relative;
|
|
561
|
-
padding: 4px ${
|
|
561
|
+
padding: 4px ${Ue.horizontalSpacing};
|
|
562
562
|
min-height: 32px;
|
|
563
563
|
display: flex;
|
|
564
564
|
align-items: center;
|
|
@@ -570,21 +570,21 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.ft-select--helper-text {
|
|
573
|
-
padding: 0 ${
|
|
574
|
-
color: ${
|
|
573
|
+
padding: 0 ${Ue.horizontalSpacing};
|
|
574
|
+
color: ${Ue.helperColor};
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
.ft-select--in-error .ft-select--helper-text {
|
|
578
|
-
color: ${
|
|
578
|
+
color: ${Ue.colorError};
|
|
579
579
|
}
|
|
580
|
-
`;var
|
|
581
|
-
<div class="${
|
|
580
|
+
`;var Le=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ze extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return o.html``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ze.elementDefinitions={},Le([i.property({type:String})],ze.prototype,"label",void 0),Le([i.property({type:Object,converter:t=>t})],ze.prototype,"value",void 0),Le([i.property({type:Boolean,reflect:!0})],ze.prototype,"selected",void 0);class Ze extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,i,n,l;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions;const f=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return o.html`
|
|
581
|
+
<div class="${a.classMap(p)}" part="container">
|
|
582
582
|
<div class="ft-select--main-panel" part="main-panel">
|
|
583
583
|
<ft-input-label text="${this.label}"
|
|
584
584
|
part="label"
|
|
585
585
|
?disabled=${c}
|
|
586
586
|
?outlined=${this.outlined}
|
|
587
|
-
?raised=${
|
|
587
|
+
?raised=${f||s}
|
|
588
588
|
?error=${this.error}
|
|
589
589
|
></ft-input-label>
|
|
590
590
|
<div class="ft-select--input-panel"
|
|
@@ -597,7 +597,7 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
597
597
|
aria-expanded="${s}">
|
|
598
598
|
<ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
|
|
599
599
|
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
600
|
-
${null!==(l=null===(
|
|
600
|
+
${null!==(l=null===(n=this.selectedOption)||void 0===n?void 0:n.label)&&void 0!==l?l:""}
|
|
601
601
|
</ft-typography>
|
|
602
602
|
<ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
|
|
603
603
|
</div>
|
|
@@ -608,30 +608,30 @@ const j=Symbol.for(""),P=t=>{if(t?.r===j)return t?._$litStatic$},M=t=>({_$litSta
|
|
|
608
608
|
${r.repeat(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
609
609
|
</div>
|
|
610
610
|
</div>
|
|
611
|
-
${this.helper?
|
|
611
|
+
${this.helper?o.html`
|
|
612
612
|
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
613
613
|
</ft-typography>`:void 0}
|
|
614
614
|
</div>
|
|
615
615
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
616
616
|
@option-change=${this.updateOptionsFromSlot}
|
|
617
617
|
></slot>
|
|
618
|
-
`}renderOption(t){let
|
|
619
|
-
<div class="${
|
|
618
|
+
`}renderOption(t){let e=this.selectedOption===t;const i={"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0};return o.html`
|
|
619
|
+
<div class="${a.classMap(i)}"
|
|
620
620
|
part="option"
|
|
621
621
|
tabindex="0"
|
|
622
622
|
data-value="${t.value}"
|
|
623
|
-
@keydown=${
|
|
623
|
+
@keydown=${e=>this.onOptionKeyDown(e,t)}
|
|
624
624
|
@click=${()=>this.selectOption(t)}>
|
|
625
|
-
<ft-ripple ?primary=${
|
|
625
|
+
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
626
626
|
<span>${t.label}</span>
|
|
627
627
|
</div>
|
|
628
|
-
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var o
|
|
628
|
+
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var o,i;if(!e.deepEqual(null===(o=this.selectedOption)||void 0===o?void 0:o.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ze.elementDefinitions={"ft-input-label":de,"ft-typography":se,"ft-ripple":Se,"ft-icon":Re},Ze.styles=[te,ee,We],Le([i.property({type:String})],Ze.prototype,"label",void 0),Le([i.property({type:String})],Ze.prototype,"helper",void 0),Le([i.property({type:Boolean})],Ze.prototype,"outlined",void 0),Le([i.property({type:Boolean})],Ze.prototype,"disabled",void 0),Le([i.property({type:Boolean})],Ze.prototype,"error",void 0),Le([i.property({type:Boolean})],Ze.prototype,"fixedMenuPosition",void 0),Le([i.property({type:Array})],Ze.prototype,"options",void 0),Le([i.state()],Ze.prototype,"selectedOption",void 0),Le([i.state()],Ze.prototype,"optionsDisplayed",void 0),Le([i.state()],Ze.prototype,"focusOptions",void 0),Le([i.query(".ft-select")],Ze.prototype,"container",void 0),Le([i.query(".ft-select--options")],Ze.prototype,"optionsMenu",void 0),Le([i.query(".ft-select--input-panel")],Ze.prototype,"mainPanel",void 0),Le([i.query(".ft-select--option:first-child")],Ze.prototype,"firstOption",void 0),Le([i.query(".ft-select--option:focus")],Ze.prototype,"focusedOption",void 0),Le([i.query(".ft-select--option.ft-select--option-selected")],Ze.prototype,"selectedOptionElement",void 0),Le([i.query(".ft-select--option:last-child")],Ze.prototype,"lastOption",void 0),Le([i.query("slot")],Ze.prototype,"optionsSlot",void 0),e.customElement("ft-select")(Ze),e.customElement("ft-select-option")(ze);
|
|
629
629
|
/**
|
|
630
630
|
* @license
|
|
631
631
|
* Copyright 2018 Google LLC
|
|
632
632
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
633
633
|
*/
|
|
634
|
-
const
|
|
634
|
+
const Ke={fontSize:e.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:e.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:e.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:e.FtCssVariableFactory.extend("--ft-text-field-helper-color","",e.designSystemVariables.colorOnSurfaceMedium),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),colorError:e.FtCssVariableFactory.external(e.designSystemVariables.colorError,"Design system"),prefixColor:e.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",e.designSystemVariables.colorOnSurfaceMedium),iconColor:e.FtCssVariableFactory.extend("--ft-text-field-icon-color","",e.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:e.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),elevation02:e.FtCssVariableFactory.external(e.designSystemVariables.elevation02,"Design system"),suggestSize:e.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},De=o.css`
|
|
635
635
|
*:focus {
|
|
636
636
|
outline: none;
|
|
637
637
|
}
|
|
@@ -644,16 +644,16 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
ft-input-label {
|
|
647
|
-
${
|
|
648
|
-
${
|
|
649
|
-
${
|
|
650
|
-
${
|
|
647
|
+
${e.setVariable(ce.fontSize,Ke.fontSize)};
|
|
648
|
+
${e.setVariable(ce.raisedFontSize,Ke.labelSize)};
|
|
649
|
+
${e.setVariable(ce.verticalSpacing,Ke.verticalSpacing)};
|
|
650
|
+
${e.setVariable(ce.horizontalSpacing,Ke.horizontalSpacing)};
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.ft-text-field--main-panel {
|
|
654
654
|
position: relative;
|
|
655
655
|
display: flex;
|
|
656
|
-
height: calc(4 * ${
|
|
656
|
+
height: calc(4 * ${Ke.verticalSpacing} + ${Ke.labelSize} + ${Ke.fontSize});
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
.ft-text-field--input-panel {
|
|
@@ -662,24 +662,24 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
662
662
|
display: flex;
|
|
663
663
|
align-items: center;
|
|
664
664
|
overflow: hidden;
|
|
665
|
-
padding: 0 ${
|
|
665
|
+
padding: 0 ${Ke.horizontalSpacing};
|
|
666
666
|
|
|
667
|
-
${
|
|
668
|
-
${
|
|
667
|
+
${e.setVariable(kt.fontSize,Ke.fontSize)};
|
|
668
|
+
${e.setVariable(kt.lineHeight,Ke.fontSize)};
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
.ft-text-field--input-panel ft-ripple {
|
|
672
|
-
${
|
|
673
|
-
${
|
|
672
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,"0.08")};
|
|
673
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,"0.04")};
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
677
677
|
align-items: flex-end;
|
|
678
|
-
padding: 0 ${
|
|
678
|
+
padding: 0 ${Ke.horizontalSpacing} ${Ke.verticalSpacing} ${Ke.horizontalSpacing};
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
.ft-text-field--prefix {
|
|
682
|
-
color: ${
|
|
682
|
+
color: ${Ke.prefixColor};
|
|
683
683
|
margin-right: 2px;
|
|
684
684
|
flex-shrink: 1;
|
|
685
685
|
overflow: hidden;
|
|
@@ -698,15 +698,15 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
698
698
|
flex-shrink: 1;
|
|
699
699
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
700
700
|
|
|
701
|
-
color: ${
|
|
702
|
-
padding: calc(2 * ${
|
|
701
|
+
color: ${Ke.colorOnSurface};
|
|
702
|
+
padding: calc(2 * ${Ke.verticalSpacing}) 0;
|
|
703
703
|
border: none;
|
|
704
704
|
background: none;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
708
708
|
padding-bottom: 0;
|
|
709
|
-
padding-top: calc(${
|
|
709
|
+
padding-top: calc(${Ke.labelSize} + 2 * ${Ke.verticalSpacing});
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -715,37 +715,37 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
.ft-text-field--disabled .ft-text-field--input {
|
|
718
|
-
color: ${
|
|
718
|
+
color: ${Ke.colorOnSurfaceDisabled};
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
722
|
-
${
|
|
723
|
-
${
|
|
722
|
+
${e.setVariable(ce.borderColor,Ke.colorPrimary)};
|
|
723
|
+
${e.setVariable(ce.textColor,Ke.colorPrimary)};
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
727
|
-
border-radius: ${
|
|
727
|
+
border-radius: ${Ke.borderRadiusS} ${Ke.borderRadiusS} 0 0;
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
731
|
-
border-radius: ${
|
|
731
|
+
border-radius: ${Ke.borderRadiusS};
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
.ft-text-field--helper-text {
|
|
735
|
-
padding: 0 12px 0 ${
|
|
736
|
-
color: ${
|
|
735
|
+
padding: 0 12px 0 ${Ke.horizontalSpacing};
|
|
736
|
+
color: ${Ke.helperColor};
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
.ft-text-field--in-error .ft-text-field--input,
|
|
740
740
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
741
741
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
742
|
-
color: ${
|
|
742
|
+
color: ${Ke.colorError};
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
.ft-text-field--icon {
|
|
746
746
|
align-self: center;
|
|
747
747
|
margin-left: 8px;
|
|
748
|
-
color: ${
|
|
748
|
+
color: ${Ke.iconColor};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-text-field--container {
|
|
@@ -758,13 +758,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
758
758
|
position: absolute;
|
|
759
759
|
left: 0;
|
|
760
760
|
right: 0;
|
|
761
|
-
z-index: ${
|
|
762
|
-
background: ${
|
|
763
|
-
border: 1px solid ${
|
|
764
|
-
border-radius: 0 0 ${
|
|
765
|
-
box-shadow: ${
|
|
761
|
+
z-index: ${Ke.floatingZIndex};
|
|
762
|
+
background: ${Ke.colorSurface};
|
|
763
|
+
border: 1px solid ${Ke.colorOutline};
|
|
764
|
+
border-radius: 0 0 ${Ke.borderRadiusS} ${Ke.borderRadiusS};
|
|
765
|
+
box-shadow: ${Ke.elevation02};
|
|
766
766
|
outline: none;
|
|
767
|
-
max-height: ${
|
|
767
|
+
max-height: ${Ke.suggestSize};
|
|
768
768
|
overflow-y: auto;
|
|
769
769
|
}
|
|
770
770
|
|
|
@@ -781,14 +781,14 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
.ft-text-field--with-icon {
|
|
784
|
-
${
|
|
784
|
+
${e.setVariable(ce.labelMaxWidth,`calc(100% - ${Ce.size} - ${ce.horizontalSpacing})`)};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
.ft-text-field--with-password ft-icon:hover {
|
|
788
788
|
cursor: pointer;
|
|
789
789
|
}
|
|
790
|
-
`;var
|
|
791
|
-
<div class="${
|
|
790
|
+
`;var Be=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fe extends(e.toFtFormComponent(e.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=$e.EYE_SLASH,this.passwordRevealedIcon=$e.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return o.html`
|
|
791
|
+
<div class="${a.classMap(t)}">
|
|
792
792
|
<div class="ft-text-field--main-panel"
|
|
793
793
|
@keydown=${this.handleKeyboardNavigation}
|
|
794
794
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -798,14 +798,14 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
798
798
|
?raised=${this.focused||""!=this.value}
|
|
799
799
|
?error=${this.error}></ft-input-label>
|
|
800
800
|
<div class="ft-text-field--input-panel">
|
|
801
|
-
${this.outlined?
|
|
801
|
+
${this.outlined?o.nothing:o.html`
|
|
802
802
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
803
803
|
`}
|
|
804
|
-
${this.prefix?
|
|
804
|
+
${this.prefix?o.html`
|
|
805
805
|
<ft-typography class="ft-text-field--prefix" vaiant="body1">
|
|
806
806
|
${this.prefix}
|
|
807
807
|
</ft-typography>
|
|
808
|
-
`:
|
|
808
|
+
`:o.nothing}
|
|
809
809
|
<input type=${this.password&&this.hidePassword?"password":"text"}
|
|
810
810
|
maxlength=${(t=>t??k)(this.maxLength||void 0)}
|
|
811
811
|
aria-label="${this.label}"
|
|
@@ -822,23 +822,23 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
822
822
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
823
823
|
</div>
|
|
824
824
|
</div>
|
|
825
|
-
${this.helper?
|
|
825
|
+
${this.helper?o.html`
|
|
826
826
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
827
827
|
${this.helper}
|
|
828
828
|
</ft-typography>
|
|
829
|
-
`:
|
|
829
|
+
`:o.nothing}
|
|
830
830
|
</div>
|
|
831
|
-
`}renderPasswordIcon(){return
|
|
831
|
+
`}renderPasswordIcon(){return o.html`
|
|
832
832
|
<ft-icon class="ft-text-field--icon"
|
|
833
833
|
.variant=${this.iconVariant}
|
|
834
834
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
835
835
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
836
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
836
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?o.html`
|
|
837
837
|
<ft-icon class="ft-text-field--icon"
|
|
838
838
|
.variant=${this.iconVariant}
|
|
839
839
|
.value=${this.icon}
|
|
840
840
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
841
|
-
`:
|
|
841
|
+
`:o.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}Fe.elementDefinitions={"ft-input-label":de,"ft-ripple":Se,"ft-typography":se,"ft-icon":Re},Fe.styles=[Qt,De],Be([i.property()],Fe.prototype,"label",void 0),Be([i.property({noAccessor:!0})],Fe.prototype,"value",null),Be([i.state()],Fe.prototype,"dispatchedValue",void 0),Be([i.property()],Fe.prototype,"helper",void 0),Be([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Be([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Be([i.property({type:Boolean})],Fe.prototype,"error",void 0),Be([i.property()],Fe.prototype,"prefix",void 0),Be([i.property()],Fe.prototype,"icon",void 0),Be([i.property()],Fe.prototype,"passwordHiddenIcon",void 0),Be([i.property()],Fe.prototype,"passwordRevealedIcon",void 0),Be([i.property()],Fe.prototype,"iconVariant",void 0),Be([i.property({type:Boolean})],Fe.prototype,"filterSuggestions",void 0),Be([i.property({type:Number})],Fe.prototype,"maxLength",void 0),Be([i.property({type:Boolean})],Fe.prototype,"password",void 0),Be([i.state()],Fe.prototype,"focused",void 0),Be([i.state()],Fe.prototype,"hidePassword",void 0),Be([i.state()],Fe.prototype,"suggestionsOnTop",void 0),Be([i.state()],Fe.prototype,"hideSuggestions",void 0),Be([i.state()],Fe.prototype,"visibleSuggestions",void 0),Be([i.query(".ft-text-field--main-panel")],Fe.prototype,"mainPanel",void 0),Be([i.query(".ft-text-field--input")],Fe.prototype,"input",void 0),Be([i.query(".ft-text-field--suggestions")],Fe.prototype,"suggestionsContainer",void 0),Be([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],Fe.prototype,"suggestions",void 0);const Ae=o.css`
|
|
842
842
|
.ft-text-field-suggestion {
|
|
843
843
|
position: relative;
|
|
844
844
|
padding: 8px 16px;
|
|
@@ -863,7 +863,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
863
863
|
slot {
|
|
864
864
|
pointer-events: none;
|
|
865
865
|
}
|
|
866
|
-
`;var
|
|
866
|
+
`;var He=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ge extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Pe extends e.FtLitElement{render(){return o.html`
|
|
867
867
|
<div class="ft-text-field-suggestion"
|
|
868
868
|
tabindex="-1"
|
|
869
869
|
@keydown=${this.onKeyDown}
|
|
@@ -875,7 +875,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
875
875
|
<slot></slot>
|
|
876
876
|
</ft-typography>
|
|
877
877
|
</div>
|
|
878
|
-
`}focus(t){var
|
|
878
|
+
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Ge(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}Pe.elementDefinitions={"ft-ripple":Se,"ft-typography":se,"ft-icon":Re},Pe.styles=Ae,He([i.property()],Pe.prototype,"value",void 0),He([i.query(".ft-text-field-suggestion")],Pe.prototype,"container",void 0),He([i.queryAssignedNodes()],Pe.prototype,"assignedNodes",void 0),e.customElement("ft-text-field")(Fe),e.customElement("ft-text-field-suggestion")(Pe);const je={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Me=o.css`
|
|
879
879
|
:host {
|
|
880
880
|
line-height: 0;
|
|
881
881
|
}
|
|
@@ -884,8 +884,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
884
884
|
display: inline-block;
|
|
885
885
|
position: relative;
|
|
886
886
|
|
|
887
|
-
width: ${
|
|
888
|
-
height: ${
|
|
887
|
+
width: ${je.size};
|
|
888
|
+
height: ${je.size};
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
.ft-loader div {
|
|
@@ -894,7 +894,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
894
894
|
width: 25%;
|
|
895
895
|
height: 25%;
|
|
896
896
|
border-radius: 50%;
|
|
897
|
-
background: ${
|
|
897
|
+
background: ${je.color};
|
|
898
898
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
899
899
|
}
|
|
900
900
|
|
|
@@ -941,10 +941,10 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
941
941
|
transform: translate(0, 0);
|
|
942
942
|
}
|
|
943
943
|
100% {
|
|
944
|
-
transform: translate(calc(0.35 * ${
|
|
944
|
+
transform: translate(calc(0.35 * ${je.size}), 0);
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
|
-
`,
|
|
947
|
+
`,Te=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),_e={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Te,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Vt.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Te),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Ve=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Ye={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Ve,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ve)},Xe=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),qe=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Je=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qe=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),to=[o.css`
|
|
948
948
|
:host {
|
|
949
949
|
display: inline-block;
|
|
950
950
|
max-width: 100%;
|
|
@@ -955,7 +955,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
955
955
|
box-shadow: 0px 0px 0px transparent;
|
|
956
956
|
border: 0px solid transparent;
|
|
957
957
|
text-shadow: 0px 0px 0px transparent;
|
|
958
|
-
font-size: ${
|
|
958
|
+
font-size: ${_e.fontSize};
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
button:hover {
|
|
@@ -984,31 +984,31 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
984
984
|
border: none;
|
|
985
985
|
pointer-events: auto;
|
|
986
986
|
|
|
987
|
-
--ft-button-internal-line-height: max(calc(${
|
|
988
|
-
--ft-button-internal-color: ${
|
|
989
|
-
${
|
|
990
|
-
${
|
|
987
|
+
--ft-button-internal-line-height: max(calc(${_e.fontSize} + 2px), ${_e.iconSize});
|
|
988
|
+
--ft-button-internal-color: ${_e.color};
|
|
989
|
+
${e.setVariable(Ce.size,_e.iconSize)};
|
|
990
|
+
${e.setVariable(ue.color,_e.rippleColor)};
|
|
991
991
|
|
|
992
|
-
border-radius: ${
|
|
993
|
-
padding: ${
|
|
994
|
-
background-color: ${
|
|
992
|
+
border-radius: ${_e.borderRadius};
|
|
993
|
+
padding: ${_e.verticalPadding} ${_e.horizontalPadding};
|
|
994
|
+
background-color: ${_e.backgroundColor};
|
|
995
995
|
color: var(--ft-button-internal-color);
|
|
996
996
|
-webkit-mask-image: radial-gradient(white, black);
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
.ft-button.ft-button--outlined {
|
|
1000
1000
|
border: 1px solid var(--ft-button-internal-color);
|
|
1001
|
-
padding: calc(${
|
|
1001
|
+
padding: calc(${_e.verticalPadding} - 1px) calc(${_e.horizontalPadding} - 1px);
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
1004
|
.ft-button.ft-button--dense {
|
|
1005
|
-
padding: ${
|
|
1006
|
-
border-radius: ${
|
|
1007
|
-
gap: ${
|
|
1005
|
+
padding: ${qe} ${Je};
|
|
1006
|
+
border-radius: ${Xe};
|
|
1007
|
+
gap: ${Qe};
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1011
|
-
padding: calc(${
|
|
1011
|
+
padding: calc(${qe} - 1px) calc(${Je} - 1px);
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
.ft-button:not([disabled]):hover {
|
|
@@ -1016,22 +1016,22 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
1018
|
.ft-button--round {
|
|
1019
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1019
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_e.verticalPadding});
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
.ft-button--round.ft-button--dense {
|
|
1023
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
1023
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qe});
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
.ft-button[disabled] {
|
|
1027
1027
|
filter: grayscale(1);
|
|
1028
|
-
opacity: ${
|
|
1028
|
+
opacity: ${_e.opacityDisabled};
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
.ft-button.ft-button--primary {
|
|
1032
|
-
background-color: ${
|
|
1033
|
-
--ft-button-internal-color: ${
|
|
1034
|
-
${
|
|
1032
|
+
background-color: ${Ye.backgroundColor};
|
|
1033
|
+
--ft-button-internal-color: ${Ye.color};
|
|
1034
|
+
${e.setVariable(ue.color,Ye.rippleColor)};
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
.ft-button:focus {
|
|
@@ -1044,13 +1044,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1044
1044
|
white-space: nowrap;
|
|
1045
1045
|
text-overflow: ellipsis;
|
|
1046
1046
|
display: block;
|
|
1047
|
-
margin: 0 ${
|
|
1048
|
-
${
|
|
1049
|
-
${
|
|
1047
|
+
margin: 0 ${_e.iconPadding};
|
|
1048
|
+
${e.setVariable(Vt.fontSize,"1em")};
|
|
1049
|
+
${e.setVariable(Vt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
.ft-button--dense .ft-button--label {
|
|
1053
|
-
margin: 0 ${
|
|
1053
|
+
margin: 0 ${Qe};
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
.ft-button--label[hidden] {
|
|
@@ -1063,13 +1063,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
1065
|
.ft-button--label[hidden] + ft-icon {
|
|
1066
|
-
margin: 0 calc(${
|
|
1067
|
-
padding: 0 ${
|
|
1066
|
+
margin: 0 calc(${_e.horizontalPadding} * -1);
|
|
1067
|
+
padding: 0 ${_e.verticalPadding};
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
1071
|
-
margin: 0 calc(${
|
|
1072
|
-
padding: 0 ${
|
|
1071
|
+
margin: 0 calc(${Je} * -1);
|
|
1072
|
+
padding: 0 ${qe};
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -1078,10 +1078,10 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
1080
|
ft-loader {
|
|
1081
|
-
${
|
|
1082
|
-
${
|
|
1081
|
+
${e.setVariable(je.size,_e.iconSize)};
|
|
1082
|
+
${e.setVariable(je.color,"var(--ft-button-internal-color)")};
|
|
1083
1083
|
}
|
|
1084
|
-
`,
|
|
1084
|
+
`,e.noTextSelect],eo=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),oo=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),io=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ro=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),no=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),ao=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),lo=o.css`
|
|
1085
1085
|
.ft-tooltip--container {
|
|
1086
1086
|
display: block;
|
|
1087
1087
|
}
|
|
@@ -1096,21 +1096,21 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1096
1096
|
box-sizing: border-box;
|
|
1097
1097
|
overflow: hidden;
|
|
1098
1098
|
width: max-content;
|
|
1099
|
-
max-width: ${
|
|
1099
|
+
max-width: ${ao};
|
|
1100
1100
|
text-align: center;
|
|
1101
|
-
padding: ${
|
|
1102
|
-
z-index: ${
|
|
1101
|
+
padding: ${eo};
|
|
1102
|
+
z-index: ${ro};
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
.ft-tooltip--content {
|
|
1106
1106
|
padding: 4px 8px;
|
|
1107
|
-
border-radius: ${
|
|
1108
|
-
background-color: ${
|
|
1109
|
-
color: ${
|
|
1107
|
+
border-radius: ${no};
|
|
1108
|
+
background-color: ${io};
|
|
1109
|
+
color: ${oo};
|
|
1110
1110
|
position: relative;
|
|
1111
1111
|
word-break: break-word;
|
|
1112
1112
|
}
|
|
1113
|
-
`;var ce=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 pe 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`
|
|
1113
|
+
`,so=["start","end"],co=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+so[0],e+"-"+so[1])),[]),fo=Math.min,po=Math.max,ho=Math.round,uo=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},yo={start:"end",end:"start"};function bo(t,e,o){return po(t,fo(e,o))}function mo(t,e){return"function"==typeof t?t(e):t}function xo(t){return t.split("-")[0]}function vo(t){return t.split("-")[1]}function Oo(t){return"x"===t?"y":"x"}function $o(t){return"y"===t?"height":"width"}function No(t){return["top","bottom"].includes(xo(t))?"y":"x"}function wo(t){return Oo(No(t))}function So(t){return t.replace(/left|right|bottom|top/g,(t=>go[t]))}function Co(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Io(t,e,o){let{reference:i,floating:r}=t;const n=No(e),a=wo(e),l=$o(a),s=xo(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(vo(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function ko(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=mo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Co(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...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=Co(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Eo(t,e,o){return(t?[...o.filter((e=>vo(e)===t)),...o.filter((e=>vo(e)!==t))]:o.filter((t=>xo(t)===t))).filter((o=>!t||(vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>yo[t]))}(o)!==o)))}const Ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=co,autoAlignment:h=!0,...u}=mo(t,e),g=void 0!==p||d===co?Eo(p||null,h,d):d,y=await ko(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=vo(t),r=wo(t),n=$o(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=So(a)),[a,So(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[xo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],$=g[b+1];if($)return{data:{index:b+1,overflows:O},reset:{placement:$}};const N=O.map((t=>{const e=vo(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,vo(t[0])?2:3).every((t=>t<=0)))),S=(null==(r=w[0])?void 0:r[0])||N[0][0];return S!==l?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}};function Uo(t){return zo(t)?(t.nodeName||"").toLowerCase():"#document"}function Wo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Lo(t){var e;return null==(e=(zo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function zo(t){return t instanceof Node||t instanceof Wo(t).Node}function Zo(t){return t instanceof Element||t instanceof Wo(t).Element}function Ko(t){return t instanceof HTMLElement||t instanceof Wo(t).HTMLElement}function Do(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wo(t).ShadowRoot)}function Bo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fo(t){return["table","td","th"].includes(Uo(t))}function Ao(t){const e=Ho(),o=Po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Go(t){return["html","body","#document"].includes(Uo(t))}function Po(t){return Wo(t).getComputedStyle(t)}function jo(t){return Zo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if("html"===Uo(t))return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||Lo(t);return Do(e)?e.host:e}function To(t){const e=Mo(t);return Go(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ko(e)&&Bo(e)?e:To(e)}function _o(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=To(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wo(r);return n?e.concat(a,a.visualViewport||[],Bo(r)?r:[],a.frameElement&&o?_o(a.frameElement):[]):e.concat(r,_o(r,[],o))}function Vo(t){const e=Po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ko(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=ho(o)!==n||ho(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Yo(t){return Zo(t)?t:t.contextElement}function Xo(t){const e=Yo(t);if(!Ko(e))return uo(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Vo(e);let a=(n?ho(o.width):o.width)/i,l=(n?ho(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const qo=uo(0);function Jo(t){const e=Wo(t);return Ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:qo}function Qo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Yo(t);let a=uo(1);e&&(i?Zo(i)&&(a=Xo(i)):a=Xo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wo(t))&&e}(n,o,i)?Jo(n):uo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Wo(n),e=i&&Zo(i)?Wo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xo(o),e=o.getBoundingClientRect(),i=Po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,o=Wo(o).frameElement}}return Co({width:f,height:p,x:s,y:c})}function ti(t){return Qo(Lo(t)).left+jo(t).scrollLeft}function ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wo(t),i=Lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ho();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=Lo(t),o=jo(t),i=t.ownerDocument.body,r=po(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=po(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ti(t);const l=-o.scrollTop;return"rtl"===Po(i).direction&&(a+=po(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Lo(t));else if(Zo(e))i=function(t,e){const o=Qo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ko(t)?Xo(t):uo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Jo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Co(i)}function oi(t,e){const o=Mo(t);return!(o===e||!Zo(o)||Go(o))&&("fixed"===Po(o).position||oi(o,e))}function ii(t,e,o){const i=Ko(e),r=Lo(e),n="fixed"===o,a=Qo(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=uo(0);if(i||!i&&!n)if(("body"!==Uo(e)||Bo(r))&&(l=jo(e)),i){const t=Qo(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=ti(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function ri(t,e){return Ko(t)&&"fixed"!==Po(t).position?e?e(t):t.offsetParent:null}function ni(t,e){const o=Wo(t);if(!Ko(t))return o;let i=ri(t,e);for(;i&&Fo(i)&&"static"===Po(i).position;)i=ri(i,e);return i&&("html"===Uo(i)||"body"===Uo(i)&&"static"===Po(i).position&&!Ao(i))?o:i||function(t){let e=Mo(t);for(;Ko(e)&&!Go(e);){if(Ao(e))return e;e=Mo(e)}return null}(t)||o}const ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ko(o),n=Lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=uo(1);const s=uo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Uo(o)||Bo(n))&&(a=jo(o)),Ko(o))){const t=Qo(o);l=Xo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Lo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=_o(t,[],!1).filter((t=>Zo(t)&&"body"!==Uo(t))),r=null;const n="fixed"===Po(t).position;let a=n?Mo(t):t;for(;Zo(a)&&!Go(a);){const e=Po(a),o=Ao(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Bo(a)&&!o&&oi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=ei(e,o,r);return t.top=po(i.top,t.top),t.right=fo(i.right,t.right),t.bottom=fo(i.bottom,t.bottom),t.left=po(i.left,t.left),t}),ei(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:ni,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ni,n=this.getDimensions;return{reference:ii(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Vo(t)},getScale:Xo,isElement:Zo,isRTL:function(t){return"rtl"===Po(t).direction}},li=(t,e,o)=>{const i=new Map,r={platform:ai,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Io(c,i,s),d=i,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Io(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var si=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ci extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
1114
1114
|
<div part="container"
|
|
1115
1115
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1116
1116
|
@mouseenter=${this.onHover}
|
|
@@ -1128,37 +1128,37 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1128
1128
|
</div>
|
|
1129
1129
|
</div>
|
|
1130
1130
|
</div>
|
|
1131
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
1131
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=mo(t,e),c={x:o,y:i},f=await ko(e,s),p=No(xo(r)),d=Oo(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=bo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=bo(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...e,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),Ro({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ci.elementDefinitions={"ft-typography":se},ci.styles=lo,si([i.property()],ci.prototype,"text",void 0),si([i.property({type:Boolean})],ci.prototype,"manual",void 0),si([i.property({type:Boolean})],ci.prototype,"inline",void 0),si([i.property({type:Number})],ci.prototype,"delay",void 0),si([i.property()],ci.prototype,"position",void 0),si([i.queryAssignedNodes()],ci.prototype,"slotNodes",void 0),si([i.query(".ft-tooltip--container")],ci.prototype,"container",void 0),si([i.query(".ft-tooltip")],ci.prototype,"tooltip",void 0),si([i.query(".ft-tooltip--content")],ci.prototype,"tooltipContent",void 0),si([i.state()],ci.prototype,"visible",void 0),si([i.eventOptions({passive:!0})],ci.prototype,"onTouch",null),si([i.eventOptions({passive:!0})],ci.prototype,"onHover",null),si([i.eventOptions({passive:!0})],ci.prototype,"onOut",null),e.customElement("ft-tooltip")(ci);class fi extends e.FtLitElement{render(){return o.html`
|
|
1132
1132
|
<div class="ft-loader">
|
|
1133
1133
|
<div></div>
|
|
1134
1134
|
<div></div>
|
|
1135
1135
|
<div></div>
|
|
1136
1136
|
<div></div>
|
|
1137
1137
|
</div>
|
|
1138
|
-
`}}
|
|
1138
|
+
`}}fi.styles=Me,e.customElement("ft-loader")(fi);var pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class di extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(o.html`
|
|
1139
1139
|
<button part="button"
|
|
1140
|
-
class="${
|
|
1140
|
+
class="${a.classMap(this.buttonClasses)}"
|
|
1141
1141
|
aria-label="${this.getLabel()}"
|
|
1142
1142
|
?disabled=${this.isDisabled()}>
|
|
1143
1143
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
1144
1144
|
<ft-typography part="label"
|
|
1145
1145
|
variant=${this.typographyVariant}
|
|
1146
1146
|
element="span"
|
|
1147
|
-
class="ft-button--label ${
|
|
1147
|
+
class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
1148
1148
|
?hidden=${!this.hasTextContent()}>
|
|
1149
1149
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1150
1150
|
</ft-typography>
|
|
1151
1151
|
${this.resolveIcon()}
|
|
1152
1152
|
</button>
|
|
1153
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
1153
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?o.html`
|
|
1154
1154
|
<ft-tooltip part="tooltip"
|
|
1155
1155
|
text="${this.getLabel()}"
|
|
1156
1156
|
position="${this.tooltipPosition}">
|
|
1157
1157
|
${t}
|
|
1158
1158
|
</ft-tooltip>
|
|
1159
|
-
`:t}resolveIcon(){return this.loading?
|
|
1160
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
1161
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
1159
|
+
`:t}resolveIcon(){return this.loading?o.html`
|
|
1160
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
|
|
1161
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}di.elementDefinitions={"ft-ripple":Se,"ft-tooltip":ci,"ft-typography":se,"ft-icon":Re,"ft-loader":fi},pi([i.property({type:String,reflect:!0})],di.prototype,"role",void 0),pi([i.property()],di.prototype,"type",void 0),pi([i.property({type:Boolean})],di.prototype,"disabled",void 0),pi([i.property()],di.prototype,"label",void 0),pi([i.property()],di.prototype,"icon",void 0),pi([i.property()],di.prototype,"iconVariant",void 0),pi([i.property({type:Boolean})],di.prototype,"trailingIcon",void 0),pi([i.property({type:Boolean})],di.prototype,"loading",void 0),pi([i.property()],di.prototype,"tooltipPosition",void 0),pi([i.property({type:Boolean})],di.prototype,"hideTooltip",void 0),pi([i.property({type:Boolean})],di.prototype,"forceTooltip",void 0),pi([i.query(".ft-button")],di.prototype,"button",void 0),pi([i.query(".ft-button--label slot")],di.prototype,"slottedContent",void 0);var hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ui extends di{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"}}ui.styles=[e.safariEllipsisFix,to],hi([i.property({type:Boolean})],ui.prototype,"primary",void 0),hi([i.property({type:Boolean})],ui.prototype,"outlined",void 0),hi([i.property({type:Boolean})],ui.prototype,"dense",void 0),hi([i.property({type:Boolean})],ui.prototype,"round",void 0);const gi=[o.css`
|
|
1162
1162
|
:host {
|
|
1163
1163
|
display: inline-block;
|
|
1164
1164
|
max-width: 100%;
|
|
@@ -1237,13 +1237,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1237
1237
|
/** Primary styles **/
|
|
1238
1238
|
|
|
1239
1239
|
.ft-button--primary {
|
|
1240
|
-
${
|
|
1240
|
+
${e.setVariable(je.color,tt.primaryIconColor)};
|
|
1241
1241
|
|
|
1242
|
-
${
|
|
1243
|
-
${
|
|
1244
|
-
${
|
|
1245
|
-
${
|
|
1246
|
-
${
|
|
1242
|
+
${e.setVariable(ue.color,tt.primaryStateLayerColor)};
|
|
1243
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,tt.primaryStateLayerOpacityHover)};
|
|
1244
|
+
${e.setVariable(ue.opacityContentOnSurfaceFocused,tt.primaryStateLayerOpacityFocus)};
|
|
1245
|
+
${e.setVariable(ue.opacityContentOnSurfaceSelected,tt.primaryStateLayerOpacityActive)};
|
|
1246
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,tt.primaryStateLayerOpacityActive)};
|
|
1247
1247
|
|
|
1248
1248
|
background-color: ${tt.primaryBackgroundColor};
|
|
1249
1249
|
color: ${tt.primaryColor};
|
|
@@ -1261,13 +1261,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1261
1261
|
/** Secondary styles **/
|
|
1262
1262
|
|
|
1263
1263
|
.ft-button--secondary {
|
|
1264
|
-
${
|
|
1264
|
+
${e.setVariable(je.color,tt.secondaryIconColor)};
|
|
1265
1265
|
|
|
1266
|
-
${
|
|
1267
|
-
${
|
|
1268
|
-
${
|
|
1269
|
-
${
|
|
1270
|
-
${
|
|
1266
|
+
${e.setVariable(ue.color,tt.secondaryStateLayerColor)};
|
|
1267
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,tt.secondaryStateLayerOpacityHover)};
|
|
1268
|
+
${e.setVariable(ue.opacityContentOnSurfaceFocused,tt.secondaryStateLayerOpacityFocus)};
|
|
1269
|
+
${e.setVariable(ue.opacityContentOnSurfaceSelected,tt.secondaryStateLayerOpacityActive)};
|
|
1270
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,tt.secondaryStateLayerOpacityActive)};
|
|
1271
1271
|
|
|
1272
1272
|
background-color: ${tt.secondaryBackgroundColor};
|
|
1273
1273
|
color: ${tt.secondaryColor};
|
|
@@ -1286,13 +1286,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1286
1286
|
/** Tertiary styles **/
|
|
1287
1287
|
|
|
1288
1288
|
.ft-button--tertiary {
|
|
1289
|
-
${
|
|
1289
|
+
${e.setVariable(je.color,tt.tertiaryIconColor)};
|
|
1290
1290
|
|
|
1291
|
-
${
|
|
1292
|
-
${
|
|
1293
|
-
${
|
|
1294
|
-
${
|
|
1295
|
-
${
|
|
1291
|
+
${e.setVariable(ue.color,tt.tertiaryStateLayerColor)};
|
|
1292
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,tt.tertiaryStateLayerOpacityHover)};
|
|
1293
|
+
${e.setVariable(ue.opacityContentOnSurfaceFocused,tt.tertiaryStateLayerOpacityFocus)};
|
|
1294
|
+
${e.setVariable(ue.opacityContentOnSurfaceSelected,tt.tertiaryStateLayerOpacityActive)};
|
|
1295
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,tt.tertiaryStateLayerOpacityActive)};
|
|
1296
1296
|
|
|
1297
1297
|
background-color: ${tt.tertiaryBackgroundColor};
|
|
1298
1298
|
color: ${tt.tertiaryColor};
|
|
@@ -1310,13 +1310,13 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1310
1310
|
/** Neutral styles **/
|
|
1311
1311
|
|
|
1312
1312
|
.ft-button--neutral {
|
|
1313
|
-
${
|
|
1313
|
+
${e.setVariable(je.color,tt.neutralIconColor)};
|
|
1314
1314
|
|
|
1315
|
-
${
|
|
1316
|
-
${
|
|
1317
|
-
${
|
|
1318
|
-
${
|
|
1319
|
-
${
|
|
1315
|
+
${e.setVariable(ue.backgroundColor,tt.neutralStateLayerColor)};
|
|
1316
|
+
${e.setVariable(ue.opacityContentOnSurfaceHover,tt.neutralStateLayerOpacityHover)};
|
|
1317
|
+
${e.setVariable(ue.opacityContentOnSurfaceFocused,tt.neutralStateLayerOpacityFocus)};
|
|
1318
|
+
${e.setVariable(ue.opacityContentOnSurfaceSelected,tt.neutralStateLayerOpacityActive)};
|
|
1319
|
+
${e.setVariable(ue.opacityContentOnSurfacePressed,tt.neutralStateLayerOpacityActive)};
|
|
1320
1320
|
|
|
1321
1321
|
background-color: ${tt.neutralBackgroundColor};
|
|
1322
1322
|
color: ${tt.neutralColor};
|
|
@@ -1334,8 +1334,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1334
1334
|
/** Large styles **/
|
|
1335
1335
|
|
|
1336
1336
|
.ft-button--large {
|
|
1337
|
-
${
|
|
1338
|
-
${
|
|
1337
|
+
${e.setVariable(Ce.size,tt.largeIconSize)};
|
|
1338
|
+
${e.setVariable(je.size,tt.largeIconSize)};
|
|
1339
1339
|
|
|
1340
1340
|
height: ${tt.largeHeight};
|
|
1341
1341
|
padding: 0 ${tt.largeHorizontalPadding};
|
|
@@ -1357,8 +1357,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1357
1357
|
/** Small styles **/
|
|
1358
1358
|
|
|
1359
1359
|
.ft-button--small {
|
|
1360
|
-
${
|
|
1361
|
-
${
|
|
1360
|
+
${e.setVariable(Ce.size,tt.smallIconSize)};
|
|
1361
|
+
${e.setVariable(je.size,tt.smallIconSize)};
|
|
1362
1362
|
|
|
1363
1363
|
height: ${tt.smallHeight};
|
|
1364
1364
|
padding: 0 ${tt.smallHorizontalPadding};
|
|
@@ -1376,7 +1376,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1376
1376
|
width: ${tt.smallIconOnlyWidth};
|
|
1377
1377
|
padding: unset;
|
|
1378
1378
|
}
|
|
1379
|
-
`,
|
|
1379
|
+
`,e.noTextSelect];var yi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bi extends di{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}}bi.styles=[e.safariEllipsisFix,gi],yi([i.property({type:Boolean})],bi.prototype,"primary",void 0),yi([i.property({type:Boolean})],bi.prototype,"secondary",void 0),yi([i.property({type:Boolean})],bi.prototype,"tertiary",void 0),yi([i.property({type:Boolean})],bi.prototype,"neutral",void 0),yi([i.property({type:Boolean})],bi.prototype,"small",void 0),e.customElement("ft-button")(ui),e.customElement("ftds-button")(bi);class mi extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const xi={headerBackground:e.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:e.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:e.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:e.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:e.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:e.FtCssVariableFactory.external(e.designSystemVariables.titleFont,"Design system"),contentFont:e.FtCssVariableFactory.external(e.designSystemVariables.contentFont,"Design system")},vi=o.css`
|
|
1380
1380
|
:host {
|
|
1381
1381
|
display: block;
|
|
1382
1382
|
}
|
|
@@ -1392,15 +1392,15 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1392
1392
|
.header-cell {
|
|
1393
1393
|
display: flex;
|
|
1394
1394
|
flex-direction: column;
|
|
1395
|
-
background: ${
|
|
1396
|
-
color: ${
|
|
1395
|
+
background: ${xi.headerBackground};
|
|
1396
|
+
color: ${xi.colorOnSurfaceHigh};
|
|
1397
1397
|
padding: .5rem 1rem;
|
|
1398
|
-
font-family: ${
|
|
1398
|
+
font-family: ${xi.titleFont};
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
1401
|
.header-cell--sticky {
|
|
1402
1402
|
top: 0;
|
|
1403
|
-
z-index: ${
|
|
1403
|
+
z-index: ${xi.stickyHeaderZIndex};
|
|
1404
1404
|
position: sticky;
|
|
1405
1405
|
}
|
|
1406
1406
|
|
|
@@ -1418,8 +1418,8 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
1420
|
.column-title-container ft-button {
|
|
1421
|
-
${
|
|
1422
|
-
${
|
|
1421
|
+
${e.setVariable(_e.backgroundColor,xi.headerBackground)};
|
|
1422
|
+
${e.setVariable(_e.color,xi.colorOnSurfaceHigh)};
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
.column-title {
|
|
@@ -1448,31 +1448,31 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1448
1448
|
|
|
1449
1449
|
.cell {
|
|
1450
1450
|
padding: 1rem;
|
|
1451
|
-
border-left-color: ${
|
|
1451
|
+
border-left-color: ${xi.headerBackground};
|
|
1452
1452
|
border-left-style: solid;
|
|
1453
|
-
border-left-width: ${
|
|
1454
|
-
border-bottom: 1px solid ${
|
|
1453
|
+
border-left-width: ${xi.cellVerticalBorderWidth};
|
|
1454
|
+
border-bottom: 1px solid ${xi.headerBackground};
|
|
1455
1455
|
overflow-x: auto;
|
|
1456
1456
|
display: flex;
|
|
1457
1457
|
align-items: center;
|
|
1458
|
-
font-family: ${
|
|
1458
|
+
font-family: ${xi.contentFont};
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
/* Even is 2n+1 and odd is 2n because of the header */
|
|
1462
1462
|
.row:nth-child(2n) > .cell {
|
|
1463
|
-
background: ${
|
|
1463
|
+
background: ${xi.oddRowBackground};
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
.row:nth-child(2n + 1) > .cell {
|
|
1467
|
-
background: ${
|
|
1467
|
+
background: ${xi.evenRowBackground};
|
|
1468
1468
|
}
|
|
1469
1469
|
|
|
1470
1470
|
.row:hover > .cell {
|
|
1471
|
-
background: ${
|
|
1471
|
+
background: ${xi.rowHoverBackground};
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
1474
|
.cell:last-of-type {
|
|
1475
|
-
border-right: 1px solid ${
|
|
1475
|
+
border-right: 1px solid ${xi.headerBackground};
|
|
1476
1476
|
}
|
|
1477
1477
|
|
|
1478
1478
|
.row:last-of-type .cell:first-of-type {
|
|
@@ -1486,7 +1486,7 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1486
1486
|
.hidden {
|
|
1487
1487
|
visibility: hidden;
|
|
1488
1488
|
}
|
|
1489
|
-
`;var
|
|
1489
|
+
`;var Oi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const $i=t=>o.html`${t}`,Ni=(t,e)=>t-e;class wi extends e.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return o.html`
|
|
1490
1490
|
<style>
|
|
1491
1491
|
.table {
|
|
1492
1492
|
grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
|
|
@@ -1494,60 +1494,60 @@ const Do={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","",
|
|
|
1494
1494
|
</style>
|
|
1495
1495
|
<div class="table">
|
|
1496
1496
|
<div class="header">
|
|
1497
|
-
${r.repeat(this.columns,((t,
|
|
1497
|
+
${r.repeat(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
|
|
1498
1498
|
</div>
|
|
1499
|
-
${r.repeat(t,((t,
|
|
1499
|
+
${r.repeat(t,((t,e)=>"row-"+e),((t,e)=>o.html`
|
|
1500
1500
|
<div class="row"
|
|
1501
|
-
@click=${()=>this.dispatchEvent(new
|
|
1502
|
-
${r.repeat(this.columns,((t,
|
|
1501
|
+
@click=${()=>this.dispatchEvent(new mi(t))}>
|
|
1502
|
+
${r.repeat(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
|
|
1503
1503
|
</div>
|
|
1504
1504
|
`))}
|
|
1505
1505
|
</div>
|
|
1506
|
-
`}filterData(){return this.filters.reduce(((t,o
|
|
1507
|
-
<div class="${
|
|
1508
|
-
part="${this.columnPart("header-cell",
|
|
1506
|
+
`}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Ni,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return o.html`
|
|
1507
|
+
<div class="${a.classMap(i)}"
|
|
1508
|
+
part="${this.columnPart("header-cell",e)}">
|
|
1509
1509
|
<div class="column-title-container">
|
|
1510
1510
|
<span class="column-title"
|
|
1511
|
-
part="${this.columnPart("title",
|
|
1511
|
+
part="${this.columnPart("title",e)}">
|
|
1512
1512
|
${t.title}
|
|
1513
1513
|
</span>
|
|
1514
|
-
${this.renderColumnSort(t,
|
|
1514
|
+
${this.renderColumnSort(t,e)}
|
|
1515
1515
|
</div>
|
|
1516
|
-
${this.renderColumnFilter(t,
|
|
1516
|
+
${this.renderColumnFilter(t,e)}
|
|
1517
1517
|
</div>
|
|
1518
|
-
`}renderColumnSort(t,
|
|
1518
|
+
`}renderColumnSort(t,e){var i;const r=this.currentSort&&this.currentSort.column===e,n=r?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return o.html`
|
|
1519
1519
|
<ft-button
|
|
1520
1520
|
round
|
|
1521
1521
|
dense
|
|
1522
1522
|
class="${null===(i=t.sortable)||void 0===i||i?"":"hidden"}"
|
|
1523
1523
|
iconVariant="material"
|
|
1524
|
-
icon="${
|
|
1524
|
+
icon="${n}"
|
|
1525
1525
|
label="Sort ${t.title}"
|
|
1526
|
-
@click=${()=>{var t;r?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:
|
|
1527
|
-
part="${this.columnPart("sort-button",
|
|
1526
|
+
@click=${()=>{var t;r?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
|
|
1527
|
+
part="${this.columnPart("sort-button",e)}"
|
|
1528
1528
|
></ft-button>
|
|
1529
|
-
`}renderColumnFilter(t,
|
|
1530
|
-
<div class="column-filter" part="${this.columnPart("filter-container",
|
|
1529
|
+
`}renderColumnFilter(t,e){var i,r;const n=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(i=t.filter)&&void 0!==i?i:"text"){case"text":return o.html`
|
|
1530
|
+
<div class="column-filter" part="${this.columnPart("filter-container",e)}">
|
|
1531
1531
|
<ft-text-field
|
|
1532
1532
|
label="Search ${t.title}"
|
|
1533
|
-
@live-change="${
|
|
1534
|
-
part="${this.columnPart("filter",
|
|
1533
|
+
@live-change="${n}"
|
|
1534
|
+
part="${this.columnPart("filter",e)}"
|
|
1535
1535
|
></ft-text-field>
|
|
1536
1536
|
</div>
|
|
1537
|
-
`;case"select":const i=null!==(r=this.selectData[
|
|
1538
|
-
<div class="column-filter" part="${this.columnPart("filter-container",
|
|
1537
|
+
`;case"select":const i=null!==(r=this.selectData[e])&&void 0!==r?r:[];return i.length?o.html`
|
|
1538
|
+
<div class="column-filter" part="${this.columnPart("filter-container",e)}">
|
|
1539
1539
|
<ft-select label="Filter ${t.title}"
|
|
1540
|
-
@change=${
|
|
1541
|
-
part="${this.columnPart("filter",
|
|
1540
|
+
@change=${n}
|
|
1541
|
+
part="${this.columnPart("filter",e)}">
|
|
1542
1542
|
<ft-select-option></ft-select-option>
|
|
1543
|
-
${i.map((t=>
|
|
1543
|
+
${i.map((t=>o.html`
|
|
1544
1544
|
<ft-select-option value="${t}" label="${t}"></ft-select-option>
|
|
1545
1545
|
`))}
|
|
1546
1546
|
</ft-select>
|
|
1547
1547
|
</div>
|
|
1548
|
-
`:
|
|
1548
|
+
`:o.nothing}return o.nothing}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,r){var a;const l=null!==(a=t.render)&&void 0!==a?a:$i;return o.html`
|
|
1549
1549
|
<div class="cell"
|
|
1550
|
-
part="${this.columnPart("cell",
|
|
1551
|
-
${(t=>{const
|
|
1550
|
+
part="${this.columnPart("cell",e)} cell-row-${r} cell-column-${e}-row-${r}">
|
|
1551
|
+
${(t=>{const e=l(t,r);return"string"==typeof e?n.unsafeHTML(e):e})(this.getValue(t,i))}
|
|
1552
1552
|
</div>
|
|
1553
|
-
`}getValue(t,
|
|
1553
|
+
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}wi.styles=vi,Oi([i.property({attribute:!1})],wi.prototype,"data",void 0),Oi([i.property({attribute:!1})],wi.prototype,"columns",void 0),Oi([i.property({attribute:!1})],wi.prototype,"sort",void 0),Oi([i.property()],wi.prototype,"stickyHeaders",void 0),Oi([i.state()],wi.prototype,"currentSort",void 0),e.customElement("ft-filterable-table")(wi),t.FtFilterableTable=wi,t.FtFilterableTableCssVariables=xi,t.RowClickEvent=mi,t.styles=vi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap);
|