@fluid-topics/ft-chip 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-chip.light.js +32 -32
- package/build/ft-chip.min.js +25 -25
- package/package.json +6 -6
package/build/ft-chip.light.js
CHANGED
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
* Copyright 2017 Google LLC
|
|
128
128
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
129
|
*/
|
|
130
|
-
const b=globalThis,m=b.trustedTypes,x=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,N="?"+v,S=`<${N}>`,$=document,C=()=>$.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,R="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,W=/>/g,E=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,z=/"/g,Z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),F=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,A=$.createTreeWalker($,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=k;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===k?"!--"===c[1]?a=U:void 0!==c[1]?a=W:void 0!==c[2]?(Z.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=E):void 0!==c[3]&&(a=E):a===E?">"===c[0]?(a=i??k,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?E:'"'===c[3]?z:L):a===z||a===L?a=E:a===U||a===W?a=k:(a=E,i=void 0);const s=a===E&&t[o+1].startsWith("/>")?" ":"";n+=a===k?e+S:p>=0?(r.push(l),e.slice(0,p)+O+e.slice(p)+v+s):e+v+(-2===p?o:s)}return[H(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class P{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=P.createElement(c,e),A.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=A.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=p[n++],e=r.getAttribute(t).split(v),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?
|
|
130
|
+
const b=globalThis,m=b.trustedTypes,x=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,N="?"+v,S=`<${N}>`,$=document,C=()=>$.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,R="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,W=/>/g,E=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,z=/"/g,Z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),F=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),D=new WeakMap,A=$.createTreeWalker($,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=k;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===k?"!--"===c[1]?a=U:void 0!==c[1]?a=W:void 0!==c[2]?(Z.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=E):void 0!==c[3]&&(a=E):a===E?">"===c[0]?(a=i??k,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?E:'"'===c[3]?z:L):a===z||a===L?a=E:a===U||a===W?a=k:(a=E,i=void 0);const s=a===E&&t[o+1].startsWith("/>")?" ":"";n+=a===k?e+S:p>=0?(r.push(l),e.slice(0,p)+O+e.slice(p)+v+s):e+v+(-2===p?o:s)}return[H(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class P{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,p]=G(t,o);if(this.el=P.createElement(c,e),A.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=A.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=p[n++],e=r.getAttribute(t).split(v),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?_:"?"===a[1]?V:"@"===a[1]?X:Y}),r.removeAttribute(t)}else t.startsWith(v)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Z.test(r.tagName)){const t=r.textContent.split(v),o=t.length-1;if(o>0){r.textContent=m?m.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],C()),A.nextNode(),l.push({type:2,index:++i});r.append(t[o],C())}}}else if(8===r.nodeType)if(r.data===N)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(v,t+1));)l.push({type:7,index:i}),t+=v.length-1}i++}}static createElement(t,o){const e=$.createElement("template");return e.innerHTML=t,e}}function j(t,o,e=t,r){if(o===F)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=w(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=j(t,i._$AS(t,o.values),i,r)),o}class T{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??$).importNode(o,!0);A.currentNode=r;let i=A.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new M(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new q(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=A.nextNode(),n++)}return A.currentNode=$,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class M{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=j(this,t,o),w(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==F&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==B&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$($.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=P.createElement(H(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new T(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new P(t)),o}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new M(this.k(C()),this.k(C()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Y{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=B}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=j(this,t,o,0),n=!w(t)||t!==this._$AH&&t!==F,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=j(this,r[e+a],o,a),l===F&&(l=this._$AH[a]),n||=!w(l)||l!==this._$AH[a],l===B?t=B:t!==B&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class _ extends Y{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===B?void 0:t}}class V extends Y{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}}class X extends Y{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=j(this,t,o,0)??B)===F)return;const e=this._$AH,r=t===B&&e!==B||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==B&&(e===B||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class q{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const J=b.litHtmlPolyfillSupport;J?.(P,M),(b.litHtmlVersions??=[]).push("3.1.0");
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2020 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
135
|
*/
|
|
136
|
-
const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litStatic$:t,r:Q}),et=new Map,rt=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],i=tt(n));)c+=i+o[++p],f=!0;p!==r&&l.push(n),a.push(c),p++}if(p===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=et.get(t))&&(a.raw=a,et.set(t,o=a)),e=l}return t(o,...e)})(K);var it;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(it||(it={}));const nt=t=>"string"==typeof t?e.unsafeCSS(t):t;class at{static create(t,o,r,i){const n=t=>nt(null!=t?t:i),a=e.css`var(${nt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${nt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${nt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${nt(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):nt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${nt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${nt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const lt={colorWhite:at.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:at.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:at.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:at.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:at.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:at.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:at.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:at.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:at.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:at.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:at.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:at.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:at.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:at.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:at.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:at.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:at.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:at.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:at.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:at.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:at.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:at.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:at.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:at.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:at.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:at.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:at.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:at.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:at.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:at.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:at.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:at.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:at.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:at.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:at.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:at.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:at.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:at.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:at.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:at.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:at.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:at.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:at.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:at.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:at.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:at.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:at.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:at.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:at.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:at.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:at.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:at.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:at.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:at.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:at.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:at.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:at.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:at.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:at.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:at.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:at.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:at.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:at.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:at.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:at.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:at.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:at.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:at.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:at.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:at.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:at.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:at.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:at.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:at.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:at.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:at.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:at.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:at.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:at.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:at.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:at.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:at.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:at.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:at.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:at.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:at.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:at.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:at.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:at.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:at.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:at.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:at.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:at.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:at.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:at.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:at.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:at.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:at.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:at.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:at.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:at.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:at.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:at.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:at.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:at.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:at.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:at.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:at.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:at.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:at.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:at.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:at.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:at.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:at.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:at.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:at.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:at.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:at.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:at.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:at.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:at.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:at.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:at.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:at.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:at.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:at.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:at.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:at.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:at.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:at.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:at.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:at.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:at.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:at.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:at.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:at.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:at.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:at.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:at.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:at.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:at.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:at.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:at.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:at.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:at.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:at.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:at.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:at.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:at.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:at.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:at.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:at.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:at.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:at.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:at.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:at.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:at.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:at.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:at.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:at.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:at.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:at.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:at.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:at.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:at.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:at.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:at.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:at.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:at.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:at.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:at.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:at.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:at.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:at.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:at.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:at.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:at.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:at.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:at.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:at.create("--ft-icon-size-6","","SIZE","48px"),opacity0:at.create("--ft-opacity-0","","NUMBER","0"),opacity8:at.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:at.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:at.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:at.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:at.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:at.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:at.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:at.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:at.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:at.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:at.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:at.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:at.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:at.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:at.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:at.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:at.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:at.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:at.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:at.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:at.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:at.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:at.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:at.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:at.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:at.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:at.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:at.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:at.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:at.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:at.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:at.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:at.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:at.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:at.extend("--ft-background-action-primary","Used as backgorund of primary action components.",lt.colorBrand0),backgroundErrorPrimary:at.extend("--ft-background-error-primary","Used as background of error components.",lt.colorRed0),backgroundErrorSubtle:at.extend("--ft-background-error-subtle","Used as background of subtle error components.",lt.colorRed10),backgroundInfoPrimary:at.extend("--ft-background-info-primary","Used as background of information components.",lt.colorCyan200),backgroundInfoSubtle:at.extend("--ft-background-info-subtle","Used as background of subtle information components.",lt.colorCyan10),backgroundWarningPrimary:at.extend("--ft-background-warning-primary","Used as background of warning components.",lt.colorOrange300),backgroundWarningSubtle:at.extend("--ft-background-warning-subtle","Used as background of subtle information components.",lt.colorOrange10),backgroundSuccessPrimary:at.extend("--ft-background-success-primary","Used as background of success components.",lt.colorGreen200),backgroundSuccessSubtle:at.extend("--ft-background-success-subtle","Used as background of subtle success components.",lt.colorGreen10),backgroundGlobalSurface:at.extend("--ft-background-global-surface","Used as app background.",lt.colorWhite),backgroundGlobalOnSurface:at.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",lt.colorGray10),backgroundGlobalOnSurfaceDark:at.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",lt.colorGray30),contentActionPrimary:at.extend("--ft-content-action-primary","Used on label of primary action on light surface.",lt.colorBrand0),contentWarningPrimary:at.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",lt.colorOrange300),contentWarningIconOnly:at.extend("--ft-content-warning-icon-only","Used on warning status icons alone",lt.colorOrange0),contentErrorPrimary:at.extend("--ft-content-error-primary","Used on label of error messages on light surface.",lt.colorRed0),contentErrorIconOnly:at.extend("--ft-content-error-icon-only","Used on error status icons alone",lt.colorRed0),contentInfoPrimary:at.extend("--ft-content-info-primary","Used on label of information messages on light surface.",lt.colorCyan200),contentInfoIconOnly:at.extend("--ft-content-info-icon-only","Used on info status icons alone",lt.colorCyan0),contentSuccessIconOnly:at.extend("--ft-content-success-icon-only","Used on success status icons alone",lt.colorGreen0),contentSuccessPrimary:at.extend("--ft-content-success-primary","Used on label of success messages on light surface.",lt.colorGreen200),contentGlobalPrimary:at.extend("--ft-content-global-primary","Used for main content on the page.",lt.colorGray500),contentGlobalSecondary:at.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",lt.colorGray200),contentGlobalSubtle:at.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",lt.colorGray0),contentGlobalOnColor:at.extend("--ft-content-global-on-color","Used for content on a dominant color.",lt.colorWhite),borderActionPrimary:at.extend("--ft-border-action-primary","Used as border for primary action components.",lt.colorBrand0),borderActionFocusRing:at.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",lt.colorCyan0),borderWarningPrimary:at.extend("--ft-border-warning-primary","Used as border for warning components.",lt.colorOrange30),borderSuccessPrimary:at.extend("--ft-border-success-primary","Used as border for success components.",lt.colorGreen30),borderErrorPrimary:at.extend("--ft-border-error-primary","Used as border for error components.",lt.colorRed30),borderInfoPrimary:at.extend("--ft-border-info-primary","Used as border for information components.",lt.colorCyan30),borderGlobalSubtle:at.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",lt.colorGray30),borderGlobalPrimary:at.extend("--ft-border-global-primary","Used as border for element like input.",lt.colorGray50),borderInputPrimary:at.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",lt.colorGray80)},ft={largeHeight:at.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:at.extend("--ft-button-large-horizontal-padding","",lt.spacing4),largeGap:at.extend("--ft-button-large-gap","",lt.spacing2),largeBorderRadius:at.extend("--ft-button-large-border-radius","",lt.borderRadiusS),largeIconSize:at.extend("--ft-button-large-icon-size","",lt.iconSize3),largeBorderWidth:at.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:at.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:at.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:at.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:at.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:at.extend("--ft-button-small-horizontal-padding","",lt.spacing3),smallGap:at.extend("--ft-button-small-gap","",lt.spacing2),smallBorderRadius:at.extend("--ft-button-small-border-radius","",lt.borderRadiusS),smallIconSize:at.extend("--ft-button-small-icon-size","",lt.iconSize2),smallBorderWidth:at.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:at.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:at.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:at.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:at.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:at.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:at.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:at.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:at.extend("--ft-button-primary-state-layer-opacity-hover","",lt.opacity16),primaryStateLayerOpacityFocus:at.extend("--ft-button-primary-state-layer-opacity-focus","",lt.opacity16),primaryStateLayerOpacityActive:at.extend("--ft-button-primary-state-layer-opacity-active","",lt.opacity24),primaryComponentOpacityDisabled:at.extend("--ft-button-primary-component-opacity-disabled","",lt.opacity40),focusFocusRingColor:at.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:at.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:at.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:at.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:at.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:at.extend("--ft-button-tertiary-state-layer-opacity-hover","",lt.opacity8),tertiaryStateLayerOpacityFocus:at.extend("--ft-button-tertiary-state-layer-opacity-focus","",lt.opacity8),tertiaryStateLayerOpacityActive:at.extend("--ft-button-tertiary-state-layer-opacity-active","",lt.opacity16),tertiaryComponentOpacityDisabled:at.extend("--ft-button-tertiary-component-opacity-disabled","",lt.opacity40),secondaryBackgroundColor:at.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:at.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:at.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:at.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:at.extend("--ft-button-secondary-state-layer-opacity-hover","",lt.opacity8),secondaryStateLayerOpacityFocus:at.extend("--ft-button-secondary-state-layer-opacity-focus","",lt.opacity8),secondaryStateLayerOpacityActive:at.extend("--ft-button-secondary-state-layer-opacity-active","",lt.opacity16),secondaryComponentOpacityDisabled:at.extend("--ft-button-secondary-component-opacity-disabled","",lt.opacity40),secondaryBorderColor:at.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:at.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:at.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:at.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:at.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:at.extend("--ft-button-neutral-state-layer-opacity-hover","",lt.opacity8),neutralStateLayerOpacityFocus:at.extend("--ft-button-neutral-state-layer-opacity-focus","",lt.opacity8),neutralStateLayerOpacityActive:at.extend("--ft-button-neutral-state-layer-opacity-active","",lt.opacity16),neutralComponentOpacityDisabled:at.extend("--ft-button-neutral-component-opacity-disabled","",lt.opacity40)};at.extend("--ft-tabs-top-left-border-radius","",lt.borderRadiusS),at.extend("--ft-tabs-top-right-border-radius","",lt.borderRadiusS),at.extend("--ft-tabs-label-horizontal-padding","",lt.spacing4),at.extend("--ft-tabs-label-vertical-padding","",lt.spacing3),at.extend("--ft-tabs-label-gap","",lt.spacing1),at.extend("--ft-switch-group-horizontal-padding","",lt.spacing1),at.extend("--ft-switch-group-vertical-padding","",lt.spacing1),at.extend("--ft-switch-group-gap","",lt.spacing1),at.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),at.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),at.create("--ft-switch-group-border-radius","","SIZE","6px"),at.extend("--ft-switch-label-horizontal-padding","",lt.spacing2),at.extend("--ft-switch-label-vertical-padding","",lt.spacing1),at.extend("--ft-switch-icon-horizontal-padding","",lt.spacing1),at.extend("--ft-switch-icon-vertical-padding","",lt.spacing1),at.create("--ft-switch-focus-outline-width","","SIZE","2px"),at.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),at.extend("--ft-switch-option-border-radius","",lt.borderRadiusS),at.extend("--ft-switch-off-state-layer-opacity-hover","",lt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-focus","",lt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-active","",lt.opacity16),at.extend("--ft-switch-off-component-opacity-disabled","",lt.opacity40),at.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),at.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),at.extend("--ft-chart-1-light","for area color charts",lt.colorBrand40),at.extend("--ft-chart-1-base","for line charts",lt.colorBrand0),at.extend("--ft-chart-2-light","for area color charts",lt.colorYellow60),at.extend("--ft-chart-2-base","for line charts",lt.colorYellow100),at.extend("--ft-chart-3-light","",lt.colorUltramarine40),at.extend("--ft-chart-3-base","",lt.colorUltramarine70),at.extend("--ft-chart-4-light","",lt.colorCyan50),at.extend("--ft-chart-4-base","",lt.colorCyan100),at.extend("--ft-chart-5-light","",lt.colorRed40),at.extend("--ft-chart-5-base","",lt.colorRed60),at.extend("--ft-chart-6-light","",lt.colorGreen40),at.extend("--ft-chart-6-base","",lt.colorGreen70),at.extend("--ft-chart-7-light","",lt.colorOrange70),at.extend("--ft-chart-7-base","",lt.colorOrange100),at.extend("--ft-chart-8-light","",lt.colorAvocado70),at.extend("--ft-chart-8-base","",lt.colorAvocado200),at.extend("--ft-chart-9-light","",lt.colorBrown50),at.extend("--ft-chart-9-base","",lt.colorBrown200),at.extend("--ft-chart-10-light","",lt.colorGray50),at.extend("--ft-chart-10-base","",lt.colorGray80),at.extend("--ft-chart-monochrome-10","",lt.colorBrand10),at.extend("--ft-chart-monochrome-20","",lt.colorBrand20),at.extend("--ft-chart-monochrome-30","",lt.colorBrand40),at.extend("--ft-chart-monochrome-40","",lt.colorBrand60),at.extend("--ft-chart-monochrome-50","",lt.colorBrand0),at.extend("--ft-chart-monochrome-60","",lt.colorBrand200),at.extend("--ft-chip-large-horizontal-padding","",lt.spacing4),at.extend("--ft-chip-large-vertical-padding","",lt.spacing2),at.extend("--ft-chip-large-gap","",lt.spacing1),at.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-large-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-large-border-width","","SIZE","1px"),at.extend("--ft-chip-large-icon-size","",lt.iconSize3),at.extend("--ft-chip-medium-horizontal-padding","",lt.spacing3),at.extend("--ft-chip-medium-vertical-padding","",lt.spacing1),at.extend("--ft-chip-medium-gap","",lt.spacing1),at.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-medium-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-medium-border-width","","SIZE","1px"),at.extend("--ft-chip-medium-icon-size","",lt.iconSize2),at.extend("--ft-chip-small-horizontal-padding","",lt.spacing2),at.extend("--ft-chip-small-vertical-padding","",lt.spacing05),at.extend("--ft-chip-small-gap","",lt.spacing1),at.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-small-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-small-border-width","","SIZE","1px"),at.extend("--ft-chip-small-icon-size","",lt.iconSize1),at.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),at.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),at.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),at.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-chip-info-color","",pt.contentInfoPrimary),at.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),at.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),at.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),at.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),at.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),at.extend("--ft-chip-error-color","",pt.contentErrorPrimary),at.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),at.create("--ft-notice-border-width","","SIZE","1px"),at.extend("--ft-notice-horizontal-padding","",lt.spacing2),at.extend("--ft-notice-vertical-padding","",lt.spacing1),at.extend("--ft-notice-border-radius","",lt.borderRadiusS),at.extend("--ft-notice-gap","",lt.spacing2),at.extend("--ft-notice-icon-size","",lt.iconSize3),at.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-notice-info-color","",pt.contentInfoPrimary),at.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),at.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),at.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),at.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),at.extend("--ft-checkbox-checked-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-checkbox-checked-component-opacity-disabled","",lt.opacity40),at.extend("--ft-checkbox-unchecked-border-color","",lt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-color","",lt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-checkbox-unchecked-component-opacity-disabled","",lt.opacity40),at.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),at.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),at.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),at.extend("--ft-checkbox-gap","",lt.spacing3),at.extend("--ft-toggle-off-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-toggle-off-component-opacity-disabled","",lt.opacity40),at.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-on-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-toggle-on-component-opacity-disabled","",lt.opacity40),at.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),at.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),at.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),at.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),at.extend("--ft-toggle-gap","",lt.spacing3),at.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),at.extend("--ft-radio-selected-color","",pt.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-radio-selected-component-opacity-disabled","",lt.opacity40),at.extend("--ft-radio-unselected-state-layer-color","",lt.colorGray80),at.extend("--ft-radio-unselected-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-radio-unselected-component-opacity-disabled","",lt.opacity40),at.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),at.create("--ft-radio-focus-outline-offset","","SIZE","3px"),at.create("--ft-radio-focus-outline-width","","SIZE","2px"),at.extend("--ft-radio-gap","",lt.spacing3),at.extend("--ft-notification-icon-size","",lt.iconSize4),at.extend("--ft-notification-horizontal-padding","",lt.spacing4),at.extend("--ft-notification-vertical-padding","",lt.spacing4),at.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-notification-info-color","",pt.contentInfoPrimary),at.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),at.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),at.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),at.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),at.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),at.extend("--ft-notification-error-color","",pt.contentErrorPrimary),at.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),at.extend("--ft-notification-border-radius","",lt.borderRadiusPill),at.create("--ft-notification-border-width","","SIZE","1px"),at.extend("--ft-notification-gap-leading","",lt.spacing2),at.extend("--ft-notification-gap-trailing","",lt.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ht={fontFamily:dt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ht.fontSize,"20px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ht.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ht.letterSpacing,"0.15px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ht.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ht.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ht.fontSize,"14px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ht.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ht.letterSpacing,"0.105px"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ht.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ht.textTransform,"inherit"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ht.fontSize,"16px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ht.fontWeight,"600"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ht.letterSpacing,"0.144px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ht.lineHeight,"1.5"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ht.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ht.fontSize,"14px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ht.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ht.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ht.lineHeight,"1.7"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ht.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ht.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ht.fontWeight,"normal"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ht.letterSpacing,"0.496px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ht.lineHeight,"1.5"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ht.textTransform,"inherit"),jt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ht.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ht.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ht.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ht.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ht.fontSize,"12px"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ht.fontWeight,"normal"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ht.letterSpacing,"0.396px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ht.lineHeight,"1.33"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ht.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ht.fontSize,"10px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ht.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ht.letterSpacing,"0.33px"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ht.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ht.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ht.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ht.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ht.letterSpacing,"1.5px"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ht.lineHeight,"1.6"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ht.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ht.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ht.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ht.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ht.textTransform,"uppercase")},fo=e.css`
|
|
136
|
+
const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litStatic$:t,r:Q}),et=new Map,rt=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,p=0,f=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(n=e[p],i=tt(n));)c+=i+o[++p],f=!0;p!==r&&l.push(n),a.push(c),p++}if(p===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=et.get(t))&&(a.raw=a,et.set(t,o=a)),e=l}return t(o,...e)})(K);var it;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(it||(it={}));const nt=t=>"string"==typeof t?e.unsafeCSS(t):t;class at{static create(t,o,r,i){const n=t=>nt(null!=t?t:i),a=e.css`var(${nt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${nt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${nt(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${nt(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):nt(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${nt(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${nt(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const lt={colorWhite:at.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:at.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:at.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:at.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:at.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:at.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:at.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:at.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:at.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:at.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:at.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:at.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:at.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:at.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:at.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:at.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:at.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:at.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:at.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:at.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:at.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:at.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:at.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:at.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:at.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:at.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:at.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:at.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:at.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:at.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:at.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:at.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:at.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:at.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:at.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:at.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:at.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:at.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:at.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:at.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:at.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:at.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:at.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:at.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:at.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:at.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:at.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:at.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:at.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:at.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:at.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:at.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:at.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:at.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:at.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:at.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:at.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:at.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:at.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:at.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:at.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:at.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:at.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:at.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:at.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:at.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:at.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:at.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:at.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:at.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:at.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:at.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:at.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:at.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:at.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:at.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:at.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:at.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:at.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:at.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:at.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:at.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:at.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:at.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:at.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:at.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:at.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:at.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:at.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:at.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:at.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:at.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:at.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:at.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:at.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:at.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:at.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:at.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:at.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:at.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:at.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:at.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:at.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:at.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:at.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:at.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:at.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:at.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:at.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:at.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:at.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:at.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:at.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:at.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:at.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:at.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:at.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:at.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:at.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:at.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:at.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:at.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:at.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:at.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:at.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:at.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:at.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:at.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:at.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:at.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:at.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:at.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:at.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:at.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:at.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:at.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:at.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:at.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:at.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:at.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:at.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:at.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:at.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:at.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:at.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:at.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:at.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:at.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:at.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:at.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:at.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:at.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:at.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:at.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:at.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:at.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:at.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:at.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:at.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:at.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:at.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:at.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:at.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:at.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:at.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:at.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:at.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:at.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:at.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:at.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:at.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:at.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:at.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:at.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:at.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:at.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:at.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:at.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:at.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:at.create("--ft-icon-size-6","","SIZE","48px"),opacity0:at.create("--ft-opacity-0","","NUMBER","0"),opacity8:at.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:at.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:at.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:at.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:at.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:at.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:at.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:at.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:at.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:at.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:at.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:at.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:at.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:at.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:at.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:at.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:at.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:at.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:at.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:at.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:at.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:at.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:at.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:at.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:at.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:at.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:at.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:at.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:at.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:at.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:at.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:at.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:at.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:at.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:at.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:at.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:at.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:at.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:at.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:at.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:at.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:at.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:at.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:at.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:at.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:at.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:at.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:at.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:at.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:at.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:at.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:at.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:at.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:at.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:at.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:at.extend("--ft-background-action-primary","Used as backgorund of primary action components.",lt.colorBrand0),backgroundErrorPrimary:at.extend("--ft-background-error-primary","Used as background of error components.",lt.colorRed0),backgroundErrorSubtle:at.extend("--ft-background-error-subtle","Used as background of subtle error components.",lt.colorRed10),backgroundInfoPrimary:at.extend("--ft-background-info-primary","Used as background of information components.",lt.colorCyan200),backgroundInfoSubtle:at.extend("--ft-background-info-subtle","Used as background of subtle information components.",lt.colorCyan10),backgroundWarningPrimary:at.extend("--ft-background-warning-primary","Used as background of warning components.",lt.colorOrange300),backgroundWarningSubtle:at.extend("--ft-background-warning-subtle","Used as background of subtle information components.",lt.colorOrange10),backgroundSuccessPrimary:at.extend("--ft-background-success-primary","Used as background of success components.",lt.colorGreen200),backgroundSuccessSubtle:at.extend("--ft-background-success-subtle","Used as background of subtle success components.",lt.colorGreen10),backgroundGlobalSurface:at.extend("--ft-background-global-surface","Used as app background.",lt.colorWhite),backgroundGlobalOnSurface:at.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",lt.colorGray10),backgroundGlobalOnSurfaceDark:at.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",lt.colorGray30),contentActionPrimary:at.extend("--ft-content-action-primary","Used on label of primary action on light surface.",lt.colorBrand0),contentWarningPrimary:at.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",lt.colorOrange300),contentWarningIconOnly:at.extend("--ft-content-warning-icon-only","Used on warning status icons alone",lt.colorOrange0),contentErrorPrimary:at.extend("--ft-content-error-primary","Used on label of error messages on light surface.",lt.colorRed0),contentErrorIconOnly:at.extend("--ft-content-error-icon-only","Used on error status icons alone",lt.colorRed0),contentInfoPrimary:at.extend("--ft-content-info-primary","Used on label of information messages on light surface.",lt.colorCyan200),contentInfoIconOnly:at.extend("--ft-content-info-icon-only","Used on info status icons alone",lt.colorCyan0),contentSuccessIconOnly:at.extend("--ft-content-success-icon-only","Used on success status icons alone",lt.colorGreen0),contentSuccessPrimary:at.extend("--ft-content-success-primary","Used on label of success messages on light surface.",lt.colorGreen200),contentGlobalPrimary:at.extend("--ft-content-global-primary","Used for main content on the page.",lt.colorGray500),contentGlobalSecondary:at.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",lt.colorGray200),contentGlobalSubtle:at.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",lt.colorGray0),contentGlobalOnColor:at.extend("--ft-content-global-on-color","Used for content on a dominant color.",lt.colorWhite),borderActionPrimary:at.extend("--ft-border-action-primary","Used as border for primary action components.",lt.colorBrand0),borderActionFocusRing:at.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",lt.colorCyan0),borderWarningPrimary:at.extend("--ft-border-warning-primary","Used as border for warning components.",lt.colorOrange30),borderSuccessPrimary:at.extend("--ft-border-success-primary","Used as border for success components.",lt.colorGreen30),borderErrorPrimary:at.extend("--ft-border-error-primary","Used as border for error components.",lt.colorRed30),borderInfoPrimary:at.extend("--ft-border-info-primary","Used as border for information components.",lt.colorCyan30),borderGlobalSubtle:at.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",lt.colorGray30),borderGlobalPrimary:at.extend("--ft-border-global-primary","Used as border for element like input.",lt.colorGray50),borderInputPrimary:at.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",lt.colorGray80)},ft={largeHeight:at.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:at.extend("--ft-button-large-horizontal-padding","",lt.spacing4),largeGap:at.extend("--ft-button-large-gap","",lt.spacing2),largeBorderRadius:at.extend("--ft-button-large-border-radius","",lt.borderRadiusS),largeIconSize:at.extend("--ft-button-large-icon-size","",lt.iconSize3),largeBorderWidth:at.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:at.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:at.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:at.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:at.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:at.extend("--ft-button-small-horizontal-padding","",lt.spacing3),smallGap:at.extend("--ft-button-small-gap","",lt.spacing2),smallBorderRadius:at.extend("--ft-button-small-border-radius","",lt.borderRadiusS),smallIconSize:at.extend("--ft-button-small-icon-size","",lt.iconSize2),smallBorderWidth:at.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:at.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:at.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:at.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:at.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:at.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:at.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:at.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:at.extend("--ft-button-primary-state-layer-opacity-hover","",lt.opacity16),primaryStateLayerOpacityFocus:at.extend("--ft-button-primary-state-layer-opacity-focus","",lt.opacity16),primaryStateLayerOpacityActive:at.extend("--ft-button-primary-state-layer-opacity-active","",lt.opacity24),primaryComponentOpacityDisabled:at.extend("--ft-button-primary-component-opacity-disabled","",lt.opacity40),focusFocusRingColor:at.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:at.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:at.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:at.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:at.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:at.extend("--ft-button-tertiary-state-layer-opacity-hover","",lt.opacity8),tertiaryStateLayerOpacityFocus:at.extend("--ft-button-tertiary-state-layer-opacity-focus","",lt.opacity8),tertiaryStateLayerOpacityActive:at.extend("--ft-button-tertiary-state-layer-opacity-active","",lt.opacity16),tertiaryComponentOpacityDisabled:at.extend("--ft-button-tertiary-component-opacity-disabled","",lt.opacity40),secondaryBackgroundColor:at.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:at.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:at.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:at.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:at.extend("--ft-button-secondary-state-layer-opacity-hover","",lt.opacity8),secondaryStateLayerOpacityFocus:at.extend("--ft-button-secondary-state-layer-opacity-focus","",lt.opacity8),secondaryStateLayerOpacityActive:at.extend("--ft-button-secondary-state-layer-opacity-active","",lt.opacity16),secondaryComponentOpacityDisabled:at.extend("--ft-button-secondary-component-opacity-disabled","",lt.opacity40),secondaryBorderColor:at.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:at.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:at.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:at.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:at.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:at.extend("--ft-button-neutral-state-layer-opacity-hover","",lt.opacity8),neutralStateLayerOpacityFocus:at.extend("--ft-button-neutral-state-layer-opacity-focus","",lt.opacity8),neutralStateLayerOpacityActive:at.extend("--ft-button-neutral-state-layer-opacity-active","",lt.opacity16),neutralComponentOpacityDisabled:at.extend("--ft-button-neutral-component-opacity-disabled","",lt.opacity40)};at.extend("--ft-tabs-top-left-border-radius","",lt.borderRadiusS),at.extend("--ft-tabs-top-right-border-radius","",lt.borderRadiusS),at.extend("--ft-tabs-label-horizontal-padding","",lt.spacing4),at.extend("--ft-tabs-label-vertical-padding","",lt.spacing3),at.extend("--ft-tabs-label-gap","",lt.spacing1),at.extend("--ft-switch-group-horizontal-padding","",lt.spacing1),at.extend("--ft-switch-group-vertical-padding","",lt.spacing1),at.extend("--ft-switch-group-gap","",lt.spacing1),at.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),at.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),at.create("--ft-switch-group-border-radius","","SIZE","6px"),at.extend("--ft-switch-label-horizontal-padding","",lt.spacing2),at.extend("--ft-switch-label-vertical-padding","",lt.spacing1),at.extend("--ft-switch-icon-horizontal-padding","",lt.spacing1),at.extend("--ft-switch-icon-vertical-padding","",lt.spacing1),at.create("--ft-switch-focus-outline-width","","SIZE","2px"),at.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),at.extend("--ft-switch-option-border-radius","",lt.borderRadiusS),at.extend("--ft-switch-off-state-layer-opacity-hover","",lt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-focus","",lt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-active","",lt.opacity16),at.extend("--ft-switch-off-component-opacity-disabled","",lt.opacity40),at.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),at.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),at.extend("--ft-chart-1-light","for area color charts",lt.colorBrand40),at.extend("--ft-chart-1-base","for line charts",lt.colorBrand0),at.extend("--ft-chart-2-light","for area color charts",lt.colorYellow60),at.extend("--ft-chart-2-base","for line charts",lt.colorYellow100),at.extend("--ft-chart-3-light","",lt.colorUltramarine40),at.extend("--ft-chart-3-base","",lt.colorUltramarine70),at.extend("--ft-chart-4-light","",lt.colorCyan50),at.extend("--ft-chart-4-base","",lt.colorCyan100),at.extend("--ft-chart-5-light","",lt.colorRed40),at.extend("--ft-chart-5-base","",lt.colorRed60),at.extend("--ft-chart-6-light","",lt.colorGreen40),at.extend("--ft-chart-6-base","",lt.colorGreen70),at.extend("--ft-chart-7-light","",lt.colorOrange70),at.extend("--ft-chart-7-base","",lt.colorOrange100),at.extend("--ft-chart-8-light","",lt.colorAvocado70),at.extend("--ft-chart-8-base","",lt.colorAvocado200),at.extend("--ft-chart-9-light","",lt.colorBrown50),at.extend("--ft-chart-9-base","",lt.colorBrown200),at.extend("--ft-chart-10-light","",lt.colorGray50),at.extend("--ft-chart-10-base","",lt.colorGray80),at.extend("--ft-chart-monochrome-10","",lt.colorBrand10),at.extend("--ft-chart-monochrome-20","",lt.colorBrand20),at.extend("--ft-chart-monochrome-30","",lt.colorBrand40),at.extend("--ft-chart-monochrome-40","",lt.colorBrand60),at.extend("--ft-chart-monochrome-50","",lt.colorBrand0),at.extend("--ft-chart-monochrome-60","",lt.colorBrand200),at.extend("--ft-chip-large-horizontal-padding","",lt.spacing4),at.extend("--ft-chip-large-vertical-padding","",lt.spacing2),at.extend("--ft-chip-large-gap","",lt.spacing1),at.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-large-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-large-border-width","","SIZE","1px"),at.extend("--ft-chip-large-icon-size","",lt.iconSize3),at.extend("--ft-chip-medium-horizontal-padding","",lt.spacing3),at.extend("--ft-chip-medium-vertical-padding","",lt.spacing1),at.extend("--ft-chip-medium-gap","",lt.spacing1),at.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-medium-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-medium-border-width","","SIZE","1px"),at.extend("--ft-chip-medium-icon-size","",lt.iconSize2),at.extend("--ft-chip-small-horizontal-padding","",lt.spacing2),at.extend("--ft-chip-small-vertical-padding","",lt.spacing05),at.extend("--ft-chip-small-gap","",lt.spacing1),at.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),at.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),at.extend("--ft-chip-small-border-radius","",lt.borderRadiusPill),at.create("--ft-chip-small-border-width","","SIZE","1px"),at.extend("--ft-chip-small-icon-size","",lt.iconSize1),at.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),at.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),at.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),at.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-chip-info-color","",pt.contentInfoPrimary),at.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),at.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),at.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),at.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),at.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),at.extend("--ft-chip-error-color","",pt.contentErrorPrimary),at.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),at.create("--ft-notice-border-width","","SIZE","1px"),at.extend("--ft-notice-horizontal-padding","",lt.spacing2),at.extend("--ft-notice-vertical-padding","",lt.spacing1),at.extend("--ft-notice-border-radius","",lt.borderRadiusS),at.extend("--ft-notice-gap","",lt.spacing2),at.extend("--ft-notice-icon-size","",lt.iconSize3),at.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-notice-info-color","",pt.contentInfoPrimary),at.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),at.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),at.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),at.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),at.extend("--ft-checkbox-checked-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-checkbox-checked-component-opacity-disabled","",lt.opacity40),at.extend("--ft-checkbox-unchecked-border-color","",lt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-color","",lt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-checkbox-unchecked-component-opacity-disabled","",lt.opacity40),at.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),at.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),at.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),at.extend("--ft-checkbox-gap","",lt.spacing3),at.extend("--ft-toggle-off-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-toggle-off-component-opacity-disabled","",lt.opacity40),at.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),at.extend("--ft-toggle-on-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-toggle-on-component-opacity-disabled","",lt.opacity40),at.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),at.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),at.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),at.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),at.extend("--ft-toggle-gap","",lt.spacing3),at.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),at.extend("--ft-radio-selected-color","",pt.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-radio-selected-component-opacity-disabled","",lt.opacity40),at.extend("--ft-radio-unselected-state-layer-color","",lt.colorGray80),at.extend("--ft-radio-unselected-state-layer-opacity-hover","",lt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-focus","",lt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-active","",lt.opacity24),at.extend("--ft-radio-unselected-component-opacity-disabled","",lt.opacity40),at.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),at.create("--ft-radio-focus-outline-offset","","SIZE","3px"),at.create("--ft-radio-focus-outline-width","","SIZE","2px"),at.extend("--ft-radio-gap","",lt.spacing3),at.extend("--ft-notification-icon-size","",lt.iconSize4),at.extend("--ft-notification-horizontal-padding","",lt.spacing4),at.extend("--ft-notification-vertical-padding","",lt.spacing4),at.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),at.extend("--ft-notification-info-color","",pt.contentInfoPrimary),at.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),at.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),at.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),at.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),at.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),at.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),at.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),at.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),at.extend("--ft-notification-error-color","",pt.contentErrorPrimary),at.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),at.extend("--ft-notification-border-radius","",lt.borderRadiusPill),at.create("--ft-notification-border-width","","SIZE","1px"),at.extend("--ft-notification-gap-leading","",lt.spacing2),at.extend("--ft-notification-gap-trailing","",lt.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ht={fontFamily:dt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ht.fontSize,"20px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ht.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ht.letterSpacing,"0.15px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ht.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ht.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ht.fontSize,"14px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ht.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ht.letterSpacing,"0.105px"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ht.lineHeight,"1.7"),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ht.textTransform,"inherit"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ht.fontSize,"16px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ht.fontWeight,"600"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ht.letterSpacing,"0.144px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ht.lineHeight,"1.5"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ht.textTransform,"inherit"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ht.fontSize,"14px"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ht.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ht.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ht.lineHeight,"1.7"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ht.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ht.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ht.fontWeight,"normal"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ht.letterSpacing,"0.496px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ht.lineHeight,"1.5"),Pt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ht.textTransform,"inherit"),jt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ht.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ht.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ht.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ht.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ht.fontSize,"12px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ht.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ht.letterSpacing,"0.396px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ht.lineHeight,"1.33"),Xt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ht.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ht.fontSize,"10px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ht.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ht.letterSpacing,"0.33px"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ht.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ht.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ht.fontSize,"10px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ht.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ht.letterSpacing,"1.5px"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ht.lineHeight,"1.6"),co=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ht.textTransform,"uppercase"),po={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ht.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ht.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ht.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ht.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ht.textTransform,"uppercase")},fo=e.css`
|
|
137
137
|
.ft-typography--title {
|
|
138
138
|
font-family: ${gt};
|
|
139
139
|
font-size: ${yt};
|
|
@@ -192,8 +192,8 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
192
192
|
.ft-typography--caption {
|
|
193
193
|
font-family: ${Tt};
|
|
194
194
|
font-size: ${Mt};
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
195
|
+
font-weight: ${Yt};
|
|
196
|
+
letter-spacing: ${_t};
|
|
197
197
|
line-height: ${Vt};
|
|
198
198
|
text-transform: ${Xt};
|
|
199
199
|
}
|
|
@@ -503,7 +503,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
503
503
|
${o.setVariable(Eo.size,Zo.iconSize)};
|
|
504
504
|
${o.setVariable(Eo.color,"var(--ft-button-internal-color)")};
|
|
505
505
|
}
|
|
506
|
-
`,o.noTextSelect],Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),jo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),To=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),
|
|
506
|
+
`,o.noTextSelect],Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),jo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),To=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Yo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),_o=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Vo=e.css`
|
|
507
507
|
.ft-tooltip--container {
|
|
508
508
|
display: block;
|
|
509
509
|
}
|
|
@@ -514,11 +514,11 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
.ft-tooltip {
|
|
517
|
-
position:
|
|
517
|
+
position: fixed;
|
|
518
518
|
box-sizing: border-box;
|
|
519
519
|
overflow: hidden;
|
|
520
520
|
width: max-content;
|
|
521
|
-
max-width: ${
|
|
521
|
+
max-width: ${_o};
|
|
522
522
|
text-align: center;
|
|
523
523
|
padding: ${Po};
|
|
524
524
|
z-index: ${Mo};
|
|
@@ -526,13 +526,13 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
526
526
|
|
|
527
527
|
.ft-tooltip--content {
|
|
528
528
|
padding: 4px 8px;
|
|
529
|
-
border-radius: ${
|
|
529
|
+
border-radius: ${Yo};
|
|
530
530
|
background-color: ${To};
|
|
531
531
|
color: ${jo};
|
|
532
532
|
position: relative;
|
|
533
533
|
word-break: break-word;
|
|
534
534
|
}
|
|
535
|
-
`,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function pe(t){return"y"===t?"height":"width"}function fe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function se(t){return ce(fe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ge(t,o,e){let{reference:r,floating:i}=t;const n=fe(o),a=se(o),l=pe(a),c=ae(o),p="y"===n,f=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:s};break;case"left":h={x:r.x-i.width,y:s};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&p?-1:1);break;case"end":h[a]+=d*(e&&p?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:s="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===s?"reference":"floating":s],u=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:c})),b="floating"===s?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:p}=o,{crossAxis:f=!1,alignment:s,allowedPlacements:d=qo,autoAlignment:h=!0,...g}=ne(t,o),y=void 0!==s||d===qo?ue(s||null,h,d):d,u=await ye(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=se(t),n=pe(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[ae(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=$[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function $e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function we(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=Re(),e=Ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ke(t){return["html","body","#document"].includes(me(t))}function Ue(t){return xe(t).getComputedStyle(t)}function We(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ee(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||$e(t)&&t.host||Oe(t);return $e(o)?o.host:o}function Le(t){const o=Ee(t);return ke(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Le(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Ze(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ke(t){return Ne(t)?t:t.contextElement}function Fe(t){const o=Ke(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ze(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Ae(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ke(t);let a=oe(1);o&&(r?Ne(r)&&(a=Fe(r)):a=Fe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,f=i.width/a.x,s=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fe(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,f*=t.x,s*=t.y,c+=i,p+=n,e=xe(e).frameElement}}return he({width:f,height:s,x:c,y:p})}function He(t){return Ae(Oe(t)).left+We(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Re();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=We(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+He(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=Ae(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Fe(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Ee(t);return!(e===o||!Ne(e)||ke(e))&&("fixed"===Ue(e).position||Pe(e,o))}function je(t,o,e){const r=Se(o),i=Oe(o),n="fixed"===e,a=Ae(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=We(o)),r){const t=Ae(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=He(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Te(t,o){return Se(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function Me(t,o){const e=xe(t);if(!Se(t))return e;let r=Te(t,o);for(;r&&we(r)&&"static"===Ue(r).position;)r=Te(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!Ie(r))?e:r||function(t){let o=Ee(t);for(;Se(o)&&!ke(o);){if(Ie(o))return o;o=Ee(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=Oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=We(e)),Se(e))){const t=Ae(e);l=Fe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?Ee(t):t;for(;Ne(a)&&!ke(a);){const o=Ue(a),e=Ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ee(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Me,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Me,n=this.getDimensions;return{reference:je(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:Fe,isElement:Ne,isRTL:function(t){return"rtl"===Ue(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let p=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:s}=ge(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:f,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:o}});f=null!=u?u:f,s=null!=b?b:s,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:f,y:s}=ge(p,d,c))),e=-1)}return{x:f,y:s,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};var Ve=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xe extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
535
|
+
`,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function pe(t){return"y"===t?"height":"width"}function fe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function se(t){return ce(fe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ge(t,o,e){let{reference:r,floating:i}=t;const n=fe(o),a=se(o),l=pe(a),c=ae(o),p="y"===n,f=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:s};break;case"left":h={x:r.x-i.width,y:s};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&p?-1:1);break;case"end":h[a]+=d*(e&&p?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:s="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===s?"reference":"floating":s],u=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:c})),b="floating"===s?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:p}=o,{crossAxis:f=!1,alignment:s,allowedPlacements:d=qo,autoAlignment:h=!0,...g}=ne(t,o),y=void 0!==s||d===qo?ue(s||null,h,d):d,u=await ye(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=se(t),n=pe(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[ae(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=$[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function $e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function we(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=Re(),e=Ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ke(t){return["html","body","#document"].includes(me(t))}function Ue(t){return xe(t).getComputedStyle(t)}function We(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ee(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||$e(t)&&t.host||Oe(t);return $e(o)?o.host:o}function Le(t){const o=Ee(t);return ke(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Le(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Ze(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ke(t){return Ne(t)?t:t.contextElement}function Fe(t){const o=Ke(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ze(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Ae(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ke(t);let a=oe(1);o&&(r?Ne(r)&&(a=Fe(r)):a=Fe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,f=i.width/a.x,s=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fe(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,f*=t.x,s*=t.y,c+=i,p+=n,e=xe(e).frameElement}}return he({width:f,height:s,x:c,y:p})}function He(t){return Ae(Oe(t)).left+We(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Re();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=We(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+He(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=Ae(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Fe(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Ee(t);return!(e===o||!Ne(e)||ke(e))&&("fixed"===Ue(e).position||Pe(e,o))}function je(t,o,e){const r=Se(o),i=Oe(o),n="fixed"===e,a=Ae(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=We(o)),r){const t=Ae(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=He(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Te(t,o){return Se(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function Me(t,o){const e=xe(t);if(!Se(t))return e;let r=Te(t,o);for(;r&&we(r)&&"static"===Ue(r).position;)r=Te(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!Ie(r))?e:r||function(t){let o=Ee(t);for(;Se(o)&&!ke(o);){if(Ie(o))return o;o=Ee(o)}return null}(t)||e}const Ye={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=Oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=We(e)),Se(e))){const t=Ae(e);l=Fe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?Ee(t):t;for(;Ne(a)&&!ke(a);){const o=Ue(a),e=Ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ee(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Me,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Me,n=this.getDimensions;return{reference:je(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ze(t)},getScale:Fe,isElement:Ne,isRTL:function(t){return"rtl"===Ue(t).direction}},_e=(t,o,e)=>{const r=new Map,i={platform:Ye,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let p=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:s}=ge(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:f,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:a,elements:{reference:t,floating:o}});f=null!=u?u:f,s=null!=b?b:s,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:f,y:s}=ge(p,d,c))),e=-1)}return{x:f,y:s,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=Xe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Xe(t);o;o=Xe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Xe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
536
536
|
<div part="container"
|
|
537
537
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
538
538
|
@mouseenter=${this.onHover}
|
|
@@ -540,7 +540,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
540
540
|
@focusin=${this.onHover}
|
|
541
541
|
@focusout=${this.onOut}
|
|
542
542
|
@touchstart=${this.onTouch}>
|
|
543
|
-
<slot></slot>
|
|
543
|
+
<slot part="slot"></slot>
|
|
544
544
|
<div part="tooltip" role="tooltip" inert
|
|
545
545
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
546
546
|
?hidden=${!this.visible}>
|
|
@@ -550,14 +550,14 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
550
550
|
</div>
|
|
551
551
|
</div>
|
|
552
552
|
</div>
|
|
553
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
553
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",_e(this.slottedElement,this.tooltip,{platform:{...Ye,getOffsetParent:t=>Ye.getOffsetParent(t,Ve)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ne(t,o),p={x:e,y:r},f=await ye(o,c),s=fe(ae(i)),d=ce(s);let h=p[d],g=p[s];if(n){const t="y"===d?"bottom":"right";h=ie(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===s?"bottom":"right";g=ie(g+f["y"===s?"top":"left"],g,g-f[t])}const y=l.fn({...o,[d]:h,[s]:g});return{...y,data:{x:y.x-e,y:y.y-r}}}}),be({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Je.elementDefinitions={"ft-typography":wo},Je.styles=Vo,qe([r.property()],Je.prototype,"text",void 0),qe([r.property({type:Boolean})],Je.prototype,"manual",void 0),qe([r.property({type:Boolean})],Je.prototype,"inline",void 0),qe([r.property({type:Number})],Je.prototype,"delay",void 0),qe([r.property()],Je.prototype,"position",void 0),qe([r.queryAssignedNodes()],Je.prototype,"slotNodes",void 0),qe([r.query(".ft-tooltip--container")],Je.prototype,"container",void 0),qe([r.query(".ft-tooltip")],Je.prototype,"tooltip",void 0),qe([r.query(".ft-tooltip--content")],Je.prototype,"tooltipContent",void 0),qe([r.state()],Je.prototype,"visible",void 0),qe([r.eventOptions({passive:!0})],Je.prototype,"onTouch",null),qe([r.eventOptions({passive:!0})],Je.prototype,"onHover",null),qe([r.eventOptions({passive:!0})],Je.prototype,"onOut",null),o.customElement("ft-tooltip")(Je);class Qe extends o.FtLitElement{render(){return e.html`
|
|
554
554
|
<div class="ft-loader">
|
|
555
555
|
<div></div>
|
|
556
556
|
<div></div>
|
|
557
557
|
<div></div>
|
|
558
558
|
<div></div>
|
|
559
559
|
</div>
|
|
560
|
-
`}}
|
|
560
|
+
`}}Qe.styles=Lo,o.customElement("ft-loader")(Qe);var tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
561
561
|
<button part="button"
|
|
562
562
|
class="${i.classMap(this.buttonClasses)}"
|
|
563
563
|
aria-label="${this.getLabel()}"
|
|
@@ -580,7 +580,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
580
580
|
</ft-tooltip>
|
|
581
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
582
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
583
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
583
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}or.elementDefinitions={"ft-ripple":u,"ft-tooltip":Je,"ft-typography":wo,"ft-icon":Wo,"ft-loader":Qe},tr([r.property({type:String,reflect:!0})],or.prototype,"role",void 0),tr([r.property()],or.prototype,"type",void 0),tr([r.property({type:Boolean})],or.prototype,"disabled",void 0),tr([r.property()],or.prototype,"label",void 0),tr([r.property()],or.prototype,"icon",void 0),tr([r.property()],or.prototype,"iconVariant",void 0),tr([r.property({type:Boolean})],or.prototype,"trailingIcon",void 0),tr([r.property({type:Boolean})],or.prototype,"loading",void 0),tr([r.property()],or.prototype,"tooltipPosition",void 0),tr([r.property({type:Boolean})],or.prototype,"hideTooltip",void 0),tr([r.property({type:Boolean})],or.prototype,"forceTooltip",void 0),tr([r.query(".ft-button")],or.prototype,"button",void 0),tr([r.query(".ft-button--label slot")],or.prototype,"slottedContent",void 0);var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends or{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"}}rr.styles=[o.safariEllipsisFix,Go],er([r.property({type:Boolean})],rr.prototype,"primary",void 0),er([r.property({type:Boolean})],rr.prototype,"outlined",void 0),er([r.property({type:Boolean})],rr.prototype,"dense",void 0),er([r.property({type:Boolean})],rr.prototype,"round",void 0);const ir=[e.css`
|
|
584
584
|
:host {
|
|
585
585
|
display: inline-block;
|
|
586
586
|
max-width: 100%;
|
|
@@ -798,7 +798,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
798
798
|
width: ${ft.smallIconOnlyWidth};
|
|
799
799
|
padding: unset;
|
|
800
800
|
}
|
|
801
|
-
`,o.noTextSelect];var
|
|
801
|
+
`,o.noTextSelect];var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends or{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?it.caption1medium:it.body2medium}}ar.styles=[o.safariEllipsisFix,ir],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"secondary",void 0),nr([r.property({type:Boolean})],ar.prototype,"tertiary",void 0),nr([r.property({type:Boolean})],ar.prototype,"neutral",void 0),nr([r.property({type:Boolean})],ar.prototype,"small",void 0),o.customElement("ft-button")(rr),o.customElement("ftds-button")(ar);const lr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),cr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:lr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",jt.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",lr),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},pr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),fr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:pr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",pr)},sr={horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},dr=[o.noTextSelect,e.css`
|
|
802
802
|
:host {
|
|
803
803
|
display: inline-block;
|
|
804
804
|
max-width: 100%;
|
|
@@ -814,20 +814,20 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
814
814
|
box-sizing: border-box;
|
|
815
815
|
pointer-events: auto;
|
|
816
816
|
|
|
817
|
-
--ft-chip-internal-font-size: ${
|
|
817
|
+
--ft-chip-internal-font-size: ${cr.fontSize};
|
|
818
818
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
819
|
-
${o.setVariable(Io.size,
|
|
820
|
-
--ft-chip-internal-vertical-padding: ${
|
|
821
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
819
|
+
${o.setVariable(Io.size,cr.iconSize)};
|
|
820
|
+
--ft-chip-internal-vertical-padding: ${cr.verticalPadding};
|
|
821
|
+
--ft-chip-internal-horizontal-padding: ${cr.horizontalPadding};
|
|
822
822
|
--ft-chip-internal-icon-padding: 3px;
|
|
823
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
823
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${cr.iconSize});
|
|
824
824
|
|
|
825
|
-
border: 1px solid ${
|
|
826
|
-
color: ${
|
|
827
|
-
${o.setVariable(l.color,
|
|
825
|
+
border: 1px solid ${cr.colorOutline};
|
|
826
|
+
color: ${cr.color};
|
|
827
|
+
${o.setVariable(l.color,cr.rippleColor)};
|
|
828
828
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
829
829
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
830
|
-
background-color: ${
|
|
830
|
+
background-color: ${cr.backgroundColor};
|
|
831
831
|
line-height: var(--ft-chip-internal-content-height);
|
|
832
832
|
}
|
|
833
833
|
|
|
@@ -837,8 +837,8 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
837
837
|
|
|
838
838
|
.ft-chip--dense {
|
|
839
839
|
--ft-chip-internal-icon-padding: 3px;
|
|
840
|
-
--ft-chip-internal-vertical-padding: ${
|
|
841
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
840
|
+
--ft-chip-internal-vertical-padding: ${sr.verticalPadding};
|
|
841
|
+
--ft-chip-internal-horizontal-padding: ${sr.horizontalPadding};
|
|
842
842
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
843
843
|
}
|
|
844
844
|
|
|
@@ -850,15 +850,15 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
850
850
|
cursor: default;
|
|
851
851
|
pointer-events: none;
|
|
852
852
|
filter: grayscale(1);
|
|
853
|
-
opacity: ${
|
|
853
|
+
opacity: ${cr.opacityDisabled};
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
.ft-chip--highlighted {
|
|
857
857
|
border: none;
|
|
858
858
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
859
|
-
background-color: ${
|
|
860
|
-
${o.setVariable(l.color,
|
|
861
|
-
color: ${
|
|
859
|
+
background-color: ${fr.backgroundColor};
|
|
860
|
+
${o.setVariable(l.color,fr.rippleColor)};
|
|
861
|
+
color: ${fr.color};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
.ft-chip--clickable {
|
|
@@ -888,7 +888,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
888
888
|
}
|
|
889
889
|
|
|
890
890
|
.ft-chip--icon-button {
|
|
891
|
-
${o.setVariable(Zo.iconSize,
|
|
891
|
+
${o.setVariable(Zo.iconSize,cr.iconSize)};
|
|
892
892
|
${o.setVariable(Zo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
893
893
|
${o.setVariable(Zo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
894
894
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -935,7 +935,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
935
935
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
936
936
|
order: -1;
|
|
937
937
|
}
|
|
938
|
-
`];var
|
|
938
|
+
`];var hr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gr extends CustomEvent{constructor(){super("icon-click")}}class yr extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
939
939
|
<div class="${i.classMap(t)}"
|
|
940
940
|
aria-label="${this.getLabel()}"
|
|
941
941
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -958,4 +958,4 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
958
958
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
959
959
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
960
960
|
</div>
|
|
961
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
961
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new gr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new gr))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}yr.elementDefinitions={"ft-ripple":u,"ft-typography":wo,"ft-icon":Wo,"ft-button":rr},yr.styles=dr,hr([r.property({type:Boolean})],yr.prototype,"highlighted",void 0),hr([r.property({type:Boolean})],yr.prototype,"removable",void 0),hr([r.property({type:Boolean})],yr.prototype,"disabled",void 0),hr([r.property({type:Boolean})],yr.prototype,"clickable",void 0),hr([r.property({type:Boolean})],yr.prototype,"iconClickable",void 0),hr([r.property({type:Boolean})],yr.prototype,"dense",void 0),hr([r.property({type:Boolean})],yr.prototype,"multiLine",void 0),hr([r.property()],yr.prototype,"label",void 0),hr([r.property()],yr.prototype,"iconLabel",void 0),hr([r.property()],yr.prototype,"icon",void 0),hr([r.property()],yr.prototype,"iconVariant",void 0),hr([r.property({type:Boolean})],yr.prototype,"trailingIcon",void 0),hr([r.query("ft-typography slot")],yr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(yr),t.FtChip=yr,t.FtChipCssVariables=cr,t.FtChipDenseCssVariables=sr,t.FtChipHighlightedCssVariables=fr,t.IconClickEvent=gr,t.styles=dr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|
package/build/ft-chip.min.js
CHANGED
|
@@ -649,7 +649,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
.ft-tooltip {
|
|
652
|
-
position:
|
|
652
|
+
position: fixed;
|
|
653
653
|
box-sizing: border-box;
|
|
654
654
|
overflow: hidden;
|
|
655
655
|
width: max-content;
|
|
@@ -667,7 +667,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
667
667
|
position: relative;
|
|
668
668
|
word-break: break-word;
|
|
669
669
|
}
|
|
670
|
-
`,ar=["start","end"],sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ar[0],o+"-"+ar[1])),[]),lr=Math.min,cr=Math.max,pr=Math.round,fr=t=>({x:t,y:t}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},dr={start:"end",end:"start"};function ur(t,o,e){return cr(t,lr(o,e))}function yr(t,o){return"function"==typeof t?t(o):t}function gr(t){return t.split("-")[0]}function br(t){return t.split("-")[1]}function mr(t){return"x"===t?"y":"x"}function xr(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(gr(t))?"y":"x"}function Or(t){return mr(vr(t))}function Sr(t){return t.replace(/left|right|bottom|top/g,(t=>hr[t]))}function Nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function wr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Or(o),s=xr(a),l=gr(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(br(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Cr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=yr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Nr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function $r(t,o,e){return(t?[...e.filter((o=>br(o)===t)),...e.filter((o=>br(o)!==t))]:e.filter((t=>gr(t)===t))).filter((e=>!t||(br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>dr[t]))}(e)!==e)))}const Rr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=sr,autoAlignment:d=!0,...u}=yr(t,o),y=void 0!==f||h===sr?$r(f||null,d,h):h,g=await Cr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=br(t),r=Or(t),n=xr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Sr(a)),[a,Sr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[gr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const o=br(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,br(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Er(t){return Ir(t)?(t.nodeName||"").toLowerCase():"#document"}function Ur(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function kr(t){var o;return null==(o=(Ir(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ir(t){return t instanceof Node||t instanceof Ur(t).Node}function Lr(t){return t instanceof Element||t instanceof Ur(t).Element}function Wr(t){return t instanceof HTMLElement||t instanceof Ur(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ur(t).ShadowRoot)}function Kr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(Er(t))}function Zr(t){const o=Br(),e=Dr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ar(t){return["html","body","#document"].includes(Er(t))}function Dr(t){return Ur(t).getComputedStyle(t)}function Mr(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){if("html"===Er(t))return t;const o=t.assignedSlot||t.parentNode||zr(t)&&t.host||kr(t);return zr(o)?o.host:o}function Hr(t){const o=Pr(t);return Ar(o)?t.ownerDocument?t.ownerDocument.body:t.body:Wr(o)&&Kr(o)?o:Hr(o)}function jr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Hr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Ur(r);return n?o.concat(a,a.visualViewport||[],Kr(r)?r:[],a.frameElement&&e?jr(a.frameElement):[]):o.concat(r,jr(r,[],e))}function Tr(t){const o=Dr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Wr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=pr(e)!==n||pr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function _r(t){return Lr(t)?t:t.contextElement}function Gr(t){const o=_r(t);if(!Wr(o))return fr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Tr(o);let a=(n?pr(e.width):e.width)/i,s=(n?pr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Yr=fr(0);function Vr(t){const o=Ur(t);return Br()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Yr}function Jr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=_r(t);let a=fr(1);o&&(i?Lr(i)&&(a=Gr(i)):a=Gr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ur(t))&&o}(n,e,i)?Vr(n):fr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Ur(n),o=i&&Lr(i)?Ur(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Gr(e),o=e.getBoundingClientRect(),i=Dr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Ur(e).frameElement}}return Nr({width:p,height:f,x:l,y:c})}function qr(t){return Jr(kr(t)).left+Mr(t).scrollLeft}function Xr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Ur(t),i=kr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Br();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=kr(t),e=Mr(t),i=t.ownerDocument.body,r=cr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=cr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+qr(t);const s=-e.scrollTop;return"rtl"===Dr(i).direction&&(a+=cr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(kr(t));else if(Lr(o))i=function(t,o){const e=Jr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Wr(t)?Gr(t):fr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Vr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Nr(i)}function Qr(t,o){const e=Pr(t);return!(e===o||!Lr(e)||Ar(e))&&("fixed"===Dr(e).position||Qr(e,o))}function tn(t,o,e){const i=Wr(o),r=kr(o),n="fixed"===e,a=Jr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==Er(o)||Kr(r))&&(s=Mr(o)),i){const t=Jr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function on(t,o){return Wr(t)&&"fixed"!==Dr(t).position?o?o(t):t.offsetParent:null}function en(t,o){const e=Ur(t);if(!Wr(t))return e;let i=on(t,o);for(;i&&Fr(i)&&"static"===Dr(i).position;)i=on(i,o);return i&&("html"===Er(i)||"body"===Er(i)&&"static"===Dr(i).position&&!Zr(i))?e:i||function(t){let o=Pr(t);for(;Wr(o)&&!Ar(o);){if(Zr(o))return o;o=Pr(o)}return null}(t)||e}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Wr(e),n=kr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Er(e)||Kr(n))&&(a=Mr(e)),Wr(e))){const t=Jr(e);s=Gr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:kr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=jr(t,[],!1).filter((t=>Lr(t)&&"body"!==Er(t))),r=null;const n="fixed"===Dr(t).position;let a=n?Pr(t):t;for(;Lr(a)&&!Ar(a);){const o=Dr(a),e=Zr(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Kr(a)&&!e&&Qr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Pr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Xr(o,e,r);return t.top=cr(i.top,t.top),t.right=lr(i.right,t.right),t.bottom=lr(i.bottom,t.bottom),t.left=cr(i.left,t.left),t}),Xr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:tn(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Tr(t)},getScale:Gr,isElement:Lr,isRTL:function(t){return"rtl"===Dr(t).direction}},nn=(t,o,e)=>{const i=new Map,r={platform:rn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=wr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=wr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var an=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Ko{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
670
|
+
`,ar=["start","end"],sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ar[0],o+"-"+ar[1])),[]),lr=Math.min,cr=Math.max,pr=Math.round,fr=t=>({x:t,y:t}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},dr={start:"end",end:"start"};function ur(t,o,e){return cr(t,lr(o,e))}function yr(t,o){return"function"==typeof t?t(o):t}function gr(t){return t.split("-")[0]}function br(t){return t.split("-")[1]}function mr(t){return"x"===t?"y":"x"}function xr(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(gr(t))?"y":"x"}function Or(t){return mr(vr(t))}function Sr(t){return t.replace(/left|right|bottom|top/g,(t=>hr[t]))}function Nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function wr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Or(o),s=xr(a),l=gr(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(br(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Cr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=yr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Nr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function $r(t,o,e){return(t?[...e.filter((o=>br(o)===t)),...e.filter((o=>br(o)!==t))]:e.filter((t=>gr(t)===t))).filter((e=>!t||(br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>dr[t]))}(e)!==e)))}const Rr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=sr,autoAlignment:d=!0,...u}=yr(t,o),y=void 0!==f||h===sr?$r(f||null,d,h):h,g=await Cr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=br(t),r=Or(t),n=xr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Sr(a)),[a,Sr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[gr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const o=br(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,br(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Er(t){return Ir(t)?(t.nodeName||"").toLowerCase():"#document"}function Ur(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function kr(t){var o;return null==(o=(Ir(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ir(t){return t instanceof Node||t instanceof Ur(t).Node}function Lr(t){return t instanceof Element||t instanceof Ur(t).Element}function Wr(t){return t instanceof HTMLElement||t instanceof Ur(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ur(t).ShadowRoot)}function Kr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(Er(t))}function Zr(t){const o=Br(),e=Dr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ar(t){return["html","body","#document"].includes(Er(t))}function Dr(t){return Ur(t).getComputedStyle(t)}function Mr(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){if("html"===Er(t))return t;const o=t.assignedSlot||t.parentNode||zr(t)&&t.host||kr(t);return zr(o)?o.host:o}function Hr(t){const o=Pr(t);return Ar(o)?t.ownerDocument?t.ownerDocument.body:t.body:Wr(o)&&Kr(o)?o:Hr(o)}function jr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Hr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Ur(r);return n?o.concat(a,a.visualViewport||[],Kr(r)?r:[],a.frameElement&&e?jr(a.frameElement):[]):o.concat(r,jr(r,[],e))}function Tr(t){const o=Dr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Wr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=pr(e)!==n||pr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function _r(t){return Lr(t)?t:t.contextElement}function Gr(t){const o=_r(t);if(!Wr(o))return fr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Tr(o);let a=(n?pr(e.width):e.width)/i,s=(n?pr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Yr=fr(0);function Vr(t){const o=Ur(t);return Br()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Yr}function Jr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=_r(t);let a=fr(1);o&&(i?Lr(i)&&(a=Gr(i)):a=Gr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ur(t))&&o}(n,e,i)?Vr(n):fr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Ur(n),o=i&&Lr(i)?Ur(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Gr(e),o=e.getBoundingClientRect(),i=Dr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Ur(e).frameElement}}return Nr({width:p,height:f,x:l,y:c})}function qr(t){return Jr(kr(t)).left+Mr(t).scrollLeft}function Xr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Ur(t),i=kr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Br();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=kr(t),e=Mr(t),i=t.ownerDocument.body,r=cr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=cr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+qr(t);const s=-e.scrollTop;return"rtl"===Dr(i).direction&&(a+=cr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(kr(t));else if(Lr(o))i=function(t,o){const e=Jr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Wr(t)?Gr(t):fr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Vr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Nr(i)}function Qr(t,o){const e=Pr(t);return!(e===o||!Lr(e)||Ar(e))&&("fixed"===Dr(e).position||Qr(e,o))}function tn(t,o,e){const i=Wr(o),r=kr(o),n="fixed"===e,a=Jr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==Er(o)||Kr(r))&&(s=Mr(o)),i){const t=Jr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function on(t,o){return Wr(t)&&"fixed"!==Dr(t).position?o?o(t):t.offsetParent:null}function en(t,o){const e=Ur(t);if(!Wr(t))return e;let i=on(t,o);for(;i&&Fr(i)&&"static"===Dr(i).position;)i=on(i,o);return i&&("html"===Er(i)||"body"===Er(i)&&"static"===Dr(i).position&&!Zr(i))?e:i||function(t){let o=Pr(t);for(;Wr(o)&&!Ar(o);){if(Zr(o))return o;o=Pr(o)}return null}(t)||e}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Wr(e),n=kr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Er(e)||Kr(n))&&(a=Mr(e)),Wr(e))){const t=Jr(e);s=Gr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:kr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=jr(t,[],!1).filter((t=>Lr(t)&&"body"!==Er(t))),r=null;const n="fixed"===Dr(t).position;let a=n?Pr(t):t;for(;Lr(a)&&!Ar(a);){const o=Dr(a),e=Zr(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Kr(a)&&!e&&Qr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Pr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Xr(o,e,r);return t.top=cr(i.top,t.top),t.right=lr(i.right,t.right),t.bottom=lr(i.bottom,t.bottom),t.left=cr(i.left,t.left),t}),Xr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:tn(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Tr(t)},getScale:Gr,isElement:Lr,isRTL:function(t){return"rtl"===Dr(t).direction}},nn=(t,o,e)=>{const i=new Map,r={platform:rn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=wr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=wr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function an(t){return function(t){for(let o=t;o;o=sn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=sn(t);o;o=sn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function sn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends Ko{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
671
671
|
<div part="container"
|
|
672
672
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
673
673
|
@mouseenter=${this.onHover}
|
|
@@ -675,7 +675,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
675
675
|
@focusin=${this.onHover}
|
|
676
676
|
@focusout=${this.onOut}
|
|
677
677
|
@touchstart=${this.onTouch}>
|
|
678
|
-
<slot></slot>
|
|
678
|
+
<slot part="slot"></slot>
|
|
679
679
|
<div part="tooltip" role="tooltip" inert
|
|
680
680
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
681
681
|
?hidden=${!this.visible}>
|
|
@@ -685,14 +685,14 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
685
685
|
</div>
|
|
686
686
|
</div>
|
|
687
687
|
</div>
|
|
688
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",nn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=yr(t,o),c={x:e,y:i},p=await Cr(o,l),f=vr(gr(r)),h=mr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=ur(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=ur(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Rr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}
|
|
688
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",nn(this.slottedElement,this.tooltip,{platform:{...rn,getOffsetParent:t=>rn.getOffsetParent(t,an)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=yr(t,o),c={x:e,y:i},p=await Cr(o,l),f=vr(gr(r)),h=mr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=ur(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=ur(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Rr({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}cn.elementDefinitions={"ft-typography":Li},cn.styles=nr,ln([w()],cn.prototype,"text",void 0),ln([w({type:Boolean})],cn.prototype,"manual",void 0),ln([w({type:Boolean})],cn.prototype,"inline",void 0),ln([w({type:Number})],cn.prototype,"delay",void 0),ln([w()],cn.prototype,"position",void 0),ln([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],cn.prototype,"slotNodes",void 0),ln([E(".ft-tooltip--container")],cn.prototype,"container",void 0),ln([E(".ft-tooltip")],cn.prototype,"tooltip",void 0),ln([E(".ft-tooltip--content")],cn.prototype,"tooltipContent",void 0),ln([C()],cn.prototype,"visible",void 0),ln([$({passive:!0})],cn.prototype,"onTouch",null),ln([$({passive:!0})],cn.prototype,"onHover",null),ln([$({passive:!0})],cn.prototype,"onOut",null),I("ft-tooltip")(cn);class pn extends Ko{render(){return to`
|
|
689
689
|
<div class="ft-loader">
|
|
690
690
|
<div></div>
|
|
691
691
|
<div></div>
|
|
692
692
|
<div></div>
|
|
693
693
|
<div></div>
|
|
694
694
|
</div>
|
|
695
|
-
`}}
|
|
695
|
+
`}}pn.styles=Hi,I("ft-loader")(pn);var fn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...t){super(t),this[Go]=this.attachInternals(),this[Go].role=o}setFormValue(t){this[Go].setFormValue(t)}}}(Ko,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
|
|
696
696
|
<button part="button"
|
|
697
697
|
class="${ee(this.buttonClasses)}"
|
|
698
698
|
aria-label="${this.getLabel()}"
|
|
@@ -715,7 +715,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
715
715
|
</ft-tooltip>
|
|
716
716
|
`:t}resolveIcon(){return this.loading?to`
|
|
717
717
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?to`
|
|
718
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
718
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}hn.elementDefinitions={"ft-ripple":de,"ft-tooltip":cn,"ft-typography":Li,"ft-icon":Mi,"ft-loader":pn},fn([w({type:String,reflect:!0})],hn.prototype,"role",void 0),fn([w()],hn.prototype,"type",void 0),fn([w({type:Boolean})],hn.prototype,"disabled",void 0),fn([w()],hn.prototype,"label",void 0),fn([w()],hn.prototype,"icon",void 0),fn([w()],hn.prototype,"iconVariant",void 0),fn([w({type:Boolean})],hn.prototype,"trailingIcon",void 0),fn([w({type:Boolean})],hn.prototype,"loading",void 0),fn([w()],hn.prototype,"tooltipPosition",void 0),fn([w({type:Boolean})],hn.prototype,"hideTooltip",void 0),fn([w({type:Boolean})],hn.prototype,"forceTooltip",void 0),fn([E(".ft-button")],hn.prototype,"button",void 0),fn([E(".ft-button--label slot")],hn.prototype,"slottedContent",void 0);var dn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class un extends hn{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"}}un.styles=[Bo,Xi],dn([w({type:Boolean})],un.prototype,"primary",void 0),dn([w({type:Boolean})],un.prototype,"outlined",void 0),dn([w({type:Boolean})],un.prototype,"dense",void 0),dn([w({type:Boolean})],un.prototype,"round",void 0);const yn=[mt`
|
|
719
719
|
:host {
|
|
720
720
|
display: inline-block;
|
|
721
721
|
max-width: 100%;
|
|
@@ -933,7 +933,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
933
933
|
width: ${Co.smallIconOnlyWidth};
|
|
934
934
|
padding: unset;
|
|
935
935
|
}
|
|
936
|
-
`,Zo];var
|
|
936
|
+
`,Zo];var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends hn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?xe.caption1medium:xe.body2medium}}bn.styles=[Bo,yn],gn([w({type:Boolean})],bn.prototype,"primary",void 0),gn([w({type:Boolean})],bn.prototype,"secondary",void 0),gn([w({type:Boolean})],bn.prototype,"tertiary",void 0),gn([w({type:Boolean})],bn.prototype,"neutral",void 0),gn([w({type:Boolean})],bn.prototype,"small",void 0),I("ft-button")(un),I("ftds-button")(bn);const mn=vo.extend("--ft-chip-color","",$o.colorOnSurface),xn={backgroundColor:vo.extend("--ft-chip-background-color","",$o.colorSurface),color:mn,fontSize:vo.extend("--ft-chip-font-size","",Qe.fontSize),iconSize:vo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:vo.extend("--ft-chip-ripple-color","",mn),horizontalPadding:vo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:vo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:vo.external($o.colorOutline,"Design system"),opacityDisabled:vo.external($o.colorOpacityDisabled,"Design system")},vn=vo.extend("--ft-chip-highlighted-color","",vo.extend("--ft-chip-color","",$o.colorOnPrimary)),On={backgroundColor:vo.extend("--ft-chip-highlighted-background-color","",vo.extend("--ft-chip-background-color","",$o.colorPrimary)),color:vn,rippleColor:vo.extend("--ft-chip-highlighted-ripple-color","",vn)},Sn={horizontalPadding:vo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:vo.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Nn=[Zo,mt`
|
|
937
937
|
:host {
|
|
938
938
|
display: inline-block;
|
|
939
939
|
max-width: 100%;
|
|
@@ -949,20 +949,20 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
949
949
|
box-sizing: border-box;
|
|
950
950
|
pointer-events: auto;
|
|
951
951
|
|
|
952
|
-
--ft-chip-internal-font-size: ${
|
|
952
|
+
--ft-chip-internal-font-size: ${xn.fontSize};
|
|
953
953
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
954
|
-
${Oo(Zi.size,
|
|
955
|
-
--ft-chip-internal-vertical-padding: ${
|
|
956
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
954
|
+
${Oo(Zi.size,xn.iconSize)};
|
|
955
|
+
--ft-chip-internal-vertical-padding: ${xn.verticalPadding};
|
|
956
|
+
--ft-chip-internal-horizontal-padding: ${xn.horizontalPadding};
|
|
957
957
|
--ft-chip-internal-icon-padding: 3px;
|
|
958
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
958
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${xn.iconSize});
|
|
959
959
|
|
|
960
|
-
border: 1px solid ${
|
|
961
|
-
color: ${
|
|
962
|
-
${Oo(re.color,
|
|
960
|
+
border: 1px solid ${xn.colorOutline};
|
|
961
|
+
color: ${xn.color};
|
|
962
|
+
${Oo(re.color,xn.rippleColor)};
|
|
963
963
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
964
964
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
965
|
-
background-color: ${
|
|
965
|
+
background-color: ${xn.backgroundColor};
|
|
966
966
|
line-height: var(--ft-chip-internal-content-height);
|
|
967
967
|
}
|
|
968
968
|
|
|
@@ -972,8 +972,8 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
972
972
|
|
|
973
973
|
.ft-chip--dense {
|
|
974
974
|
--ft-chip-internal-icon-padding: 3px;
|
|
975
|
-
--ft-chip-internal-vertical-padding: ${
|
|
976
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
975
|
+
--ft-chip-internal-vertical-padding: ${Sn.verticalPadding};
|
|
976
|
+
--ft-chip-internal-horizontal-padding: ${Sn.horizontalPadding};
|
|
977
977
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
978
978
|
}
|
|
979
979
|
|
|
@@ -985,15 +985,15 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
985
985
|
cursor: default;
|
|
986
986
|
pointer-events: none;
|
|
987
987
|
filter: grayscale(1);
|
|
988
|
-
opacity: ${
|
|
988
|
+
opacity: ${xn.opacityDisabled};
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
.ft-chip--highlighted {
|
|
992
992
|
border: none;
|
|
993
993
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
994
|
-
background-color: ${
|
|
995
|
-
${Oo(re.color,
|
|
996
|
-
color: ${
|
|
994
|
+
background-color: ${On.backgroundColor};
|
|
995
|
+
${Oo(re.color,On.rippleColor)};
|
|
996
|
+
color: ${On.color};
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
.ft-chip--clickable {
|
|
@@ -1023,7 +1023,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
.ft-chip--icon-button {
|
|
1026
|
-
${Oo(Ti.iconSize,
|
|
1026
|
+
${Oo(Ti.iconSize,xn.iconSize)};
|
|
1027
1027
|
${Oo(Ti.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1028
1028
|
${Oo(Ti.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1029
1029
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -1070,7 +1070,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1070
1070
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1071
1071
|
order: -1;
|
|
1072
1072
|
}
|
|
1073
|
-
`];var
|
|
1073
|
+
`];var wn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Cn extends CustomEvent{constructor(){super("icon-click")}}class $n extends Ko{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":qo};return to`
|
|
1074
1074
|
<div class="${ee(t)}"
|
|
1075
1075
|
aria-label="${this.getLabel()}"
|
|
1076
1076
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1093,4 +1093,4 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1093
1093
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1094
1094
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1095
1095
|
</div>
|
|
1096
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1096
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Cn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Cn))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}$n.elementDefinitions={"ft-ripple":de,"ft-typography":Li,"ft-icon":Mi,"ft-button":un},$n.styles=Nn,wn([w({type:Boolean})],$n.prototype,"highlighted",void 0),wn([w({type:Boolean})],$n.prototype,"removable",void 0),wn([w({type:Boolean})],$n.prototype,"disabled",void 0),wn([w({type:Boolean})],$n.prototype,"clickable",void 0),wn([w({type:Boolean})],$n.prototype,"iconClickable",void 0),wn([w({type:Boolean})],$n.prototype,"dense",void 0),wn([w({type:Boolean})],$n.prototype,"multiLine",void 0),wn([w()],$n.prototype,"label",void 0),wn([w()],$n.prototype,"iconLabel",void 0),wn([w()],$n.prototype,"icon",void 0),wn([w()],$n.prototype,"iconVariant",void 0),wn([w({type:Boolean})],$n.prototype,"trailingIcon",void 0),wn([E("ft-typography slot")],$n.prototype,"slottedContent",void 0),I("ft-chip")($n),t.FtChip=$n,t.FtChipCssVariables=xn,t.FtChipDenseCssVariables=Sn,t.FtChipHighlightedCssVariables=On,t.IconClickEvent=Cn,t.styles=Nn}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-chip",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "A generic Fluid Topics chip",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
23
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
24
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.10",
|
|
23
|
+
"@fluid-topics/ft-ripple": "1.1.10",
|
|
24
|
+
"@fluid-topics/ft-typography": "1.1.10",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "1.1.10",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "dd861ad18248198f16fe78602cb5d72049c15ec2"
|
|
29
29
|
}
|