@fluid-topics/ft-table 1.2.30

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.
@@ -0,0 +1,1860 @@
1
+ "use strict";(()=>{var $n=Object.create;var Yo=Object.defineProperty;var Rn=Object.getOwnPropertyDescriptor;var Ln=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,Bn=Object.prototype.hasOwnProperty;var oe=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var Pn=(o,e,a,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ln(e))!Bn.call(o,i)&&i!==a&&Yo(o,i,{get:()=>e[i],enumerable:!(n=Rn(e,i))||n.enumerable});return o};var g=(o,e,a)=>(a=o!=null?$n(An(o)):{},Pn(e||!o||!o.__esModule?Yo(a,"default",{value:o,enumerable:!0}):a,o));var I=oe((ci,Xo)=>{Xo.exports=ftGlobals.wcUtils});var T=oe((si,qo)=>{qo.exports=ftGlobals.lit});var Ue=oe((di,Qo)=>{Qo.exports=ftGlobals.litRepeat});var pt=oe((pi,Jo)=>{Jo.exports=ftGlobals.litDecorators});var Tt=oe((fi,tr)=>{tr.exports=ftGlobals.litClassMap});var $o=oe((rp,ha)=>{ha.exports=ftGlobals.litUnsafeHTML});var wn=g(I());var ct=g(T()),so=g(Ue());var Lo=g(I());var Be=g(T()),H=g(pt()),Ro=g(Tt()),wa=g(Ue()),qt=g(I());var ta=g(I());var xo=globalThis,Ge=xo.trustedTypes,er=Ge?Ge.createPolicy("lit-html",{createHTML:o=>o}):void 0,lr="$lit$",Dt=`lit$${Math.random().toFixed(9).slice(2)}$`,cr="?"+Dt,In=`<${cr}>`,jt=document,Fe=()=>jt.createComment(""),Ee=o=>o===null||typeof o!="object"&&typeof o!="function",So=Array.isArray,kn=o=>So(o)||typeof o?.[Symbol.iterator]=="function",uo=`[
2
+ \f\r]`,we=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,or=/-->/g,rr=/>/g,Kt=RegExp(`>|${uo}(?:([^\\s"'>=/]+)(${uo}*=${uo}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ar=/'/g,nr=/"/g,sr=/^(?:script|style|textarea|title)$/i,vo=o=>(e,...a)=>({_$litType$:o,strings:e,values:a}),dr=vo(1),pr=vo(2),fr=vo(3),Ne=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),ir=new WeakMap,Vt=jt.createTreeWalker(jt,129);function ur(o,e){if(!So(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return er!==void 0?er.createHTML(e):e}var Wn=(o,e)=>{let a=o.length-1,n=[],i,c=e===2?"<svg>":e===3?"<math>":"",s=we;for(let p=0;p<a;p++){let f=o[p],h,S,x=-1,L=0;for(;L<f.length&&(s.lastIndex=L,S=s.exec(f),S!==null);)L=s.lastIndex,s===we?S[1]==="!--"?s=or:S[1]!==void 0?s=rr:S[2]!==void 0?(sr.test(S[2])&&(i=RegExp("</"+S[2],"g")),s=Kt):S[3]!==void 0&&(s=Kt):s===Kt?S[0]===">"?(s=i??we,x=-1):S[1]===void 0?x=-2:(x=s.lastIndex-S[2].length,h=S[1],s=S[3]===void 0?Kt:S[3]==='"'?nr:ar):s===nr||s===ar?s=Kt:s===or||s===rr?s=we:(s=Kt,i=void 0);let B=s===Kt&&o[p+1].startsWith("/>")?" ":"";c+=s===we?f+In:x>=0?(n.push(h),f.slice(0,x)+lr+f.slice(x)+Dt+B):f+Dt+(x===-2?p:B)}return[ur(o,c+(o[a]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},$e=class o{constructor({strings:e,_$litType$:a},n){let i;this.parts=[];let c=0,s=0,p=e.length-1,f=this.parts,[h,S]=Wn(e,a);if(this.el=o.createElement(h,n),Vt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(i=Vt.nextNode())!==null&&f.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let x of i.getAttributeNames())if(x.endsWith(lr)){let L=S[s++],B=i.getAttribute(x).split(Dt),W=/([.?@])?(.*)/.exec(L);f.push({type:1,index:c,name:W[2],strings:B,ctor:W[1]==="."?go:W[1]==="?"?ho:W[1]==="@"?mo:ae}),i.removeAttribute(x)}else x.startsWith(Dt)&&(f.push({type:6,index:c}),i.removeAttribute(x));if(sr.test(i.tagName)){let x=i.textContent.split(Dt),L=x.length-1;if(L>0){i.textContent=Ge?Ge.emptyScript:"";for(let B=0;B<L;B++)i.append(x[B],Fe()),Vt.nextNode(),f.push({type:2,index:++c});i.append(x[L],Fe())}}}else if(i.nodeType===8)if(i.data===cr)f.push({type:2,index:c});else{let x=-1;for(;(x=i.data.indexOf(Dt,x+1))!==-1;)f.push({type:7,index:c}),x+=Dt.length-1}c++}}static createElement(e,a){let n=jt.createElement("template");return n.innerHTML=e,n}};function re(o,e,a=o,n){if(e===Ne)return e;let i=n!==void 0?a._$Co?.[n]:a._$Cl,c=Ee(e)?void 0:e._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(o),i._$AT(o,a,n)),n!==void 0?(a._$Co??=[])[n]=i:a._$Cl=i),i!==void 0&&(e=re(o,i._$AS(o,e.values),i,n)),e}var yo=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:n}=this._$AD,i=(e?.creationScope??jt).importNode(a,!0);Vt.currentNode=i;let c=Vt.nextNode(),s=0,p=0,f=n[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new Me(c,c.nextSibling,this,e):f.type===1?h=new f.ctor(c,f.name,f.strings,this,e):f.type===6&&(h=new bo(c,this,e)),this._$AV.push(h),f=n[++p]}s!==f?.index&&(c=Vt.nextNode(),s++)}return Vt.currentNode=jt,i}p(e){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,a),a+=n.strings.length-2):n._$AI(e[a])),a++}},Me=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,a,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=a,this._$AM=n,this.options=i,this._$Cv=i?.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=re(this,e,a),Ee(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Ne&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):kn(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&&Ee(this._$AH)?this._$AA.nextSibling.data=e:this.T(jt.createTextNode(e)),this._$AH=e}$(e){let{values:a,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=$e.createElement(ur(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(a);else{let c=new yo(i,this),s=c.u(this.options);c.p(a),this.T(s),this._$AH=c}}_$AC(e){let a=ir.get(e.strings);return a===void 0&&ir.set(e.strings,a=new $e(e)),a}k(e){So(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,i=0;for(let c of e)i===a.length?a.push(n=new o(this.O(Fe()),this.O(Fe()),this,this.options)):n=a[i],n._$AI(c),i++;i<a.length&&(this._$AR(n&&n._$AB.nextSibling,i),a.length=i)}_$AR(e=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,a,n,i,c){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=a,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,a=this,n,i){let c=this.strings,s=!1;if(c===void 0)e=re(this,e,a,0),s=!Ee(e)||e!==this._$AH&&e!==Ne,s&&(this._$AH=e);else{let p=e,f,h;for(e=c[0],f=0;f<c.length-1;f++)h=re(this,p[n+f],a,f),h===Ne&&(h=this._$AH[f]),s||=!Ee(h)||h!==this._$AH[f],h===V?e=V:e!==V&&(e+=(h??"")+c[f+1]),this._$AH[f]=h}s&&!i&&this.j(e)}j(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},go=class extends ae{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===V?void 0:e}},ho=class extends ae{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},mo=class extends ae{constructor(e,a,n,i,c){super(e,a,n,i,c),this.type=5}_$AI(e,a=this){if((e=re(this,e,a,0)??V)===Ne)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,c=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),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)}},bo=class{constructor(e,a,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){re(this,e)}};var zn=xo.litHtmlPolyfillSupport;zn?.($e,Me),(xo.litHtmlVersions??=[]).push("3.3.0");var gr=Symbol.for(""),Tn=o=>{if(o?.r===gr)return o?._$litStatic$},Co=o=>({_$litStatic$:o,r:gr});var yr=new Map,Oo=o=>(e,...a)=>{let n=a.length,i,c,s=[],p=[],f,h=0,S=!1;for(;h<n;){for(f=e[h];h<n&&(c=a[h],(i=Tn(c))!==void 0);)f+=i+e[++h],S=!0;h!==n&&p.push(c),s.push(f),h++}if(h===n&&s.push(e[n]),S){let x=s.join("$$lit$$");(e=yr.get(x))===void 0&&(s.raw=s,yr.set(x,e=s)),a=p}return o(e,...a)},wo=Oo(dr),gi=Oo(pr),hi=Oo(fr);var Eo=g(pt()),Jr=g(I());var _t;(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"})(_t||(_t={}));var mt=g(T()),b=g(I());var $t=g(T(),1),Ht=o=>typeof o=="string"?(0,$t.unsafeCSS)(o):o,t=class{static create(e,a,n,i){let c=p=>Ht(p??i),s=$t.css`var(${Ht(e)}, ${c(i)})`;return s.name=e,s.description=a,s.category=n,s.defaultValue=i,s.defaultCssValue=c,s.get=p=>$t.css`var(${Ht(e)}, ${c(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,a,n,i){let c=p=>n.get(p??i),s=$t.css`var(${Ht(e)}, ${c(i)})`;return s.name=e,s.description=a,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=c,s.get=p=>$t.css`var(${Ht(e)}, ${c(p)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,a){let n=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):Ht(c??e.lastResortDefaultValue()),i=$t.css`var(${Ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=a,i.defaultCssValue=n,i.get=c=>$t.css`var(${Ht(e.name)}, ${n(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};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)")},hr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},xr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Cr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Or={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Dn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Er={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},$r={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Lr={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ar={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Br={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Pr={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ir={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},kr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Wr={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},zr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Tr={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Dr={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},_r={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Hr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ze={display:hr,"title-1":mr,"title-2":br,"title-3":xr,"body-1-regular":Sr,"body-1-medium":vr,"body-1-semibold":Cr,"body-2-regular":Or,"body-2-medium":wr,"body-2-medium-underline":Dn,"body-2-semibold":Er,"label-1-medium":Nr,"label-1-semibold":$r,"label-1-bold":Rr,"label-2-medium":Lr,"label-2-semibold":Ar,"label-2-bold":Br,"caption-1-medium":Pr,"caption-1-semibold":Ir,"caption-1-bold":kr,"caption-2-medium":Wr,"caption-2-semibold":zr,"caption-2-bold":Tr,"caption-3-medium":Dr,"caption-3-semibold":_r,"caption-3-bold":Hr};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 d={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 ki={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 A={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),dataRowDefaultHoverStateLayerOpacity:t.extend("--ft-table-data-row-default-hover-state-layer-opacity","",r.opacity8),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",r.colorGray20),dataRowSelectableUnselectedHoverStateLayerOpacity:t.extend("--ft-table-data-row-selectable-unselected-hover-state-layer-opacity","",r.opacity8),dataRowSelectableSelectedDefaultStateLayerOpacity:t.extend("--ft-table-data-row-selectable-selected-default-state-layer-opacity","",r.opacity8),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),dataRowSelectableSelectedHoverStateLayerOpacity:t.extend("--ft-table-data-row-selectable-selected-hover-state-layer-opacity","",r.opacity16),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),dataRowClickableHoverStateLayerOpacity:t.extend("--ft-table-data-row-clickable-hover-state-layer-opacity","",r.opacity12),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",r.colorGray30),dataRowClickableFocusStateLayerOpacity:t.extend("--ft-table-data-row-clickable-focus-state-layer-opacity","",r.opacity12),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),dataRowClickableActiveStateLayerOpacity:t.extend("--ft-table-data-row-clickable-active-state-layer-opacity","",r.opacity24),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)};var Fi={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 ji={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 Ji={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 al={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 sl={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 yl={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 xl={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 wl={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 Rl={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",r.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",r.spacing6)};var Il={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 Dl={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 Fl={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 jl={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),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.borderRadiusM),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),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 Jl={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.borderRadiusM)};var ac={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 sc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),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.borderRadiusM),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 yc={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.borderRadiusM)};var xc={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),linkColor:t.extend("--ft-popover-link-color","",l.contentActionPrimary),gap:t.extend("--ft-popover-gap","",r.spacing3),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")};var wc={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 Lc={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 Ic={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 Tc={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 Gc={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 Vc={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 Qc={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"),gap:t.extend("--ft-radio-gap","",r.spacing3)};var rs={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 cs={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 us={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 ne;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(ne||(ne={}));var ie;(function(o){o.large="large",o.medium="medium",o.small="small"})(ie||(ie={}));var Ke=g(T());function Ur(o){let e=Ze[o];return Ke.css`
5
+ .ft-typography--${(0,Ke.unsafeCSS)(o)} {
6
+ font-family: ${e.fontFamily};
7
+ font-size: ${e.fontSize};
8
+ font-weight: ${e.fontWeight};
9
+ letter-spacing: ${e.letterSpacing};
10
+ line-height: ${e.lineHeight};
11
+ text-transform: ${e.textCase};
12
+ }
13
+ `}var Gr=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),Rt=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),v={fontFamily:Rt,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")},le={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Gr),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")},ce={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Gr),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")},se={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Rt),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")},de={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Rt),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")},ht={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Rt),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")},pe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Rt),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")},xt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Rt),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")},fe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Rt),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")},ue={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Rt),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")},Ct={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Rt),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")},Fr=mt.css`
14
+ .ft-typography--title {
15
+ font-family: ${le.fontFamily};
16
+ font-size: ${le.fontSize};
17
+ font-weight: ${le.fontWeight};
18
+ letter-spacing: ${le.letterSpacing};
19
+ line-height: ${le.lineHeight};
20
+ text-transform: ${le.textTransform};
21
+ }
22
+ `,Mr=mt.css`
23
+ .ft-typography--title-dense {
24
+ font-family: ${ce.fontFamily};
25
+ font-size: ${ce.fontSize};
26
+ font-weight: ${ce.fontWeight};
27
+ letter-spacing: ${ce.letterSpacing};
28
+ line-height: ${ce.lineHeight};
29
+ text-transform: ${ce.textTransform};
30
+ }
31
+ `,Zr=mt.css`
32
+ .ft-typography--subtitle1 {
33
+ font-family: ${se.fontFamily};
34
+ font-size: ${se.fontSize};
35
+ font-weight: ${se.fontWeight};
36
+ letter-spacing: ${se.letterSpacing};
37
+ line-height: ${se.lineHeight};
38
+ text-transform: ${se.textTransform};
39
+ }
40
+ `,Kr=mt.css`
41
+ .ft-typography--subtitle2 {
42
+ font-family: ${de.fontFamily};
43
+ font-size: ${de.fontSize};
44
+ font-weight: ${de.fontWeight};
45
+ letter-spacing: ${de.letterSpacing};
46
+ line-height: ${de.lineHeight};
47
+ text-transform: ${de.textTransform};
48
+ }
49
+
50
+ `,Ve=mt.css`
51
+ .ft-typography--body1 {
52
+ font-family: ${ht.fontFamily};
53
+ font-size: ${ht.fontSize};
54
+ font-weight: ${ht.fontWeight};
55
+ letter-spacing: ${ht.letterSpacing};
56
+ line-height: ${ht.lineHeight};
57
+ text-transform: ${ht.textTransform};
58
+ }
59
+ `,je=mt.css`
60
+ .ft-typography--body2 {
61
+ font-family: ${pe.fontFamily};
62
+ font-size: ${pe.fontSize};
63
+ font-weight: ${pe.fontWeight};
64
+ letter-spacing: ${pe.letterSpacing};
65
+ line-height: ${pe.lineHeight};
66
+ text-transform: ${pe.textTransform};
67
+ }
68
+ `,ye=mt.css`
69
+ .ft-typography--caption {
70
+ font-family: ${xt.fontFamily};
71
+ font-size: ${xt.fontSize};
72
+ font-weight: ${xt.fontWeight};
73
+ letter-spacing: ${xt.letterSpacing};
74
+ line-height: ${xt.lineHeight};
75
+ text-transform: ${xt.textTransform};
76
+ }
77
+ `,Vr=mt.css`
78
+ .ft-typography--breadcrumb {
79
+ font-family: ${fe.fontFamily};
80
+ font-size: ${fe.fontSize};
81
+ font-weight: ${fe.fontWeight};
82
+ letter-spacing: ${fe.letterSpacing};
83
+ line-height: ${fe.lineHeight};
84
+ text-transform: ${fe.textTransform};
85
+ }
86
+ `,jr=mt.css`
87
+ .ft-typography--overline {
88
+ font-family: ${ue.fontFamily};
89
+ font-size: ${ue.fontSize};
90
+ font-weight: ${ue.fontWeight};
91
+ letter-spacing: ${ue.letterSpacing};
92
+ line-height: ${ue.lineHeight};
93
+ text-transform: ${ue.textTransform};
94
+ }
95
+ `,Yr=mt.css`
96
+ .ft-typography--button {
97
+ font-family: ${Ct.fontFamily};
98
+ font-size: ${Ct.fontSize};
99
+ font-weight: ${Ct.fontWeight};
100
+ letter-spacing: ${Ct.letterSpacing};
101
+ line-height: ${Ct.lineHeight};
102
+ text-transform: ${Ct.textTransform};
103
+ }
104
+ `,Xr=mt.css`
105
+ .ft-typography {
106
+ vertical-align: inherit;
107
+ }
108
+ `,qr=[Object.keys(Ze).map(o=>Ur(o))];var Qr=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},rt=class extends Jr.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?wo`
109
+ <${Co(this.element)}
110
+ part="text"
111
+ class="ft-typography ft-typography--${this.variant}">
112
+ <slot></slot>
113
+ </${Co(this.element)}>
114
+ `:wo`
115
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
116
+ `}};rt.styles=[Fr,Mr,Zr,Kr,Ve,je,ye,Vr,jr,Yr,Xr,...qr];Qr([(0,Eo.property)()],rt.prototype,"element",void 0);Qr([(0,Eo.property)()],rt.prototype,"variant",void 0);(0,ta.customElement)("ft-typography")(rt);var na=g(I());var No=g(T()),ge=g(pt()),ra=g(Tt()),aa=g(I());var ea=g(T()),D=g(I());var C={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")},oa=ea.css`
117
+ .ft-input-label {
118
+ position: absolute;
119
+ inset: 0;
120
+ display: flex;
121
+ background-color: ${C.backgroundColor};
122
+ border-radius: ${C.borderRadius} ${C.borderRadius} 0 0;
123
+ }
124
+
125
+ .ft-input-label--outlined {
126
+ border-radius: ${C.borderRadius};
127
+ }
128
+
129
+ .ft-input-label {
130
+ border-color: ${C.borderColor};
131
+ }
132
+
133
+ .ft-input-label.ft-input-label--in-error {
134
+ border-color: ${C.colorError}
135
+ }
136
+
137
+ .ft-input-label:before,
138
+ .ft-input-label:after {
139
+ content: "";
140
+ display: flex;
141
+ border-bottom-width: 1px;
142
+ border-bottom-style: solid;
143
+ border-color: inherit;
144
+ }
145
+
146
+ .ft-input-label:before {
147
+ width: calc(${C.horizontalSpacing} - 4px);
148
+ flex-shrink: 0;
149
+ }
150
+
151
+ .ft-input-label:after {
152
+ flex-grow: 1;
153
+ flex-shrink: 1;
154
+ }
155
+
156
+ .ft-input-label--text {
157
+ display: flex;
158
+ flex-shrink: 1;
159
+ position: relative;
160
+ border-bottom-width: 1px;
161
+ border-bottom-style: solid;
162
+ border-color: inherit;
163
+ color: ${C.textColor};
164
+ transition: font-size 250ms, line-height 250ms, color 250ms;
165
+ max-width: calc(${C.labelMaxWidth} - 2 * (${C.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
166
+ text-overflow: ellipsis;
167
+ ${(0,D.setVariable)(xt.fontSize,C.fontSize)};
168
+ ${(0,D.setVariable)(xt.lineHeight,C.fontSize)};
169
+ }
170
+
171
+ .ft-input-label--in-error .ft-input-label--text {
172
+ color: ${C.colorError}
173
+ }
174
+
175
+ .ft-input-label--disabled .ft-input-label--text {
176
+ color: ${C.disabledTextColor};
177
+ }
178
+
179
+ .ft-input-label--hidden-text {
180
+ padding: 0 4px;
181
+ opacity: 0;
182
+ max-width: 100%;
183
+ box-sizing: border-box;
184
+ }
185
+
186
+ .ft-input-label--floating-text {
187
+ position: absolute;
188
+ top: calc(50% - var(--ft-typography-caption-line-height) / 2);
189
+ transition: top 250ms;
190
+ overflow: hidden;
191
+ white-space: nowrap;
192
+ text-overflow: ellipsis;
193
+ padding: ${C.verticalSpacing} 4px;
194
+ margin: calc(${C.verticalSpacing} * -1) 0;
195
+ max-width: 100%;
196
+ box-sizing: border-box;
197
+ }
198
+
199
+ .ft-input-label--raised .ft-input-label--text {
200
+ ${(0,D.setVariable)(xt.fontSize,C.raisedFontSize)};
201
+ ${(0,D.setVariable)(xt.lineHeight,C.raisedFontSize)};
202
+ }
203
+
204
+ .ft-input-label--raised .ft-input-label--floating-text {
205
+ top: ${C.verticalSpacing};
206
+ }
207
+
208
+ .ft-input-label--outlined .ft-input-label--text,
209
+ .ft-input-label--outlined:before,
210
+ .ft-input-label--outlined:after {
211
+ border-top-width: 1px;
212
+ border-top-style: solid;
213
+ }
214
+
215
+ .ft-input-label--outlined:before {
216
+ border-left-width: 1px;
217
+ border-left-style: solid;
218
+ border-radius: ${C.borderRadius} 0 0 ${C.borderRadius};
219
+ }
220
+
221
+ .ft-input-label--outlined:after {
222
+ border-right-width: 1px;
223
+ border-right-style: solid;
224
+ border-radius: 0 ${C.borderRadius} ${C.borderRadius} 0;
225
+ }
226
+
227
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
228
+ padding: 2px 4px;
229
+ z-index: ${C.raisedZIndex};
230
+ background-color: ${C.backgroundColor};
231
+ border-radius: ${C.borderRadius};
232
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
233
+ }
234
+
235
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
236
+ border-top: none;
237
+ }
238
+ `;var Re=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},dt=class extends aa.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return No.html`
239
+ <div class="${(0,ra.classMap)(e)}">
240
+ ${this.text?No.html`
241
+ <div class="ft-input-label--text ft-typography--caption">
242
+ <span class="ft-input-label--floating-text">${this.text}</span>
243
+ <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
244
+ </div>
245
+ `:null}
246
+ </div>
247
+ `}};dt.elementDefinitions={};dt.styles=[ye,oa];Re([(0,ge.property)({type:String})],dt.prototype,"text",void 0);Re([(0,ge.property)({type:Boolean})],dt.prototype,"raised",void 0);Re([(0,ge.property)({type:Boolean})],dt.prototype,"outlined",void 0);Re([(0,ge.property)({type:Boolean})],dt.prototype,"disabled",void 0);Re([(0,ge.property)({type:Boolean})],dt.prototype,"error",void 0);(0,na.customElement)("ft-input-label")(dt);var ga=g(I());var ua=g(T()),at=g(pt()),ya=g(Tt()),Le=g(I());var pa=g(T()),j=g(I()),ia=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorContent),y={color:ia,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",ia),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")},la=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorPrimary),ca={color:la,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",la)},sa=j.FtCssVariableFactory.extend("--ft-ripple-color","",j.designSystemVariables.colorSecondary),da={color:sa,backgroundColor:j.FtCssVariableFactory.extend("--ft-ripple-background-color","",sa)},fa=pa.css`
248
+ :host {
249
+ display: contents;
250
+ }
251
+
252
+ .ft-ripple {
253
+ position: absolute;
254
+ inset: 0;
255
+ pointer-events: none;
256
+ }
257
+
258
+ .ft-ripple:not(.ft-ripple--unbounded) {
259
+ overflow: hidden;
260
+ border-radius: ${y.borderRadius};
261
+ }
262
+
263
+ .ft-ripple .ft-ripple--background,
264
+ .ft-ripple .ft-ripple--effect {
265
+ position: absolute;
266
+ opacity: 0;
267
+ }
268
+
269
+ .ft-ripple .ft-ripple--effect {
270
+ aspect-ratio: 1;
271
+ width: auto;
272
+ height: auto;
273
+ min-width: 170%;
274
+ min-height: 170%;
275
+ }
276
+
277
+ .ft-ripple .ft-ripple--background{
278
+ width: 100%;
279
+ height: 100%;
280
+ }
281
+
282
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
283
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
284
+ aspect-ratio: 1;
285
+ width: auto;
286
+ height: auto;
287
+ max-width: unset;
288
+ max-height: unset;
289
+ min-width: 100%;
290
+ min-height: 100%;
291
+ }
292
+
293
+ .ft-ripple .ft-ripple--background {
294
+ background-color: ${y.backgroundColor};
295
+ }
296
+
297
+ .ft-ripple .ft-ripple--effect {
298
+ background-color: ${y.color};
299
+ }
300
+
301
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
302
+ background-color: ${da.backgroundColor};
303
+ }
304
+
305
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
306
+ background-color: ${da.color};
307
+ }
308
+
309
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
310
+ background-color: ${ca.backgroundColor};
311
+ }
312
+
313
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
314
+ background-color: ${ca.color};
315
+ }
316
+
317
+ .ft-ripple .ft-ripple--background {
318
+ top: 0;
319
+ left: 0;
320
+ transition: opacity 75ms linear;
321
+ }
322
+
323
+ .ft-ripple .ft-ripple--effect,
324
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
325
+ border-radius: 50%;
326
+ }
327
+
328
+ .ft-ripple .ft-ripple--effect {
329
+ transform: translate(-50%, -50%) scale(0.15);
330
+ transition: transform 300ms ease, opacity 75ms linear;
331
+ }
332
+
333
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
334
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
335
+ left: 50%;
336
+ top: 50%;
337
+ }
338
+
339
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
340
+ transform: translate(-50%, -50%);
341
+ }
342
+
343
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
344
+ opacity: ${y.opacityContentOnSurfaceHover};
345
+ }
346
+
347
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
348
+ opacity: ${y.opacityContentOnSurfaceSelected};
349
+ }
350
+
351
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
352
+ opacity: ${y.opacityContentOnSurfaceFocused};
353
+ }
354
+
355
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
356
+ opacity: ${y.opacityContentOnSurfacePressed};
357
+ transform: translate(-50%, -50%) scale(1);
358
+ }
359
+ `;var ft=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},z=class extends Le.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 Le.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 Le.Debouncer(10),this.moveRipple=e=>{var a,n;let{x:i,y:c}=this.getCoordinates(e),s=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-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 ua.html`
360
+ <style>
361
+ .ft-ripple .ft-ripple--effect {
362
+ left: ${this.originX}px;
363
+ top: ${this.originY}px;
364
+ }
365
+ </style>
366
+ <div class="${(0,ya.classMap)(e)}">
367
+ <div class="ft-ripple--background"></div>
368
+ <div class="ft-ripple--effect"></div>
369
+ </div>
370
+ `}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,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((a=this.target)!==null&&a!==void 0?a:n)}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=(...p)=>f=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},n=a("mouseup","contextmenu"),i=a("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,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",n,s),e.removeEventListener("touchstart",i,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,n=e,i,c;return a.x!=null?{x:i,y:c}=a:n.touches!=null&&(i=n.touches[0].clientX,c=n.touches[0].clientY),{x:i,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=fa;ft([(0,at.property)({type:Boolean})],z.prototype,"primary",void 0);ft([(0,at.property)({type:Boolean})],z.prototype,"secondary",void 0);ft([(0,at.property)({type:Boolean})],z.prototype,"unbounded",void 0);ft([(0,at.property)({type:Boolean})],z.prototype,"activated",void 0);ft([(0,at.property)({type:Boolean})],z.prototype,"selected",void 0);ft([(0,at.property)({type:Boolean})],z.prototype,"disabled",void 0);ft([(0,at.state)()],z.prototype,"hovered",void 0);ft([(0,at.state)()],z.prototype,"focused",void 0);ft([(0,at.state)()],z.prototype,"pressed",void 0);ft([(0,at.state)()],z.prototype,"rippling",void 0);ft([(0,at.state)()],z.prototype,"originX",void 0);ft([(0,at.state)()],z.prototype,"originY",void 0);ft([(0,at.query)(".ft-ripple")],z.prototype,"ripple",void 0);ft([(0,at.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,ga.customElement)("ft-ripple")(z);var va=g(I());var Ae=g(T()),Xt=g(pt()),xa=g(I()),Sa=g($o());var Yt;(function(o){o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.BOOKS="&#xe806;",o.MENU="&#xe807;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.HOME="&#xe80b;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.EXPORT="&#xe80f;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.USER="&#xe813;",o.EXTLINK="&#xe814;",o.CALENDAR="&#xe815;",o.OFFLINE="&#xe816;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.STAR_PLAIN="&#xe900;",o.TOPICS="&#xe901;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.CLOSE="&#xe909;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN="&#xe90f;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_THEME="&#xe911;",o.ADMIN_USERS="&#xe912;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.INFO="&#xe919;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.THIN_ARROW="&#xe921;",o.SIGN_IN="&#xe922;",o.LOGOUT="&#xe923;",o.TRANSLATE="&#xe924;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.ARTICLE="&#xe927;",o.COLUMNS="&#xe928;",o.ANALYTICS="&#xe929;",o.COLLECTIONS="&#xe92a;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.COPY_TO_CLIPBOARD="&#xe930;",o.SHARED_PBK="&#xe931;",o.ATTACHMENTS="&#xe932;",o.STRIPE_ARROW_LEFT="&#xe933;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.FILTERS="&#xe935;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.SAVE="&#xe93a;",o.LOCKER="&#xe93b;",o.ADMIN_INTEGRATION="&#xe93c;",o.SYNC="&#xe93d;",o.TAG="&#xe93e;",o.BOOK_PLAIN="&#xe93f;",o.UPLOAD="&#xe940;",o.ONLINE="&#xe941;",o.TAG_PLAIN="&#xe942;",o.ACCOUNT_SETTINGS="&#xe943;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.SHORTCUT_MENU="&#xe946;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.ADMIN_PORTAL="&#xe94b;",o.STAR="&#xe94c;",o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.FEEDBACK_PLAIN="&#xe951;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_COLLECTIONS="&#xe955;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.RESET="&#xe958;",o.MY_LIBRARY="&#xe959;",o.UNSTRUCTURED_DOC="&#xe95a;",o.CONTEXTUAL="&#xe95b;",o.THIN_ARROW_UP="&#xe95c;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.DESKTOP="&#xe95e;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_STACKED="&#xe96e;",o.CHART_BAR_GROUPED="&#xe96f;",o.EYE_SLASH="&#xe970;",o.X_MARK="&#xe971;",o.EXPAND_WIDE="&#xe972;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.EXTLINK_LIGHT="&#xe978;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.CONSUMER="&#xe97c;",o.OCTAGON_XMARK="&#xe97d;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK="&#xe97f;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;",o.CIRCLE_STOP="&#xe984;",o.ARROW_ROTATE_RIGHT="&#xe985;",o.ARROWS_ROTATE="&#xe986;",o.ALIGN_RIGHT="&#xe987;",o.FORMAT_CLEAR="&#xe988;",o.ALIGN_CENTER="&#xe989;",o.ALIGN_LEFT="&#xe98a;",o.PALETTE="&#xe98b;",o.BOLD="&#xe98c;",o.ITALIC="&#xe98d;",o.UNDERLINE="&#xe98e;",o.STRIKETHROUGH="&#xe98f;",o.LINK_SIMPLE_SLASH="&#xe990;",o.LINK_SIMPLE="&#xe991;",o.ROUTE="&#xe992;",o.CIRCLE_USER_SLASH="&#xe993;",o.CIRCLE_USER_CHECK="&#xe994;",o.LIST_MAGNIFYING_GLASS="&#xe995;",o.MEDAL="&#xe996;",o.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",o.ARROW_TURN_DOWN_RIGHT="&#xe998;",o.FLASK="&#xe999;",o.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",o.HOURGLASS_END="&#xe99b;",o.CIRCLE_QUESTION="&#xe99c;",o.GRIP_LINES_SOLID="&#xe99d;",o.TRANSLATE_SPARKLE_SOLID="&#xe99e;",o.CODE="&#xe99f;",o.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",o.PAPER_PLANE_SLASH="&#xe9a1;",o.COMPRESS="&#xe9a2;",o.EXPAND="&#xe9a3;",o.ARROW_ROTATE_LEFT="&#xe9a4;",o.EYE="&#xf06e;",o.SHARE="&#xe80f1;"})(Yt||(Yt={}));var m;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(m||(m={}));var ap=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 np={[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 ma=g(T()),Lt=g(I()),q={size:Lt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Lt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Lt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Lt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Lt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Lt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Lt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Lt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ba=ma.css`
371
+ :host, i.ft-icon {
372
+ display: inline-flex;
373
+ align-items: center;
374
+ flex-shrink: 0;
375
+ flex-grow: 0;
376
+ }
377
+
378
+ :host {
379
+ width: ${q.size};
380
+ height: ${q.size};
381
+ }
382
+
383
+ i.ft-icon {
384
+ width: 100%;
385
+ height: 100%;
386
+ font-size: ${q.size};
387
+ line-height: 1;
388
+ font-weight: normal;
389
+ text-transform: none;
390
+ font-style: normal;
391
+ font-variant: normal;
392
+ speak: none;
393
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
394
+ text-rendering: auto;
395
+ -webkit-font-smoothing: antialiased;
396
+ -moz-osx-font-smoothing: grayscale;
397
+ vertical-align: ${q.verticalAlign};
398
+ }
399
+
400
+ i.ft-icon.ft-icon--fluid-topics {
401
+ font-family: ${q.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
402
+
403
+ /* Ugly fix because font is broken */
404
+ font-size: calc(0.75 * ${q.size});
405
+ line-height: ${q.size};
406
+ position: relative;
407
+ top: -4%;
408
+ justify-content: center;
409
+ }
410
+
411
+ .ft-icon--file-format {
412
+ font-family: ${q.fileFormatFontFamily}, ft-mime, sans-serif;
413
+ }
414
+
415
+ .ft-icon--material {
416
+ font-family: ${q.materialFontFamily}, "Material Icons", sans-serif;
417
+ }
418
+ `;var Ot;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(Ot||(Ot={}));var Ye=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},et=class extends xa.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ae.nothing}render(){let e=this.variant&&Object.values(Ot).includes(this.variant)?this.variant:Ot.fluid_topics,a=e!==Ot.material||!!this.value;return Ae.html`
419
+ <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
420
+ ${(0,Sa.unsafeHTML)(this.resolvedIcon)}
421
+ <slot ?hidden=${a}></slot>
422
+ </i>
423
+ `}get textContent(){var e,a;return(a=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.textContent;switch(this.variant){case Ot.file_format:this.resolvedIcon=(e=m[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ot.material:this.resolvedIcon=this.value||Ae.nothing;break;default:this.resolvedIcon=(a=Yt[n.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};et.elementDefinitions={};et.styles=ba;Ye([(0,Xt.property)()],et.prototype,"variant",void 0);Ye([(0,Xt.property)()],et.prototype,"value",void 0);Ye([(0,Xt.state)()],et.prototype,"resolvedIcon",void 0);Ye([(0,Xt.query)("slot")],et.prototype,"slottedContent",void 0);(0,va.customElement)("ft-icon")(et);var Ca=g(T()),E=g(I());var P={labelSize:E.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:E.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:E.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:E.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:E.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:E.FtCssVariableFactory.extend("--ft-select-selected-option-color","",E.designSystemVariables.colorOnSurface),helperColor:E.FtCssVariableFactory.extend("--ft-select-helper-color","",E.designSystemVariables.colorOnSurfaceMedium),optionsColor:E.FtCssVariableFactory.extend("--ft-select-options-color","",E.designSystemVariables.colorOnSurface),optionsZIndex:E.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:E.FtCssVariableFactory.extend("--ft-select-background-color","",E.designSystemVariables.colorSurface),colorOnSurfaceDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:E.FtCssVariableFactory.external(E.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:E.FtCssVariableFactory.external(E.designSystemVariables.borderRadiusS,"Design system"),elevation02:E.FtCssVariableFactory.external(E.designSystemVariables.elevation02,"Design system"),colorError:E.FtCssVariableFactory.external(E.designSystemVariables.colorError,"Design system")},Oa=Ca.css`
424
+ *:focus {
425
+ outline: none;
426
+ }
427
+
428
+ .ft-select {
429
+ display: flex;
430
+ flex-direction: column;
431
+ align-items: stretch;
432
+ }
433
+
434
+ .ft-select--main-panel {
435
+ position: relative;
436
+ display: flex;
437
+ height: calc(4 * ${P.verticalSpacing} + ${P.labelSize} + ${P.selectedOptionSize});
438
+ }
439
+
440
+ .ft-select--input-panel {
441
+ flex-grow: 1;
442
+ position: relative;
443
+ display: flex;
444
+ align-items: center;
445
+ overflow: hidden;
446
+ padding-left: ${P.horizontalSpacing};
447
+ padding-right: ${P.horizontalSpacing};
448
+ gap: 8px;
449
+ color: ${P.selectedOptionColor};
450
+ ${(0,E.setVariable)(y.color,P.selectedOptionColor)};
451
+ }
452
+
453
+ .ft-select--input-panel,
454
+ .ft-select--option {
455
+ ${(0,E.setVariable)(y.opacityContentOnSurfaceHover,"0.08")};
456
+ ${(0,E.setVariable)(y.opacityContentOnSurfacePressed,"0.04")};
457
+ }
458
+
459
+ .ft-select--input-panel > *:not(ft-ripple),
460
+ .ft-select--option > *:not(ft-ripple) {
461
+ position: relative;
462
+ }
463
+
464
+ .ft-select--disabled .ft-select--input-panel,
465
+ .ft-select--disabled .ft-select--option {
466
+ color: ${P.colorOnSurfaceDisabled};
467
+ }
468
+
469
+ .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
470
+ .ft-select:not(.ft-select--disabled) .ft-select--option {
471
+ cursor: pointer;
472
+ }
473
+
474
+ ft-input-label {
475
+ ${(0,E.setVariable)(C.fontSize,P.selectedOptionSize)};
476
+ ${(0,E.setVariable)(C.raisedFontSize,P.labelSize)};
477
+ ${(0,E.setVariable)(C.verticalSpacing,P.verticalSpacing)};
478
+ ${(0,E.setVariable)(C.horizontalSpacing,P.horizontalSpacing)};
479
+ ${(0,E.setVariable)(C.backgroundColor,P.backgroundColor)};
480
+ ${(0,E.setVariable)(C.labelMaxWidth,`calc(100% - ${q.size} - 8px)`)};
481
+ }
482
+
483
+ .ft-select:not(.ft-select--disabled):focus-within ft-icon {
484
+ color: ${P.colorPrimary};
485
+ }
486
+
487
+ .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
488
+ ${(0,E.setVariable)(C.borderColor,P.colorPrimary)};
489
+ ${(0,E.setVariable)(C.textColor,P.colorPrimary)};
490
+ }
491
+
492
+ .ft-select--selected-option {
493
+ display: block;
494
+ flex-grow: 1;
495
+ flex-shrink: 1;
496
+ overflow: hidden;
497
+ white-space: nowrap;
498
+ text-overflow: ellipsis;
499
+ ${(0,E.setVariable)(ht.fontSize,P.selectedOptionSize)};
500
+ ${(0,E.setVariable)(ht.lineHeight,P.selectedOptionSize)};
501
+ }
502
+
503
+ .ft-select--in-error .ft-select--selected-option {
504
+ color: ${P.colorError};
505
+ }
506
+
507
+ ft-icon {
508
+ flex-shrink: 0;
509
+ }
510
+
511
+ slot {
512
+ display: none;
513
+ }
514
+
515
+ .ft-select--filled .ft-select--input-panel {
516
+ border-radius: ${P.borderRadiusS} ${P.borderRadiusS} 0 0;
517
+ }
518
+
519
+ .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
520
+ align-self: stretch;
521
+ padding-top: calc(${P.labelSize} + 2 * ${P.verticalSpacing});
522
+ }
523
+
524
+ .ft-select--outlined .ft-select--input-panel {
525
+ border-radius: ${P.borderRadiusS};
526
+ }
527
+
528
+ .ft-select--options {
529
+ display: none;
530
+ position: absolute;
531
+ top: 100%;
532
+ color: ${P.optionsColor};
533
+ background: ${P.backgroundColor};
534
+ z-index: ${P.optionsZIndex};
535
+ box-shadow: ${P.elevation02};
536
+ }
537
+
538
+ .ft-select--fixed .ft-select--options {
539
+ position: fixed;
540
+ }
541
+
542
+ .ft-select--options-displayed .ft-select--options {
543
+ display: block;
544
+ max-height: ${P.optionsHeight};
545
+ overflow-y: auto;
546
+ }
547
+
548
+ .ft-select--option {
549
+ position: relative;
550
+ padding: 4px ${P.horizontalSpacing};
551
+ min-height: 32px;
552
+ display: flex;
553
+ align-items: center;
554
+ }
555
+
556
+ .ft-select--option span {
557
+ text-overflow: ellipsis;
558
+ overflow: hidden;
559
+ }
560
+
561
+ .ft-select--helper-text {
562
+ padding: 0 ${P.horizontalSpacing};
563
+ color: ${P.helperColor};
564
+ }
565
+
566
+ .ft-select--in-error .ft-select--helper-text {
567
+ color: ${P.colorError};
568
+ }
569
+ `;var F=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},Ut=class extends qt.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Be.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ut.elementDefinitions={};F([(0,H.property)({type:String})],Ut.prototype,"label",void 0);F([(0,H.property)({type:Object,converter:o=>o})],Ut.prototype,"value",void 0);F([(0,H.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);var _=class extends qt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,a,n,i,c;let s=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(a=this.selectedOption)===null||a===void 0?void 0:a.label)!==null&&n!==void 0?n:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"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 Be.html`
570
+ <div class="${(0,Ro.classMap)(h)}" part="container">
571
+ <div class="ft-select--main-panel" part="main-panel">
572
+ <ft-input-label text="${this.label}"
573
+ part="label"
574
+ ?disabled=${p}
575
+ ?outlined=${this.outlined}
576
+ ?raised=${f||s}
577
+ ?error=${this.error}
578
+ ></ft-input-label>
579
+ <div class="ft-select--input-panel"
580
+ part="selected-value"
581
+ tabindex="${p?"-1":"0"}"
582
+ @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
583
+ @keydown=${this.onMainPanelKeyDown}
584
+ aria-label="${this.ariaLabel}"
585
+ aria-haspopup="listbox"
586
+ aria-expanded="${s}"
587
+ role="combobox">
588
+ <ft-ripple ?disabled=${p} ?activated=${!this.outlined}></ft-ripple>
589
+ <ft-typography variant="body1" class="ft-select--selected-option">
590
+ ${(c=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&c!==void 0?c:""}
591
+ </ft-typography>
592
+ <ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
593
+ </div>
594
+ <div class="ft-select--options"
595
+ part="options"
596
+ @keydown=${this.onOptionsKeyDown}
597
+ innerrole="listbox">
598
+ ${(0,wa.repeat)(this.options,S=>S.value,S=>this.renderOption(S))}
599
+ </div>
600
+ </div>
601
+ ${this.helper?Be.html`
602
+ <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
603
+ </ft-typography>`:void 0}
604
+ </div>
605
+ <slot @slotchange=${this.updateOptionsFromSlot}
606
+ @option-change=${this.updateOptionsFromSlot}
607
+ ></slot>
608
+ `}renderOption(e){let a=this.selectedOption===e;return Be.html`
609
+ <div class="${(0,Ro.classMap)({"ft-select--option":!0,"ft-select--option-selected":a,"ft-typography--body2":!0})}"
610
+ part="option"
611
+ tabindex="0"
612
+ data-value="${e.value}"
613
+ @keydown=${i=>this.onOptionKeyDown(i,e)}
614
+ @click=${()=>this.selectOption(e)}>
615
+ <ft-ripple ?primary=${a} ?activated=${a}></ft-ripple>
616
+ <span>${e.label}</span>
617
+ </div>
618
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(a=>a.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var a,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(a=this.selectedOptionElement)!==null&&a!==void 0?a:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];(0,qt.computeFlipOffsetPosition)(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",P.optionsHeight.name,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 n=(a=this.optionsSlot)===null||a===void 0?void 0:a.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}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,n,i,c,s;let p;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(),p=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),p=(s=(c=this.focusedOption)===null||c===void 0?void 0:c.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}p?.focus()}onOptionKeyDown(e,a){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(a),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(e){var a,n;if(!(0,qt.deepEqual)((a=this.selectedOption)===null||a===void 0?void 0:a.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};_.elementDefinitions={"ft-input-label":dt,"ft-typography":rt,"ft-ripple":z,"ft-icon":et};_.styles=[je,ye,Oa];F([(0,H.property)({type:String})],_.prototype,"label",void 0);F([(0,H.property)({type:String})],_.prototype,"ariaLabel",void 0);F([(0,H.property)({type:String})],_.prototype,"helper",void 0);F([(0,H.property)({type:Boolean})],_.prototype,"outlined",void 0);F([(0,H.property)({type:Boolean})],_.prototype,"disabled",void 0);F([(0,H.property)({type:Boolean})],_.prototype,"error",void 0);F([(0,H.property)({type:Boolean})],_.prototype,"fixedMenuPosition",void 0);F([(0,H.property)({type:Array})],_.prototype,"options",void 0);F([(0,H.state)()],_.prototype,"selectedOption",void 0);F([(0,H.state)()],_.prototype,"optionsDisplayed",void 0);F([(0,H.state)()],_.prototype,"focusOptions",void 0);F([(0,H.query)(".ft-select")],_.prototype,"container",void 0);F([(0,H.query)(".ft-select--options")],_.prototype,"optionsMenu",void 0);F([(0,H.query)(".ft-select--input-panel")],_.prototype,"mainPanel",void 0);F([(0,H.query)(".ft-select--option:first-child")],_.prototype,"firstOption",void 0);F([(0,H.query)(".ft-select--option:focus")],_.prototype,"focusedOption",void 0);F([(0,H.query)(".ft-select--option.ft-select--option-selected")],_.prototype,"selectedOptionElement",void 0);F([(0,H.query)(".ft-select--option:last-child")],_.prototype,"lastOption",void 0);F([(0,H.query)("slot")],_.prototype,"optionsSlot",void 0);(0,Lo.customElement)("ft-select")(_);(0,Lo.customElement)("ft-select-option")(Ut);var Bo=g(I());var Q=g(T()),R=g(pt()),Ba=g(Ue()),Pa=g(Tt());var Xe=o=>o??V;var Gt=g(I());var Ea=g(T()),O=g(I());var w={fontSize:O.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:O.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:O.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:O.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:O.FtCssVariableFactory.extend("--ft-text-field-helper-color","",O.designSystemVariables.colorOnSurfaceMedium),colorPrimary:O.FtCssVariableFactory.external(O.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:O.FtCssVariableFactory.external(O.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:O.FtCssVariableFactory.external(O.designSystemVariables.borderRadiusS,"Design system"),colorError:O.FtCssVariableFactory.external(O.designSystemVariables.colorError,"Design system"),prefixColor:O.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",O.designSystemVariables.colorOnSurfaceMedium),iconColor:O.FtCssVariableFactory.extend("--ft-text-field-icon-color","",O.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:O.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:O.FtCssVariableFactory.extend("--ft-text-field-background-color","",O.designSystemVariables.colorSurface),colorOutline:O.FtCssVariableFactory.external(O.designSystemVariables.colorOutline,"Design system"),elevation02:O.FtCssVariableFactory.external(O.designSystemVariables.elevation02,"Design system"),suggestSize:O.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Na=Ea.css`
619
+ *:focus {
620
+ outline: none;
621
+ }
622
+
623
+ .ft-text-field {
624
+ display: flex;
625
+ flex-direction: column;
626
+ align-items: stretch;
627
+ position: relative;
628
+ }
629
+
630
+ ft-input-label {
631
+ ${(0,O.setVariable)(C.fontSize,w.fontSize)};
632
+ ${(0,O.setVariable)(C.raisedFontSize,w.labelSize)};
633
+ ${(0,O.setVariable)(C.verticalSpacing,w.verticalSpacing)};
634
+ ${(0,O.setVariable)(C.horizontalSpacing,w.horizontalSpacing)};
635
+ ${(0,O.setVariable)(C.backgroundColor,w.backgroundColor)};
636
+ }
637
+
638
+ .ft-text-field--main-panel {
639
+ position: relative;
640
+ display: flex;
641
+ height: calc(4 * ${w.verticalSpacing} + ${w.labelSize} + ${w.fontSize});
642
+ }
643
+
644
+ .ft-text-field--input-panel {
645
+ flex-grow: 1;
646
+ position: relative;
647
+ display: flex;
648
+ align-items: center;
649
+ overflow: hidden;
650
+ padding: 0 ${w.horizontalSpacing};
651
+
652
+ ${(0,O.setVariable)(ht.fontSize,w.fontSize)};
653
+ ${(0,O.setVariable)(ht.lineHeight,w.fontSize)};
654
+ }
655
+
656
+ .ft-text-field--input-panel ft-ripple {
657
+ ${(0,O.setVariable)(y.opacityContentOnSurfaceHover,"0.08")};
658
+ ${(0,O.setVariable)(y.opacityContentOnSurfacePressed,"0.04")};
659
+ }
660
+
661
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
662
+ align-items: flex-end;
663
+ padding: 0 ${w.horizontalSpacing} ${w.verticalSpacing} ${w.horizontalSpacing};
664
+ }
665
+
666
+ .ft-text-field--prefix {
667
+ color: ${w.prefixColor};
668
+ margin-right: 2px;
669
+ flex-shrink: 1;
670
+ overflow: hidden;
671
+ white-space: nowrap;
672
+ text-overflow: ellipsis;
673
+ }
674
+
675
+ .ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
676
+ display: none;
677
+ }
678
+
679
+ .ft-text-field--input {
680
+ display: block;
681
+ position: relative;
682
+ flex-grow: 1;
683
+ flex-shrink: 1;
684
+ min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
685
+
686
+ color: ${w.colorOnSurface};
687
+ padding: calc(2 * ${w.verticalSpacing}) 0;
688
+ border: none;
689
+ background: none;
690
+
691
+ &:-webkit-autofill,
692
+ &:-webkit-autofill:hover,
693
+ &:-webkit-autofill:focus {
694
+ -webkit-text-fill-color: ${w.colorOnSurface};
695
+ transition: background-color 50000000s ease-in-out 100000s;
696
+ }
697
+ }
698
+
699
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
700
+ padding-bottom: 0;
701
+ padding-top: calc(${w.labelSize} + 2 * ${w.verticalSpacing});
702
+ }
703
+
704
+ .ft-text-field--input::-webkit-calendar-picker-indicator,
705
+ .ft-text-field--input::-webkit-list-button {
706
+ display: none !important;
707
+ }
708
+
709
+ .ft-text-field--disabled .ft-text-field--input {
710
+ color: ${w.colorOnSurfaceDisabled};
711
+ }
712
+
713
+ .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
714
+ ${(0,O.setVariable)(C.borderColor,w.colorPrimary)};
715
+ ${(0,O.setVariable)(C.textColor,w.colorPrimary)};
716
+ }
717
+
718
+ .ft-text-field--filled .ft-text-field--input-panel {
719
+ border-radius: ${w.borderRadiusS} ${w.borderRadiusS} 0 0;
720
+ }
721
+
722
+ .ft-text-field--outlined .ft-text-field--input-panel {
723
+ border-radius: ${w.borderRadiusS};
724
+ }
725
+
726
+ .ft-text-field--helper-text {
727
+ padding: 0 12px 0 ${w.horizontalSpacing};
728
+ color: ${w.helperColor};
729
+ }
730
+
731
+ .ft-text-field--in-error .ft-text-field--input,
732
+ .ft-text-field--in-error .ft-text-field--helper-text,
733
+ .ft-text-field--in-error .ft-text-field--prefix {
734
+ color: ${w.colorError};
735
+ }
736
+
737
+ .ft-text-field--icon {
738
+ align-self: center;
739
+ margin-left: 8px;
740
+ color: ${w.iconColor};
741
+ }
742
+
743
+ .ft-text-field--container {
744
+ position: relative;
745
+ }
746
+
747
+ .ft-text-field--suggestions {
748
+ display: none;
749
+ flex-direction: column;
750
+ position: absolute;
751
+ z-index: ${w.floatingZIndex};
752
+ background: ${w.backgroundColor};
753
+ border: 1px solid ${w.colorOutline};
754
+ border-radius: 0 0 ${w.borderRadiusS} ${w.borderRadiusS};
755
+ box-shadow: ${w.elevation02};
756
+ outline: none;
757
+ max-height: ${w.suggestSize};
758
+ overflow-y: auto;
759
+ }
760
+
761
+ .ft-text-field--fixed .ft-text-field--suggestions {
762
+ position: fixed;
763
+ }
764
+
765
+ .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
766
+ display: flex;
767
+ }
768
+
769
+ .ft-text-field--with-icon {
770
+ ${(0,O.setVariable)(C.labelMaxWidth,`calc(100% - ${q.size} - ${C.horizontalSpacing})`)};
771
+ }
772
+
773
+ .ft-text-field--with-password ft-icon:hover {
774
+ cursor: pointer;
775
+ }
776
+ `;var La=g(I()),Pe=g(T()),Qt=g(pt());var $a=g(T());var Ra=$a.css`
777
+ .ft-text-field-suggestion {
778
+ position: relative;
779
+ padding: 8px 16px;
780
+ cursor: pointer;
781
+ min-height: 44px;
782
+ box-sizing: border-box;
783
+ outline: none;
784
+ }
785
+
786
+ .ft-text-field-suggestion,
787
+ .ft-text-field-suggestion--label {
788
+ display: flex;
789
+ align-items: center;
790
+ gap: 8px;
791
+ }
792
+
793
+ .ft-text-field-suggestion--label {
794
+ flex-grow: 1;
795
+ flex-shrink: 1;
796
+ }
797
+
798
+ .ft-text-field-suggestion--with-helper {
799
+ display: flex;
800
+ flex-direction: column;
801
+ align-items: flex-start;
802
+ gap: 0;
803
+ }
804
+
805
+ .ft-text-field-suggestion--helper-text {
806
+ color: ${w.helperColor};
807
+ }
808
+
809
+ slot {
810
+ pointer-events: none;
811
+ }
812
+ `;var Aa=g(Tt()),qe=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},Ao=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},bt=class extends La.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Pe.html`
813
+ <div class=${(0,Aa.classMap)(e)}
814
+ tabindex="-1"
815
+ @keydown=${this.onKeyDown}
816
+ @click=${this.confirmSuggestion}>
817
+ <ft-ripple></ft-ripple>
818
+ ${this.helper?Pe.html`
819
+ <ft-typography class="ft-text-field-suggestion--helper-text" variant="caption">
820
+ ${this.helper}
821
+ </ft-typography>`:Pe.nothing}
822
+ <ft-typography part="label"
823
+ variant="body1"
824
+ class="ft-text-field-suggestion--label">
825
+ <slot></slot>
826
+ </ft-typography>
827
+ </div>
828
+ `}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 Ao(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())}};bt.elementDefinitions={"ft-ripple":z,"ft-typography":rt,"ft-icon":et};bt.styles=Ra;qe([(0,Qt.property)()],bt.prototype,"value",void 0);qe([(0,Qt.property)()],bt.prototype,"helper",void 0);qe([(0,Qt.query)(".ft-text-field-suggestion")],bt.prototype,"container",void 0);qe([(0,Qt.queryAssignedNodes)()],bt.prototype,"assignedNodes",void 0);var k=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},$=class extends(0,Gt.toFtFormComponent)(Gt.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Yt.EYE_SLASH,this.passwordRevealedIcon=Yt.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()}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),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||a;return Q.html`
829
+ <div class="${(0,Pa.classMap)(e)}">
830
+ <div class="ft-text-field--main-panel"
831
+ @keydown=${this.handleKeyboardNavigation}
832
+ @focusout=${this.onMainPanelBlur}>
833
+ <ft-input-label text="${this.label}"
834
+ ?disabled=${this.disabled}
835
+ ?outlined=${this.outlined}
836
+ ?raised=${this.focused||this.value!=""}
837
+ ?error=${this.error}></ft-input-label>
838
+ <div class="ft-text-field--input-panel">
839
+ ${this.outlined?Q.nothing:Q.html`
840
+ <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
841
+ `}
842
+ ${this.prefix?Q.html`
843
+ <ft-typography class="ft-text-field--prefix" variant="body1">
844
+ ${this.prefix}
845
+ </ft-typography>
846
+ `:Q.nothing}
847
+ <input type=${this.resolveInputType()}
848
+ name=${Xe(this.name)}
849
+ maxlength=${Xe(this.maxLength||void 0)}
850
+ aria-label="${this.label}"
851
+ autocomplete=${Xe(this.autocomplete)}
852
+ class="ft-typography--body1 ft-text-field--input"
853
+ part="input"
854
+ ?disabled=${this.disabled}
855
+ .value=${this.value}
856
+ @click=${this.handleClick}
857
+ @keyup=${this.handleInput}
858
+ @focus=${this.onFocus}/>
859
+ ${this.renderIcon()}
860
+ </div>
861
+ <div class="ft-text-field--suggestions"
862
+ @suggestion-selected=${this.onSuggestionSelected}>
863
+ ${this.renderSuggestions()}
864
+ ${i?Q.html`
865
+ <ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
866
+ ${this.value}
867
+ </ft-text-field-suggestion>
868
+ `:Q.nothing}
869
+ </div>
870
+ </div>
871
+ ${this.helper?Q.html`
872
+ <ft-typography class="ft-text-field--helper-text" variant="caption">
873
+ ${this.helper}
874
+ </ft-typography>
875
+ `:Q.nothing}
876
+ </div>
877
+ `}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?Q.html`
878
+ ${(0,Ba.repeat)(this.providedSuggestions,e=>Q.html`
879
+ <ft-text-field-suggestion value=${e.value} @click=${e.clickHandler}>
880
+ ${e.icon?Q.html`
881
+ <ft-icon .value=${e.icon}></ft-icon>
882
+ `:Q.nothing}
883
+ ${e.label}
884
+ </ft-text-field-suggestion>`)}
885
+ `:Q.html`
886
+ <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
887
+ `}renderPasswordIcon(){return Q.html`
888
+ <ft-icon class="ft-text-field--icon"
889
+ .variant=${this.iconVariant}
890
+ .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
891
+ @click=${()=>this.togglePasswordVisibility()}></ft-icon>
892
+ `}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?Q.html`
893
+ <ft-icon class="ft-text-field--icon"
894
+ .variant=${this.iconVariant}
895
+ .value=${this.icon}
896
+ @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
897
+ `:Q.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,n,i;!((a=this.input)===null||a===void 0)&&a.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.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 n=((a=this.input)===null||a===void 0?void 0:a.value)||"";this.setValue(n,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 n=this.visibleSuggestions.findIndex(c=>c.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(a=this.visibleSuggestions[i])===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,Gt.computeFlipOffsetPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed",w.suggestSize.name,0).then(({x:a,y:n})=>{this.suggestionsContainer.style.left=`${a}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};$.elementDefinitions={"ft-input-label":dt,"ft-ripple":z,"ft-typography":rt,"ft-icon":et,"ft-text-field-suggestion":bt};$.styles=[Ve,Gt.noTextInputDefaultClearButton,Na];k([(0,R.property)()],$.prototype,"label",void 0);k([(0,R.property)({noAccessor:!0})],$.prototype,"value",null);k([(0,R.state)()],$.prototype,"dispatchedValue",void 0);k([(0,R.property)()],$.prototype,"helper",void 0);k([(0,R.property)()],$.prototype,"suggestionsHelper",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"outlined",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"disabled",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"error",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"fixedMenuPosition",void 0);k([(0,R.property)()],$.prototype,"prefix",void 0);k([(0,R.property)()],$.prototype,"icon",void 0);k([(0,R.property)()],$.prototype,"name",void 0);k([(0,R.property)()],$.prototype,"type",void 0);k([(0,R.property)()],$.prototype,"passwordHiddenIcon",void 0);k([(0,R.property)()],$.prototype,"passwordRevealedIcon",void 0);k([(0,R.property)()],$.prototype,"iconVariant",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"filterSuggestions",void 0);k([(0,R.property)({type:Number})],$.prototype,"maxLength",void 0);k([(0,R.property)({type:Boolean})],$.prototype,"password",void 0);k([(0,R.property)({type:String})],$.prototype,"autocomplete",void 0);k([(0,R.property)({attribute:!1})],$.prototype,"suggestionsProvider",void 0);k([(0,R.state)()],$.prototype,"focused",void 0);k([(0,R.state)()],$.prototype,"hidePassword",void 0);k([(0,R.state)()],$.prototype,"hideSuggestions",void 0);k([(0,R.state)()],$.prototype,"visibleSuggestions",void 0);k([(0,R.state)()],$.prototype,"providedSuggestions",void 0);k([(0,R.query)(".ft-text-field--main-panel")],$.prototype,"mainPanel",void 0);k([(0,R.query)(".ft-text-field--input")],$.prototype,"input",void 0);k([(0,R.query)(".ft-text-field-suggestion--new-value")],$.prototype,"newValueSuggestion",void 0);k([(0,R.query)(".ft-text-field--suggestions")],$.prototype,"suggestionsContainer",void 0);k([(0,R.queryAll)("ft-text-field-suggestion")],$.prototype,"providedSuggestionsInDom",void 0);k([(0,R.queryAssignedElements)({selector:"ft-text-field-suggestion"})],$.prototype,"slottedSuggestions",void 0);(0,Bo.customElement)("ft-text-field")($);(0,Bo.customElement)("ft-text-field-suggestion")(bt);var Zo=g(I());var _e=g(pt()),bn=g(I());var Ta=g(T()),N=g(I());var Ia=g(T()),Ie=g(I()),U={color:Ie.FtCssVariableFactory.extend("--ft-loader-color","",Ie.designSystemVariables.colorPrimary),size:Ie.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ka=Ia.css`
898
+ :host {
899
+ line-height: 0;
900
+ }
901
+
902
+ .ft-loader {
903
+ display: inline-block;
904
+ position: relative;
905
+
906
+ width: ${U.size};
907
+ height: ${U.size};
908
+ }
909
+
910
+ .ft-loader div {
911
+ position: absolute;
912
+ top: 37.5%;
913
+ width: 25%;
914
+ height: 25%;
915
+ border-radius: 50%;
916
+ background: ${U.color};
917
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
918
+ }
919
+
920
+ .ft-loader div:nth-child(1) {
921
+ left: 2.5%;
922
+ animation: appear 0.6s infinite;
923
+ }
924
+
925
+ .ft-loader div:nth-child(2) {
926
+ left: 2.5%;
927
+ animation: move 0.6s infinite;
928
+ }
929
+
930
+ .ft-loader div:nth-child(3) {
931
+ left: 37.5%;
932
+ animation: move 0.6s infinite;
933
+ }
934
+
935
+ .ft-loader div:nth-child(4) {
936
+ left: 72.5%;
937
+ animation: disappear 0.6s infinite;
938
+ }
939
+
940
+ @keyframes appear {
941
+ 0% {
942
+ transform: scale(0);
943
+ }
944
+ 100% {
945
+ transform: scale(1);
946
+ }
947
+ }
948
+
949
+ @keyframes disappear {
950
+ 0% {
951
+ transform: scale(1);
952
+ }
953
+ 100% {
954
+ transform: scale(0);
955
+ }
956
+ }
957
+
958
+ @keyframes move {
959
+ 0% {
960
+ transform: translate(0, 0);
961
+ }
962
+ 100% {
963
+ transform: translate(calc(0.35 * ${U.size}), 0);
964
+ }
965
+ }
966
+ `;var Wa=N.FtCssVariableFactory.extend("--ft-button-color","",N.designSystemVariables.colorPrimary),ot={backgroundColor:N.FtCssVariableFactory.extend("--ft-button-background-color","",N.designSystemVariables.colorSurface),borderRadius:N.FtCssVariableFactory.extend("--ft-button-border-radius","",N.designSystemVariables.borderRadiusL),color:Wa,fontSize:N.FtCssVariableFactory.extend("--ft-button-font-size","",Ct.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:N.FtCssVariableFactory.extend("--ft-button-ripple-color","",Wa),verticalPadding:N.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:N.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:N.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},za=N.FtCssVariableFactory.extend("--ft-button-primary-color","",N.FtCssVariableFactory.extend("--ft-button-color","",N.designSystemVariables.colorOnPrimary)),Po={backgroundColor:N.FtCssVariableFactory.extend("--ft-button-primary-background-color","",N.FtCssVariableFactory.extend("--ft-button-background-color","",N.designSystemVariables.colorPrimary)),color:za,rippleColor:N.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",za)},wt={borderRadius:N.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",N.FtCssVariableFactory.extend("--ft-button-border-radius","",N.designSystemVariables.borderRadiusM)),verticalPadding:N.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:N.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:N.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Da=[Ta.css`
967
+ :host {
968
+ display: inline-block;
969
+ max-width: 100%;
970
+ pointer-events: none;
971
+ }
972
+
973
+ .ft-button {
974
+ box-shadow: 0px 0px 0px transparent;
975
+ border: 0px solid transparent;
976
+ text-shadow: 0px 0px 0px transparent;
977
+ font-size: ${ot.fontSize};
978
+ text-decoration: none;
979
+ }
980
+
981
+ .ft-button:hover {
982
+ box-shadow: 0px 0px 0px transparent;
983
+ border: 0px solid transparent;
984
+ text-shadow: 0px 0px 0px transparent;
985
+ }
986
+
987
+ .ft-button:active {
988
+ outline: none;
989
+ border: none;
990
+ }
991
+
992
+ .ft-button:focus {
993
+ outline: 0;
994
+ }
995
+
996
+ .ft-button {
997
+ position: relative;
998
+ display: flex;
999
+ justify-content: center;
1000
+ align-items: center;
1001
+ width: 100%;
1002
+ overflow: hidden;
1003
+ box-sizing: border-box;
1004
+ border: none;
1005
+ pointer-events: auto;
1006
+
1007
+ --ft-button-internal-line-height: max(calc(${ot.fontSize} + 2px), ${ot.iconSize});
1008
+ --ft-button-internal-color: ${ot.color};
1009
+ ${(0,N.setVariable)(q.size,ot.iconSize)};
1010
+ ${(0,N.setVariable)(y.color,ot.rippleColor)};
1011
+
1012
+ border-radius: ${ot.borderRadius};
1013
+ padding: ${ot.verticalPadding} ${ot.horizontalPadding};
1014
+ background-color: ${ot.backgroundColor};
1015
+ color: var(--ft-button-internal-color);
1016
+ -webkit-mask-image: radial-gradient(white, black);
1017
+ }
1018
+
1019
+ .ft-button.ft-button--outlined {
1020
+ border: 1px solid var(--ft-button-internal-color);
1021
+ padding: calc(${ot.verticalPadding} - 1px) calc(${ot.horizontalPadding} - 1px);
1022
+ }
1023
+
1024
+ .ft-button.ft-button--dense {
1025
+ padding: ${wt.verticalPadding} ${wt.horizontalPadding};
1026
+ border-radius: ${wt.borderRadius};
1027
+ gap: ${wt.iconPadding};
1028
+ }
1029
+
1030
+ .ft-button.ft-button--dense.ft-button--outlined {
1031
+ padding: calc(${wt.verticalPadding} - 1px) calc(${wt.horizontalPadding} - 1px);
1032
+ }
1033
+
1034
+ .ft-button:not([disabled]):hover {
1035
+ cursor: pointer;
1036
+ }
1037
+
1038
+ .ft-button--round {
1039
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ot.verticalPadding});
1040
+ }
1041
+
1042
+ .ft-button--round.ft-button--dense {
1043
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wt.verticalPadding});
1044
+ }
1045
+
1046
+ .ft-button[disabled] {
1047
+ filter: grayscale(1);
1048
+ opacity: ${ot.opacityDisabled};
1049
+ }
1050
+
1051
+ .ft-button.ft-button--primary {
1052
+ background-color: ${Po.backgroundColor};
1053
+ --ft-button-internal-color: ${Po.color};
1054
+ ${(0,N.setVariable)(y.color,Po.rippleColor)};
1055
+ }
1056
+
1057
+ .ft-button:focus {
1058
+ outline: none;
1059
+ }
1060
+
1061
+ .ft-button--label {
1062
+ position: relative;
1063
+ overflow: hidden;
1064
+ white-space: nowrap;
1065
+ text-overflow: ellipsis;
1066
+ display: block;
1067
+ margin: 0 ${ot.iconPadding};
1068
+ ${(0,N.setVariable)(Ct.fontSize,"1em")};
1069
+ ${(0,N.setVariable)(Ct.lineHeight,"var(--ft-button-internal-line-height)")};
1070
+ }
1071
+
1072
+ .ft-button--dense .ft-button--label {
1073
+ margin: 0 ${wt.iconPadding};
1074
+ }
1075
+
1076
+ .ft-button--label[hidden] {
1077
+ display: none;
1078
+ }
1079
+
1080
+ [part="icon"] {
1081
+ flex-shrink: 0;
1082
+ position: relative;
1083
+ }
1084
+
1085
+ .ft-button--label[hidden] + [part="icon"] {
1086
+ margin: 0 calc(${ot.horizontalPadding} * -1);
1087
+ padding: 0 ${ot.verticalPadding};
1088
+ }
1089
+
1090
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
1091
+ margin: 0 calc(${wt.horizontalPadding} * -1);
1092
+ padding: 0 ${wt.verticalPadding};
1093
+ }
1094
+
1095
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
1096
+ order: 2;
1097
+ }
1098
+
1099
+ ft-loader {
1100
+ ${(0,N.setVariable)(U.size,ot.iconSize)};
1101
+ ${(0,N.setVariable)(U.color,"var(--ft-button-internal-color)")};
1102
+ }
1103
+ `,N.noTextSelect];var Zt=g(I());var yn=g(I());var un=g(T()),J=g(pt()),De=g(I());var _a=g(T()),At=g(I()),he={distance:At.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:At.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:At.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:At.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:At.FtCssVariableFactory.external(At.designSystemVariables.borderRadiusS,"Design system"),maxWidth:At.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ha=_a.css`
1104
+ .ft-tooltip--container {
1105
+ display: block;
1106
+ }
1107
+
1108
+ .ft-tooltip--inline {
1109
+ display: inline-block;
1110
+ max-width: 100%;
1111
+ }
1112
+
1113
+ .ft-tooltip {
1114
+ position: fixed;
1115
+ box-sizing: border-box;
1116
+ overflow: hidden;
1117
+ width: max-content;
1118
+ max-width: ${he.maxWidth};
1119
+ text-align: center;
1120
+ padding: ${he.distance};
1121
+ z-index: ${he.zIndex};
1122
+ }
1123
+
1124
+ .ft-tooltip--content {
1125
+ padding: 4px 8px;
1126
+ border-radius: ${he.borderRadiusS};
1127
+ background-color: ${he.backgroundColor};
1128
+ color: ${he.color};
1129
+ position: relative;
1130
+ word-break: break-word;
1131
+ }
1132
+ `;var Ga=["top","right","bottom","left"],Ua=["start","end"],ko=Ga.reduce((o,e)=>o.concat(e,e+"-"+Ua[0],e+"-"+Ua[1]),[]),Fa=Math.min,Ma=Math.max;var _n={left:"right",right:"left",bottom:"top",top:"bottom"},Hn={start:"end",end:"start"};function Wo(o,e,a){return Ma(o,Fa(e,a))}function Qe(o,e){return typeof o=="function"?o(e):o}function me(o){return o.split("-")[0]}function Ft(o){return o.split("-")[1]}function zo(o){return o==="x"?"y":"x"}function To(o){return o==="y"?"height":"width"}function Je(o){return["top","bottom"].includes(me(o))?"y":"x"}function Do(o){return zo(Je(o))}function Za(o,e,a){a===void 0&&(a=!1);let n=Ft(o),i=Do(o),c=To(i),s=i==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(s=Io(s)),[s,Io(s)]}function Ka(o){return o.replace(/start|end/g,e=>Hn[e])}function Io(o){return o.replace(/left|right|bottom|top/g,e=>_n[e])}function Un(o){return{top:0,right:0,bottom:0,left:0,...o}}function Va(o){return typeof o!="number"?Un(o):{top:o,right:o,bottom:o,left:o}}function Jt(o){let{x:e,y:a,width:n,height:i}=o;return{width:n,height:i,top:a,left:e,right:e+n,bottom:a+i,x:e,y:a}}function ja(o,e,a){let{reference:n,floating:i}=o,c=Je(e),s=Do(e),p=To(s),f=me(e),h=c==="y",S=n.x+n.width/2-i.width/2,x=n.y+n.height/2-i.height/2,L=n[p]/2-i[p]/2,B;switch(f){case"top":B={x:S,y:n.y-i.height};break;case"bottom":B={x:S,y:n.y+n.height};break;case"right":B={x:n.x+n.width,y:x};break;case"left":B={x:n.x-i.width,y:x};break;default:B={x:n.x,y:n.y}}switch(Ft(e)){case"start":B[s]-=L*(a&&h?-1:1);break;case"end":B[s]+=L*(a&&h?-1:1);break}return B}var Ya=async(o,e,a)=>{let{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:s}=a,p=c.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:S,y:x}=ja(h,n,f),L=n,B={},W=0;for(let Z=0;Z<p.length;Z++){let{name:Y,fn:K}=p[Z],{x:X,y:st,data:zt,reset:lt}=await K({x:S,y:x,initialPlacement:n,placement:L,strategy:i,middlewareData:B,rects:h,platform:s,elements:{reference:o,floating:e}});S=X??S,x=st??x,B={...B,[Y]:{...B[Y],...zt}},lt&&W<=50&&(W++,typeof lt=="object"&&(lt.placement&&(L=lt.placement),lt.rects&&(h=lt.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):lt.rects),{x:S,y:x}=ja(h,L,f)),Z=-1)}return{x:S,y:x,placement:L,strategy:i,middlewareData:B}};async function _o(o,e){var a;e===void 0&&(e={});let{x:n,y:i,platform:c,rects:s,elements:p,strategy:f}=o,{boundary:h="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:L=!1,padding:B=0}=Qe(e,o),W=Va(B),Y=p[L?x==="floating"?"reference":"floating":x],K=Jt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(Y)))==null||a?Y:Y.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:h,rootBoundary:S,strategy:f})),X=x==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,st=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),zt=await(c.isElement==null?void 0:c.isElement(st))?await(c.getScale==null?void 0:c.getScale(st))||{x:1,y:1}:{x:1,y:1},lt=Jt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:X,offsetParent:st,strategy:f}):X);return{top:(K.top-lt.top+W.top)/zt.y,bottom:(lt.bottom-K.bottom+W.bottom)/zt.y,left:(K.left-lt.left+W.left)/zt.x,right:(lt.right-K.right+W.right)/zt.x}}function Gn(o,e,a){return(o?[...a.filter(i=>Ft(i)===o),...a.filter(i=>Ft(i)!==o)]:a.filter(i=>me(i)===i)).filter(i=>o?Ft(i)===o||(e?Ka(i)!==i:!1):!0)}var Ho=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var a,n,i;let{rects:c,middlewareData:s,placement:p,platform:f,elements:h}=e,{crossAxis:S=!1,alignment:x,allowedPlacements:L=ko,autoAlignment:B=!0,...W}=Qe(o,e),Z=x!==void 0||L===ko?Gn(x||null,B,L):L,Y=await _o(e,W),K=((a=s.autoPlacement)==null?void 0:a.index)||0,X=Z[K];if(X==null)return{};let st=Za(X,c,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==X)return{reset:{placement:Z[0]}};let zt=[Y[me(X)],Y[st[0]],Y[st[1]]],lt=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:X,overflows:zt}],Ko=Z[K+1];if(Ko)return{data:{index:K+1,overflows:lt},reset:{placement:Ko}};let Vo=lt.map(vt=>{let Oe=Ft(vt.placement);return[vt.placement,Oe&&S?vt.overflows.slice(0,2).reduce((En,Nn)=>En+Nn,0):vt.overflows[0],vt.overflows]}).sort((vt,Oe)=>vt[1]-Oe[1]),jo=((i=Vo.filter(vt=>vt[2].slice(0,Ft(vt[0])?2:3).every(Oe=>Oe<=0))[0])==null?void 0:i[0])||Vo[0][0];return jo!==p?{data:{index:K+1,overflows:lt},reset:{placement:jo}}:{}}}};var Uo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:a,y:n,placement:i}=e,{mainAxis:c=!0,crossAxis:s=!1,limiter:p={fn:Y=>{let{x:K,y:X}=Y;return{x:K,y:X}}},...f}=Qe(o,e),h={x:a,y:n},S=await _o(e,f),x=Je(me(i)),L=zo(x),B=h[L],W=h[x];if(c){let Y=L==="y"?"top":"left",K=L==="y"?"bottom":"right",X=B+S[Y],st=B-S[K];B=Wo(X,B,st)}if(s){let Y=x==="y"?"top":"left",K=x==="y"?"bottom":"right",X=W+S[Y],st=W-S[K];W=Wo(X,W,st)}let Z=p.fn({...e,[L]:B,[x]:W});return{...Z,data:{x:Z.x-a,y:Z.y-n,enabled:{[L]:c,[x]:s}}}}}};var Go=Math.min,be=Math.max,ke=Math.round;var Bt=o=>({x:o,y:o});function Pt(o){return qa(o)?(o.nodeName||"").toLowerCase():"#document"}function ut(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function It(o){var e;return(e=(qa(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function qa(o){return o instanceof Node||o instanceof ut(o).Node}function Et(o){return o instanceof Element||o instanceof ut(o).Element}function St(o){return o instanceof HTMLElement||o instanceof ut(o).HTMLElement}function Xa(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ut(o).ShadowRoot}function xe(o){let{overflow:e,overflowX:a,overflowY:n,display:i}=gt(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+a)&&!["inline","contents"].includes(i)}function Qa(o){return["table","td","th"].includes(Pt(o))}function eo(o){let e=oo(),a=gt(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(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function Ja(o){let e=te(o);for(;St(e)&&!We(e);){if(eo(e))return e;e=te(e)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function We(o){return["html","body","#document"].includes(Pt(o))}function gt(o){return ut(o).getComputedStyle(o)}function ze(o){return Et(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function te(o){if(Pt(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Xa(o)&&o.host||It(o);return Xa(e)?e.host:e}function tn(o){let e=te(o);return We(e)?o.ownerDocument?o.ownerDocument.body:o.body:St(e)&&xe(e)?e:tn(e)}function to(o,e,a){var n;e===void 0&&(e=[]),a===void 0&&(a=!0);let i=tn(o),c=i===((n=o.ownerDocument)==null?void 0:n.body),s=ut(i);return c?e.concat(s,s.visualViewport||[],xe(i)?i:[],s.frameElement&&a?to(s.frameElement):[]):e.concat(i,to(i,[],a))}function rn(o){let e=gt(o),a=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=St(o),c=i?o.offsetWidth:a,s=i?o.offsetHeight:n,p=ke(a)!==c||ke(n)!==s;return p&&(a=c,n=s),{width:a,height:n,$:p}}function an(o){return Et(o)?o:o.contextElement}function Se(o){let e=an(o);if(!St(e))return Bt(1);let a=e.getBoundingClientRect(),{width:n,height:i,$:c}=rn(e),s=(c?ke(a.width):a.width)/n,p=(c?ke(a.height):a.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Kn=Bt(0);function nn(o){let e=ut(o);return!oo()||!e.visualViewport?Kn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Vn(o,e,a){return e===void 0&&(e=!1),!a||e&&a!==ut(o)?!1:e}function Te(o,e,a,n){e===void 0&&(e=!1),a===void 0&&(a=!1);let i=o.getBoundingClientRect(),c=an(o),s=Bt(1);e&&(n?Et(n)&&(s=Se(n)):s=Se(o));let p=Vn(c,a,n)?nn(c):Bt(0),f=(i.left+p.x)/s.x,h=(i.top+p.y)/s.y,S=i.width/s.x,x=i.height/s.y;if(c){let L=ut(c),B=n&&Et(n)?ut(n):n,W=L.frameElement;for(;W&&n&&B!==L;){let Z=Se(W),Y=W.getBoundingClientRect(),K=gt(W),X=Y.left+(W.clientLeft+parseFloat(K.paddingLeft))*Z.x,st=Y.top+(W.clientTop+parseFloat(K.paddingTop))*Z.y;f*=Z.x,h*=Z.y,S*=Z.x,x*=Z.y,f+=X,h+=st,W=ut(W).frameElement}}return Jt({width:S,height:x,x:f,y:h})}function jn(o){let{rect:e,offsetParent:a,strategy:n}=o,i=St(a),c=It(a);if(a===c)return e;let s={scrollLeft:0,scrollTop:0},p=Bt(1),f=Bt(0);if((i||!i&&n!=="fixed")&&((Pt(a)!=="body"||xe(c))&&(s=ze(a)),St(a))){let h=Te(a);p=Se(a),f.x=h.x+a.clientLeft,f.y=h.y+a.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-s.scrollLeft*p.x+f.x,y:e.y*p.y-s.scrollTop*p.y+f.y}}function Yn(o){return Array.from(o.getClientRects())}function ln(o){return Te(It(o)).left+ze(o).scrollLeft}function Xn(o){let e=It(o),a=ze(o),n=o.ownerDocument.body,i=be(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=be(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+ln(o),p=-a.scrollTop;return gt(n).direction==="rtl"&&(s+=be(e.clientWidth,n.clientWidth)-i),{width:i,height:c,x:s,y:p}}function qn(o,e){let a=ut(o),n=It(o),i=a.visualViewport,c=n.clientWidth,s=n.clientHeight,p=0,f=0;if(i){c=i.width,s=i.height;let h=oo();(!h||h&&e==="fixed")&&(p=i.offsetLeft,f=i.offsetTop)}return{width:c,height:s,x:p,y:f}}function Qn(o,e){let a=Te(o,!0,e==="fixed"),n=a.top+o.clientTop,i=a.left+o.clientLeft,c=St(o)?Se(o):Bt(1),s=o.clientWidth*c.x,p=o.clientHeight*c.y,f=i*c.x,h=n*c.y;return{width:s,height:p,x:f,y:h}}function en(o,e,a){let n;if(e==="viewport")n=qn(o,a);else if(e==="document")n=Xn(It(o));else if(Et(e))n=Qn(e,a);else{let i=nn(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Jt(n)}function cn(o,e){let a=te(o);return a===e||!Et(a)||We(a)?!1:gt(a).position==="fixed"||cn(a,e)}function Jn(o,e){let a=e.get(o);if(a)return a;let n=to(o,[],!1).filter(p=>Et(p)&&Pt(p)!=="body"),i=null,c=gt(o).position==="fixed",s=c?te(o):o;for(;Et(s)&&!We(s);){let p=gt(s),f=eo(s);!f&&p.position==="fixed"&&(i=null),(c?!f&&!i:!f&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xe(s)&&!f&&cn(o,s))?n=n.filter(S=>S!==s):i=p,s=te(s)}return e.set(o,n),n}function ti(o){let{element:e,boundary:a,rootBoundary:n,strategy:i}=o,s=[...a==="clippingAncestors"?Jn(e,this._c):[].concat(a),n],p=s[0],f=s.reduce((h,S)=>{let x=en(e,S,i);return h.top=be(x.top,h.top),h.right=Go(x.right,h.right),h.bottom=Go(x.bottom,h.bottom),h.left=be(x.left,h.left),h},en(e,p,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function ei(o){return rn(o)}function oi(o,e,a){let n=St(e),i=It(e),c=a==="fixed",s=Te(o,!0,c,e),p={scrollLeft:0,scrollTop:0},f=Bt(0);if(n||!n&&!c)if((Pt(e)!=="body"||xe(i))&&(p=ze(e)),n){let h=Te(e,!0,c,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else i&&(f.x=ln(i));return{x:s.left+p.scrollLeft-f.x,y:s.top+p.scrollTop-f.y,width:s.width,height:s.height}}function on(o,e){return!St(o)||gt(o).position==="fixed"?null:e?e(o):o.offsetParent}function sn(o,e){let a=ut(o);if(!St(o))return a;let n=on(o,e);for(;n&&Qa(n)&&gt(n).position==="static";)n=on(n,e);return n&&(Pt(n)==="html"||Pt(n)==="body"&&gt(n).position==="static"&&!eo(n))?a:n||Ja(o)||a}var ri=async function(o){let{reference:e,floating:a,strategy:n}=o,i=this.getOffsetParent||sn,c=this.getDimensions;return{reference:oi(e,await i(a),n),floating:{x:0,y:0,...await c(a)}}};function ai(o){return gt(o).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:jn,getDocumentElement:It,getClippingRect:ti,getOffsetParent:sn,getElementRects:ri,getClientRects:Yn,getDimensions:ei,getScale:Se,isElement:Et,isRTL:ai};var dn=(o,e,a)=>{let n=new Map,i={platform:ro,...a},c={...i.platform,_c:n};return Ya(o,e,{...i,platform:c})};function pn(o){return ni(o)}function Fo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function ni(o){for(let e=o;e;e=Fo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Fo(o);e;e=Fo(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 fn(o,e,a){return dn(o,e,{platform:{...ro,getOffsetParent:n=>ro.getOffsetParent(n,pn)},middleware:[Uo({crossAxis:!0}),Ho({allowedPlacements:[a]})]})}var yt=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},M=class extends De.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 De.Debouncer,this.revealDebouncer=new De.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return un.html`
1133
+ <div part="container"
1134
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1135
+ @mouseenter=${this.onHover}
1136
+ @mouseleave=${this.onOut}
1137
+ @focusin=${this.onHover}
1138
+ @focusout=${this.onOut}
1139
+ @touchstart=${this.onTouch}>
1140
+ <slot part="slot" @click=${this.onClick}></slot>
1141
+ <div part="tooltip" role="tooltip" inert
1142
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
1143
+ ?hidden=${!this.visible}>
1144
+ <div part="tooltip-content" class="ft-tooltip--content">
1145
+ <slot name="text"></slot>
1146
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
1147
+ </div>
1148
+ </div>
1149
+ </div>
1150
+ `}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)}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="",fn(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 var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,a){return Math.max(e,Math.min(0,-a))}};M.elementDefinitions={"ft-typography":rt};M.styles=Ha;yt([(0,J.property)()],M.prototype,"text",void 0);yt([(0,J.property)({type:Boolean})],M.prototype,"manual",void 0);yt([(0,J.property)({type:Boolean})],M.prototype,"inline",void 0);yt([(0,J.property)({type:Number})],M.prototype,"delay",void 0);yt([(0,J.property)()],M.prototype,"position",void 0);yt([(0,J.queryAssignedNodes)()],M.prototype,"slotNodes",void 0);yt([(0,J.query)(".ft-tooltip--container")],M.prototype,"container",void 0);yt([(0,J.query)(".ft-tooltip")],M.prototype,"tooltip",void 0);yt([(0,J.query)(".ft-tooltip--content")],M.prototype,"tooltipContent",void 0);yt([(0,J.state)()],M.prototype,"visible",void 0);yt([(0,J.eventOptions)({passive:!0})],M.prototype,"onTouch",null);yt([(0,J.eventOptions)({passive:!0})],M.prototype,"onHover",null);yt([(0,J.eventOptions)({passive:!0})],M.prototype,"onOut",null);yt([(0,J.eventOptions)({passive:!0})],M.prototype,"onClick",null);(0,yn.customElement)("ft-tooltip")(M);var mn=g(I());var gn=g(T()),hn=g(I());var ee=class extends hn.FtLitElement{render(){return gn.html`
1151
+ <div class="ft-loader">
1152
+ <div></div>
1153
+ <div></div>
1154
+ <div></div>
1155
+ <div></div>
1156
+ </div>
1157
+ `}};ee.styles=ka;(0,mn.customElement)("ft-loader")(ee);var Mt=g(T()),Mo=g(Tt()),tt=g(pt()),nt=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},G=class extends(0,Zt.toFtFormComponent)(Zt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!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,n;let i=Mt.html`
1158
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1159
+ <ft-typography part="label"
1160
+ variant=${this.typographyVariant}
1161
+ element="span"
1162
+ class="ft-button--label ${Zt.isSafari?"ft-safari-ellipsis-fix":""}"
1163
+ ?hidden=${!this.hasTextContent()}>
1164
+ <slot @slotchange=${this.onSlotchange}></slot>
1165
+ </ft-typography>
1166
+ ${this.resolveIcon()}
1167
+ `,c=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(c?Mt.html`
1168
+ <a href="${c}"
1169
+ target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
1170
+ part="button"
1171
+ class="${(0,Mo.classMap)(this.buttonClasses)}"
1172
+ aria-label="${(a=this.ariaLabel)!==null&&a!==void 0?a:this.getLabel()}"
1173
+ ?disabled=${this.isDisabled()}>
1174
+ ${i}
1175
+ </a>
1176
+ `:Mt.html`
1177
+ <button part="button"
1178
+ class="${(0,Mo.classMap)(this.buttonClasses)}"
1179
+ aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
1180
+ ?disabled=${this.isDisabled()}>
1181
+ ${i}
1182
+ </button>
1183
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Mt.html`
1184
+ <ft-tooltip part="tooltip"
1185
+ text="${this.getLabel()}"
1186
+ position="${this.tooltipPosition}">
1187
+ ${e}
1188
+ </ft-tooltip>
1189
+ `:e}resolveIcon(){return this.loading?Mt.html`
1190
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Mt.html`
1191
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1192
+ `:Mt.html`
1193
+ <slot part="icon" name="icon"></slot>
1194
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}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,Zt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};G.elementDefinitions={"ft-ripple":z,"ft-tooltip":M,"ft-typography":rt,"ft-icon":et,"ft-loader":ee};nt([(0,tt.property)()],G.prototype,"href",void 0);nt([(0,tt.property)()],G.prototype,"target",void 0);nt([(0,tt.property)({type:String,reflect:!0})],G.prototype,"role",void 0);nt([(0,tt.property)()],G.prototype,"type",void 0);nt([(0,tt.property)({type:Boolean})],G.prototype,"disabled",void 0);nt([(0,tt.property)()],G.prototype,"label",void 0);nt([(0,tt.property)()],G.prototype,"icon",void 0);nt([(0,tt.property)()],G.prototype,"iconVariant",void 0);nt([(0,tt.property)({type:Boolean})],G.prototype,"trailingIcon",void 0);nt([(0,tt.property)({type:Boolean})],G.prototype,"loading",void 0);nt([(0,tt.property)({attribute:"aria-label"})],G.prototype,"ariaLabel",void 0);nt([(0,tt.property)()],G.prototype,"tooltipPosition",void 0);nt([(0,tt.property)({type:Boolean})],G.prototype,"hideTooltip",void 0);nt([(0,tt.property)({type:Boolean})],G.prototype,"forceTooltip",void 0);nt([(0,tt.query)(".ft-button")],G.prototype,"button",void 0);nt([(0,tt.query)(".ft-button--label slot")],G.prototype,"slottedContent",void 0);nt([(0,tt.query)("[part=tooltip]")],G.prototype,"tooltip",void 0);var ao=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},kt=class extends G{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"}};kt.styles=[bn.safariEllipsisFix,Da];ao([(0,_e.property)({type:Boolean})],kt.prototype,"primary",void 0);ao([(0,_e.property)({type:Boolean})],kt.prototype,"outlined",void 0);ao([(0,_e.property)({type:Boolean})],kt.prototype,"dense",void 0);ao([(0,_e.property)({type:Boolean})],kt.prototype,"round",void 0);var He=g(pt());var io=g(I());var xn=g(T()),u=g(I());var Sn=[xn.css`
1195
+ :host {
1196
+ display: inline-block;
1197
+ max-width: 100%;
1198
+ pointer-events: none;
1199
+ }
1200
+
1201
+ /** Remove default button styles **/
1202
+
1203
+ .ft-button {
1204
+ box-shadow: 0 0 0 transparent;
1205
+ border: 0 solid transparent;
1206
+ text-shadow: 0 0 0 transparent;
1207
+ text-decoration: none;
1208
+ }
1209
+
1210
+ .ft-button:hover {
1211
+ box-shadow: 0 0 0 transparent;
1212
+ text-shadow: 0 0 0 transparent;
1213
+ }
1214
+
1215
+ .ft-button:active {
1216
+ outline: none;
1217
+ }
1218
+
1219
+ .ft-button:focus {
1220
+ outline: 0;
1221
+ }
1222
+
1223
+ /** Base styles **/
1224
+
1225
+ .ft-button {
1226
+ position: relative;
1227
+ display: flex;
1228
+ justify-content: center;
1229
+ align-items: center;
1230
+ width: 100%;
1231
+ overflow: hidden;
1232
+ box-sizing: border-box;
1233
+ pointer-events: auto;
1234
+ }
1235
+
1236
+ .ft-button:not([disabled]):hover {
1237
+ cursor: pointer;
1238
+ }
1239
+
1240
+ .ft-button:focus {
1241
+ outline: none;
1242
+ }
1243
+
1244
+ .ft-button:focus-visible {
1245
+ outline-color: ${d.focusFocusRingColor};
1246
+ outline-style: solid;
1247
+ }
1248
+
1249
+ ft-icon {
1250
+ flex-shrink: 0;
1251
+ position: relative;
1252
+ }
1253
+
1254
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
1255
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
1256
+ order: -1;
1257
+ }
1258
+
1259
+ .ft-button--label {
1260
+ position: relative;
1261
+ overflow: hidden;
1262
+ white-space: nowrap;
1263
+ text-overflow: ellipsis;
1264
+ display: block;
1265
+ }
1266
+
1267
+ .ft-button--label[hidden] {
1268
+ display: none;
1269
+ }
1270
+
1271
+ .ft-button.ft-button--icon-only {
1272
+ padding: unset;
1273
+ border-radius: 50%;
1274
+ }
1275
+
1276
+ /** Brand Primary styles **/
1277
+
1278
+ .ftds--family-brand.ft-button--primary {
1279
+ ${(0,u.setVariable)(U.color,d.primaryBrandIconColor)};
1280
+
1281
+ ${(0,u.setVariable)(y.color,d.primaryBrandStateLayerColor)};
1282
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.primaryBrandHoverStateLayerOpacity)};
1283
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.primaryBrandFocusStateLayerOpacity)};
1284
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.primaryBrandActiveStateLayerOpacity)};
1285
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.primaryBrandActiveStateLayerOpacity)};
1286
+
1287
+ background-color: ${d.primaryBrandBackgroundColor};
1288
+ color: ${d.primaryBrandColor};
1289
+ border-style: none;
1290
+ }
1291
+
1292
+ .ftds--family-brand.ft-button--primary[disabled] {
1293
+ opacity: ${d.primaryBrandDisabledComponentOpacity};
1294
+ }
1295
+
1296
+ .ftds--family-brand.ft-button--primary ft-icon {
1297
+ color: ${d.primaryBrandIconColor};
1298
+ }
1299
+
1300
+ /** Brand Secondary styles **/
1301
+
1302
+ .ftds--family-brand.ft-button--secondary {
1303
+ ${(0,u.setVariable)(U.color,d.secondaryBrandIconColor)};
1304
+
1305
+ ${(0,u.setVariable)(y.color,d.secondaryBrandStateLayerColor)};
1306
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondaryBrandHoverStateLayerOpacity)};
1307
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondaryBrandFocusStateLayerOpacity)};
1308
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondaryBrandActiveStateLayerOpacity)};
1309
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondaryBrandActiveStateLayerOpacity)};
1310
+
1311
+ background-color: ${d.secondaryBrandBackgroundColor};
1312
+ color: ${d.secondaryBrandColor};
1313
+ border-color: ${d.secondaryBrandBorderColor};
1314
+ border-style: solid;
1315
+ }
1316
+
1317
+ .ftds--family-brand.ft-button--secondary[disabled] {
1318
+ opacity: ${d.secondaryBrandDisabledComponentOpacity};
1319
+ }
1320
+
1321
+ .ftds--family-brand.ft-button--secondary ft-icon {
1322
+ color: ${d.secondaryBrandIconColor};
1323
+ }
1324
+
1325
+ /** Brand Tertiary styles **/
1326
+
1327
+ .ftds--family-brand.ft-button--tertiary {
1328
+ ${(0,u.setVariable)(U.color,d.tertiaryBrandIconColor)};
1329
+
1330
+ ${(0,u.setVariable)(y.color,d.tertiaryBrandStateLayerColor)};
1331
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiaryBrandHoverStateLayerOpacity)};
1332
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiaryBrandFocusStateLayerOpacity)};
1333
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiaryBrandActiveStateLayerOpacity)};
1334
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiaryBrandActiveStateLayerOpacity)};
1335
+
1336
+ background-color: ${d.tertiaryBrandBackgroundColor};
1337
+ color: ${d.tertiaryBrandColor};
1338
+ border-style: none;
1339
+ }
1340
+
1341
+ .ftds--family-brand.ft-button--tertiary[disabled] {
1342
+ opacity: ${d.tertiaryBrandDisabledComponentOpacity};
1343
+ }
1344
+
1345
+ .ftds--family-brand.ft-button--tertiary ft-icon {
1346
+ color: ${d.tertiaryBrandIconColor};
1347
+ }
1348
+
1349
+ /** Neutral Secondary styles **/
1350
+
1351
+ .ftds--family-neutral.ft-button--secondary {
1352
+ ${(0,u.setVariable)(U.color,d.secondaryNeutralIconColor)};
1353
+
1354
+ ${(0,u.setVariable)(y.backgroundColor,d.secondaryNeutralStateLayerColor)};
1355
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondaryNeutralHoverStateLayerOpacity)};
1356
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondaryNeutralFocusStateLayerOpacity)};
1357
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondaryNeutralActiveStateLayerOpacity)};
1358
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondaryNeutralActiveStateLayerOpacity)};
1359
+
1360
+ background-color: ${d.secondaryNeutralBackgroundColor};
1361
+ color: ${d.secondaryNeutralColor};
1362
+ border-color: ${d.secondaryNeutralBorderColor};
1363
+ border-style: solid;
1364
+ }
1365
+
1366
+ .ftds--family-neutral.ft-button--secondary[disabled] {
1367
+ opacity: ${d.secondaryNeutralDisabledComponentOpacity};
1368
+ }
1369
+
1370
+ .ftds--family-neutral.ft-button--secondary ft-icon {
1371
+ color: ${d.secondaryNeutralIconColor};
1372
+ }
1373
+
1374
+ /** Neutral Tertiary styles **/
1375
+
1376
+ .ftds--family-neutral.ft-button--tertiary {
1377
+ ${(0,u.setVariable)(U.color,d.tertiaryNeutralIconColor)};
1378
+
1379
+ ${(0,u.setVariable)(y.backgroundColor,d.tertiaryNeutralStateLayerColor)};
1380
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiaryNeutralHoverStateLayerOpacity)};
1381
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiaryNeutralFocusStateLayerOpacity)};
1382
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiaryNeutralActiveStateLayerOpacity)};
1383
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiaryNeutralActiveStateLayerOpacity)};
1384
+
1385
+ background-color: ${d.tertiaryNeutralBackgroundColor};
1386
+ color: ${d.tertiaryNeutralColor};
1387
+ border-style: none;
1388
+ }
1389
+
1390
+ .ftds--family-neutral.ft-button--tertiary[disabled] {
1391
+ opacity: ${d.tertiaryNeutralDisabledComponentOpacity};
1392
+ }
1393
+
1394
+ .ftds--family-neutral.ft-button--tertiary ft-icon {
1395
+ color: ${d.tertiaryNeutralIconColor};
1396
+ }
1397
+
1398
+ /** Info Secondary styles **/
1399
+
1400
+ .ftds--family-info.ft-button--secondary {
1401
+ ${(0,u.setVariable)(U.color,d.secondaryInfoIconColor)};
1402
+
1403
+ ${(0,u.setVariable)(y.backgroundColor,d.secondaryInfoStateLayerColor)};
1404
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondaryInfoHoverStateLayerOpacity)};
1405
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondaryInfoFocusStateLayerOpacity)};
1406
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondaryInfoActiveStateLayerOpacity)};
1407
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondaryInfoActiveStateLayerOpacity)};
1408
+
1409
+ background-color: ${d.secondaryInfoBackgroundColor};
1410
+ color: ${d.secondaryInfoColor};
1411
+ border-color: ${d.secondaryInfoBorderColor};
1412
+ border-style: solid;
1413
+ }
1414
+
1415
+ .ftds--family-info.ft-button--secondary[disabled] {
1416
+ opacity: ${d.secondaryInfoDisabledComponentOpacity};
1417
+ }
1418
+
1419
+ .ftds--family-info.ft-button--secondary ft-icon {
1420
+ color: ${d.secondaryInfoIconColor};
1421
+ }
1422
+
1423
+ /** Info Tertiary styles **/
1424
+
1425
+ .ftds--family-info.ft-button--tertiary {
1426
+ ${(0,u.setVariable)(U.color,d.tertiaryInfoIconColor)};
1427
+
1428
+ ${(0,u.setVariable)(y.backgroundColor,d.tertiaryInfoStateLayerColor)};
1429
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiaryInfoHoverStateLayerOpacity)};
1430
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiaryInfoFocusStateLayerOpacity)};
1431
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiaryInfoActiveStateLayerOpacity)};
1432
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiaryInfoActiveStateLayerOpacity)};
1433
+
1434
+ background-color: ${d.tertiaryInfoBackgroundColor};
1435
+ color: ${d.tertiaryInfoColor};
1436
+ border-style: none;
1437
+ }
1438
+
1439
+ .ftds--family-info.ft-button--tertiary[disabled] {
1440
+ opacity: ${d.tertiaryInfoDisabledComponentOpacity};
1441
+ }
1442
+
1443
+ .ftds--family-info.ft-button--tertiary ft-icon {
1444
+ color: ${d.tertiaryInfoIconColor};
1445
+ }
1446
+
1447
+ /** Success Secondary styles **/
1448
+
1449
+ .ftds--family-success.ft-button--secondary {
1450
+ ${(0,u.setVariable)(U.color,d.secondarySuccessIconColor)};
1451
+
1452
+ ${(0,u.setVariable)(y.backgroundColor,d.secondarySuccessStateLayerColor)};
1453
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondarySuccessHoverStateLayerOpacity)};
1454
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondarySuccessFocusStateLayerOpacity)};
1455
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondarySuccessActiveStateLayerOpacity)};
1456
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondarySuccessActiveStateLayerOpacity)};
1457
+
1458
+ background-color: ${d.secondarySuccessBackgroundColor};
1459
+ color: ${d.secondarySuccessColor};
1460
+ border-color: ${d.secondarySuccessBorderColor};
1461
+ border-style: solid;
1462
+ }
1463
+
1464
+ .ftds--family-success.ft-button--secondary[disabled] {
1465
+ opacity: ${d.secondarySuccessDisabledComponentOpacity};
1466
+ }
1467
+
1468
+ .ftds--family-success.ft-button--secondary ft-icon {
1469
+ color: ${d.secondarySuccessIconColor};
1470
+ }
1471
+
1472
+ /** Success Tertiary styles **/
1473
+
1474
+ .ftds--family-success.ft-button--tertiary {
1475
+ ${(0,u.setVariable)(U.color,d.tertiarySuccessIconColor)};
1476
+
1477
+ ${(0,u.setVariable)(y.backgroundColor,d.tertiarySuccessStateLayerColor)};
1478
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiarySuccessHoverStateLayerOpacity)};
1479
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiarySuccessFocusStateLayerOpacity)};
1480
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiarySuccessActiveStateLayerOpacity)};
1481
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiarySuccessActiveStateLayerOpacity)};
1482
+
1483
+ background-color: ${d.tertiarySuccessBackgroundColor};
1484
+ color: ${d.tertiarySuccessColor};
1485
+ border-style: none;
1486
+ }
1487
+
1488
+ .ftds--family-success.ft-button--tertiary[disabled] {
1489
+ opacity: ${d.tertiarySuccessDisabledComponentOpacity};
1490
+ }
1491
+
1492
+ .ftds--family-success.ft-button--tertiary ft-icon {
1493
+ color: ${d.tertiarySuccessIconColor};
1494
+ }
1495
+
1496
+ /** Warning Secondary styles **/
1497
+
1498
+ .ftds--family-warning.ft-button--secondary {
1499
+ ${(0,u.setVariable)(U.color,d.secondaryWarningIconColor)};
1500
+
1501
+ ${(0,u.setVariable)(y.backgroundColor,d.secondaryWarningStateLayerColor)};
1502
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondaryWarningHoverStateLayerOpacity)};
1503
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondaryWarningFocusStateLayerOpacity)};
1504
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondaryWarningActiveStateLayerOpacity)};
1505
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondaryWarningActiveStateLayerOpacity)};
1506
+
1507
+ background-color: ${d.secondaryWarningBackgroundColor};
1508
+ color: ${d.secondaryWarningColor};
1509
+ border-color: ${d.secondaryWarningBorderColor};
1510
+ border-style: solid;
1511
+ }
1512
+
1513
+ .ftds--family-warning.ft-button--secondary[disabled] {
1514
+ opacity: ${d.secondaryWarningDisabledComponentOpacity};
1515
+ }
1516
+
1517
+ .ftds--family-warning.ft-button--secondary ft-icon {
1518
+ color: ${d.secondaryWarningIconColor};
1519
+ }
1520
+
1521
+ /** Warning Tertiary styles **/
1522
+
1523
+ .ftds--family-warning.ft-button--tertiary {
1524
+ ${(0,u.setVariable)(U.color,d.tertiaryWarningIconColor)};
1525
+
1526
+ ${(0,u.setVariable)(y.backgroundColor,d.tertiaryWarningStateLayerColor)};
1527
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiaryWarningHoverStateLayerOpacity)};
1528
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiaryWarningFocusStateLayerOpacity)};
1529
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiaryWarningActiveStateLayerOpacity)};
1530
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiaryWarningActiveStateLayerOpacity)};
1531
+
1532
+ background-color: ${d.tertiaryWarningBackgroundColor};
1533
+ color: ${d.tertiaryWarningColor};
1534
+ border-style: none;
1535
+ }
1536
+
1537
+ .ftds--family-warning.ft-button--tertiary[disabled] {
1538
+ opacity: ${d.tertiaryWarningDisabledComponentOpacity};
1539
+ }
1540
+
1541
+ .ftds--family-warning.ft-button--tertiary ft-icon {
1542
+ color: ${d.tertiaryWarningIconColor};
1543
+ }
1544
+
1545
+ /** Error Secondary styles **/
1546
+
1547
+ .ftds--family-error.ft-button--secondary {
1548
+ ${(0,u.setVariable)(U.color,d.secondaryErrorIconColor)};
1549
+
1550
+ ${(0,u.setVariable)(y.backgroundColor,d.secondaryErrorStateLayerColor)};
1551
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.secondaryErrorHoverStateLayerOpacity)};
1552
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.secondaryErrorFocusStateLayerOpacity)};
1553
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.secondaryErrorActiveStateLayerOpacity)};
1554
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.secondaryErrorActiveStateLayerOpacity)};
1555
+
1556
+ background-color: ${d.secondaryErrorBackgroundColor};
1557
+ color: ${d.secondaryErrorColor};
1558
+ border-color: ${d.secondaryErrorBorderColor};
1559
+ border-style: solid;
1560
+ }
1561
+
1562
+ .ftds--family-error.ft-button--secondary[disabled] {
1563
+ opacity: ${d.secondaryErrorDisabledComponentOpacity};
1564
+ }
1565
+
1566
+ .ftds--family-error.ft-button--secondary ft-icon {
1567
+ color: ${d.secondaryErrorIconColor};
1568
+ }
1569
+
1570
+ /** Error Tertiary styles **/
1571
+
1572
+ .ftds--family-error.ft-button--tertiary {
1573
+ ${(0,u.setVariable)(U.color,d.tertiaryErrorIconColor)};
1574
+
1575
+ ${(0,u.setVariable)(y.backgroundColor,d.tertiaryErrorStateLayerColor)};
1576
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceHover,d.tertiaryErrorHoverStateLayerOpacity)};
1577
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceFocused,d.tertiaryErrorFocusStateLayerOpacity)};
1578
+ ${(0,u.setVariable)(y.opacityContentOnSurfaceSelected,d.tertiaryErrorActiveStateLayerOpacity)};
1579
+ ${(0,u.setVariable)(y.opacityContentOnSurfacePressed,d.tertiaryErrorActiveStateLayerOpacity)};
1580
+
1581
+ background-color: ${d.tertiaryErrorBackgroundColor};
1582
+ color: ${d.tertiaryErrorColor};
1583
+ border-style: none;
1584
+ }
1585
+
1586
+ .ftds--family-error.ft-button--tertiary[disabled] {
1587
+ opacity: ${d.tertiaryErrorDisabledComponentOpacity};
1588
+ }
1589
+
1590
+ .ftds--family-error.ft-button--tertiary ft-icon {
1591
+ color: ${d.tertiaryErrorIconColor};
1592
+ }
1593
+
1594
+ /** Large styles **/
1595
+
1596
+ .ftds--size-large {
1597
+ ${(0,u.setVariable)(q.size,d.largeIconSize)};
1598
+ ${(0,u.setVariable)(U.size,d.largeIconSize)};
1599
+
1600
+ height: ${d.largeHeight};
1601
+ padding: 0 ${d.largeHorizontalPadding};
1602
+ gap: ${d.largeGap};
1603
+ border-radius: ${d.largeBorderRadius};
1604
+ border-width: ${d.largeBorderWidth};
1605
+ }
1606
+
1607
+ .ftds--size-large:focus-visible {
1608
+ outline-width: ${d.largeFocusOutlineWidth};
1609
+ outline-offset: ${d.largeFocusOutlineOffset};
1610
+ }
1611
+
1612
+ .ftds--size-large.ft-button--icon-only {
1613
+ width: ${d.largeIconOnlyWidth};
1614
+ }
1615
+
1616
+ /** Small styles **/
1617
+
1618
+ .ftds--size-medium {
1619
+ ${(0,u.setVariable)(q.size,d.mediumIconSize)};
1620
+ ${(0,u.setVariable)(U.size,d.mediumIconSize)};
1621
+
1622
+ height: ${d.mediumHeight};
1623
+ padding: 0 ${d.mediumHorizontalPadding};
1624
+ gap: ${d.mediumGap};
1625
+ border-radius: ${d.mediumBorderRadius};
1626
+ border-width: ${d.mediumBorderWidth};
1627
+ }
1628
+
1629
+ .ftds--size-medium:focus-visible {
1630
+ outline-width: ${d.mediumFocusOutlineWidth};
1631
+ outline-offset: ${d.mediumFocusOutlineOffset};
1632
+ }
1633
+
1634
+ .ftds--size-medium.ft-button--icon-only {
1635
+ width: ${d.mediumIconOnlyWidth};
1636
+ }
1637
+
1638
+
1639
+ /** Small styles **/
1640
+
1641
+ .ftds--size-small {
1642
+ ${(0,u.setVariable)(q.size,d.smallIconSize)};
1643
+ ${(0,u.setVariable)(U.size,d.smallIconSize)};
1644
+
1645
+ height: ${d.smallHeight};
1646
+ padding: 0 ${d.smallHorizontalPadding};
1647
+ gap: ${d.smallGap};
1648
+ border-radius: ${d.smallBorderRadius};
1649
+ border-width: ${d.smallBorderWidth};
1650
+ }
1651
+
1652
+ .ftds--size-small:focus-visible {
1653
+ outline-width: ${d.smallFocusOutlineWidth};
1654
+ outline-offset: ${d.smallFocusOutlineOffset};
1655
+ }
1656
+
1657
+ .ftds--size-small.ft-button--icon-only {
1658
+ width: ${d.smallIconOnlyWidth};
1659
+ }
1660
+ `,u.noTextSelect];var no=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},Wt=class extends(0,io.toFtdsBase)(G){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=ne.brand,this.iconVariant=Ot.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 ie.large:return _t.body2medium;case ie.medium:return _t.caption1medium;case ie.small:return _t.caption2medium}}};Wt.styles=[io.safariEllipsisFix,Sn];no([(0,He.property)({type:Boolean})],Wt.prototype,"primary",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"secondary",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"tertiary",void 0);no([(0,He.property)({type:Boolean})],Wt.prototype,"round",void 0);(0,Zo.customElement)("ft-button")(kt);(0,Zo.customElement)("ftds-button")(Wt);var lo=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},co=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var ve=g(pt());var vn=g(T());var Cn=vn.css`
1661
+ :host {
1662
+ display: block;
1663
+ }
1664
+
1665
+ .table {
1666
+ border-collapse: separate;
1667
+ border-spacing: 0;
1668
+ width: 100%;
1669
+ }
1670
+
1671
+ .header {
1672
+ color: ${A.headerRowColor};
1673
+ }
1674
+
1675
+ .row {
1676
+ color: ${A.dataRowColor};
1677
+ position: relative;
1678
+ background-color: ${A.dataRowBackgroundColor};
1679
+ border-bottom: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1680
+ border-left: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1681
+ border-right: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1682
+ }
1683
+
1684
+ .row:hover {
1685
+ background-color: ${A.dataRowDefaultHoverBackgroundColor};
1686
+ }
1687
+
1688
+ .row.row--clickable:hover {
1689
+ background-color: ${A.dataRowClickableHoverBackgroundColor};
1690
+ }
1691
+
1692
+ .row.row--clickable:focus-within {
1693
+ background-color: ${A.dataRowClickableFocusBackgroundColor};
1694
+ outline: 1px solid ${A.dataRowClickableFocusBorderColor};
1695
+ z-index: 15;
1696
+ }
1697
+
1698
+ .row.row--clickable.row--active {
1699
+ background-color: ${A.dataRowClickableActiveBackgroundColor};
1700
+ }
1701
+
1702
+ .header {
1703
+ background-color: ${A.headerRowBackgroundColor};
1704
+ }
1705
+
1706
+ .header--sticky {
1707
+ top: 0;
1708
+ z-index: 2;
1709
+ position: sticky;
1710
+ }
1711
+
1712
+ .header-cell {
1713
+ gap: ${A.headerCellHorizontalGap};
1714
+ padding: ${A.headerCellVerticalPadding} ${A.headerCellHorizontalPadding};
1715
+ vertical-align: baseline;
1716
+ }
1717
+
1718
+ .header-cell--sticky {
1719
+ top: 0;
1720
+ z-index: 10;
1721
+ position: sticky;
1722
+
1723
+ &:focus-within {
1724
+ z-index: 11;
1725
+ }
1726
+
1727
+ &:hover {
1728
+ z-index: 12;
1729
+ }
1730
+ }
1731
+
1732
+ .header > .header-cell {
1733
+ border-top: ${A.headerRowBorderWidth} solid ${A.headerRowBorderColor};
1734
+ border-bottom: ${A.headerRowBorderWidth} solid ${A.headerRowBorderColor};
1735
+ }
1736
+
1737
+ .header > .header-cell:first-of-type {
1738
+ border-left: ${A.headerRowBorderWidth} solid ${A.headerRowBorderColor};
1739
+ }
1740
+
1741
+ .header > .header-cell:last-of-type {
1742
+ border-right: ${A.headerRowBorderWidth} solid ${A.headerRowBorderColor};
1743
+ }
1744
+
1745
+ .column-title-container {
1746
+ display: flex;
1747
+ align-items: baseline;
1748
+ }
1749
+
1750
+ .column-title {
1751
+ white-space: normal;
1752
+ margin: 0 .5rem 0 0;
1753
+ height: 100%;
1754
+ display: flex;
1755
+ align-items: center;
1756
+ text-align: start;
1757
+ }
1758
+
1759
+ .cell {
1760
+ padding: ${A.dataCellVerticalPadding} ${A.dataCellHorizontalPadding};
1761
+ overflow-x: auto;
1762
+ position: relative;
1763
+ }
1764
+
1765
+ .row > .cell {
1766
+ border-bottom: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1767
+ }
1768
+
1769
+ .row > .cell:first-of-type {
1770
+ border-left: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1771
+ }
1772
+
1773
+ .row > .cell:last-of-type {
1774
+ border-right: ${A.dataRowBorderWidth} solid ${A.dataRowBorderColor};
1775
+ }
1776
+ `;var po=g(Tt()),On=g($o()),Ce=g(I()),fo=g(pt()),Nt=function(o,e,a,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,e,a,n);else for(var p=o.length-1;p>=0;p--)(s=o[p])&&(c=(i<3?s(c):i>3?s(e,a,c):s(e,a))||c);return i>3&&c&&Object.defineProperty(e,a,c),c},it=class o extends Ce.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.ariaLabel=null,this.clickableRows=!1,this.activeRowIndex=-1}render(){let e=this.sortData(this.data);return ct.html`
1777
+ <style>
1778
+ .table {
1779
+ grid-template-columns: ${this.columns.map(a=>{var n;return(n=a.gridTemplateColumn)!==null&&n!==void 0?n:"minmax(min-content, auto)"}).join(" ")};
1780
+ }
1781
+ </style>
1782
+ ${this.renderTable(e)}
1783
+ `}renderHeader(e,a){var n,i;let c={"header-cell":!0,"header-cell--sticky":this.stickyHeaders},s;return(!((n=e.sortable)!==null&&n!==void 0)||n)&&(((i=this.currentSort)===null||i===void 0?void 0:i.column)===a?s=this.currentSort.order==="asc"?"ascending":"descending":s="none"),ct.html`
1784
+ <th class="${(0,po.classMap)(c)}" role="columnheader" scope="col" aria-sort=${s??ct.nothing}
1785
+ part="${this.columnPart("header-cell",a)}">
1786
+ <div class="column-title-container"
1787
+ part="${this.columnPart("title-container",a)}">
1788
+ <span class="column-title"
1789
+ part="${this.columnPart("title",a)}">
1790
+ <ft-typography variant="body-2-semibold">
1791
+ ${e.title}
1792
+ </ft-typography>
1793
+ </span>
1794
+ ${this.renderColumnSort(e,a)}
1795
+ </div>
1796
+ </th>
1797
+ `}renderHeaderRow(){let e={header:!0,"header--sticky":this.stickyHeaders};return ct.html`
1798
+ <thead>
1799
+ <tr class=${(0,po.classMap)(e)} role="row">
1800
+ ${(0,so.repeat)(this.columns,(a,n)=>"header-cell-"+n,(a,n)=>this.renderHeader(a,n))}
1801
+ </tr>
1802
+ </thead>
1803
+ `}renderRow(e,a){let n={row:!0,"row--clickable":this.clickableRows,"row--active":a===this.activeRowIndex};return ct.html`
1804
+ <tr class="${(0,po.classMap)(n)}" role="row" tabindex=${this.clickableRows?"0":ct.nothing}
1805
+ part="table-row-${a}"
1806
+ @keydown=${this.clickableRows?i=>this.handleRowKeyDown(i,e):ct.nothing}
1807
+ @click=${this.clickableRows?()=>this.dispatchRowClickEvent(e):ct.nothing}
1808
+ @mousedown=${()=>this.handleRowMouseDown(a)}
1809
+ @mouseup=${this.handleRowMouseUp}
1810
+ @mouseleave=${this.handleRowMouseUp}
1811
+ >
1812
+ ${(0,so.repeat)(this.columns,(i,c)=>"cell-"+c+"-"+a,(i,c)=>this.renderCell(i,c,e,a))}
1813
+ </tr>
1814
+ `}renderTable(e){var a;return ct.html`
1815
+ <table class="table"
1816
+ role="table"
1817
+ aria-label=${(a=this.ariaLabel)!==null&&a!==void 0?a:ct.nothing}
1818
+ >
1819
+ ${this.renderHeaderRow()}
1820
+ <tbody>
1821
+ ${(0,so.repeat)(e,(n,i)=>"row-"+i,(n,i)=>this.renderRow(n,i))}
1822
+ </tbody>
1823
+ </table>
1824
+ `}renderSortButton(e,a,n,i){return ct.html`
1825
+ <ftds-button
1826
+ family=${ne.neutral}
1827
+ icon="${e}"
1828
+ label="${a}"
1829
+ @click=${n}
1830
+ part="${this.columnPart("sort-button",i)}"
1831
+ ></ftds-button>
1832
+ `}renderCell(e,a,n,i){var c;let s=(c=e.render)!==null&&c!==void 0?c:o.DEFAULT_RENDER,p=f=>{let h=s(f,i);return typeof h=="string"?(0,On.unsafeHTML)(h):h};return ct.html`
1833
+ <td class="cell" role="cell"
1834
+ part="${this.columnPart("cell",a)} cell-row-${i} cell-column-${a}-row-${i}">
1835
+ <ft-typography variant="caption-2-medium">${p(this.getValue(e,n))}</ft-typography>
1836
+ </td>
1837
+ `}renderColumnSort(e,a){var n,i;let c=((n=this.currentSort)===null||n===void 0?void 0:n.column)===a,s=this.getSortIcon(c),p=()=>{var S,x;let L=(S=e.defaultSortOrder)!==null&&S!==void 0?S:"asc";this.currentSort={column:a,order:c&&((x=this.currentSort)===null||x===void 0?void 0:x.order)===L?this.getOppositeSortOrder(L):L},this.dispatchChangeEvent()},f=this.getSortOrderText(c,e),h=`Sort ${e.title} in ${f} order`;return!((i=e.sortable)!==null&&i!==void 0)||i?this.renderSortButton(s,h,p,a):ct.nothing}getSortIcon(e){return e?this.currentSort.order==="asc"?"sort_up":"sort_down":"sort_unsorted"}sortData(e){var a;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(a=n.comparator)!==null&&a!==void 0?a:o.DEFAULT_COMPARATOR,c=this.currentSort.order==="asc"?i:(s,p)=>-i(s,p);return[...e].sort((s,p)=>c(this.getValue(n,s),this.getValue(n,p)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort)}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}getSortOrderText(e,a){return e?this.currentSort.order==="asc"?"descending":"ascending":a.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new co({sort:this.currentSort}))}columnPart(e,a){return`${e} ${e}-column-${a}`}getValue(e,a){return typeof e.getter=="string"?a[e.getter]:e.getter(a)}handleRowKeyDown(e,a){(e.key==="Enter"||e.key===" ")&&this.dispatchRowClickEvent(a)}dispatchRowClickEvent(e){this.dispatchEvent(new lo(e))}handleRowMouseDown(e){this.activeRowIndex=e}handleRowMouseUp(){this.activeRowIndex=-1}focusRow(e){this.rows&&this.rows[e].focus()}};it.DEFAULT_RENDER=o=>ct.html`${o}`;it.DEFAULT_COMPARATOR=(o,e)=>o-e;it.styles=Cn;Nt([(0,Ce.jsonProperty)([])],it.prototype,"data",void 0);Nt([(0,Ce.jsonProperty)([])],it.prototype,"columns",void 0);Nt([(0,Ce.jsonProperty)(void 0)],it.prototype,"sort",void 0);Nt([(0,ve.property)({type:Boolean})],it.prototype,"stickyHeaders",void 0);Nt([(0,ve.property)({type:Boolean})],it.prototype,"disableDataManipulation",void 0);Nt([(0,fo.state)()],it.prototype,"currentSort",void 0);Nt([(0,ve.property)({attribute:"aria-label"})],it.prototype,"ariaLabel",void 0);Nt([(0,ve.property)({type:Boolean})],it.prototype,"clickableRows",void 0);Nt([(0,ve.property)({type:Number})],it.prototype,"activeRowIndex",void 0);Nt([(0,fo.queryAll)("tbody .row")],it.prototype,"rows",void 0);(0,wn.customElement)("ftds-table")(it);})();
1838
+ /*! Bundled license information:
1839
+
1840
+ lit-html/lit-html.js:
1841
+ (**
1842
+ * @license
1843
+ * Copyright 2017 Google LLC
1844
+ * SPDX-License-Identifier: BSD-3-Clause
1845
+ *)
1846
+
1847
+ lit-html/static.js:
1848
+ (**
1849
+ * @license
1850
+ * Copyright 2020 Google LLC
1851
+ * SPDX-License-Identifier: BSD-3-Clause
1852
+ *)
1853
+
1854
+ lit-html/directives/if-defined.js:
1855
+ (**
1856
+ * @license
1857
+ * Copyright 2018 Google LLC
1858
+ * SPDX-License-Identifier: BSD-3-Clause
1859
+ *)
1860
+ */