@fluid-topics/ft-filterable-table 1.3.30 → 1.3.32
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 +218 -223
- package/build/ft-filterable-table.min.js +325 -330
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";(()=>{var Di=Object.create;var rr=Object.defineProperty;var Hi=Object.getOwnPropertyDescriptor;var Gi=Object.getOwnPropertyNames;var Ui=Object.getPrototypeOf,Fi=Object.prototype.hasOwnProperty;var de=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var Mi=(o,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Gi(e))!Fi.call(o,n)&&n!==a&&rr(o,n,{get:()=>e[n],enumerable:!(i=Hi(e,n))||i.enumerable});return o};var g=(o,e,a)=>(a=o!=null?Di(Ui(o)):{},Mi(e||!o||!o.__esModule?rr(a,"default",{value:o,enumerable:!0}):a,o));var A=de((On,ar)=>{ar.exports=ftGlobals.wcUtils});var _=de((Cn,ir)=>{ir.exports=ftGlobals.lit});var
|
|
1
|
+
"use strict";(()=>{var Di=Object.create;var rr=Object.defineProperty;var Hi=Object.getOwnPropertyDescriptor;var Gi=Object.getOwnPropertyNames;var Ui=Object.getPrototypeOf,Fi=Object.prototype.hasOwnProperty;var de=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var Mi=(o,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Gi(e))!Fi.call(o,n)&&n!==a&&rr(o,n,{get:()=>e[n],enumerable:!(i=Hi(e,n))||i.enumerable});return o};var g=(o,e,a)=>(a=o!=null?Di(Ui(o)):{},Mi(e||!o||!o.__esModule?rr(a,"default",{value:o,enumerable:!0}):a,o));var A=de((On,ar)=>{ar.exports=ftGlobals.wcUtils});var _=de((Cn,ir)=>{ir.exports=ftGlobals.lit});var ft=de((wn,nr)=>{nr.exports=ftGlobals.litDecorators});var Ye=de((En,lr)=>{lr.exports=ftGlobals.litRepeat});var bo=de((Nn,cr)=>{cr.exports=ftGlobals.litUnsafeHTML});var Mt=de(($n,sr)=>{sr.exports=ftGlobals.litClassMap});var Wi=g(A());var pt=g(_()),je=g(ft()),Le=g(Ye()),ki=g(bo()),Ae=g(A());var To=g(A());var ie=g(_()),T=g(ft()),Wo=g(Mt()),ka=g(Ye());function Xe(o,e,a){return o?e(o):a?.(o)}var Eo=globalThis,qe=Eo.trustedTypes,dr=qe?qe.createPolicy("lit-html",{createHTML:o=>o}):void 0,hr="$lit$",Zt=`lit$${Math.random().toFixed(9).slice(2)}$`,mr="?"+Zt,Zi=`<${mr}>`,re=document,Qe=()=>re.createComment(""),Ie=o=>o===null||typeof o!="object"&&typeof o!="function",No=Array.isArray,Vi=o=>No(o)||typeof o?.[Symbol.iterator]=="function",xo=`[
|
|
2
2
|
\f\r]`,Be=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pr=/-->/g,fr=/>/g,ee=RegExp(`>|${xo}(?:([^\\s"'>=/]+)(${xo}*=${xo}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ur=/'/g,gr=/"/g,br=/^(?:script|style|textarea|title)$/i,No=o=>(e,...a)=>({_$litType$:o,strings:e,values:a}),xr=No(1),Sr=No(2),vr=No(3),ke=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),yr=new WeakMap,oe=re.createTreeWalker(re,129);function Or(o,e){if(!$o(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return dr!==void 0?dr.createHTML(e):e}var Ki=(o,e)=>{let a=o.length-1,i=[],n,c=e===2?"<svg>":e===3?"<math>":"",s=Be;for(let d=0;d<a;d++){let f=o[d],y,S,x=-1,B=0;for(;B<f.length&&(s.lastIndex=B,S=s.exec(f),S!==null);)B=s.lastIndex,s===Be?S[1]==="!--"?s=pr:S[1]!==void 0?s=fr:S[2]!==void 0?(br.test(S[2])&&(n=RegExp("</"+S[2],"g")),s=ee):S[3]!==void 0&&(s=ee):s===ee?S[0]===">"?(s=n??Be,x=-1):S[1]===void 0?x=-2:(x=s.lastIndex-S[2].length,y=S[1],s=S[3]===void 0?ee:S[3]==='"'?gr:ur):s===gr||s===ur?s=ee:s===pr||s===fr?s=Be:(s=ee,n=void 0);let E=s===ee&&o[d+1].startsWith("/>")?" ":"";c+=s===Be?f+Zi:x>=0?(i.push(y),f.slice(0,x)+hr+f.slice(x)+Mt+E):f+Mt+(x===-2?d:E)}return[Or(o,c+(o[a]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},ze=class o{constructor({strings:e,_$litType$:a},i){let n;this.parts=[];let c=0,s=0,d=e.length-1,f=this.parts,[y,S]=Ki(e,a);if(this.el=o.createElement(y,i),oe.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(n=oe.nextNode())!==null&&f.length<d;){if(n.nodeType===1){if(n.hasAttributes())for(let x of n.getAttributeNames())if(x.endsWith(hr)){let B=S[s++],E=n.getAttribute(x).split(Mt),k=/([.?@])?(.*)/.exec(B);f.push({type:1,index:c,name:k[2],strings:E,ctor:k[1]==="."?vo:k[1]==="?"?Oo:k[1]==="@"?Co:fe}),n.removeAttribute(x)}else x.startsWith(Mt)&&(f.push({type:6,index:c}),n.removeAttribute(x));if(br.test(n.tagName)){let x=n.textContent.split(Mt),B=x.length-1;if(B>0){n.textContent=qe?qe.emptyScript:"";for(let E=0;E<B;E++)n.append(x[E],Qe()),oe.nextNode(),f.push({type:2,index:++c});n.append(x[B],Qe())}}}else if(n.nodeType===8)if(n.data===mr)f.push({type:2,index:c});else{let x=-1;for(;(x=n.data.indexOf(Mt,x+1))!==-1;)f.push({type:7,index:c}),x+=Mt.length-1}c++}}static createElement(e,a){let i=re.createElement("template");return i.innerHTML=e,i}};function pe(o,e,a=o,i){if(e===ke)return e;let n=i!==void 0?a._$Co?.[i]:a._$Cl,c=Ie(e)?void 0:e._$litDirective$;return n?.constructor!==c&&(n?._$AO?.(!1),c===void 0?n=void 0:(n=new c(o),n._$AT(o,a,i)),i!==void 0?(a._$Co??=[])[i]=n:a._$Cl=n),n!==void 0&&(e=pe(o,n._$AS(o,e.values),n,i)),e}var So=class{constructor(e,a){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:a},parts:i}=this._$AD,n=(e?.creationScope??re).importNode(a,!0);oe.currentNode=n;let c=oe.nextNode(),s=0,d=0,f=i[0];for(;f!==void 0;){if(s===f.index){let y;f.type===2?y=new Je(c,c.nextSibling,this,e):f.type===1?y=new f.ctor(c,f.name,f.strings,this,e):f.type===6&&(y=new wo(c,this,e)),this._$AV.push(y),f=i[++d]}s!==f?.index&&(c=oe.nextNode(),s++)}return oe.currentNode=re,n}p(e){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,a),a+=i.strings.length-2):i._$AI(e[a])),a++}},Je=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,a,i,n){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=a,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,a=this._$AM;return a!==void 0&&e?.nodeType===11&&(e=a.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,a=this){e=pe(this,e,a),Ie(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==ke&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Vi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==K&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.T(re.createTextNode(e)),this._$AH=e}$(e){let{values:a,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ze.createElement(Or(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(a);else{let c=new So(n,this),s=c.u(this.options);c.p(a),this.T(s),this._$AH=c}}_$AC(e){let a=yr.get(e.strings);return a===void 0&&yr.set(e.strings,a=new ze(e)),a}k(e){$o(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,n=0;for(let c of e)n===a.length?a.push(i=new o(this.O(Qe()),this.O(Qe()),this,this.options)):i=a[n],i._$AI(c),n++;n<a.length&&(this._$AR(i&&i._$AB.nextSibling,n),a.length=n)}_$AR(e=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,a,i,n,c){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=a,this._$AM=n,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}_$AI(e,a=this,i,n){let c=this.strings,s=!1;if(c===void 0)e=pe(this,e,a,0),s=!Ie(e)||e!==this._$AH&&e!==ke,s&&(this._$AH=e);else{let d=e,f,y;for(e=c[0],f=0;f<c.length-1;f++)y=pe(this,d[i+f],a,f),y===ke&&(y=this._$AH[f]),s||=!Ie(y)||y!==this._$AH[f],y===K?e=K:e!==K&&(e+=(y??"")+c[f+1]),this._$AH[f]=y}s&&!n&&this.j(e)}j(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vo=class extends fe{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===K?void 0:e}},Oo=class extends fe{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},Co=class extends fe{constructor(e,a,i,n,c){super(e,a,i,n,c),this.type=5}_$AI(e,a=this){if((e=pe(this,e,a,0)??K)===ke)return;let i=this._$AH,n=e===K&&i!==K||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,c=e!==K&&(i===K||n);n&&this.element.removeEventListener(this.name,this,i),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},wo=class{constructor(e,a,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){pe(this,e)}};var ji=Eo.litHtmlPolyfillSupport;ji?.(ze,Je),(Eo.litHtmlVersions??=[]).push("3.3.0");var Bt=o=>o??K;var jt=g(A());var ca=g(A());var wr=Symbol.for(""),Yi=o=>{if(o?.r===wr)return o?._$litStatic$},Ro=o=>({_$litStatic$:o,r:wr});var Cr=new Map,Lo=o=>(e,...a)=>{let i=a.length,n,c,s=[],d=[],f,y=0,S=!1;for(;y<i;){for(f=e[y];y<i&&(c=a[y],(n=Yi(c))!==void 0);)f+=n+e[++y],S=!0;y!==i&&d.push(c),s.push(f),y++}if(y===i&&s.push(e[i]),S){let x=s.join("$$lit$$");(e=Cr.get(x))===void 0&&(s.raw=s,Cr.set(x,e=s)),a=d}return o(e,...a)},Ao=Lo(xr),Tn=Lo(Sr),_n=Lo(vr);var Po=g(ut()),la=g(A());var Ot;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Ot||(Ot={}));var St=g(_()),b=g(A());var It=g(_(),1),Zt=o=>typeof o=="string"?(0,It.unsafeCSS)(o):o,t=class{static create(e,a,i,n){let c=d=>Zt(d??n),s=It.css`var(${Zt(e)}, ${c(n)})`;return s.name=e,s.description=a,s.category=i,s.defaultValue=n,s.defaultCssValue=c,s.set=d=>Er(s,d??c(n)),s.get=d=>It.css`var(${Zt(e)}, ${c(d)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,a,i,n){let c=d=>i.get(d??n),s=It.css`var(${Zt(e)}, ${c(n)})`;return s.name=e,s.description=a,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=c,s.set=d=>Er(s,d??c(n)),s.get=d=>It.css`var(${Zt(e)}, ${c(d)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,a){let i=c=>e.defaultCssValue(c),n=It.css`var(${Zt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=a,n.defaultCssValue=i,n.set=c=>e.set(c),n.get=c=>It.css`var(${Zt(e.name)}, ${i(c)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function Er(o,e){return Zt(`${o.name}: ${e}`)}var r={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},$r={fontFamily:t.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-text-case","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},ue={fontFamily:t.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},Xi={fontFamily:t.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},kr={fontFamily:t.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Dr={fontFamily:t.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Hr={fontFamily:t.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Gr={fontFamily:t.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ur={fontFamily:t.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Fr={fontFamily:t.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ae={fontFamily:t.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Mr={fontFamily:t.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Zr={fontFamily:t.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Vr={fontFamily:t.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Kr={fontFamily:t.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},jr={fontFamily:t.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},to={display:$r,"title-1":Nr,"title-2":Rr,"title-3":Lr,"body-1-regular":Ar,"body-1-medium":Pr,"body-1-semibold":Br,"body-2-regular":Ir,"body-2-medium":ue,"body-2-medium-underline":Xi,"body-2-semibold":kr,"label-1-medium":zr,"label-1-semibold":Wr,"label-1-bold":Tr,"label-2-medium":_r,"label-2-semibold":Dr,"label-2-bold":Hr,"caption-1-medium":Gr,"caption-1-semibold":Ur,"caption-1-bold":Fr,"caption-2-medium":ae,"caption-2-semibold":Mr,"caption-2-bold":Zr,"caption-3-medium":Vr,"caption-3-semibold":Kr,"caption-3-bold":jr};var l={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",r.colorGray200)};var p={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:t.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",r.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",r.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",r.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",r.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",r.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",r.spacing2),smallGap:t.extend("--ft-button-small-gap","",r.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",r.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",r.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",r.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",r.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",r.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",r.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",r.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",r.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",r.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",r.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",r.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",r.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",r.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",r.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",r.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",r.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",r.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",r.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",r.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",r.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",r.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",r.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",r.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",r.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",r.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",r.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",r.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",r.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",r.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",r.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",r.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",r.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",r.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",r.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",r.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",r.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",r.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",r.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",r.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",r.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",r.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",r.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",r.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",r.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",r.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",r.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",r.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",r.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",r.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",r.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",r.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",r.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",r.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",r.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var ol={loadMoreIconSize:t.extend("--ft-tree-list-load-more-icon-size","",r.iconSize2),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",r.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",r.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",r.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:t.extend("--ft-tree-list-load-more-label-margin-left","",r.spacing1),nodeIconSize:t.extend("--ft-tree-list-node-icon-size","",r.iconSize2),nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",r.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",r.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",r.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",r.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",r.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",r.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",r.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",r.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",r.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:t.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:t.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:t.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",r.spacing10),emptyStateContainerPaddingTop:t.extend("--ft-tree-list-empty-state-container-padding-top","",r.spacing10),emptyStateContainerPaddingBottom:t.extend("--ft-tree-list-empty-state-container-padding-bottom","",r.spacing10),emptyStateTitleMarginBottom:t.extend("--ft-tree-list-empty-state-title-margin-bottom","",r.spacing2),emptyStateTitleLabelColor:t.extend("--ft-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:t.extend("--ft-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var ll={iconSize:t.extend("--ft-checkbox-icon-size","",r.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",r.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",r.spacing2)};var fl={circleSize:t.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:t.create("--ft-radio-border-width","","SIZE","2px"),color:t.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:t.extend("--ft-radio-vertical-gap","",r.spacing3),horizontalGap:t.extend("--ft-radio-horizontal-gap","",r.spacing3)};var ml={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",r.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",r.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",r.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",r.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",r.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",r.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",r.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",r.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",r.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",r.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",r.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",r.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",r.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",r.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",r.spacing1)};var Ol={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",r.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",r.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",r.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",r.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",r.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",r.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",r.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",r.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",r.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",r.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",r.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",r.iconSize2)};var Nl={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",r.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",r.spacing1),largeGap:t.extend("--ft-chip-large-gap","",r.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",r.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",r.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",r.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",r.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",r.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",r.spacing05),smallGap:t.extend("--ft-chip-small-gap","",r.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",r.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var Bl={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",r.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",r.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",r.colorBrand100)};var Tl={iconSize:t.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",r.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",r.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var Ul={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:t.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",l.contentActionPrimary)};var Kl={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",r.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Ql={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",r.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",r.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",r.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",r.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",r.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",r.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",r.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",r.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",r.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",r.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",r.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",r.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",r.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",r.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",r.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",r.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",r.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",r.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",r.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var rc={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",r.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",r.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",r.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",r.spacing4)};var lc={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",r.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",r.spacing6)};var fc={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",r.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",r.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",r.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",r.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:t.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var mc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",r.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",r.colorGray700)};var Oc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",r.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",r.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity24),onColor:t.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var Nc={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var Bc={backgroundColor:t.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",r.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",r.borderRadiusS)};var Tc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",r.shadowElevation02)};var Uc={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var Kc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",r.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusS)};var Qc={backgroundColor:t.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",r.spacing6),titleColor:t.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",r.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",r.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",r.spacing6)};var rs={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:t.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",r.iconSize3)};var cs={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:t.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:t.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var fs={color1Light:t.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",r.colorRed40),color5Base:t.extend("--ft-chart-5-base","",r.colorRed60),color6Light:t.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",r.colorGray50),color10Base:t.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",r.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",r.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",r.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",r.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",r.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",r.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",r.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",r.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",r.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",r.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",r.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",r.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",r.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",r.colorCyan200)};var hs={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",r.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",r.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",r.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",r.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",r.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",r.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",r.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",r.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",r.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",r.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",r.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",r.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",r.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",r.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",r.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",r.colorBrown0)};var vs={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:t.extend("--ft-notice-gap","",r.spacing2),iconSize:t.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",r.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",r.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var $s={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:t.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",r.spacing3)};var Ps={iconSize:t.extend("--ft-notification-icon-size","",r.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",r.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",r.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",r.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",r.spacing8)};var Ws={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:t.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:t.extend("--ft-tooltip-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",r.spacing05)};var Gs={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",r.spacing4),gap:t.extend("--ft-reorderable-list-gap","",r.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",r.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",r.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",r.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",r.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",r.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",r.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",r.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",r.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",r.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",r.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",r.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",r.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Zs={menuHorizontalPadding:t.extend("--ft-date-range-picker-menu-horizontal-padding","",r.spacing4),menuVerticalPadding:t.extend("--ft-date-range-picker-menu-vertical-padding","",r.spacing4),menuVerticalGap:t.extend("--ft-date-range-picker-menu-vertical-gap","",r.spacing4),menuButtonsVerticalGap:t.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",r.spacing2)};var eo;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(eo||(eo={}));var ge;(function(o){o.large="large",o.medium="medium",o.small="small"})(ge||(ge={}));var ye=g(_());function Yr(o,e){let a=to[o];return ye.css`
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ur=/'/g,gr=/"/g,br=/^(?:script|style|textarea|title)$/i,$o=o=>(e,...a)=>({_$litType$:o,strings:e,values:a}),xr=$o(1),Sr=$o(2),vr=$o(3),ke=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),yr=new WeakMap,oe=re.createTreeWalker(re,129);function Or(o,e){if(!No(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return dr!==void 0?dr.createHTML(e):e}var Ki=(o,e)=>{let a=o.length-1,i=[],n,c=e===2?"<svg>":e===3?"<math>":"",s=Be;for(let d=0;d<a;d++){let f=o[d],y,S,x=-1,B=0;for(;B<f.length&&(s.lastIndex=B,S=s.exec(f),S!==null);)B=s.lastIndex,s===Be?S[1]==="!--"?s=pr:S[1]!==void 0?s=fr:S[2]!==void 0?(br.test(S[2])&&(n=RegExp("</"+S[2],"g")),s=ee):S[3]!==void 0&&(s=ee):s===ee?S[0]===">"?(s=n??Be,x=-1):S[1]===void 0?x=-2:(x=s.lastIndex-S[2].length,y=S[1],s=S[3]===void 0?ee:S[3]==='"'?gr:ur):s===gr||s===ur?s=ee:s===pr||s===fr?s=Be:(s=ee,n=void 0);let E=s===ee&&o[d+1].startsWith("/>")?" ":"";c+=s===Be?f+Zi:x>=0?(i.push(y),f.slice(0,x)+hr+f.slice(x)+Zt+E):f+Zt+(x===-2?d:E)}return[Or(o,c+(o[a]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},ze=class o{constructor({strings:e,_$litType$:a},i){let n;this.parts=[];let c=0,s=0,d=e.length-1,f=this.parts,[y,S]=Ki(e,a);if(this.el=o.createElement(y,i),oe.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(n=oe.nextNode())!==null&&f.length<d;){if(n.nodeType===1){if(n.hasAttributes())for(let x of n.getAttributeNames())if(x.endsWith(hr)){let B=S[s++],E=n.getAttribute(x).split(Zt),k=/([.?@])?(.*)/.exec(B);f.push({type:1,index:c,name:k[2],strings:E,ctor:k[1]==="."?vo:k[1]==="?"?Oo:k[1]==="@"?Co:fe}),n.removeAttribute(x)}else x.startsWith(Zt)&&(f.push({type:6,index:c}),n.removeAttribute(x));if(br.test(n.tagName)){let x=n.textContent.split(Zt),B=x.length-1;if(B>0){n.textContent=qe?qe.emptyScript:"";for(let E=0;E<B;E++)n.append(x[E],Qe()),oe.nextNode(),f.push({type:2,index:++c});n.append(x[B],Qe())}}}else if(n.nodeType===8)if(n.data===mr)f.push({type:2,index:c});else{let x=-1;for(;(x=n.data.indexOf(Zt,x+1))!==-1;)f.push({type:7,index:c}),x+=Zt.length-1}c++}}static createElement(e,a){let i=re.createElement("template");return i.innerHTML=e,i}};function pe(o,e,a=o,i){if(e===ke)return e;let n=i!==void 0?a._$Co?.[i]:a._$Cl,c=Ie(e)?void 0:e._$litDirective$;return n?.constructor!==c&&(n?._$AO?.(!1),c===void 0?n=void 0:(n=new c(o),n._$AT(o,a,i)),i!==void 0?(a._$Co??=[])[i]=n:a._$Cl=n),n!==void 0&&(e=pe(o,n._$AS(o,e.values),n,i)),e}var So=class{constructor(e,a){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:a},parts:i}=this._$AD,n=(e?.creationScope??re).importNode(a,!0);oe.currentNode=n;let c=oe.nextNode(),s=0,d=0,f=i[0];for(;f!==void 0;){if(s===f.index){let y;f.type===2?y=new Je(c,c.nextSibling,this,e):f.type===1?y=new f.ctor(c,f.name,f.strings,this,e):f.type===6&&(y=new wo(c,this,e)),this._$AV.push(y),f=i[++d]}s!==f?.index&&(c=oe.nextNode(),s++)}return oe.currentNode=re,n}p(e){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,a),a+=i.strings.length-2):i._$AI(e[a])),a++}},Je=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,a,i,n){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=a,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,a=this._$AM;return a!==void 0&&e?.nodeType===11&&(e=a.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,a=this){e=pe(this,e,a),Ie(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==ke&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Vi(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==V&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.T(re.createTextNode(e)),this._$AH=e}$(e){let{values:a,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ze.createElement(Or(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(a);else{let c=new So(n,this),s=c.u(this.options);c.p(a),this.T(s),this._$AH=c}}_$AC(e){let a=yr.get(e.strings);return a===void 0&&yr.set(e.strings,a=new ze(e)),a}k(e){No(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,n=0;for(let c of e)n===a.length?a.push(i=new o(this.O(Qe()),this.O(Qe()),this,this.options)):i=a[n],i._$AI(c),n++;n<a.length&&(this._$AR(i&&i._$AB.nextSibling,n),a.length=n)}_$AR(e=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,a,i,n,c){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=a,this._$AM=n,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=V}_$AI(e,a=this,i,n){let c=this.strings,s=!1;if(c===void 0)e=pe(this,e,a,0),s=!Ie(e)||e!==this._$AH&&e!==ke,s&&(this._$AH=e);else{let d=e,f,y;for(e=c[0],f=0;f<c.length-1;f++)y=pe(this,d[i+f],a,f),y===ke&&(y=this._$AH[f]),s||=!Ie(y)||y!==this._$AH[f],y===V?e=V:e!==V&&(e+=(y??"")+c[f+1]),this._$AH[f]=y}s&&!n&&this.j(e)}j(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vo=class extends fe{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===V?void 0:e}},Oo=class extends fe{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},Co=class extends fe{constructor(e,a,i,n,c){super(e,a,i,n,c),this.type=5}_$AI(e,a=this){if((e=pe(this,e,a,0)??V)===ke)return;let i=this._$AH,n=e===V&&i!==V||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,c=e!==V&&(i===V||n);n&&this.element.removeEventListener(this.name,this,i),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},wo=class{constructor(e,a,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){pe(this,e)}};var ji=Eo.litHtmlPolyfillSupport;ji?.(ze,Je),(Eo.litHtmlVersions??=[]).push("3.3.0");var It=o=>o??V;var Yt=g(A());var ca=g(A());var wr=Symbol.for(""),Yi=o=>{if(o?.r===wr)return o?._$litStatic$},Lo=o=>({_$litStatic$:o,r:wr});var Cr=new Map,Ro=o=>(e,...a)=>{let i=a.length,n,c,s=[],d=[],f,y=0,S=!1;for(;y<i;){for(f=e[y];y<i&&(c=a[y],(n=Yi(c))!==void 0);)f+=n+e[++y],S=!0;y!==i&&d.push(c),s.push(f),y++}if(y===i&&s.push(e[i]),S){let x=s.join("$$lit$$");(e=Cr.get(x))===void 0&&(s.raw=s,Cr.set(x,e=s)),a=d}return o(e,...a)},Ao=Ro(xr),Tn=Ro(Sr),_n=Ro(vr);var Po=g(ft()),la=g(A());var Ot;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Ot||(Ot={}));var St=g(_()),b=g(A());var kt=g(_(),1),Vt=o=>typeof o=="string"?(0,kt.unsafeCSS)(o):o,t=class{static create(e,a,i,n){let c=d=>Vt(d??n),s=kt.css`var(${Vt(e)}, ${c(n)})`;return s.name=e,s.description=a,s.category=i,s.defaultValue=n,s.defaultCssValue=c,s.set=d=>Er(s,d??c(n)),s.get=d=>kt.css`var(${Vt(e)}, ${c(d)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,a,i,n){let c=d=>i.get(d??n),s=kt.css`var(${Vt(e)}, ${c(n)})`;return s.name=e,s.description=a,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=c,s.set=d=>Er(s,d??c(n)),s.get=d=>kt.css`var(${Vt(e)}, ${c(d)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,a){let i=c=>e.defaultCssValue(c),n=kt.css`var(${Vt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=a,n.defaultCssValue=i,n.set=c=>e.set(c),n.get=c=>kt.css`var(${Vt(e.name)}, ${i(c)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function Er(o,e){return Vt(`${o.name}: ${e}`)}var r={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Nr={fontFamily:t.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-text-case","","UNKNOWN","none")},$r={fontFamily:t.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},ue={fontFamily:t.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},Xi={fontFamily:t.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},kr={fontFamily:t.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Dr={fontFamily:t.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Hr={fontFamily:t.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Gr={fontFamily:t.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ur={fontFamily:t.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Fr={fontFamily:t.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ae={fontFamily:t.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Mr={fontFamily:t.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Zr={fontFamily:t.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Vr={fontFamily:t.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Kr={fontFamily:t.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},jr={fontFamily:t.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},to={display:Nr,"title-1":$r,"title-2":Lr,"title-3":Rr,"body-1-regular":Ar,"body-1-medium":Pr,"body-1-semibold":Br,"body-2-regular":Ir,"body-2-medium":ue,"body-2-medium-underline":Xi,"body-2-semibold":kr,"label-1-medium":zr,"label-1-semibold":Wr,"label-1-bold":Tr,"label-2-medium":_r,"label-2-semibold":Dr,"label-2-bold":Hr,"caption-1-medium":Gr,"caption-1-semibold":Ur,"caption-1-bold":Fr,"caption-2-medium":ae,"caption-2-semibold":Mr,"caption-2-bold":Zr,"caption-3-medium":Vr,"caption-3-semibold":Kr,"caption-3-bold":jr};var l={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",r.colorGray200)};var p={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:t.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",r.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",r.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",r.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",r.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",r.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",r.spacing2),smallGap:t.extend("--ft-button-small-gap","",r.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",r.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",r.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",r.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",r.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",r.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",r.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",r.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",r.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",r.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",r.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",r.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",r.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",r.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",r.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",r.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",r.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",r.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",r.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",r.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",r.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",r.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",r.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",r.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",r.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",r.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",r.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",r.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",r.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",r.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",r.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",r.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",r.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",r.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",r.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",r.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",r.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",r.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",r.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",r.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",r.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",r.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",r.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",r.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",r.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",r.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",r.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",r.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",r.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",r.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",r.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",r.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",r.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",r.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",r.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var ol={loadMoreIconSize:t.extend("--ft-tree-list-load-more-icon-size","",r.iconSize2),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",r.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",r.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",r.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:t.extend("--ft-tree-list-load-more-label-margin-left","",r.spacing1),nodeIconSize:t.extend("--ft-tree-list-node-icon-size","",r.iconSize2),nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",r.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",r.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",r.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",r.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",r.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",r.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",r.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",r.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",r.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:t.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:t.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:t.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",r.spacing10),emptyStateContainerPaddingTop:t.extend("--ft-tree-list-empty-state-container-padding-top","",r.spacing10),emptyStateContainerPaddingBottom:t.extend("--ft-tree-list-empty-state-container-padding-bottom","",r.spacing10),emptyStateTitleMarginBottom:t.extend("--ft-tree-list-empty-state-title-margin-bottom","",r.spacing2),emptyStateTitleLabelColor:t.extend("--ft-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:t.extend("--ft-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var ll={iconSize:t.extend("--ft-checkbox-icon-size","",r.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",r.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",r.spacing2)};var fl={circleSize:t.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:t.create("--ft-radio-border-width","","SIZE","2px"),color:t.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:t.extend("--ft-radio-vertical-gap","",r.spacing3),horizontalGap:t.extend("--ft-radio-horizontal-gap","",r.spacing3)};var ml={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",r.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",r.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",r.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",r.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",r.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",r.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",r.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",r.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",r.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",r.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",r.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",r.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",r.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",r.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",r.spacing1)};var Ol={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",r.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",r.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",r.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",r.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",r.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",r.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",r.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",r.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",r.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",r.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",r.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",r.iconSize2)};var $l={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",r.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",r.spacing1),largeGap:t.extend("--ft-chip-large-gap","",r.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",r.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",r.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",r.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",r.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",r.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",r.spacing05),smallGap:t.extend("--ft-chip-small-gap","",r.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",r.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var Bl={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",r.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",r.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",r.colorBrand100)};var Tl={iconSize:t.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",r.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",r.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var Ul={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:t.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",l.contentActionPrimary)};var Kl={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",r.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Ql={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",r.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",r.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",r.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",r.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",r.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",r.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",r.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",r.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",r.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",r.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",r.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",r.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",r.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",r.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",r.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",r.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",r.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",r.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",r.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var rc={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",r.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",r.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",r.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",r.spacing4)};var lc={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",r.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",r.spacing6)};var fc={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",r.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",r.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",r.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",r.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:t.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var mc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",r.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",r.colorGray700)};var Oc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",r.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",r.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity24),onColor:t.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var $c={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var Bc={backgroundColor:t.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",r.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",r.borderRadiusS)};var Tc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",r.shadowElevation02)};var Uc={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",r.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",r.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",r.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",r.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",r.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",r.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",r.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var Kc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",r.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusS)};var Qc={backgroundColor:t.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",r.spacing6),titleColor:t.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",r.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",r.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",r.spacing6)};var rs={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:t.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",r.iconSize3)};var cs={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:t.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:t.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var fs={color1Light:t.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",r.colorRed40),color5Base:t.extend("--ft-chart-5-base","",r.colorRed60),color6Light:t.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",r.colorGray50),color10Base:t.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",r.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",r.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",r.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",r.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",r.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",r.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",r.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",r.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",r.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",r.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",r.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",r.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",r.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",r.colorCyan200)};var hs={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",r.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",r.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",r.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",r.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",r.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",r.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",r.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",r.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",r.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",r.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",r.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",r.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",r.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",r.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",r.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",r.colorBrown0)};var vs={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:t.extend("--ft-notice-gap","",r.spacing2),iconSize:t.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",r.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",r.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Ns={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:t.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",r.spacing3)};var Ps={iconSize:t.extend("--ft-notification-icon-size","",r.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",r.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",r.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",r.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",r.spacing8)};var Ws={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:t.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:t.extend("--ft-tooltip-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",r.spacing05)};var Gs={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",r.spacing4),gap:t.extend("--ft-reorderable-list-gap","",r.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",r.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",r.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",r.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",r.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",r.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",r.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",r.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",r.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",r.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",r.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",r.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",r.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Zs={menuHorizontalPadding:t.extend("--ft-date-range-picker-menu-horizontal-padding","",r.spacing4),menuVerticalPadding:t.extend("--ft-date-range-picker-menu-vertical-padding","",r.spacing4),menuVerticalGap:t.extend("--ft-date-range-picker-menu-vertical-gap","",r.spacing4),menuButtonsVerticalGap:t.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",r.spacing2)};var eo;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(eo||(eo={}));var ge;(function(o){o.large="large",o.medium="medium",o.small="small"})(ge||(ge={}));var ye=g(_());function Yr(o,e){let a=to[o];return ye.css`
|
|
5
5
|
${e?(0,ye.unsafeCSS)(e):ye.css`.ft-typography--${(0,ye.unsafeCSS)(o)}`} {
|
|
6
6
|
font-family: ${a.fontFamily};
|
|
7
7
|
font-size: ${a.fontSize};
|
|
@@ -11,7 +11,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
11
11
|
text-decoration: ${a.textDecoration};
|
|
12
12
|
text-transform: ${a.textCase};
|
|
13
13
|
}
|
|
14
|
-
`}var Xr=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),
|
|
14
|
+
`}var Xr=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),zt=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),v={fontFamily:zt,fontSize:b.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:b.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:b.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:b.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:b.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},he={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xr),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-font-size","",v.fontSize,"20px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",v.letterSpacing,"0.15px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-line-height","",v.lineHeight,"1.2"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",v.textTransform,"inherit")},me={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xr),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",v.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",v.letterSpacing,"0.105px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",v.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",v.textTransform,"inherit")},be={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",v.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",v.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",v.letterSpacing,"0.144px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",v.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",v.textTransform,"inherit")},xe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",v.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",v.letterSpacing,"0.098px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",v.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",v.textTransform,"inherit")},xt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",v.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",v.letterSpacing,"0.496px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",v.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",v.textTransform,"inherit")},Se={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",v.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",v.letterSpacing,"0.252px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",v.lineHeight,"1.4"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",v.textTransform,"inherit")},rt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",v.fontSize,"12px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",v.letterSpacing,"0.396px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",v.lineHeight,"1.33"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",v.textTransform,"inherit")},ve={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",v.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",v.letterSpacing,"0.33px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",v.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",v.textTransform,"inherit")},Oe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",v.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",v.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",v.letterSpacing,"1.5px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",v.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",v.textTransform,"uppercase")},Lt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",zt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-button-font-size","",v.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",v.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",v.letterSpacing,"1.246px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-button-line-height","",v.lineHeight,"1.15"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",v.textTransform,"uppercase")},qr=St.css`
|
|
15
15
|
.ft-typography--title {
|
|
16
16
|
font-family: ${he.fontFamily};
|
|
17
17
|
font-size: ${he.fontSize};
|
|
@@ -66,14 +66,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
66
66
|
line-height: ${Se.lineHeight};
|
|
67
67
|
text-transform: ${Se.textTransform};
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,Kt=St.css`
|
|
70
70
|
.ft-typography--caption {
|
|
71
|
-
font-family: ${
|
|
72
|
-
font-size: ${
|
|
73
|
-
font-weight: ${
|
|
74
|
-
letter-spacing: ${
|
|
75
|
-
line-height: ${
|
|
76
|
-
text-transform: ${
|
|
71
|
+
font-family: ${rt.fontFamily};
|
|
72
|
+
font-size: ${rt.fontSize};
|
|
73
|
+
font-weight: ${rt.fontWeight};
|
|
74
|
+
letter-spacing: ${rt.letterSpacing};
|
|
75
|
+
line-height: ${rt.lineHeight};
|
|
76
|
+
text-transform: ${rt.textTransform};
|
|
77
77
|
}
|
|
78
78
|
`,ea=St.css`
|
|
79
79
|
.ft-typography--breadcrumb {
|
|
@@ -95,26 +95,26 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
95
95
|
}
|
|
96
96
|
`,ra=St.css`
|
|
97
97
|
.ft-typography--button {
|
|
98
|
-
font-family: ${
|
|
99
|
-
font-size: ${
|
|
100
|
-
font-weight: ${
|
|
101
|
-
letter-spacing: ${
|
|
102
|
-
line-height: ${
|
|
103
|
-
text-transform: ${
|
|
98
|
+
font-family: ${Lt.fontFamily};
|
|
99
|
+
font-size: ${Lt.fontSize};
|
|
100
|
+
font-weight: ${Lt.fontWeight};
|
|
101
|
+
letter-spacing: ${Lt.letterSpacing};
|
|
102
|
+
line-height: ${Lt.lineHeight};
|
|
103
|
+
text-transform: ${Lt.textTransform};
|
|
104
104
|
}
|
|
105
105
|
`,aa=St.css`
|
|
106
106
|
.ft-typography {
|
|
107
107
|
vertical-align: inherit;
|
|
108
108
|
}
|
|
109
|
-
`,ia=[Object.keys(to).map(o=>Yr(o))];var na=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},
|
|
110
|
-
<${
|
|
109
|
+
`,ia=[Object.keys(to).map(o=>Yr(o))];var na=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},nt=class extends la.FtLitElement{constructor(){super(...arguments),this.variant=Ot.body1}render(){return this.element?Ao`
|
|
110
|
+
<${Lo(this.element)}
|
|
111
111
|
part="text"
|
|
112
112
|
class="ft-typography ft-typography--${this.variant}">
|
|
113
113
|
<slot></slot>
|
|
114
|
-
</${
|
|
114
|
+
</${Lo(this.element)}>
|
|
115
115
|
`:Ao`
|
|
116
116
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
117
|
-
`}};
|
|
117
|
+
`}};nt.styles=[qr,Qr,Jr,ta,oo,ro,Kt,ea,oa,ra,aa,...ia];na([(0,Po.property)()],nt.prototype,"element",void 0);na([(0,Po.property)()],nt.prototype,"variant",void 0);(0,ca.customElement)("ft-typography")(nt);var zo=g(A());var ao=g(ft());var sa=g(_()),D=g(A());var O={fontSize:D.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:D.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:D.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:D.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:D.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:D.FtCssVariableFactory.extend("--ft-input-label-border-color","",D.designSystemVariables.colorOutline),textColor:D.FtCssVariableFactory.extend("--ft-input-label-text-color","",D.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:D.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",D.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:D.FtCssVariableFactory.extend("--ft-input-label-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-input-label-border-radius","",D.designSystemVariables.borderRadiusS),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system")},da=sa.css`
|
|
118
118
|
.ft-input-label {
|
|
119
119
|
position: absolute;
|
|
120
120
|
inset: 0;
|
|
@@ -165,8 +165,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
165
165
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
166
166
|
max-width: calc(${O.labelMaxWidth} - 2 * (${O.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
167
167
|
text-overflow: ellipsis;
|
|
168
|
-
${(0,D.setVariable)(
|
|
169
|
-
${(0,D.setVariable)(
|
|
168
|
+
${(0,D.setVariable)(rt.fontSize,O.fontSize)};
|
|
169
|
+
${(0,D.setVariable)(rt.lineHeight,O.fontSize)};
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -186,7 +186,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
186
186
|
|
|
187
187
|
.ft-input-label--floating-text {
|
|
188
188
|
position: absolute;
|
|
189
|
-
top: calc(50% - ${
|
|
189
|
+
top: calc(50% - ${rt.lineHeight} / 2);
|
|
190
190
|
transition: top 250ms;
|
|
191
191
|
overflow: hidden;
|
|
192
192
|
white-space: nowrap;
|
|
@@ -198,8 +198,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.ft-input-label--raised .ft-input-label--text {
|
|
201
|
-
${(0,D.setVariable)(
|
|
202
|
-
${(0,D.setVariable)(
|
|
201
|
+
${(0,D.setVariable)(rt.fontSize,O.raisedFontSize)};
|
|
202
|
+
${(0,D.setVariable)(rt.lineHeight,O.raisedFontSize)};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -230,13 +230,13 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
230
230
|
z-index: ${O.raisedZIndex};
|
|
231
231
|
background-color: ${O.backgroundColor};
|
|
232
232
|
border-radius: ${O.borderRadius};
|
|
233
|
-
top: calc((${
|
|
233
|
+
top: calc((${rt.lineHeight} / -2) + 2px);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
237
237
|
border-top: none;
|
|
238
238
|
}
|
|
239
|
-
`;var Bo=g(_()),Io=g(
|
|
239
|
+
`;var Bo=g(_()),Io=g(ft());var fa=g(Mt()),ua=g(A()),pa=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},Wt=class extends ua.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Bo.html`
|
|
240
240
|
<div class="${(0,fa.classMap)(this.inputLabelClasses)}">
|
|
241
241
|
${Xe(this.text,()=>Bo.html`
|
|
242
242
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -245,12 +245,12 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
245
245
|
</div>
|
|
246
246
|
`)}
|
|
247
247
|
</div>
|
|
248
|
-
`}};
|
|
248
|
+
`}};Wt.elementDefinitions={};pa([(0,Io.property)({type:String})],Wt.prototype,"text",void 0);pa([(0,Io.property)({type:Boolean})],Wt.prototype,"raised",void 0);var ko=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},ht=class extends Wt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"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}}};ht.elementDefinitions={};ht.styles=[Kt,da];ko([(0,ao.property)({type:Boolean})],ht.prototype,"outlined",void 0);ko([(0,ao.property)({type:Boolean})],ht.prototype,"error",void 0);ko([(0,ao.property)({type:Boolean})],ht.prototype,"disabled",void 0);var ha=g(A());var ga=g(_());var K=g(A()),st={fontSize:K.FtCssVariableFactory.extend("--ft-input-label-font-size","",ue.fontSize),fontSizeRaised:K.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",ae.fontSize),lineHeight:K.FtCssVariableFactory.extend("--ft-input-label-line-height","",ae.lineHeight),color:K.FtCssVariableFactory.extend("--ft-input-label-color","",K.semantic.contentGlobalSubtle),largeFieldHeight:K.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:K.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",r.spacing05),largeFieldHorizontalPadding:K.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",r.spacing4),mediumFieldHeight:K.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:K.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:K.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",r.spacing4),additionalPaddingLeft:K.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:K.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ya=[ga.css`
|
|
249
249
|
|
|
250
250
|
:root {
|
|
251
|
-
--field-height: ${
|
|
252
|
-
--field-vertical-gap: ${
|
|
253
|
-
--field-horizontal-padding: ${
|
|
251
|
+
--field-height: ${st.largeFieldHeight};
|
|
252
|
+
--field-vertical-gap: ${st.largeFieldVerticalGap};
|
|
253
|
+
--field-horizontal-padding: ${st.largeFieldHorizontalPadding};
|
|
254
254
|
|
|
255
255
|
--typo-caption-height: calc(${ae.lineHeight} * ${ae.fontSize});
|
|
256
256
|
--typo-body-height: calc(${ue.lineHeight} * ${ue.fontSize});
|
|
@@ -268,15 +268,15 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.ft-input-label.ftds--size-large {
|
|
271
|
-
--field-height: ${
|
|
272
|
-
--field-vertical-gap: ${
|
|
273
|
-
--field-horizontal-padding: ${
|
|
271
|
+
--field-height: ${st.largeFieldHeight};
|
|
272
|
+
--field-vertical-gap: ${st.largeFieldVerticalGap};
|
|
273
|
+
--field-horizontal-padding: ${st.largeFieldHorizontalPadding};
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
.ft-input-label.ftds--size-medium {
|
|
277
|
-
--field-height: ${
|
|
278
|
-
--field-vertical-gap: ${
|
|
279
|
-
--field-horizontal-padding: ${
|
|
277
|
+
--field-height: ${st.mediumFieldHeight};
|
|
278
|
+
--field-vertical-gap: ${st.mediumFieldVerticalGap};
|
|
279
|
+
--field-horizontal-padding: ${st.mediumFieldHorizontalPadding};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-input-label--text {
|
|
@@ -287,8 +287,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
287
287
|
z-index: 10;
|
|
288
288
|
width: 100%;
|
|
289
289
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
290
|
-
${(0,
|
|
291
|
-
${(0,
|
|
290
|
+
${(0,K.setVariable)(rt.fontSize,st.fontSize)};
|
|
291
|
+
${(0,K.setVariable)(rt.lineHeight,st.lineHeight)};
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.ft-input-label--hidden-text {
|
|
@@ -311,23 +311,23 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
311
311
|
|
|
312
312
|
padding-top: ${O.verticalSpacing};
|
|
313
313
|
padding-bottom: ${O.verticalSpacing};
|
|
314
|
-
padding-left: calc(var(--field-horizontal-padding) + ${
|
|
315
|
-
padding-right: calc(var(--field-horizontal-padding) + ${
|
|
314
|
+
padding-left: calc(var(--field-horizontal-padding) + ${st.additionalPaddingLeft});
|
|
315
|
+
padding-right: calc(var(--field-horizontal-padding) + ${st.additionalPaddingRight});
|
|
316
316
|
|
|
317
317
|
margin: calc(${O.verticalSpacing} * -1) 0;
|
|
318
|
-
color: ${
|
|
318
|
+
color: ${st.color};
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.ft-input-label--raised .ft-input-label--text {
|
|
322
|
-
${(0,
|
|
323
|
-
${(0,
|
|
322
|
+
${(0,K.setVariable)(rt.fontSize,st.fontSizeRaised)};
|
|
323
|
+
${(0,K.setVariable)(rt.lineHeight,st.lineHeight)};
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
327
327
|
top: var(--input-content-vertical-padding);
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
`];var We=class extends(0,ha.toFtdsBase)(
|
|
330
|
+
`];var We=class extends(0,ha.toFtdsBase)(Wt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};We.styles=[Kt,ya];(0,zo.customElement)("ft-input-label")(ht);(0,zo.customElement)("ftds-input-label")(We);var Na=g(A());var wa=g(_()),lt=g(ft()),Ea=g(Mt()),Te=g(A());var Oa=g(_()),j=g(A()),ma=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorContent),h={color:ma,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",ma),opacityContentOnSurfacePressed:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:j.FtCssVariableFactory.external(j.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:j.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ba=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorPrimary),xa={color:ba,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",ba)},Sa=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorSecondary),va={color:Sa,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",Sa)},Ca=Oa.css`
|
|
331
331
|
:host {
|
|
332
332
|
display: contents;
|
|
333
333
|
}
|
|
@@ -439,7 +439,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
439
439
|
opacity: ${h.opacityContentOnSurfacePressed};
|
|
440
440
|
transform: translate(-50%, -50%) scale(1);
|
|
441
441
|
}
|
|
442
|
-
`;var
|
|
442
|
+
`;var ut=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},z=class extends Te.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 Te.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Te.Debouncer(10),this.moveRipple=e=>{var a,i;let{x:n,y:c}=this.getCoordinates(e),s=(i=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(c!=null?c-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 wa.html`
|
|
443
443
|
<style>
|
|
444
444
|
.ft-ripple .ft-ripple--effect {
|
|
445
445
|
left: ${this.originX}px;
|
|
@@ -450,7 +450,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
450
450
|
<div class="ft-ripple--background"></div>
|
|
451
451
|
<div class="ft-ripple--effect"></div>
|
|
452
452
|
</div>
|
|
453
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var a,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,a;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((a=this.target)!==null&&a!==void 0?a:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let a=(...d)=>f=>{d.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(f)},i=a("mouseup","contextmenu"),n=a("touchend","touchcancel"),c=d=>{["Enter"," "].includes(d.key)&&a("keyup")(d)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",c,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",c,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let a=e,i=e,n,c;return a.x!=null?{x:n,y:c}=a:i.touches!=null&&(n=i.touches[0].clientX,c=i.touches[0].clientY),{x:n,y:c}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let a of e.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};z.elementDefinitions={};z.styles=Ca;gt([(0,ct.property)({type:Boolean})],z.prototype,"primary",void 0);gt([(0,ct.property)({type:Boolean})],z.prototype,"secondary",void 0);gt([(0,ct.property)({type:Boolean})],z.prototype,"unbounded",void 0);gt([(0,ct.property)({type:Boolean})],z.prototype,"activated",void 0);gt([(0,ct.property)({type:Boolean})],z.prototype,"selected",void 0);gt([(0,ct.property)({type:Boolean})],z.prototype,"disabled",void 0);gt([(0,ct.state)()],z.prototype,"hovered",void 0);gt([(0,ct.state)()],z.prototype,"focused",void 0);gt([(0,ct.state)()],z.prototype,"pressed",void 0);gt([(0,ct.state)()],z.prototype,"rippling",void 0);gt([(0,ct.state)()],z.prototype,"originX",void 0);gt([(0,ct.state)()],z.prototype,"originY",void 0);gt([(0,ct.query)(".ft-ripple")],z.prototype,"ripple",void 0);gt([(0,ct.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,$a.customElement)("ft-ripple")(z);var Pa=g(A());var _e=g(_()),Kt=g(ut()),La=g(A()),Aa=g(bo());var Rt;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.GRIP_LINES_SOLID="",o.TRANSLATE_SPARKLE_SOLID="",o.CODE="",o.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",o.PAPER_PLANE_SLASH="",o.COMPRESS="",o.EXPAND="",o.ARROW_ROTATE_LEFT="",o.EYE="",o.SHARE="󨃱",o.MOBILE_SMALL="",o.SPARKLES="",o.HAND_SOLID="",o.CLOCK_SOLID="",o.CONTEXT_MENU_CURSOR="",o.LANGUAGE_SLASH="",o.MAGNIFYING_GLASS_FLOPPY_DISK="",o.CABINET_FILING_FLOPPY_DISK="",o.BOOKMARK_SLASH="",o.CIRCLE_PAUSE="",o.CIRCLE_PLAY="",o.CIRCLE_STOP_PLAIN="",o.CLOUD_ARROW_DOWN="",o.SHARE_NODES="",o.BELL="",o.BELL_SLASH="",o.FILE="",o.HAND="",o.SQUARE_INFO_SOLID=""})(Rt||(Rt={}));var m;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(m||(m={}));var Qp=new Map([...["abw"].map(o=>[o,m.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(o=>[o,m.AUDIO]),...["avi"].map(o=>[o,m.AVI]),...["chm","xhs"].map(o=>[o,m.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(o=>[o,m.CODE]),...["csv"].map(o=>[o,m.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,m.DITA]),...["epub"].map(o=>[o,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,m.EXCEL]),...["flac"].map(o=>[o,m.FLAC]),...["gif"].map(o=>[o,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,m.GZIP]),...["html","htm","xhtml"].map(o=>[o,m.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,m.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,m.JPEG]),...["json"].map(o=>[o,m.JSON]),...["m4a","m4p"].map(o=>[o,m.M4A]),...["mov","qt"].map(o=>[o,m.MOV]),...["mp3"].map(o=>[o,m.MP3]),...["mp4","m4v"].map(o=>[o,m.MP4]),...["ogg","oga"].map(o=>[o,m.OGG]),...["pdf","ps"].map(o=>[o,m.PDF]),...["png"].map(o=>[o,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,m.POWERPOINT]),...["rar"].map(o=>[o,m.RAR]),...["stp"].map(o=>[o,m.STP]),...["txt","rtf","md","mdown"].map(o=>[o,m.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(o=>[o,m.VIDEO]),...["wav"].map(o=>[o,m.WAV]),...["wma"].map(o=>[o,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,m.WORD]),...["xml","xsl","rdf"].map(o=>[o,m.XML]),...["yaml","yml","x-yaml"].map(o=>[o,m.YAML]),...["zip"].map(o=>[o,m.ZIP])]);var Jp={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var Na=g(_()),Ct=g(A()),tt={size:Ct.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ct.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ra=[Na.css`
|
|
453
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var a,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,a;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((a=this.target)!==null&&a!==void 0?a:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let a=(...d)=>f=>{d.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(f)},i=a("mouseup","contextmenu"),n=a("touchend","touchcancel"),c=d=>{["Enter"," "].includes(d.key)&&a("keyup")(d)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",c,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",c,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let a=e,i=e,n,c;return a.x!=null?{x:n,y:c}=a:i.touches!=null&&(n=i.touches[0].clientX,c=i.touches[0].clientY),{x:n,y:c}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let a of e.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};z.elementDefinitions={};z.styles=Ca;ut([(0,lt.property)({type:Boolean})],z.prototype,"primary",void 0);ut([(0,lt.property)({type:Boolean})],z.prototype,"secondary",void 0);ut([(0,lt.property)({type:Boolean})],z.prototype,"unbounded",void 0);ut([(0,lt.property)({type:Boolean})],z.prototype,"activated",void 0);ut([(0,lt.property)({type:Boolean})],z.prototype,"selected",void 0);ut([(0,lt.property)({type:Boolean})],z.prototype,"disabled",void 0);ut([(0,lt.state)()],z.prototype,"hovered",void 0);ut([(0,lt.state)()],z.prototype,"focused",void 0);ut([(0,lt.state)()],z.prototype,"pressed",void 0);ut([(0,lt.state)()],z.prototype,"rippling",void 0);ut([(0,lt.state)()],z.prototype,"originX",void 0);ut([(0,lt.state)()],z.prototype,"originY",void 0);ut([(0,lt.query)(".ft-ripple")],z.prototype,"ripple",void 0);ut([(0,lt.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,Na.customElement)("ft-ripple")(z);var Pa=g(A());var _e=g(_()),jt=g(ft()),Ra=g(A()),Aa=g(bo());var Rt;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.GRIP_LINES_SOLID="",o.TRANSLATE_SPARKLE_SOLID="",o.CODE="",o.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",o.PAPER_PLANE_SLASH="",o.COMPRESS="",o.EXPAND="",o.ARROW_ROTATE_LEFT="",o.EYE="",o.SHARE="󨃱",o.MOBILE_SMALL="",o.SPARKLES="",o.HAND_SOLID="",o.CLOCK_SOLID="",o.CONTEXT_MENU_CURSOR="",o.LANGUAGE_SLASH="",o.MAGNIFYING_GLASS_FLOPPY_DISK="",o.CABINET_FILING_FLOPPY_DISK="",o.BOOKMARK_SLASH="",o.CIRCLE_PAUSE="",o.CIRCLE_PLAY="",o.CIRCLE_STOP_PLAIN="",o.CLOUD_ARROW_DOWN="",o.SHARE_NODES="",o.BELL="",o.BELL_SLASH="",o.FILE="",o.HAND="",o.SQUARE_INFO_SOLID=""})(Rt||(Rt={}));var m;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(m||(m={}));var Qp=new Map([...["abw"].map(o=>[o,m.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(o=>[o,m.AUDIO]),...["avi"].map(o=>[o,m.AVI]),...["chm","xhs"].map(o=>[o,m.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(o=>[o,m.CODE]),...["csv"].map(o=>[o,m.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,m.DITA]),...["epub"].map(o=>[o,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,m.EXCEL]),...["flac"].map(o=>[o,m.FLAC]),...["gif"].map(o=>[o,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,m.GZIP]),...["html","htm","xhtml"].map(o=>[o,m.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,m.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,m.JPEG]),...["json"].map(o=>[o,m.JSON]),...["m4a","m4p"].map(o=>[o,m.M4A]),...["mov","qt"].map(o=>[o,m.MOV]),...["mp3"].map(o=>[o,m.MP3]),...["mp4","m4v"].map(o=>[o,m.MP4]),...["ogg","oga"].map(o=>[o,m.OGG]),...["pdf","ps"].map(o=>[o,m.PDF]),...["png"].map(o=>[o,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,m.POWERPOINT]),...["rar"].map(o=>[o,m.RAR]),...["stp"].map(o=>[o,m.STP]),...["txt","rtf","md","mdown"].map(o=>[o,m.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(o=>[o,m.VIDEO]),...["wav"].map(o=>[o,m.WAV]),...["wma"].map(o=>[o,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,m.WORD]),...["xml","xsl","rdf"].map(o=>[o,m.XML]),...["yaml","yml","x-yaml"].map(o=>[o,m.YAML]),...["zip"].map(o=>[o,m.ZIP])]);var Jp={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var $a=g(_()),Ct=g(A()),J={size:Ct.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ct.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},La=[$a.css`
|
|
454
454
|
:host, i.ft-icon {
|
|
455
455
|
display: inline-flex;
|
|
456
456
|
align-items: center;
|
|
@@ -459,14 +459,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
:host {
|
|
462
|
-
width: ${
|
|
463
|
-
height: ${
|
|
462
|
+
width: ${J.size};
|
|
463
|
+
height: ${J.size};
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
i.ft-icon {
|
|
467
467
|
width: 100%;
|
|
468
468
|
height: 100%;
|
|
469
|
-
font-size: ${
|
|
469
|
+
font-size: ${J.size};
|
|
470
470
|
line-height: 1;
|
|
471
471
|
font-weight: normal;
|
|
472
472
|
text-transform: none;
|
|
@@ -477,33 +477,33 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
477
477
|
text-rendering: auto;
|
|
478
478
|
-webkit-font-smoothing: antialiased;
|
|
479
479
|
-moz-osx-font-smoothing: grayscale;
|
|
480
|
-
vertical-align: ${
|
|
480
|
+
vertical-align: ${J.verticalAlign};
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
i.ft-icon.ft-icon--fluid-topics {
|
|
484
|
-
font-family: ${
|
|
484
|
+
font-family: ${J.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
485
485
|
|
|
486
486
|
/* Ugly fix because font is broken */
|
|
487
|
-
font-size: calc(0.75 * ${
|
|
488
|
-
line-height: ${
|
|
487
|
+
font-size: calc(0.75 * ${J.size});
|
|
488
|
+
line-height: ${J.size};
|
|
489
489
|
position: relative;
|
|
490
490
|
top: -4%;
|
|
491
491
|
justify-content: center;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-icon--file-format {
|
|
495
|
-
font-family: ${
|
|
495
|
+
font-family: ${J.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-icon--material {
|
|
499
|
-
font-family: ${
|
|
499
|
+
font-family: ${J.materialFontFamily}, "Material Icons", sans-serif;
|
|
500
500
|
}
|
|
501
|
-
`,Ct.noTextSelect];var
|
|
501
|
+
`,Ct.noTextSelect];var At;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(At||(At={}));var De=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},tt=class extends Ra.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_e.nothing}render(){let e=this.variant&&Object.values(At).includes(this.variant)?this.variant:At.fluid_topics,a=e!==At.material||!!this.value;return _e.html`
|
|
502
502
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
503
503
|
${(0,Aa.unsafeHTML)(this.resolvedIcon)}
|
|
504
504
|
<slot ?hidden=${a}></slot>
|
|
505
505
|
</i>
|
|
506
|
-
`}get textContent(){var e,a;return(a=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}update(e){super.update(e),["value","variant"].some(a=>e.has(a))&&this.resolveIcon()}resolveIcon(){var e,a;let i=this.value||this.textContent;switch(this.variant){case
|
|
506
|
+
`}get textContent(){var e,a;return(a=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}update(e){super.update(e),["value","variant"].some(a=>e.has(a))&&this.resolveIcon()}resolveIcon(){var e,a;let i=this.value||this.textContent;switch(this.variant){case At.file_format:this.resolvedIcon=(e=m[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case At.material:this.resolvedIcon=this.value||_e.nothing;break;default:this.resolvedIcon=(a=Rt[i.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};tt.elementDefinitions={};tt.styles=La;De([(0,jt.property)()],tt.prototype,"variant",void 0);De([(0,jt.property)()],tt.prototype,"value",void 0);De([(0,jt.property)({reflect:!0,attribute:"aria-hidden"})],tt.prototype,"ariaHidden",void 0);De([(0,jt.state)()],tt.prototype,"resolvedIcon",void 0);De([(0,jt.query)("slot")],tt.prototype,"slottedContent",void 0);(0,Pa.customElement)("ft-icon")(tt);var Ba=g(_()),w=g(A());var L={labelSize:w.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:w.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:w.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:w.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:w.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:w.FtCssVariableFactory.extend("--ft-select-selected-option-color","",w.designSystemVariables.colorOnSurface),helperColor:w.FtCssVariableFactory.extend("--ft-select-helper-color","",w.designSystemVariables.colorOnSurfaceMedium),optionsColor:w.FtCssVariableFactory.extend("--ft-select-options-color","",w.designSystemVariables.colorOnSurface),optionsZIndex:w.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:w.FtCssVariableFactory.extend("--ft-select-background-color","",w.designSystemVariables.colorSurface),colorOnSurfaceDisabled:w.FtCssVariableFactory.external(w.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:w.FtCssVariableFactory.external(w.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:w.FtCssVariableFactory.external(w.designSystemVariables.borderRadiusS,"Design system"),elevation02:w.FtCssVariableFactory.external(w.designSystemVariables.elevation02,"Design system"),colorError:w.FtCssVariableFactory.external(w.designSystemVariables.colorError,"Design system")},Ia=Ba.css`
|
|
507
507
|
*:focus {
|
|
508
508
|
outline: none;
|
|
509
509
|
}
|
|
@@ -517,7 +517,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
517
517
|
.ft-select--main-panel {
|
|
518
518
|
position: relative;
|
|
519
519
|
display: flex;
|
|
520
|
-
height: calc(4 * ${
|
|
520
|
+
height: calc(4 * ${L.verticalSpacing} + ${L.labelSize} + ${L.selectedOptionSize});
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.ft-select--input-panel {
|
|
@@ -526,11 +526,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
528
|
overflow: hidden;
|
|
529
|
-
padding-left: ${
|
|
530
|
-
padding-right: ${
|
|
529
|
+
padding-left: ${L.horizontalSpacing};
|
|
530
|
+
padding-right: ${L.horizontalSpacing};
|
|
531
531
|
gap: 8px;
|
|
532
|
-
color: ${
|
|
533
|
-
${(0,w.setVariable)(h.color,
|
|
532
|
+
color: ${L.selectedOptionColor};
|
|
533
|
+
${(0,w.setVariable)(h.color,L.selectedOptionColor)};
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.ft-select--input-panel,
|
|
@@ -546,7 +546,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
546
546
|
|
|
547
547
|
.ft-select--disabled .ft-select--input-panel,
|
|
548
548
|
.ft-select--disabled .ft-select--option {
|
|
549
|
-
color: ${
|
|
549
|
+
color: ${L.colorOnSurfaceDisabled};
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
.ft-select:not(.ft-select--disabled) .ft-select--input-panel,
|
|
@@ -555,21 +555,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
ft-input-label {
|
|
558
|
-
${(0,w.setVariable)(O.fontSize,
|
|
559
|
-
${(0,w.setVariable)(O.raisedFontSize,
|
|
560
|
-
${(0,w.setVariable)(O.verticalSpacing,
|
|
561
|
-
${(0,w.setVariable)(O.horizontalSpacing,
|
|
562
|
-
${(0,w.setVariable)(O.backgroundColor,
|
|
563
|
-
${(0,w.setVariable)(O.labelMaxWidth,`calc(100% - ${
|
|
558
|
+
${(0,w.setVariable)(O.fontSize,L.selectedOptionSize)};
|
|
559
|
+
${(0,w.setVariable)(O.raisedFontSize,L.labelSize)};
|
|
560
|
+
${(0,w.setVariable)(O.verticalSpacing,L.verticalSpacing)};
|
|
561
|
+
${(0,w.setVariable)(O.horizontalSpacing,L.horizontalSpacing)};
|
|
562
|
+
${(0,w.setVariable)(O.backgroundColor,L.backgroundColor)};
|
|
563
|
+
${(0,w.setVariable)(O.labelMaxWidth,`calc(100% - ${J.size} - 8px)`)};
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
567
|
-
color: ${
|
|
567
|
+
color: ${L.colorPrimary};
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
571
|
-
${(0,w.setVariable)(O.borderColor,
|
|
572
|
-
${(0,w.setVariable)(O.textColor,
|
|
571
|
+
${(0,w.setVariable)(O.borderColor,L.colorPrimary)};
|
|
572
|
+
${(0,w.setVariable)(O.textColor,L.colorPrimary)};
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.ft-select--selected-option {
|
|
@@ -579,12 +579,12 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
579
579
|
overflow: hidden;
|
|
580
580
|
white-space: nowrap;
|
|
581
581
|
text-overflow: ellipsis;
|
|
582
|
-
${(0,w.setVariable)(xt.fontSize,
|
|
583
|
-
${(0,w.setVariable)(xt.lineHeight,
|
|
582
|
+
${(0,w.setVariable)(xt.fontSize,L.selectedOptionSize)};
|
|
583
|
+
${(0,w.setVariable)(xt.lineHeight,L.selectedOptionSize)};
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
.ft-select--in-error .ft-select--selected-option {
|
|
587
|
-
color: ${
|
|
587
|
+
color: ${L.colorError};
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
ft-icon {
|
|
@@ -596,26 +596,26 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
.ft-select--filled .ft-select--input-panel {
|
|
599
|
-
border-radius: ${
|
|
599
|
+
border-radius: ${L.borderRadiusS} ${L.borderRadiusS} 0 0;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
.ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
|
|
603
603
|
align-self: stretch;
|
|
604
|
-
padding-top: calc(${
|
|
604
|
+
padding-top: calc(${L.labelSize} + 2 * ${L.verticalSpacing});
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
.ft-select--outlined .ft-select--input-panel {
|
|
608
|
-
border-radius: ${
|
|
608
|
+
border-radius: ${L.borderRadiusS};
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
.ft-select--options {
|
|
612
612
|
display: none;
|
|
613
613
|
position: absolute;
|
|
614
614
|
top: 100%;
|
|
615
|
-
color: ${
|
|
616
|
-
background: ${
|
|
617
|
-
z-index: ${
|
|
618
|
-
box-shadow: ${
|
|
615
|
+
color: ${L.optionsColor};
|
|
616
|
+
background: ${L.backgroundColor};
|
|
617
|
+
z-index: ${L.optionsZIndex};
|
|
618
|
+
box-shadow: ${L.elevation02};
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
.ft-select--fixed .ft-select--options {
|
|
@@ -624,20 +624,20 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
624
624
|
|
|
625
625
|
.ft-select--options-displayed .ft-select--options {
|
|
626
626
|
display: block;
|
|
627
|
-
max-height: ${
|
|
627
|
+
max-height: ${L.optionsHeight};
|
|
628
628
|
overflow-y: auto;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
631
|
.ft-select--option {
|
|
632
632
|
position: relative;
|
|
633
|
-
padding: 4px ${
|
|
633
|
+
padding: 4px ${L.horizontalSpacing};
|
|
634
634
|
min-height: 32px;
|
|
635
635
|
display: flex;
|
|
636
636
|
align-items: center;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-select--option:hover {
|
|
640
|
-
border-left: 2px ${
|
|
640
|
+
border-left: 2px ${L.colorPrimary} solid;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.ft-select--option span {
|
|
@@ -646,14 +646,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
.ft-select--helper-text {
|
|
649
|
-
padding: 0 ${
|
|
650
|
-
color: ${
|
|
649
|
+
padding: 0 ${L.horizontalSpacing};
|
|
650
|
+
color: ${L.helperColor};
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.ft-select--in-error .ft-select--helper-text {
|
|
654
|
-
color: ${
|
|
654
|
+
color: ${L.colorError};
|
|
655
655
|
}
|
|
656
|
-
`;var G=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},
|
|
656
|
+
`;var G=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},Xt=class extends Yt.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ie.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Xt.elementDefinitions={};G([(0,T.property)({type:String})],Xt.prototype,"label",void 0);G([(0,T.property)({type:Object,converter:o=>o})],Xt.prototype,"value",void 0);G([(0,T.property)({type:Boolean,reflect:!0})],Xt.prototype,"selected",void 0);var W=class o extends Yt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,a,i,n,c;let s=this.hasOptionsMenuOpen,d=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(a=this.selectedOption)===null||a===void 0?void 0:a.label)!==null&&i!==void 0?i:"").length>0,y={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":d,"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 ie.html`
|
|
657
657
|
<div class="${(0,Wo.classMap)(y)}" part="container">
|
|
658
658
|
<div class="ft-select--main-panel" part="main-panel">
|
|
659
659
|
<ft-input-label text="${this.label}"
|
|
@@ -669,11 +669,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
669
669
|
tabindex="${d?"-1":"0"}"
|
|
670
670
|
@click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
|
|
671
671
|
@keydown=${this.onMainPanelKeyDown}
|
|
672
|
-
aria-label="${
|
|
672
|
+
aria-label="${It(this.ariaLabel)}"
|
|
673
673
|
aria-labelledby="${Xe(!this.ariaLabel,()=>"label")}"
|
|
674
674
|
aria-haspopup="listbox"
|
|
675
675
|
aria-expanded="${s}"
|
|
676
|
-
aria-activedescendant="${
|
|
676
|
+
aria-activedescendant="${It(this.getOptionId(this.selectedOption))}"
|
|
677
677
|
role="combobox">
|
|
678
678
|
<ft-ripple ?disabled=${d} ?activated=${!this.outlined}></ft-ripple>
|
|
679
679
|
<ft-typography variant="${Ot.body1}" class="ft-select--selected-option">
|
|
@@ -709,7 +709,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
709
709
|
<ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
|
|
710
710
|
<span>${e.label}</span>
|
|
711
711
|
</div>
|
|
712
|
-
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(a=>a.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var a,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(a=this.selectedOptionElement)!==null&&a!==void 0?a:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,
|
|
712
|
+
`}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(a=>a.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var a,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(a=this.selectedOptionElement)!==null&&a!==void 0?a:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,Yt.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",L.optionsHeight,0).then(({x:c,y:s})=>{this.optionsMenu.style.left=`${c}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var a;e.stopPropagation();let i=(a=this.optionsSlot)===null||a===void 0?void 0:a.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var a,i,n,c,s;let d;switch(e.key){case"Escape":this.optionsDisplayed=!1,(a=this.mainPanel)===null||a===void 0||a.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),d=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),d=(s=(c=this.focusedOption)===null||c===void 0?void 0:c.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(d=this.handleAlphanumericPress(e.key));break}d?.focus()}isKeyAlphanumeric(e){let a=e.charCodeAt(0);return a>47&&a<58||a>64&&a<91||a>96&&a<123}handleAlphanumericPress(e){var a,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>o.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let c=this.options.find(d=>{var f;return((f=d.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(c===void 0){this.lastSearchInputDate=n;return}let s=(i=(a=this.optionsMenu)===null||a===void 0?void 0:a.querySelector(`[data-value="${c.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,a){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(a),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}getOptionId(e){if(!e)return;let a=this.options.findIndex(i=>(0,Yt.deepEqual)(i.value,e.value));if(a!==-1)return`option-${a}`}selectOption(e){var a,i;if(!(0,Yt.deepEqual)((a=this.selectedOption)===null||a===void 0?void 0:a.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};W.elementDefinitions={"ft-input-label":ht,"ft-typography":nt,"ft-ripple":z,"ft-icon":tt};W.searchTimeoutMilliseconds=2e3;W.styles=[ro,Kt,Ia];G([(0,T.property)({type:String})],W.prototype,"label",void 0);G([(0,T.property)({type:String})],W.prototype,"ariaLabel",void 0);G([(0,T.property)({type:String})],W.prototype,"helper",void 0);G([(0,T.property)({type:Boolean})],W.prototype,"outlined",void 0);G([(0,T.property)({type:Boolean})],W.prototype,"disabled",void 0);G([(0,T.property)({type:Boolean})],W.prototype,"error",void 0);G([(0,T.property)({type:Boolean})],W.prototype,"fixedMenuPosition",void 0);G([(0,T.property)({type:Array})],W.prototype,"options",void 0);G([(0,T.state)()],W.prototype,"selectedOption",void 0);G([(0,T.state)()],W.prototype,"optionsDisplayed",void 0);G([(0,T.state)()],W.prototype,"focusOptions",void 0);G([(0,T.state)()],W.prototype,"currentSearch",void 0);G([(0,T.state)()],W.prototype,"lastSearchInputDate",void 0);G([(0,T.query)(".ft-select")],W.prototype,"container",void 0);G([(0,T.query)(".ft-select--options")],W.prototype,"optionsMenu",void 0);G([(0,T.query)(".ft-select--input-panel")],W.prototype,"mainPanel",void 0);G([(0,T.query)(".ft-select--option:first-child")],W.prototype,"firstOption",void 0);G([(0,T.query)(".ft-select--option:focus")],W.prototype,"focusedOption",void 0);G([(0,T.query)(".ft-select--option.ft-select--option-selected")],W.prototype,"selectedOptionElement",void 0);G([(0,T.query)(".ft-select--option:last-child")],W.prototype,"lastOption",void 0);G([(0,T.query)("slot:not([name])")],W.prototype,"optionsSlot",void 0);(0,To.customElement)("ft-select")(W);(0,To.customElement)("ft-select-option")(Xt);var Do=g(A());var et=g(_()),P=g(ft()),Ga=g(Ye()),Ua=g(Mt());var qt=g(A());var za=g(_()),C=g(A());var N={fontSize:C.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:C.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:C.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:C.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:C.FtCssVariableFactory.extend("--ft-text-field-helper-color","",C.designSystemVariables.colorOnSurfaceMedium),colorPrimary:C.FtCssVariableFactory.external(C.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:C.FtCssVariableFactory.external(C.designSystemVariables.borderRadiusS,"Design system"),colorError:C.FtCssVariableFactory.external(C.designSystemVariables.colorError,"Design system"),prefixColor:C.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",C.designSystemVariables.colorOnSurfaceMedium),iconColor:C.FtCssVariableFactory.extend("--ft-text-field-icon-color","",C.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:C.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:C.FtCssVariableFactory.extend("--ft-text-field-background-color","",C.designSystemVariables.colorSurface),colorOutline:C.FtCssVariableFactory.external(C.designSystemVariables.colorOutline,"Design system"),elevation02:C.FtCssVariableFactory.external(C.designSystemVariables.elevation02,"Design system"),suggestSize:C.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Wa=za.css`
|
|
713
713
|
*:focus {
|
|
714
714
|
outline: none;
|
|
715
715
|
}
|
|
@@ -719,21 +719,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
719
719
|
flex-direction: column;
|
|
720
720
|
align-items: stretch;
|
|
721
721
|
position: relative;
|
|
722
|
-
--text-field-internal-suggest-size: ${
|
|
722
|
+
--text-field-internal-suggest-size: ${N.suggestSize};
|
|
723
723
|
}
|
|
724
724
|
|
|
725
725
|
ft-input-label {
|
|
726
|
-
${(0,C.setVariable)(O.fontSize
|
|
727
|
-
${(0,C.setVariable)(O.raisedFontSize
|
|
728
|
-
${(0,C.setVariable)(O.verticalSpacing
|
|
729
|
-
${(0,C.setVariable)(O.horizontalSpacing
|
|
730
|
-
${(0,C.setVariable)(O.backgroundColor
|
|
726
|
+
${(0,C.setVariable)(O.fontSize,N.fontSize)};
|
|
727
|
+
${(0,C.setVariable)(O.raisedFontSize,N.labelSize)};
|
|
728
|
+
${(0,C.setVariable)(O.verticalSpacing,N.verticalSpacing)};
|
|
729
|
+
${(0,C.setVariable)(O.horizontalSpacing,N.horizontalSpacing)};
|
|
730
|
+
${(0,C.setVariable)(O.backgroundColor,N.backgroundColor)};
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
.ft-text-field--main-panel {
|
|
734
734
|
position: relative;
|
|
735
735
|
display: flex;
|
|
736
|
-
height: calc(4 * ${
|
|
736
|
+
height: calc(4 * ${N.verticalSpacing} + ${N.labelSize} + ${N.fontSize});
|
|
737
737
|
}
|
|
738
738
|
|
|
739
739
|
.ft-text-field--input-panel {
|
|
@@ -742,10 +742,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
742
742
|
display: flex;
|
|
743
743
|
align-items: center;
|
|
744
744
|
overflow: hidden;
|
|
745
|
-
padding: 0 ${
|
|
745
|
+
padding: 0 ${N.horizontalSpacing};
|
|
746
746
|
|
|
747
|
-
${(0,C.setVariable)(xt.fontSize
|
|
748
|
-
${(0,C.setVariable)(xt.lineHeight
|
|
747
|
+
${(0,C.setVariable)(xt.fontSize,N.fontSize)};
|
|
748
|
+
${(0,C.setVariable)(xt.lineHeight,N.fontSize)};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-text-field--input-panel ft-ripple {
|
|
@@ -755,11 +755,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
755
755
|
|
|
756
756
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
757
757
|
align-items: flex-end;
|
|
758
|
-
padding: 0 ${
|
|
758
|
+
padding: 0 ${N.horizontalSpacing} ${N.verticalSpacing} ${N.horizontalSpacing};
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
.ft-text-field--prefix {
|
|
762
|
-
color: ${
|
|
762
|
+
color: ${N.prefixColor};
|
|
763
763
|
margin-right: 2px;
|
|
764
764
|
flex-shrink: 1;
|
|
765
765
|
overflow: hidden;
|
|
@@ -778,22 +778,22 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
778
778
|
flex-shrink: 1;
|
|
779
779
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
780
780
|
|
|
781
|
-
color: ${
|
|
782
|
-
padding: calc(2 * ${
|
|
781
|
+
color: ${N.colorOnSurface};
|
|
782
|
+
padding: calc(2 * ${N.verticalSpacing}) 0;
|
|
783
783
|
border: none;
|
|
784
784
|
background: none;
|
|
785
785
|
|
|
786
786
|
&:-webkit-autofill,
|
|
787
787
|
&:-webkit-autofill:hover,
|
|
788
788
|
&:-webkit-autofill:focus {
|
|
789
|
-
-webkit-text-fill-color: ${
|
|
789
|
+
-webkit-text-fill-color: ${N.colorOnSurface};
|
|
790
790
|
transition: background-color 50000000s ease-in-out 100000s;
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
|
|
794
794
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
795
795
|
padding-bottom: 0;
|
|
796
|
-
padding-top: calc(${
|
|
796
|
+
padding-top: calc(${N.labelSize} + 2 * ${N.verticalSpacing});
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -802,37 +802,37 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
.ft-text-field--disabled .ft-text-field--input {
|
|
805
|
-
color: ${
|
|
805
|
+
color: ${N.colorOnSurfaceDisabled};
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
809
|
-
${(0,C.setVariable)(O.borderColor
|
|
810
|
-
${(0,C.setVariable)(O.textColor
|
|
809
|
+
${(0,C.setVariable)(O.borderColor,N.colorPrimary)};
|
|
810
|
+
${(0,C.setVariable)(O.textColor,N.colorPrimary)};
|
|
811
811
|
}
|
|
812
812
|
|
|
813
813
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
814
|
-
border-radius: ${
|
|
814
|
+
border-radius: ${N.borderRadiusS} ${N.borderRadiusS} 0 0;
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
818
|
-
border-radius: ${
|
|
818
|
+
border-radius: ${N.borderRadiusS};
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
.ft-text-field--helper-text {
|
|
822
|
-
padding: 0 12px 0 ${
|
|
823
|
-
color: ${
|
|
822
|
+
padding: 0 12px 0 ${N.horizontalSpacing};
|
|
823
|
+
color: ${N.helperColor};
|
|
824
824
|
}
|
|
825
825
|
|
|
826
826
|
.ft-text-field--in-error .ft-text-field--input,
|
|
827
827
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
828
828
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
829
|
-
color: ${
|
|
829
|
+
color: ${N.colorError};
|
|
830
830
|
}
|
|
831
831
|
|
|
832
832
|
.ft-text-field--icon {
|
|
833
833
|
align-self: center;
|
|
834
834
|
margin-left: 8px;
|
|
835
|
-
color: ${
|
|
835
|
+
color: ${N.iconColor};
|
|
836
836
|
}
|
|
837
837
|
|
|
838
838
|
.ft-text-field--container {
|
|
@@ -843,11 +843,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
843
843
|
display: none;
|
|
844
844
|
flex-direction: column;
|
|
845
845
|
position: absolute;
|
|
846
|
-
z-index: ${
|
|
847
|
-
background: ${
|
|
848
|
-
border: 1px solid ${
|
|
849
|
-
border-radius: 0 0 ${
|
|
850
|
-
box-shadow: ${
|
|
846
|
+
z-index: ${N.floatingZIndex};
|
|
847
|
+
background: ${N.backgroundColor};
|
|
848
|
+
border: 1px solid ${N.colorOutline};
|
|
849
|
+
border-radius: 0 0 ${N.borderRadiusS} ${N.borderRadiusS};
|
|
850
|
+
box-shadow: ${N.elevation02};
|
|
851
851
|
outline: none;
|
|
852
852
|
max-height: var(--text-field-internal-suggest-size);
|
|
853
853
|
overflow-y: auto;
|
|
@@ -862,13 +862,13 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
.ft-text-field--with-icon {
|
|
865
|
-
${(0,C.setVariable)(O.labelMaxWidth,`calc(100% - ${
|
|
865
|
+
${(0,C.setVariable)(O.labelMaxWidth,`calc(100% - ${J.size} - ${O.horizontalSpacing})`)};
|
|
866
866
|
}
|
|
867
867
|
|
|
868
868
|
.ft-text-field--with-password ft-icon:hover {
|
|
869
869
|
cursor: pointer;
|
|
870
870
|
}
|
|
871
|
-
`;var Da=g(A()),He=g(_()),ne=g(
|
|
871
|
+
`;var Da=g(A()),He=g(_()),ne=g(ft());var Ta=g(_());var _a=Ta.css`
|
|
872
872
|
.ft-text-field-suggestion {
|
|
873
873
|
position: relative;
|
|
874
874
|
padding: 8px 16px;
|
|
@@ -898,13 +898,13 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
.ft-text-field-suggestion--helper-text {
|
|
901
|
-
color: ${
|
|
901
|
+
color: ${N.helperColor};
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
slot {
|
|
905
905
|
pointer-events: none;
|
|
906
906
|
}
|
|
907
|
-
`;var Ha=g(
|
|
907
|
+
`;var Ha=g(Mt()),io=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},_o=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},vt=class extends Da.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return He.html`
|
|
908
908
|
<div class=${(0,Ha.classMap)(e)}
|
|
909
909
|
tabindex="-1"
|
|
910
910
|
@keydown=${this.onKeyDown}
|
|
@@ -920,7 +920,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
920
920
|
<slot></slot>
|
|
921
921
|
</ft-typography>
|
|
922
922
|
</div>
|
|
923
|
-
`}focus(e){var a;(a=this.container)===null||a===void 0||a.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new _o(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};vt.elementDefinitions={"ft-ripple":z,"ft-typography":
|
|
923
|
+
`}focus(e){var a;(a=this.container)===null||a===void 0||a.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new _o(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};vt.elementDefinitions={"ft-ripple":z,"ft-typography":nt,"ft-icon":tt};vt.styles=_a;io([(0,ne.property)()],vt.prototype,"value",void 0);io([(0,ne.property)()],vt.prototype,"helper",void 0);io([(0,ne.query)(".ft-text-field-suggestion")],vt.prototype,"container",void 0);io([(0,ne.queryAssignedNodes)()],vt.prototype,"assignedNodes",void 0);var I=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},R=class extends(0,qt.toFtFormComponent)(qt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Rt.EYE_SLASH,this.passwordRevealedIcon=Rt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let a=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",a)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"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--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},a=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(c=>c.label).includes(this.value),n=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||a;return et.html`
|
|
924
924
|
<div class="${(0,Ua.classMap)(e)}">
|
|
925
925
|
<div class="ft-text-field--main-panel"
|
|
926
926
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -931,19 +931,19 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
931
931
|
?raised=${this.focused||this.value!=""}
|
|
932
932
|
?error=${this.error}></ft-input-label>
|
|
933
933
|
<div class="ft-text-field--input-panel">
|
|
934
|
-
${this.outlined?
|
|
934
|
+
${this.outlined?et.nothing:et.html`
|
|
935
935
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
936
936
|
`}
|
|
937
|
-
${this.prefix?
|
|
937
|
+
${this.prefix?et.html`
|
|
938
938
|
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
939
939
|
${this.prefix}
|
|
940
940
|
</ft-typography>
|
|
941
|
-
`:
|
|
941
|
+
`:et.nothing}
|
|
942
942
|
<input type="${this.resolveInputType()}"
|
|
943
|
-
name="${
|
|
944
|
-
maxlength="${
|
|
943
|
+
name="${It(this.name)}"
|
|
944
|
+
maxlength="${It(this.maxLength||void 0)}"
|
|
945
945
|
aria-label="${this.label}"
|
|
946
|
-
autocomplete="${
|
|
946
|
+
autocomplete="${It(this.autocomplete)}"
|
|
947
947
|
class="ft-typography--body1 ft-text-field--input"
|
|
948
948
|
part="input"
|
|
949
949
|
?disabled=${this.disabled}
|
|
@@ -956,40 +956,40 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
956
956
|
<div class="ft-text-field--suggestions"
|
|
957
957
|
@suggestion-selected=${this.onSuggestionSelected}>
|
|
958
958
|
${this.renderSuggestions()}
|
|
959
|
-
${n?
|
|
959
|
+
${n?et.html`
|
|
960
960
|
<ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
|
|
961
961
|
${this.value}
|
|
962
962
|
</ft-text-field-suggestion>
|
|
963
|
-
`:
|
|
963
|
+
`:et.nothing}
|
|
964
964
|
</div>
|
|
965
965
|
</div>
|
|
966
|
-
${this.helper?
|
|
966
|
+
${this.helper?et.html`
|
|
967
967
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
968
968
|
${this.helper}
|
|
969
969
|
</ft-typography>
|
|
970
|
-
`:
|
|
970
|
+
`:et.nothing}
|
|
971
971
|
</div>
|
|
972
|
-
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?
|
|
973
|
-
${(0,Ga.repeat)(this.providedSuggestions,e=>
|
|
972
|
+
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?et.html`
|
|
973
|
+
${(0,Ga.repeat)(this.providedSuggestions,e=>et.html`
|
|
974
974
|
<ft-text-field-suggestion value="${e.value}" @click=${a=>this.onSuggestionClick(a,e.clickHandler)}>
|
|
975
|
-
${e.icon?
|
|
975
|
+
${e.icon?et.html`
|
|
976
976
|
<ft-icon .value=${e.icon}></ft-icon>
|
|
977
|
-
`:
|
|
977
|
+
`:et.nothing}
|
|
978
978
|
${e.label}
|
|
979
979
|
</ft-text-field-suggestion>`)}
|
|
980
|
-
`:
|
|
980
|
+
`:et.html`
|
|
981
981
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
982
|
-
`}onSuggestionClick(e,a){a&&(e.preventDefault(),a(e))}renderPasswordIcon(){return
|
|
982
|
+
`}onSuggestionClick(e,a){a&&(e.preventDefault(),a(e))}renderPasswordIcon(){return et.html`
|
|
983
983
|
<ft-icon class="ft-text-field--icon"
|
|
984
984
|
.variant=${this.iconVariant}
|
|
985
985
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
986
986
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
987
|
-
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?
|
|
987
|
+
`}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?et.html`
|
|
988
988
|
<ft-icon class="ft-text-field--icon"
|
|
989
989
|
.variant=${this.iconVariant}
|
|
990
990
|
.value=${this.icon}
|
|
991
991
|
@click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
|
|
992
|
-
`:
|
|
992
|
+
`:et.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var a,i,n;!((a=this.input)===null||a===void 0)&&a.matches(":autofill")&&this.dispatchedValue!==((i=this.input)===null||i===void 0?void 0:i.value)&&this.setValue((n=this.input)===null||n===void 0?void 0:n.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,a=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),a&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var a;let i=((a=this.input)===null||a===void 0?void 0:a.value)||"";this.setValue(i,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var a;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(c=>c.matches(":focus-within")),n;e.key==="ArrowDown"?n=i<this.visibleSuggestions.length-1?i+1:0:n=i>0?i-1:this.visibleSuggestions.length-1,(a=this.visibleSuggestions[n])===null||a===void 0||a.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var a;this.setValue(e.detail,!0),(a=this.input)===null||a===void 0||a.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,a;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((a=this.input)===null||a===void 0?void 0:a.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,qt.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:a,y:i})=>{this.suggestionsContainer.style.left=`${a}px`,this.suggestionsContainer.style.top=`${i}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};R.elementDefinitions={"ft-input-label":ht,"ft-ripple":z,"ft-typography":nt,"ft-icon":tt,"ft-text-field-suggestion":vt};R.styles=[oo,qt.noTextInputDefaultClearButton,Wa];I([(0,P.property)()],R.prototype,"label",void 0);I([(0,P.property)({noAccessor:!0})],R.prototype,"value",null);I([(0,P.state)()],R.prototype,"dispatchedValue",void 0);I([(0,P.property)()],R.prototype,"helper",void 0);I([(0,P.property)()],R.prototype,"suggestionsHelper",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"outlined",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"disabled",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"error",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"fixedMenuPosition",void 0);I([(0,P.property)()],R.prototype,"prefix",void 0);I([(0,P.property)()],R.prototype,"icon",void 0);I([(0,P.property)()],R.prototype,"name",void 0);I([(0,P.property)()],R.prototype,"type",void 0);I([(0,P.property)()],R.prototype,"passwordHiddenIcon",void 0);I([(0,P.property)()],R.prototype,"passwordRevealedIcon",void 0);I([(0,P.property)()],R.prototype,"iconVariant",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"filterSuggestions",void 0);I([(0,P.property)({type:Number})],R.prototype,"maxLength",void 0);I([(0,P.property)({type:Boolean})],R.prototype,"password",void 0);I([(0,P.property)({type:String})],R.prototype,"autocomplete",void 0);I([(0,P.property)({attribute:!1})],R.prototype,"suggestionsProvider",void 0);I([(0,P.state)()],R.prototype,"focused",void 0);I([(0,P.state)()],R.prototype,"hidePassword",void 0);I([(0,P.state)()],R.prototype,"hideSuggestions",void 0);I([(0,P.state)()],R.prototype,"visibleSuggestions",void 0);I([(0,P.state)()],R.prototype,"providedSuggestions",void 0);I([(0,P.query)(".ft-text-field--main-panel")],R.prototype,"mainPanel",void 0);I([(0,P.query)(".ft-text-field--input")],R.prototype,"input",void 0);I([(0,P.query)(".ft-text-field-suggestion--new-value")],R.prototype,"newValueSuggestion",void 0);I([(0,P.query)(".ft-text-field--suggestions")],R.prototype,"suggestionsContainer",void 0);I([(0,P.queryAll)("ft-text-field-suggestion")],R.prototype,"providedSuggestionsInDom",void 0);I([(0,P.queryAssignedElements)({selector:"ft-text-field-suggestion"})],R.prototype,"slottedSuggestions",void 0);(0,Do.customElement)("ft-text-field")(R);(0,Do.customElement)("ft-text-field-suggestion")(vt);var Jo=g(A());var Ve=g(ft()),$i=g(A());var Ka=g(_()),$=g(A());var Fa=g(_()),Ge=g(A()),U={color:Ge.FtCssVariableFactory.extend("--ft-loader-color","",Ge.designSystemVariables.colorPrimary),size:Ge.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ma=Fa.css`
|
|
993
993
|
:host {
|
|
994
994
|
line-height: 0;
|
|
995
995
|
}
|
|
@@ -1058,7 +1058,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1058
1058
|
transform: translate(calc(0.35 * ${U.size}), 0);
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
-
`;var Za
|
|
1061
|
+
`;var Za=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),F={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:Za,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Lt.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",Za),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Va=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),Ho={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:Va,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Va)},Pt={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ja=[Ka.css`
|
|
1062
1062
|
:host {
|
|
1063
1063
|
display: inline-block;
|
|
1064
1064
|
max-width: 100%;
|
|
@@ -1069,7 +1069,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1069
1069
|
box-shadow: 0px 0px 0px transparent;
|
|
1070
1070
|
border: 0px solid transparent;
|
|
1071
1071
|
text-shadow: 0px 0px 0px transparent;
|
|
1072
|
-
font-size: ${
|
|
1072
|
+
font-size: ${F.fontSize};
|
|
1073
1073
|
text-decoration: none;
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
@@ -1099,31 +1099,31 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1099
1099
|
border: none;
|
|
1100
1100
|
pointer-events: auto;
|
|
1101
1101
|
|
|
1102
|
-
--button-internal-line-height: max(calc(${
|
|
1103
|
-
--button-internal-color: ${
|
|
1104
|
-
${(0
|
|
1105
|
-
${(0
|
|
1102
|
+
--button-internal-line-height: max(calc(${F.fontSize} + 2px), ${F.iconSize});
|
|
1103
|
+
--button-internal-color: ${F.color};
|
|
1104
|
+
${(0,$.setVariable)(J.size,F.iconSize)};
|
|
1105
|
+
${(0,$.setVariable)(h.color,F.rippleColor)};
|
|
1106
1106
|
|
|
1107
|
-
border-radius: ${
|
|
1108
|
-
padding: ${
|
|
1109
|
-
background-color: ${
|
|
1107
|
+
border-radius: ${F.borderRadius};
|
|
1108
|
+
padding: ${F.verticalPadding} ${F.horizontalPadding};
|
|
1109
|
+
background-color: ${F.backgroundColor};
|
|
1110
1110
|
color: var(--button-internal-color);
|
|
1111
1111
|
-webkit-mask-image: radial-gradient(white, black);
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
.ft-button.ft-button--outlined {
|
|
1115
1115
|
border: 1px solid var(--button-internal-color);
|
|
1116
|
-
padding: calc(${
|
|
1116
|
+
padding: calc(${F.verticalPadding} - 1px) calc(${F.horizontalPadding} - 1px);
|
|
1117
1117
|
}
|
|
1118
1118
|
|
|
1119
1119
|
.ft-button.ft-button--dense {
|
|
1120
|
-
padding: ${
|
|
1121
|
-
border-radius: ${
|
|
1122
|
-
gap: ${
|
|
1120
|
+
padding: ${Pt.verticalPadding} ${Pt.horizontalPadding};
|
|
1121
|
+
border-radius: ${Pt.borderRadius};
|
|
1122
|
+
gap: ${Pt.iconPadding};
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1126
|
-
padding: calc(${
|
|
1126
|
+
padding: calc(${Pt.verticalPadding} - 1px) calc(${Pt.horizontalPadding} - 1px);
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
1129
|
.ft-button:not([disabled]):hover {
|
|
@@ -1131,22 +1131,22 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
.ft-button--round {
|
|
1134
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
1134
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${F.verticalPadding});
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
1137
|
.ft-button--round.ft-button--dense {
|
|
1138
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
1138
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${Pt.verticalPadding});
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
1141
|
.ft-button[disabled] {
|
|
1142
1142
|
filter: grayscale(1);
|
|
1143
|
-
opacity: ${
|
|
1143
|
+
opacity: ${F.opacityDisabled};
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
1146
|
.ft-button.ft-button--primary {
|
|
1147
1147
|
background-color: ${Ho.backgroundColor};
|
|
1148
1148
|
--button-internal-color: ${Ho.color};
|
|
1149
|
-
${(0
|
|
1149
|
+
${(0,$.setVariable)(h.color,Ho.rippleColor)};
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
.ft-button:focus {
|
|
@@ -1159,13 +1159,13 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1159
1159
|
white-space: nowrap;
|
|
1160
1160
|
text-overflow: ellipsis;
|
|
1161
1161
|
display: block;
|
|
1162
|
-
margin: 0 ${
|
|
1163
|
-
${(0
|
|
1164
|
-
${(0
|
|
1162
|
+
margin: 0 ${F.iconPadding};
|
|
1163
|
+
${(0,$.setVariable)(Lt.fontSize,"1em")};
|
|
1164
|
+
${(0,$.setVariable)(Lt.lineHeight,"var(--button-internal-line-height)")};
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
1167
|
.ft-button--dense .ft-button--label {
|
|
1168
|
-
margin: 0 ${
|
|
1168
|
+
margin: 0 ${Pt.iconPadding};
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
.ft-button--label[hidden] {
|
|
@@ -1178,13 +1178,13 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
1180
|
.ft-button--label[hidden] + [part="icon"] {
|
|
1181
|
-
margin: 0 calc(${
|
|
1182
|
-
padding: 0 ${
|
|
1181
|
+
margin: 0 calc(${F.horizontalPadding} * -1);
|
|
1182
|
+
padding: 0 ${F.verticalPadding};
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
1185
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
1186
|
-
margin: 0 calc(${
|
|
1187
|
-
padding: 0 ${
|
|
1186
|
+
margin: 0 calc(${Pt.horizontalPadding} * -1);
|
|
1187
|
+
padding: 0 ${Pt.verticalPadding};
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
1190
|
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
@@ -1192,10 +1192,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
1194
|
ft-loader {
|
|
1195
|
-
${(0
|
|
1196
|
-
${(0
|
|
1195
|
+
${(0,$.setVariable)(U.size,F.iconSize)};
|
|
1196
|
+
${(0,$.setVariable)(U.color,"var(--button-internal-color)")};
|
|
1197
1197
|
}
|
|
1198
|
-
|
|
1198
|
+
`,$.noTextSelect];var te=g(A());var Ci=g(A());var Oi=g(_()),bt=g(ft()),yt=g(A());var Ya=g(_()),Tt=g(A()),Ce={distance:Tt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Tt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Tt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Tt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Xa=Ya.css`
|
|
1199
1199
|
.ft-tooltip--container {
|
|
1200
1200
|
display: block;
|
|
1201
1201
|
}
|
|
@@ -1224,15 +1224,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1224
1224
|
position: relative;
|
|
1225
1225
|
word-break: break-word;
|
|
1226
1226
|
}
|
|
1227
|
-
`;var Qa=["top","right","bottom","left"],qa=["start","end"],Uo=Qa.reduce((o,e)=>o.concat(e,e+"-"+qa[0],e+"-"+qa[1]),[]),Ja=Math.min,ti=Math.max;var qi={left:"right",right:"left",bottom:"top",top:"bottom"},Qi={start:"end",end:"start"};function Fo(o,e,a){return ti(o,Ja(e,a))}function no(o,e){return typeof o=="function"?o(e):o}function we(o){return o.split("-")[0]}function qt(o){return o.split("-")[1]}function Mo(o){return o==="x"?"y":"x"}function Zo(o){return o==="y"?"height":"width"}function lo(o){return["top","bottom"].includes(we(o))?"y":"x"}function Vo(o){return Mo(lo(o))}function ei(o,e,a){a===void 0&&(a=!1);let i=qt(o),n=Vo(o),c=Zo(n),s=n==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(s=Go(s)),[s,Go(s)]}function oi(o){return o.replace(/start|end/g,e=>Qi[e])}function Go(o){return o.replace(/left|right|bottom|top/g,e=>qi[e])}function Ji(o){return{top:0,right:0,bottom:0,left:0,...o}}function ri(o){return typeof o!="number"?Ji(o):{top:o,right:o,bottom:o,left:o}}function le(o){let{x:e,y:a,width:i,height:n}=o;return{width:i,height:n,top:a,left:e,right:e+i,bottom:a+n,x:e,y:a}}function ai(o,e,a){let{reference:i,floating:n}=o,c=lo(e),s=Vo(e),d=Zo(s),f=we(e),y=c==="y",S=i.x+i.width/2-n.width/2,x=i.y+i.height/2-n.height/2,B=i[d]/2-n[d]/2,E;switch(f){case"top":E={x:S,y:i.y-n.height};break;case"bottom":E={x:S,y:i.y+i.height};break;case"right":E={x:i.x+i.width,y:x};break;case"left":E={x:i.x-n.width,y:x};break;default:E={x:i.x,y:i.y}}switch(qt(e)){case"start":E[s]-=B*(a&&y?-1:1);break;case"end":E[s]+=B*(a&&y?-1:1);break}return E}var ii=async(o,e,a)=>{let{placement:i="bottom",strategy:n="absolute",middleware:c=[],platform:s}=a,d=c.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),y=await s.getElementRects({reference:o,floating:e,strategy:n}),{x:S,y:x}=ai(y,i,f),B=i,E={},k=0;for(let Z=0;Z<d.length;Z++){let{name:Q,fn:V}=d[Z],{x:J,y:pt,data:Ut,reset:st}=await V({x:S,y:x,initialPlacement:i,placement:B,strategy:n,middlewareData:E,rects:y,platform:s,elements:{reference:o,floating:e}});S=J??S,x=pt??x,E={...E,[Q]:{...E[Q],...Ut}},st&&k<=50&&(k++,typeof st=="object"&&(st.placement&&(B=st.placement),st.rects&&(y=st.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:n}):st.rects),{x:S,y:x}=ai(y,B,f)),Z=-1)}return{x:S,y:x,placement:B,strategy:n,middlewareData:E}};async function Ko(o,e){var a;e===void 0&&(e={});let{x:i,y:n,platform:c,rects:s,elements:d,strategy:f}=o,{boundary:y="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:B=!1,padding:E=0}=no(e,o),k=ri(E),Q=d[B?x==="floating"?"reference":"floating":x],V=le(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(Q)))==null||a?Q:Q.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:y,rootBoundary:S,strategy:f})),J=x==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,pt=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),Ut=await(c.isElement==null?void 0:c.isElement(pt))?await(c.getScale==null?void 0:c.getScale(pt))||{x:1,y:1}:{x:1,y:1},st=le(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:J,offsetParent:pt,strategy:f}):J);return{top:(V.top-st.top+k.top)/Ut.y,bottom:(st.bottom-V.bottom+k.bottom)/Ut.y,left:(V.left-st.left+k.left)/Ut.x,right:(st.right-V.right+k.right)/Ut.x}}function tn(o,e,a){return(o?[...a.filter(n=>qt(n)===o),...a.filter(n=>qt(n)!==o)]:a.filter(n=>we(n)===n)).filter(n=>o?qt(n)===o||(e?oi(n)!==n:!1):!0)}var jo=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var a,i,n;let{rects:c,middlewareData:s,placement:d,platform:f,elements:y}=e,{crossAxis:S=!1,alignment:x,allowedPlacements:B=Uo,autoAlignment:E=!0,...k}=no(o,e),Z=x!==void 0||B===Uo?tn(x||null,E,B):B,Q=await Ko(e,k),V=((a=s.autoPlacement)==null?void 0:a.index)||0,J=Z[V];if(J==null)return{};let pt=ei(J,c,await(f.isRTL==null?void 0:f.isRTL(y.floating)));if(d!==J)return{reset:{placement:Z[0]}};let Ut=[Q[we(J)],Q[pt[0]],Q[pt[1]]],st=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:J,overflows:Ut}],tr=Z[V+1];if(tr)return{data:{index:V+1,overflows:st},reset:{placement:tr}};let er=st.map($t=>{let Pe=qt($t.placement);return[$t.placement,Pe&&S?$t.overflows.slice(0,2).reduce((Ti,_i)=>Ti+_i,0):$t.overflows[0],$t.overflows]}).sort(($t,Pe)=>$t[1]-Pe[1]),or=((n=er.filter($t=>$t[2].slice(0,qt($t[0])?2:3).every(Pe=>Pe<=0))[0])==null?void 0:n[0])||er[0][0];return or!==d?{data:{index:V+1,overflows:st},reset:{placement:or}}:{}}}};var Yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:a,y:i,placement:n}=e,{mainAxis:c=!0,crossAxis:s=!1,limiter:d={fn:Q=>{let{x:V,y:J}=Q;return{x:V,y:J}}},...f}=no(o,e),y={x:a,y:i},S=await Ko(e,f),x=lo(we(n)),B=Mo(x),E=y[B],k=y[x];if(c){let Q=B==="y"?"top":"left",V=B==="y"?"bottom":"right",J=E+S[Q],pt=E-S[V];E=Fo(J,E,pt)}if(s){let Q=x==="y"?"top":"left",V=x==="y"?"bottom":"right",J=k+S[Q],pt=k-S[V];k=Fo(J,k,pt)}let Z=d.fn({...e,[B]:E,[x]:k});return{...Z,data:{x:Z.x-a,y:Z.y-i,enabled:{[B]:c,[x]:s}}}}}};var Xo=Math.min,Ee=Math.max,Ue=Math.round;var Tt=o=>({x:o,y:o});function _t(o){return li(o)?(o.nodeName||"").toLowerCase():"#document"}function yt(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Dt(o){var e;return(e=(li(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function li(o){return o instanceof Node||o instanceof yt(o).Node}function Pt(o){return o instanceof Element||o instanceof yt(o).Element}function wt(o){return o instanceof HTMLElement||o instanceof yt(o).HTMLElement}function ni(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof yt(o).ShadowRoot}function $e(o){let{overflow:e,overflowX:a,overflowY:i,display:n}=bt(o);return/auto|scroll|overlay|hidden|clip/.test(e+i+a)&&!["inline","contents"].includes(n)}function ci(o){return["table","td","th"].includes(_t(o))}function so(o){let e=po(),a=bt(o);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!e&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!e&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function si(o){let e=ce(o);for(;wt(e)&&!Fe(e);){if(so(e))return e;e=ce(e)}return null}function po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fe(o){return["html","body","#document"].includes(_t(o))}function bt(o){return yt(o).getComputedStyle(o)}function Me(o){return Pt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ce(o){if(_t(o)==="html")return o;let e=o.assignedSlot||o.parentNode||ni(o)&&o.host||Dt(o);return ni(e)?e.host:e}function di(o){let e=ce(o);return Fe(e)?o.ownerDocument?o.ownerDocument.body:o.body:wt(e)&&$e(e)?e:di(e)}function co(o,e,a){var i;e===void 0&&(e=[]),a===void 0&&(a=!0);let n=di(o),c=n===((i=o.ownerDocument)==null?void 0:i.body),s=yt(n);return c?e.concat(s,s.visualViewport||[],$e(n)?n:[],s.frameElement&&a?co(s.frameElement):[]):e.concat(n,co(n,[],a))}function ui(o){let e=bt(o),a=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=wt(o),c=n?o.offsetWidth:a,s=n?o.offsetHeight:i,d=Ue(a)!==c||Ue(i)!==s;return d&&(a=c,i=s),{width:a,height:i,$:d}}function gi(o){return Pt(o)?o:o.contextElement}function Ne(o){let e=gi(o);if(!wt(e))return Tt(1);let a=e.getBoundingClientRect(),{width:i,height:n,$:c}=ui(e),s=(c?Ue(a.width):a.width)/i,d=(c?Ue(a.height):a.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}var rn=Tt(0);function yi(o){let e=yt(o);return!po()||!e.visualViewport?rn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function an(o,e,a){return e===void 0&&(e=!1),!a||e&&a!==yt(o)?!1:e}function Ze(o,e,a,i){e===void 0&&(e=!1),a===void 0&&(a=!1);let n=o.getBoundingClientRect(),c=gi(o),s=Tt(1);e&&(i?Pt(i)&&(s=Ne(i)):s=Ne(o));let d=an(c,a,i)?yi(c):Tt(0),f=(n.left+d.x)/s.x,y=(n.top+d.y)/s.y,S=n.width/s.x,x=n.height/s.y;if(c){let B=yt(c),E=i&&Pt(i)?yt(i):i,k=B.frameElement;for(;k&&i&&E!==B;){let Z=Ne(k),Q=k.getBoundingClientRect(),V=bt(k),J=Q.left+(k.clientLeft+parseFloat(V.paddingLeft))*Z.x,pt=Q.top+(k.clientTop+parseFloat(V.paddingTop))*Z.y;f*=Z.x,y*=Z.y,S*=Z.x,x*=Z.y,f+=J,y+=pt,k=yt(k).frameElement}}return le({width:S,height:x,x:f,y})}function nn(o){let{rect:e,offsetParent:a,strategy:i}=o,n=wt(a),c=Dt(a);if(a===c)return e;let s={scrollLeft:0,scrollTop:0},d=Tt(1),f=Tt(0);if((n||!n&&i!=="fixed")&&((_t(a)!=="body"||$e(c))&&(s=Me(a)),wt(a))){let y=Ze(a);d=Ne(a),f.x=y.x+a.clientLeft,f.y=y.y+a.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-s.scrollLeft*d.x+f.x,y:e.y*d.y-s.scrollTop*d.y+f.y}}function ln(o){return Array.from(o.getClientRects())}function hi(o){return Ze(Dt(o)).left+Me(o).scrollLeft}function cn(o){let e=Dt(o),a=Me(o),i=o.ownerDocument.body,n=Ee(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),c=Ee(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-a.scrollLeft+hi(o),d=-a.scrollTop;return bt(i).direction==="rtl"&&(s+=Ee(e.clientWidth,i.clientWidth)-n),{width:n,height:c,x:s,y:d}}function sn(o,e){let a=yt(o),i=Dt(o),n=a.visualViewport,c=i.clientWidth,s=i.clientHeight,d=0,f=0;if(n){c=n.width,s=n.height;let y=po();(!y||y&&e==="fixed")&&(d=n.offsetLeft,f=n.offsetTop)}return{width:c,height:s,x:d,y:f}}function dn(o,e){let a=Ze(o,!0,e==="fixed"),i=a.top+o.clientTop,n=a.left+o.clientLeft,c=wt(o)?Ne(o):Tt(1),s=o.clientWidth*c.x,d=o.clientHeight*c.y,f=n*c.x,y=i*c.y;return{width:s,height:d,x:f,y}}function pi(o,e,a){let i;if(e==="viewport")i=sn(o,a);else if(e==="document")i=cn(Dt(o));else if(Pt(e))i=dn(e,a);else{let n=yi(o);i={...e,x:e.x-n.x,y:e.y-n.y}}return le(i)}function mi(o,e){let a=ce(o);return a===e||!Pt(a)||Fe(a)?!1:bt(a).position==="fixed"||mi(a,e)}function pn(o,e){let a=e.get(o);if(a)return a;let i=co(o,[],!1).filter(d=>Pt(d)&&_t(d)!=="body"),n=null,c=bt(o).position==="fixed",s=c?ce(o):o;for(;Pt(s)&&!Fe(s);){let d=bt(s),f=so(s);!f&&d.position==="fixed"&&(n=null),(c?!f&&!n:!f&&d.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||$e(s)&&!f&&mi(o,s))?i=i.filter(S=>S!==s):n=d,s=ce(s)}return e.set(o,i),i}function fn(o){let{element:e,boundary:a,rootBoundary:i,strategy:n}=o,s=[...a==="clippingAncestors"?pn(e,this._c):[].concat(a),i],d=s[0],f=s.reduce((y,S)=>{let x=pi(e,S,n);return y.top=Ee(x.top,y.top),y.right=Xo(x.right,y.right),y.bottom=Xo(x.bottom,y.bottom),y.left=Ee(x.left,y.left),y},pi(e,d,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function un(o){return ui(o)}function gn(o,e,a){let i=wt(e),n=Dt(e),c=a==="fixed",s=Ze(o,!0,c,e),d={scrollLeft:0,scrollTop:0},f=Tt(0);if(i||!i&&!c)if((_t(e)!=="body"||$e(n))&&(d=Me(e)),i){let y=Ze(e,!0,c,e);f.x=y.x+e.clientLeft,f.y=y.y+e.clientTop}else n&&(f.x=hi(n));return{x:s.left+d.scrollLeft-f.x,y:s.top+d.scrollTop-f.y,width:s.width,height:s.height}}function fi(o,e){return!wt(o)||bt(o).position==="fixed"?null:e?e(o):o.offsetParent}function bi(o,e){let a=yt(o);if(!wt(o))return a;let i=fi(o,e);for(;i&&ci(i)&&bt(i).position==="static";)i=fi(i,e);return i&&(_t(i)==="html"||_t(i)==="body"&&bt(i).position==="static"&&!so(i))?a:i||si(o)||a}var yn=async function(o){let{reference:e,floating:a,strategy:i}=o,n=this.getOffsetParent||bi,c=this.getDimensions;return{reference:gn(e,await n(a),i),floating:{x:0,y:0,...await c(a)}}};function hn(o){return bt(o).direction==="rtl"}var fo={convertOffsetParentRelativeRectToViewportRelativeRect:nn,getDocumentElement:Dt,getClippingRect:fn,getOffsetParent:bi,getElementRects:yn,getClientRects:ln,getDimensions:un,getScale:Ne,isElement:Pt,isRTL:hn};var xi=(o,e,a)=>{let i=new Map,n={platform:fo,...a},c={...n.platform,_c:i};return ii(o,e,{...n,platform:c})};function Si(o){return mn(o)}function qo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function mn(o){for(let e=o;e;e=qo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=qo(o);e;e=qo(e)){if(!(e instanceof Element))continue;let a=getComputedStyle(e);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||e.tagName==="BODY"))return e}return null}async function vi(o,e,a){return xi(o,e,{platform:{...fo,getOffsetParent:i=>fo.getOffsetParent(i,Si)},middleware:[Yo({crossAxis:!0}),jo({allowedPlacements:[a]})]})}var ht=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},F=class extends Qt.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 Qt.Debouncer,this.revealDebouncer=new Qt.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Oi.html`
|
|
1227
|
+
`;var Qa=["top","right","bottom","left"],qa=["start","end"],Uo=Qa.reduce((o,e)=>o.concat(e,e+"-"+qa[0],e+"-"+qa[1]),[]),Ja=Math.min,ti=Math.max;var qi={left:"right",right:"left",bottom:"top",top:"bottom"},Qi={start:"end",end:"start"};function Fo(o,e,a){return ti(o,Ja(e,a))}function no(o,e){return typeof o=="function"?o(e):o}function we(o){return o.split("-")[0]}function Qt(o){return o.split("-")[1]}function Mo(o){return o==="x"?"y":"x"}function Zo(o){return o==="y"?"height":"width"}function lo(o){return["top","bottom"].includes(we(o))?"y":"x"}function Vo(o){return Mo(lo(o))}function ei(o,e,a){a===void 0&&(a=!1);let i=Qt(o),n=Vo(o),c=Zo(n),s=n==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(s=Go(s)),[s,Go(s)]}function oi(o){return o.replace(/start|end/g,e=>Qi[e])}function Go(o){return o.replace(/left|right|bottom|top/g,e=>qi[e])}function Ji(o){return{top:0,right:0,bottom:0,left:0,...o}}function ri(o){return typeof o!="number"?Ji(o):{top:o,right:o,bottom:o,left:o}}function le(o){let{x:e,y:a,width:i,height:n}=o;return{width:i,height:n,top:a,left:e,right:e+i,bottom:a+n,x:e,y:a}}function ai(o,e,a){let{reference:i,floating:n}=o,c=lo(e),s=Vo(e),d=Zo(s),f=we(e),y=c==="y",S=i.x+i.width/2-n.width/2,x=i.y+i.height/2-n.height/2,B=i[d]/2-n[d]/2,E;switch(f){case"top":E={x:S,y:i.y-n.height};break;case"bottom":E={x:S,y:i.y+i.height};break;case"right":E={x:i.x+i.width,y:x};break;case"left":E={x:i.x-n.width,y:x};break;default:E={x:i.x,y:i.y}}switch(Qt(e)){case"start":E[s]-=B*(a&&y?-1:1);break;case"end":E[s]+=B*(a&&y?-1:1);break}return E}var ii=async(o,e,a)=>{let{placement:i="bottom",strategy:n="absolute",middleware:c=[],platform:s}=a,d=c.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),y=await s.getElementRects({reference:o,floating:e,strategy:n}),{x:S,y:x}=ai(y,i,f),B=i,E={},k=0;for(let M=0;M<d.length;M++){let{name:q,fn:Z}=d[M],{x:Q,y:dt,data:Ft,reset:ct}=await Z({x:S,y:x,initialPlacement:i,placement:B,strategy:n,middlewareData:E,rects:y,platform:s,elements:{reference:o,floating:e}});S=Q??S,x=dt??x,E={...E,[q]:{...E[q],...Ft}},ct&&k<=50&&(k++,typeof ct=="object"&&(ct.placement&&(B=ct.placement),ct.rects&&(y=ct.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:n}):ct.rects),{x:S,y:x}=ai(y,B,f)),M=-1)}return{x:S,y:x,placement:B,strategy:n,middlewareData:E}};async function Ko(o,e){var a;e===void 0&&(e={});let{x:i,y:n,platform:c,rects:s,elements:d,strategy:f}=o,{boundary:y="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:B=!1,padding:E=0}=no(e,o),k=ri(E),q=d[B?x==="floating"?"reference":"floating":x],Z=le(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(q)))==null||a?q:q.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:y,rootBoundary:S,strategy:f})),Q=x==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,dt=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),Ft=await(c.isElement==null?void 0:c.isElement(dt))?await(c.getScale==null?void 0:c.getScale(dt))||{x:1,y:1}:{x:1,y:1},ct=le(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:Q,offsetParent:dt,strategy:f}):Q);return{top:(Z.top-ct.top+k.top)/Ft.y,bottom:(ct.bottom-Z.bottom+k.bottom)/Ft.y,left:(Z.left-ct.left+k.left)/Ft.x,right:(ct.right-Z.right+k.right)/Ft.x}}function tn(o,e,a){return(o?[...a.filter(n=>Qt(n)===o),...a.filter(n=>Qt(n)!==o)]:a.filter(n=>we(n)===n)).filter(n=>o?Qt(n)===o||(e?oi(n)!==n:!1):!0)}var jo=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var a,i,n;let{rects:c,middlewareData:s,placement:d,platform:f,elements:y}=e,{crossAxis:S=!1,alignment:x,allowedPlacements:B=Uo,autoAlignment:E=!0,...k}=no(o,e),M=x!==void 0||B===Uo?tn(x||null,E,B):B,q=await Ko(e,k),Z=((a=s.autoPlacement)==null?void 0:a.index)||0,Q=M[Z];if(Q==null)return{};let dt=ei(Q,c,await(f.isRTL==null?void 0:f.isRTL(y.floating)));if(d!==Q)return{reset:{placement:M[0]}};let Ft=[q[we(Q)],q[dt[0]],q[dt[1]]],ct=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:Q,overflows:Ft}],tr=M[Z+1];if(tr)return{data:{index:Z+1,overflows:ct},reset:{placement:tr}};let er=ct.map($t=>{let Pe=Qt($t.placement);return[$t.placement,Pe&&S?$t.overflows.slice(0,2).reduce((Ti,_i)=>Ti+_i,0):$t.overflows[0],$t.overflows]}).sort(($t,Pe)=>$t[1]-Pe[1]),or=((n=er.filter($t=>$t[2].slice(0,Qt($t[0])?2:3).every(Pe=>Pe<=0))[0])==null?void 0:n[0])||er[0][0];return or!==d?{data:{index:Z+1,overflows:ct},reset:{placement:or}}:{}}}};var Yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:a,y:i,placement:n}=e,{mainAxis:c=!0,crossAxis:s=!1,limiter:d={fn:q=>{let{x:Z,y:Q}=q;return{x:Z,y:Q}}},...f}=no(o,e),y={x:a,y:i},S=await Ko(e,f),x=lo(we(n)),B=Mo(x),E=y[B],k=y[x];if(c){let q=B==="y"?"top":"left",Z=B==="y"?"bottom":"right",Q=E+S[q],dt=E-S[Z];E=Fo(Q,E,dt)}if(s){let q=x==="y"?"top":"left",Z=x==="y"?"bottom":"right",Q=k+S[q],dt=k-S[Z];k=Fo(Q,k,dt)}let M=d.fn({...e,[B]:E,[x]:k});return{...M,data:{x:M.x-a,y:M.y-i,enabled:{[B]:c,[x]:s}}}}}};var Xo=Math.min,Ee=Math.max,Ue=Math.round;var _t=o=>({x:o,y:o});function Dt(o){return li(o)?(o.nodeName||"").toLowerCase():"#document"}function gt(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Ht(o){var e;return(e=(li(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function li(o){return o instanceof Node||o instanceof gt(o).Node}function Bt(o){return o instanceof Element||o instanceof gt(o).Element}function wt(o){return o instanceof HTMLElement||o instanceof gt(o).HTMLElement}function ni(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof gt(o).ShadowRoot}function Ne(o){let{overflow:e,overflowX:a,overflowY:i,display:n}=mt(o);return/auto|scroll|overlay|hidden|clip/.test(e+i+a)&&!["inline","contents"].includes(n)}function ci(o){return["table","td","th"].includes(Dt(o))}function so(o){let e=po(),a=mt(o);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!e&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!e&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function si(o){let e=ce(o);for(;wt(e)&&!Fe(e);){if(so(e))return e;e=ce(e)}return null}function po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fe(o){return["html","body","#document"].includes(Dt(o))}function mt(o){return gt(o).getComputedStyle(o)}function Me(o){return Bt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ce(o){if(Dt(o)==="html")return o;let e=o.assignedSlot||o.parentNode||ni(o)&&o.host||Ht(o);return ni(e)?e.host:e}function di(o){let e=ce(o);return Fe(e)?o.ownerDocument?o.ownerDocument.body:o.body:wt(e)&&Ne(e)?e:di(e)}function co(o,e,a){var i;e===void 0&&(e=[]),a===void 0&&(a=!0);let n=di(o),c=n===((i=o.ownerDocument)==null?void 0:i.body),s=gt(n);return c?e.concat(s,s.visualViewport||[],Ne(n)?n:[],s.frameElement&&a?co(s.frameElement):[]):e.concat(n,co(n,[],a))}function ui(o){let e=mt(o),a=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=wt(o),c=n?o.offsetWidth:a,s=n?o.offsetHeight:i,d=Ue(a)!==c||Ue(i)!==s;return d&&(a=c,i=s),{width:a,height:i,$:d}}function gi(o){return Bt(o)?o:o.contextElement}function $e(o){let e=gi(o);if(!wt(e))return _t(1);let a=e.getBoundingClientRect(),{width:i,height:n,$:c}=ui(e),s=(c?Ue(a.width):a.width)/i,d=(c?Ue(a.height):a.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!d||!Number.isFinite(d))&&(d=1),{x:s,y:d}}var rn=_t(0);function yi(o){let e=gt(o);return!po()||!e.visualViewport?rn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function an(o,e,a){return e===void 0&&(e=!1),!a||e&&a!==gt(o)?!1:e}function Ze(o,e,a,i){e===void 0&&(e=!1),a===void 0&&(a=!1);let n=o.getBoundingClientRect(),c=gi(o),s=_t(1);e&&(i?Bt(i)&&(s=$e(i)):s=$e(o));let d=an(c,a,i)?yi(c):_t(0),f=(n.left+d.x)/s.x,y=(n.top+d.y)/s.y,S=n.width/s.x,x=n.height/s.y;if(c){let B=gt(c),E=i&&Bt(i)?gt(i):i,k=B.frameElement;for(;k&&i&&E!==B;){let M=$e(k),q=k.getBoundingClientRect(),Z=mt(k),Q=q.left+(k.clientLeft+parseFloat(Z.paddingLeft))*M.x,dt=q.top+(k.clientTop+parseFloat(Z.paddingTop))*M.y;f*=M.x,y*=M.y,S*=M.x,x*=M.y,f+=Q,y+=dt,k=gt(k).frameElement}}return le({width:S,height:x,x:f,y})}function nn(o){let{rect:e,offsetParent:a,strategy:i}=o,n=wt(a),c=Ht(a);if(a===c)return e;let s={scrollLeft:0,scrollTop:0},d=_t(1),f=_t(0);if((n||!n&&i!=="fixed")&&((Dt(a)!=="body"||Ne(c))&&(s=Me(a)),wt(a))){let y=Ze(a);d=$e(a),f.x=y.x+a.clientLeft,f.y=y.y+a.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-s.scrollLeft*d.x+f.x,y:e.y*d.y-s.scrollTop*d.y+f.y}}function ln(o){return Array.from(o.getClientRects())}function hi(o){return Ze(Ht(o)).left+Me(o).scrollLeft}function cn(o){let e=Ht(o),a=Me(o),i=o.ownerDocument.body,n=Ee(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),c=Ee(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-a.scrollLeft+hi(o),d=-a.scrollTop;return mt(i).direction==="rtl"&&(s+=Ee(e.clientWidth,i.clientWidth)-n),{width:n,height:c,x:s,y:d}}function sn(o,e){let a=gt(o),i=Ht(o),n=a.visualViewport,c=i.clientWidth,s=i.clientHeight,d=0,f=0;if(n){c=n.width,s=n.height;let y=po();(!y||y&&e==="fixed")&&(d=n.offsetLeft,f=n.offsetTop)}return{width:c,height:s,x:d,y:f}}function dn(o,e){let a=Ze(o,!0,e==="fixed"),i=a.top+o.clientTop,n=a.left+o.clientLeft,c=wt(o)?$e(o):_t(1),s=o.clientWidth*c.x,d=o.clientHeight*c.y,f=n*c.x,y=i*c.y;return{width:s,height:d,x:f,y}}function pi(o,e,a){let i;if(e==="viewport")i=sn(o,a);else if(e==="document")i=cn(Ht(o));else if(Bt(e))i=dn(e,a);else{let n=yi(o);i={...e,x:e.x-n.x,y:e.y-n.y}}return le(i)}function mi(o,e){let a=ce(o);return a===e||!Bt(a)||Fe(a)?!1:mt(a).position==="fixed"||mi(a,e)}function pn(o,e){let a=e.get(o);if(a)return a;let i=co(o,[],!1).filter(d=>Bt(d)&&Dt(d)!=="body"),n=null,c=mt(o).position==="fixed",s=c?ce(o):o;for(;Bt(s)&&!Fe(s);){let d=mt(s),f=so(s);!f&&d.position==="fixed"&&(n=null),(c?!f&&!n:!f&&d.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ne(s)&&!f&&mi(o,s))?i=i.filter(S=>S!==s):n=d,s=ce(s)}return e.set(o,i),i}function fn(o){let{element:e,boundary:a,rootBoundary:i,strategy:n}=o,s=[...a==="clippingAncestors"?pn(e,this._c):[].concat(a),i],d=s[0],f=s.reduce((y,S)=>{let x=pi(e,S,n);return y.top=Ee(x.top,y.top),y.right=Xo(x.right,y.right),y.bottom=Xo(x.bottom,y.bottom),y.left=Ee(x.left,y.left),y},pi(e,d,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function un(o){return ui(o)}function gn(o,e,a){let i=wt(e),n=Ht(e),c=a==="fixed",s=Ze(o,!0,c,e),d={scrollLeft:0,scrollTop:0},f=_t(0);if(i||!i&&!c)if((Dt(e)!=="body"||Ne(n))&&(d=Me(e)),i){let y=Ze(e,!0,c,e);f.x=y.x+e.clientLeft,f.y=y.y+e.clientTop}else n&&(f.x=hi(n));return{x:s.left+d.scrollLeft-f.x,y:s.top+d.scrollTop-f.y,width:s.width,height:s.height}}function fi(o,e){return!wt(o)||mt(o).position==="fixed"?null:e?e(o):o.offsetParent}function bi(o,e){let a=gt(o);if(!wt(o))return a;let i=fi(o,e);for(;i&&ci(i)&&mt(i).position==="static";)i=fi(i,e);return i&&(Dt(i)==="html"||Dt(i)==="body"&&mt(i).position==="static"&&!so(i))?a:i||si(o)||a}var yn=async function(o){let{reference:e,floating:a,strategy:i}=o,n=this.getOffsetParent||bi,c=this.getDimensions;return{reference:gn(e,await n(a),i),floating:{x:0,y:0,...await c(a)}}};function hn(o){return mt(o).direction==="rtl"}var fo={convertOffsetParentRelativeRectToViewportRelativeRect:nn,getDocumentElement:Ht,getClippingRect:fn,getOffsetParent:bi,getElementRects:yn,getClientRects:ln,getDimensions:un,getScale:$e,isElement:Bt,isRTL:hn};var xi=(o,e,a)=>{let i=new Map,n={platform:fo,...a},c={...n.platform,_c:i};return ii(o,e,{...n,platform:c})};function Si(o){return mn(o)}function qo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function mn(o){for(let e=o;e;e=qo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=qo(o);e;e=qo(e)){if(!(e instanceof Element))continue;let a=getComputedStyle(e);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||e.tagName==="BODY"))return e}return null}async function vi(o,e,a){return xi(o,e,{platform:{...fo,getOffsetParent:i=>fo.getOffsetParent(i,Si)},middleware:[Yo({crossAxis:!0}),jo({allowedPlacements:[a]})]})}var Et=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},ot=class extends yt.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new yt.Debouncer,this.revealDebouncer=new yt.Debouncer,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",a=>{a.composedPath().includes(this.container)||this.onOut(a)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Oi.html`
|
|
1228
1228
|
<div part="container"
|
|
1229
|
-
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1230
|
-
|
|
1231
|
-
@mouseleave=${this.onOut}
|
|
1232
|
-
@focusin=${this.onHover}
|
|
1233
|
-
@focusout=${this.onOut}
|
|
1234
|
-
@touchstart=${this.onTouch}>
|
|
1235
|
-
<slot part="slot" @click=${this.onClick}></slot>
|
|
1229
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
1230
|
+
<slot part="slot"></slot>
|
|
1236
1231
|
<div part="tooltip" role="tooltip" inert
|
|
1237
1232
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
1238
1233
|
?hidden=${!this.visible}>
|
|
@@ -1242,14 +1237,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1242
1237
|
</div>
|
|
1243
1238
|
</div>
|
|
1244
1239
|
</div>
|
|
1245
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(a=>e.has(a))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,a){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(a),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",vi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${
|
|
1240
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(a=>e.has(a))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,a){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(a),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",vi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${yt.designSystemVariables.transitionDuration}, left ${yt.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,yt.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};ot.elementDefinitions={"ft-typography":nt};ot.styles=Xa;Et([(0,bt.property)()],ot.prototype,"text",void 0);Et([(0,bt.property)({type:Boolean})],ot.prototype,"manual",void 0);Et([(0,bt.property)({type:Boolean})],ot.prototype,"inline",void 0);Et([(0,yt.numberProperty)()],ot.prototype,"delay",void 0);Et([(0,bt.property)()],ot.prototype,"position",void 0);Et([(0,yt.jsonProperty)([])],ot.prototype,"ignoreMatchingElements",void 0);Et([(0,bt.queryAssignedNodes)()],ot.prototype,"slotNodes",void 0);Et([(0,bt.query)(".ft-tooltip--container")],ot.prototype,"container",void 0);Et([(0,bt.query)(".ft-tooltip")],ot.prototype,"tooltip",void 0);Et([(0,bt.query)(".ft-tooltip--content")],ot.prototype,"tooltipContent",void 0);Et([(0,bt.state)()],ot.prototype,"visible",void 0);(0,Ci.customElement)("ft-tooltip")(ot);var Ni=g(A());var wi=g(_()),Ei=g(A());var se=class extends Ei.FtLitElement{render(){return wi.html`
|
|
1246
1241
|
<div class="ft-loader">
|
|
1247
1242
|
<div></div>
|
|
1248
1243
|
<div></div>
|
|
1249
1244
|
<div></div>
|
|
1250
1245
|
<div></div>
|
|
1251
1246
|
</div>
|
|
1252
|
-
`}};se.styles=Ma;(0
|
|
1247
|
+
`}};se.styles=Ma;(0,Ni.customElement)("ft-loader")(se);var Jt=g(_()),Qo=g(Mt()),Y=g(ft());var at=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},H=class extends(0,te.toFtFormComponent)(te.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var a;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var e,a,i;let n=Jt.html`
|
|
1253
1248
|
<ft-ripple part="ripple"
|
|
1254
1249
|
?disabled=${this.isDisabled()}
|
|
1255
1250
|
?activated=${this.activated}
|
|
@@ -1275,7 +1270,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1275
1270
|
<button part="button"
|
|
1276
1271
|
class="${(0,Qo.classMap)(this.buttonClasses)}"
|
|
1277
1272
|
aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
|
|
1278
|
-
aria-haspopup="${
|
|
1273
|
+
aria-haspopup="${It(this.ariaHasPopup)}"
|
|
1279
1274
|
?disabled=${this.isDisabled()}>
|
|
1280
1275
|
${n}
|
|
1281
1276
|
</button>
|
|
@@ -1290,7 +1285,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1290
1285
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1291
1286
|
`:Jt.html`
|
|
1292
1287
|
<slot part="icon" name="icon"></slot>
|
|
1293
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}
|
|
1288
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,a){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,a)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,te.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};H.elementDefinitions={"ft-ripple":z,"ft-tooltip":ot,"ft-typography":nt,"ft-icon":tt,"ft-loader":se};at([(0,Y.property)()],H.prototype,"href",void 0);at([(0,Y.property)()],H.prototype,"target",void 0);at([(0,Y.property)()],H.prototype,"type",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"disabled",void 0);at([(0,Y.property)()],H.prototype,"label",void 0);at([(0,Y.property)()],H.prototype,"icon",void 0);at([(0,Y.property)()],H.prototype,"iconVariant",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"trailingIcon",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"loading",void 0);at([(0,Y.property)({attribute:"aria-label"})],H.prototype,"ariaLabel",void 0);at([(0,Y.property)()],H.prototype,"ariaHasPopup",void 0);at([(0,Y.property)()],H.prototype,"tooltipPosition",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"hideTooltip",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"forceTooltip",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"activated",void 0);at([(0,Y.query)(".ft-button")],H.prototype,"button",void 0);at([(0,Y.query)(".ft-button--label slot")],H.prototype,"slottedContent",void 0);at([(0,Y.query)("[part=tooltip]")],H.prototype,"tooltip",void 0);var uo=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},Gt=class extends H{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"}};Gt.styles=[$i.safariEllipsisFix,ja];uo([(0,Ve.property)({type:Boolean})],Gt.prototype,"primary",void 0);uo([(0,Ve.property)({type:Boolean})],Gt.prototype,"outlined",void 0);uo([(0,Ve.property)({type:Boolean})],Gt.prototype,"dense",void 0);uo([(0,Ve.property)({type:Boolean})],Gt.prototype,"round",void 0);var Ke=g(ft());var yo=g(A());var Li=g(_()),u=g(A());var bn={...p,iconOnlyScale:u.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Ri=[Li.css`
|
|
1294
1289
|
:host {
|
|
1295
1290
|
display: inline-block;
|
|
1296
1291
|
max-width: 100%;
|
|
@@ -1697,7 +1692,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1697
1692
|
/** Large styles **/
|
|
1698
1693
|
|
|
1699
1694
|
.ftds--size-large {
|
|
1700
|
-
${(0,u.setVariable)(
|
|
1695
|
+
${(0,u.setVariable)(J.size,p.largeIconSize)};
|
|
1701
1696
|
${(0,u.setVariable)(U.size,p.largeIconSize)};
|
|
1702
1697
|
|
|
1703
1698
|
height: ${p.largeHeight};
|
|
@@ -1719,7 +1714,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1719
1714
|
/** Small styles **/
|
|
1720
1715
|
|
|
1721
1716
|
.ftds--size-medium {
|
|
1722
|
-
${(0,u.setVariable)(
|
|
1717
|
+
${(0,u.setVariable)(J.size,p.mediumIconSize)};
|
|
1723
1718
|
${(0,u.setVariable)(U.size,p.mediumIconSize)};
|
|
1724
1719
|
|
|
1725
1720
|
height: ${p.mediumHeight};
|
|
@@ -1742,7 +1737,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1742
1737
|
/** Small styles **/
|
|
1743
1738
|
|
|
1744
1739
|
.ftds--size-small {
|
|
1745
|
-
${(0,u.setVariable)(
|
|
1740
|
+
${(0,u.setVariable)(J.size,p.smallIconSize)};
|
|
1746
1741
|
${(0,u.setVariable)(U.size,p.smallIconSize)};
|
|
1747
1742
|
|
|
1748
1743
|
height: ${p.smallHeight};
|
|
@@ -1760,7 +1755,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1760
1755
|
.ftds--size-small.ft-button--icon-only {
|
|
1761
1756
|
width: ${p.smallIconOnlyWidth};
|
|
1762
1757
|
}
|
|
1763
|
-
`,u.noTextSelect];var go=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},
|
|
1758
|
+
`,u.noTextSelect];var go=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},Ut=class extends(0,yo.toFtdsBase)(H){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=eo.brand,this.iconVariant=At.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case ge.large:return Ot.body2medium;case ge.medium:return Ot.caption1medium;case ge.small:return Ot.caption2medium}}};Ut.styles=[yo.safariEllipsisFix,Ri];go([(0,Ke.property)({type:Boolean})],Ut.prototype,"primary",void 0);go([(0,Ke.property)({type:Boolean})],Ut.prototype,"secondary",void 0);go([(0,Ke.property)({type:Boolean})],Ut.prototype,"tertiary",void 0);go([(0,Ke.property)({type:Boolean})],Ut.prototype,"round",void 0);(0,Jo.customElement)("ft-button")(Gt);(0,Jo.customElement)("ftds-button")(Ut);var zi=g(Mt());var ho=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},mo=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var Ai=g(_()),X=g(A());var it={headerBackground:X.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:X.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:X.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:X.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:X.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:X.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:X.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:X.FtCssVariableFactory.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:X.FtCssVariableFactory.external(X.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:X.FtCssVariableFactory.external(X.designSystemVariables.titleFont,"Design system"),contentFont:X.FtCssVariableFactory.external(X.designSystemVariables.contentFont,"Design system")},Pi=Ai.css`
|
|
1764
1759
|
:host {
|
|
1765
1760
|
display: block;
|
|
1766
1761
|
}
|
|
@@ -1776,23 +1771,23 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1776
1771
|
.header-cell {
|
|
1777
1772
|
display: flex;
|
|
1778
1773
|
flex-direction: column;
|
|
1779
|
-
background: ${
|
|
1780
|
-
color: ${
|
|
1774
|
+
background: ${it.headerBackground};
|
|
1775
|
+
color: ${it.colorOnSurfaceHigh};
|
|
1781
1776
|
padding: .5rem 1rem;
|
|
1782
|
-
font-family: ${
|
|
1777
|
+
font-family: ${it.titleFont};
|
|
1783
1778
|
}
|
|
1784
1779
|
|
|
1785
1780
|
.header-cell--sticky {
|
|
1786
1781
|
top: 0;
|
|
1787
|
-
z-index: ${
|
|
1782
|
+
z-index: ${it.stickyHeaderZIndex};
|
|
1788
1783
|
position: sticky;
|
|
1789
1784
|
|
|
1790
1785
|
&:focus-within {
|
|
1791
|
-
z-index: calc(${
|
|
1786
|
+
z-index: calc(${it.stickyHeaderZIndex} + 1);
|
|
1792
1787
|
}
|
|
1793
1788
|
|
|
1794
1789
|
&:hover {
|
|
1795
|
-
z-index: calc(${
|
|
1790
|
+
z-index: calc(${it.stickyHeaderZIndex} + 2);
|
|
1796
1791
|
}
|
|
1797
1792
|
}
|
|
1798
1793
|
|
|
@@ -1811,17 +1806,17 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1811
1806
|
}
|
|
1812
1807
|
|
|
1813
1808
|
.column-title-container ft-button {
|
|
1814
|
-
${(0,
|
|
1815
|
-
${(0,
|
|
1809
|
+
${(0,X.setVariable)(F.backgroundColor,it.headerBackground)};
|
|
1810
|
+
${(0,X.setVariable)(F.color,it.colorOnSurfaceHigh)};
|
|
1816
1811
|
}
|
|
1817
1812
|
|
|
1818
1813
|
.column-title {
|
|
1819
|
-
white-space: ${
|
|
1814
|
+
white-space: ${it.columnTitleWhiteSpace};
|
|
1820
1815
|
text-transform: uppercase;
|
|
1821
1816
|
font-weight: normal;
|
|
1822
1817
|
letter-spacing: 1.5px;
|
|
1823
1818
|
font-size: 0.8em;
|
|
1824
|
-
margin: ${
|
|
1819
|
+
margin: ${it.columnTitleMargin};
|
|
1825
1820
|
height: 100%;
|
|
1826
1821
|
display: flex;
|
|
1827
1822
|
align-items: center;
|
|
@@ -1830,7 +1825,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1830
1825
|
.column-filter {
|
|
1831
1826
|
flex-grow: 1;
|
|
1832
1827
|
flex-shrink: 0;
|
|
1833
|
-
${(0,
|
|
1828
|
+
${(0,X.setVariable)(L.optionsHeight,"300px")};
|
|
1834
1829
|
}
|
|
1835
1830
|
|
|
1836
1831
|
.column-filter:not(:empty) {
|
|
@@ -1845,31 +1840,31 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1845
1840
|
|
|
1846
1841
|
.cell {
|
|
1847
1842
|
padding: 1rem;
|
|
1848
|
-
border-left-color: ${
|
|
1843
|
+
border-left-color: ${it.headerBackground};
|
|
1849
1844
|
border-left-style: solid;
|
|
1850
|
-
border-left-width: ${
|
|
1851
|
-
border-bottom: 1px solid ${
|
|
1845
|
+
border-left-width: ${it.cellVerticalBorderWidth};
|
|
1846
|
+
border-bottom: 1px solid ${it.headerBackground};
|
|
1852
1847
|
overflow-x: auto;
|
|
1853
1848
|
display: flex;
|
|
1854
1849
|
align-items: center;
|
|
1855
|
-
font-family: ${
|
|
1850
|
+
font-family: ${it.contentFont};
|
|
1856
1851
|
}
|
|
1857
1852
|
|
|
1858
1853
|
/* Even is 2n+1 and odd is 2n because of the header */
|
|
1859
1854
|
.row:nth-child(2n) > .cell {
|
|
1860
|
-
background: ${
|
|
1855
|
+
background: ${it.oddRowBackground};
|
|
1861
1856
|
}
|
|
1862
1857
|
|
|
1863
1858
|
.row:nth-child(2n + 1) > .cell {
|
|
1864
|
-
background: ${
|
|
1859
|
+
background: ${it.evenRowBackground};
|
|
1865
1860
|
}
|
|
1866
1861
|
|
|
1867
1862
|
.row:hover > .cell {
|
|
1868
|
-
background: ${
|
|
1863
|
+
background: ${it.rowHoverBackground};
|
|
1869
1864
|
}
|
|
1870
1865
|
|
|
1871
1866
|
.cell:last-of-type {
|
|
1872
|
-
border-right: 1px solid ${
|
|
1867
|
+
border-right: 1px solid ${it.headerBackground};
|
|
1873
1868
|
}
|
|
1874
1869
|
|
|
1875
1870
|
.row:last-of-type .cell:first-of-type {
|
|
@@ -1879,7 +1874,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1879
1874
|
.row:last-of-type .cell:last-of-type {
|
|
1880
1875
|
border-radius: 0 0 .5rem 0;
|
|
1881
1876
|
}
|
|
1882
|
-
`;var
|
|
1877
|
+
`;var Re=function(o,e,a,i){var n=arguments.length,c=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,i);else for(var d=o.length-1;d>=0;d--)(s=o[d])&&(c=(n<3?s(c):n>3?s(e,a,c):s(e,a))||c);return n>3&&c&&Object.defineProperty(e,a,c),c},xn=o=>pt.html`${o}`,Bi=(o,e)=>o-e,Ii=o=>""+o,Nt=class extends Ae.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,a,i){this.data=e,this.columns=a,this.sort=i}render(){let e=this.sortData(this.filterData());return pt.html`
|
|
1883
1878
|
<style>
|
|
1884
1879
|
.table {
|
|
1885
1880
|
grid-template-columns: ${this.columns.map(a=>{var i;return(i=a.gridTemplateColumn)!==null&&i!==void 0?i:"minmax(min-content, auto)"}).join(" ")};
|
|
@@ -1887,16 +1882,16 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1887
1882
|
</style>
|
|
1888
1883
|
<div class="table">
|
|
1889
1884
|
<div class="header">
|
|
1890
|
-
${(0,
|
|
1885
|
+
${(0,Le.repeat)(this.columns,(a,i)=>"header-cell-"+i,(a,i)=>this.renderHeader(a,i))}
|
|
1891
1886
|
</div>
|
|
1892
|
-
${(0,
|
|
1887
|
+
${(0,Le.repeat)(e,(a,i)=>"row-"+i,(a,i)=>pt.html`
|
|
1893
1888
|
<div class="row"
|
|
1894
1889
|
@click=${()=>this.dispatchEvent(new ho(a))}>
|
|
1895
|
-
${(0,
|
|
1890
|
+
${(0,Le.repeat)(this.columns,(n,c)=>"cell-"+c+"-"+i,(n,c)=>this.renderCell(n,c,a,i))}
|
|
1896
1891
|
</div>
|
|
1897
1892
|
`)}
|
|
1898
1893
|
</div>
|
|
1899
|
-
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,a,i)=>{var n;let c=this.columns[i];if(a&&a.value)switch((n=c.filter)!==null&&n!==void 0?n:"text"){case"text":return e.filter(s=>this.getValueAsString(c,s,i).toLowerCase().includes(a.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(c,s)===a.value)}return e},this.data)}sortData(e){var a;if(this.currentSort&&!this.disableDataManipulation){let i=this.columns[this.currentSort.column],n=(a=i.comparator)!==null&&a!==void 0?a:Bi,c=this.currentSort.order==="asc"?n:(s,d)=>-n(s,d);return[...e].sort((s,d)=>c(this.getValue(i,s),this.getValue(i,d)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,a,i;this.filterOptions=[];let n=this.data,c=this.columns;for(let s in c){let d=c[s],f=(e=d.filter)!==null&&e!==void 0?e:"text";(f==="text"||f==="select")&&(this.filterOptions[s]=((a=d.options)!==null&&a!==void 0?a:[...new Set(n.map(y=>this.getValue(d,y)))]).sort((i=d.comparator)!==null&&i!==void 0?i:Bi),f==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(y=>this.stringifyValue(d,y,0))))}this.requestUpdate()}renderHeader(e,a){let i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return
|
|
1894
|
+
`}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,a,i)=>{var n;let c=this.columns[i];if(a&&a.value)switch((n=c.filter)!==null&&n!==void 0?n:"text"){case"text":return e.filter(s=>this.getValueAsString(c,s,i).toLowerCase().includes(a.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(c,s)===a.value)}return e},this.data)}sortData(e){var a;if(this.currentSort&&!this.disableDataManipulation){let i=this.columns[this.currentSort.column],n=(a=i.comparator)!==null&&a!==void 0?a:Bi,c=this.currentSort.order==="asc"?n:(s,d)=>-n(s,d);return[...e].sort((s,d)=>c(this.getValue(i,s),this.getValue(i,d)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,a,i;this.filterOptions=[];let n=this.data,c=this.columns;for(let s in c){let d=c[s],f=(e=d.filter)!==null&&e!==void 0?e:"text";(f==="text"||f==="select")&&(this.filterOptions[s]=((a=d.options)!==null&&a!==void 0?a:[...new Set(n.map(y=>this.getValue(d,y)))]).sort((i=d.comparator)!==null&&i!==void 0?i:Bi),f==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(y=>this.stringifyValue(d,y,0))))}this.requestUpdate()}renderHeader(e,a){let i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return pt.html`
|
|
1900
1895
|
<div class="${(0,zi.classMap)(i)}"
|
|
1901
1896
|
part="${this.columnPart("header-cell",a)}">
|
|
1902
1897
|
<div class="column-title-container"
|
|
@@ -1909,7 +1904,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1909
1904
|
</div>
|
|
1910
1905
|
${this.renderColumnFilter(e,a)}
|
|
1911
1906
|
</div>
|
|
1912
|
-
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,a){var i,n;let c=this.currentSort&&this.currentSort.column===a,s=c?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",d=()=>{var x,B;let E=(x=e.defaultSortOrder)!==null&&x!==void 0?x:"asc";this.currentSort={column:a,order:c&&((B=this.currentSort)===null||B===void 0?void 0:B.order)===E?this.getOppositeSortOrder(E):E},this.dispatchChangeEvent()},f=(i=e.titleText)!==null&&i!==void 0?i:e.title,y=this.getSortOrderText(c,e),S=`Sort ${f} in ${y} order`;return!((n=e.sortable)!==null&&n!==void 0)||n?
|
|
1907
|
+
`}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,a){var i,n;let c=this.currentSort&&this.currentSort.column===a,s=c?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",d=()=>{var x,B;let E=(x=e.defaultSortOrder)!==null&&x!==void 0?x:"asc";this.currentSort={column:a,order:c&&((B=this.currentSort)===null||B===void 0?void 0:B.order)===E?this.getOppositeSortOrder(E):E},this.dispatchChangeEvent()},f=(i=e.titleText)!==null&&i!==void 0?i:e.title,y=this.getSortOrderText(c,e),S=`Sort ${f} in ${y} order`;return!((n=e.sortable)!==null&&n!==void 0)||n?pt.html`
|
|
1913
1908
|
<ft-button
|
|
1914
1909
|
round
|
|
1915
1910
|
dense
|
|
@@ -1919,35 +1914,35 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1919
1914
|
@click=${d}
|
|
1920
1915
|
part="${this.columnPart("sort-button",a)}"
|
|
1921
1916
|
></ft-button>
|
|
1922
|
-
`:
|
|
1917
|
+
`:pt.nothing}getSortOrderText(e,a){return e?this.currentSort.order==="asc"?"descending":"ascending":a.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new mo({filters:this.filters.map((e,a)=>({column:a,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,a){var i,n,c,s,d;let f=S=>{this.filters[a]={value:S.detail},this.requestUpdate(),this.dispatchChangeEvent()},y=(i=this.filterOptions[a])!==null&&i!==void 0?i:[];switch((n=e.filter)!==null&&n!==void 0?n:"text"){case"text":return pt.html`
|
|
1923
1918
|
<div class="column-filter" part="${this.columnPart("filter-container",a)}">
|
|
1924
1919
|
<ft-text-field
|
|
1925
1920
|
label="Search ${(c=e.titleText)!==null&&c!==void 0?c:e.title}"
|
|
1926
1921
|
@live-change="${f}"
|
|
1927
1922
|
part="${this.columnPart("filter",a)}"
|
|
1928
1923
|
>
|
|
1929
|
-
${(0,
|
|
1924
|
+
${(0,Le.repeat)(y,x=>pt.html`
|
|
1930
1925
|
<ft-text-field-suggestion>${x}</ft-text-field-suggestion>
|
|
1931
1926
|
`)}
|
|
1932
1927
|
</ft-text-field>
|
|
1933
1928
|
</div>
|
|
1934
|
-
`;case"select":return((s=this.filterOptions[a])!==null&&s!==void 0?s:[]).length?
|
|
1929
|
+
`;case"select":return((s=this.filterOptions[a])!==null&&s!==void 0?s:[]).length?pt.html`
|
|
1935
1930
|
<div class="column-filter" part="${this.columnPart("filter-container",a)}">
|
|
1936
1931
|
<ft-select label="Filter ${(d=e.titleText)!==null&&d!==void 0?d:e.title}"
|
|
1937
1932
|
@change=${f}
|
|
1938
1933
|
part="${this.columnPart("filter",a)}">
|
|
1939
1934
|
<ft-select-option></ft-select-option>
|
|
1940
|
-
${(0,
|
|
1935
|
+
${(0,Le.repeat)(y,x=>pt.html`
|
|
1941
1936
|
<ft-select-option .value=${x} label="${this.stringifyValue(e,x,0)}"></ft-select-option>
|
|
1942
1937
|
`)}
|
|
1943
1938
|
</ft-select>
|
|
1944
1939
|
</div>
|
|
1945
|
-
`:
|
|
1940
|
+
`:pt.nothing}return pt.nothing}columnPart(e,a){return`${e} ${e}-column-${a}`}renderCell(e,a,i,n){var c;let s=(c=e.render)!==null&&c!==void 0?c:xn,d=f=>{let y=s(f,n);return typeof y=="string"?(0,ki.unsafeHTML)(y):y};return pt.html`
|
|
1946
1941
|
<div class="cell"
|
|
1947
1942
|
part="${this.columnPart("cell",a)} cell-row-${n} cell-column-${a}-row-${n}">
|
|
1948
1943
|
${d(this.getValue(e,i))}
|
|
1949
1944
|
</div>
|
|
1950
|
-
`}getValue(e,a){return typeof e.getter=="string"?a[e.getter]:e.getter(a)}getValueAsString(e,a,i){let n=this.getValue(e,a);return typeof e.stringify=="function"?e.stringify(n,i):Ii(n)}stringifyValue(e,a,i){return typeof e.stringify=="function"?e.stringify(a,i):Ii(a)}};
|
|
1945
|
+
`}getValue(e,a){return typeof e.getter=="string"?a[e.getter]:e.getter(a)}getValueAsString(e,a,i){let n=this.getValue(e,a);return typeof e.stringify=="function"?e.stringify(n,i):Ii(n)}stringifyValue(e,a,i){return typeof e.stringify=="function"?e.stringify(a,i):Ii(a)}};Nt.styles=Pi;Re([(0,Ae.jsonProperty)([])],Nt.prototype,"data",void 0);Re([(0,Ae.jsonProperty)([])],Nt.prototype,"columns",void 0);Re([(0,Ae.jsonProperty)(void 0)],Nt.prototype,"sort",void 0);Re([(0,je.property)({type:Boolean})],Nt.prototype,"stickyHeaders",void 0);Re([(0,je.property)({type:Boolean})],Nt.prototype,"disableDataManipulation",void 0);Re([(0,je.state)()],Nt.prototype,"currentSort",void 0);(0,Wi.customElement)("ft-filterable-table")(Nt);})();
|
|
1951
1946
|
/*! Bundled license information:
|
|
1952
1947
|
|
|
1953
1948
|
lit-html/directives/when.js:
|