@fluid-topics/ft-reader-topic-metadata 1.0.63 → 1.1.1
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.
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
!function(t,o,e,i,
|
|
1
|
+
!function(t,o,e,r,i,a){const n=e.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
5
|
-
`;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(l||(l={}));var c=function(t,o,e,
|
|
5
|
+
`;var l;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(l||(l={}));var c=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const s=Symbol("registerInterval");class f extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[s]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[s]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=s,c([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var d=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class h extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const g=Symbol("registerInterval");class y extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[g]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[g]):this.dispatchEvent(new h)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=g,d([r.state()],e.prototype,"tocNode",void 0),d([r.state()],e.prototype,"disableContextInteractions",void 0),e}(f)){}
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright 2017 Google LLC
|
|
9
9
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10
|
-
*/
|
|
10
|
+
*/const b=globalThis,u=b.trustedTypes,m=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",O=`lit$${(Math.random()+"").slice(9)}$`,v="?"+O,N=`<${v}>`,S=document,$=()=>S.createComment(""),C=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,I="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,U=/>/g,W=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),E=/'/g,L=/"/g,z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Z=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),B=new WeakMap,D=S.createTreeWalker(S,129);function A(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==m?m.createHTML(o):o}const H=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=k;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===k?"!--"===c[1]?n=R:void 0!==c[1]?n=U:void 0!==c[2]?(z.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=W):void 0!==c[3]&&(n=W):n===W?">"===c[0]?(n=i??k,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?W:'"'===c[3]?L:E):n===L||n===E?n=W:n===R||n===U?n=k:(n=W,i=void 0);const f=n===W&&t[o+1].startsWith("/>")?" ":"";a+=n===k?e+N:p>=0?(r.push(l),e.slice(0,p)+x+e.slice(p)+O+f):e+O+(-2===p?o:f)}return[A(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class G{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=H(t,o);if(this.el=G.createElement(c,e),D.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=D.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(x)){const o=p[a++],e=r.getAttribute(t).split(O),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?_:"?"===n[1]?Y:"@"===n[1]?V:M}),r.removeAttribute(t)}else t.startsWith(O)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(z.test(r.tagName)){const t=r.textContent.split(O),o=t.length-1;if(o>0){r.textContent=u?u.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$()),D.nextNode(),l.push({type:2,index:++i});r.append(t[o],$())}}}else if(8===r.nodeType)if(r.data===v)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(O,t+1));)l.push({type:7,index:i}),t+=O.length-1}i++}}static createElement(t,o){const e=S.createElement("template");return e.innerHTML=t,e}}function j(t,o,e=t,r){if(o===Z)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=C(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(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??S).importNode(o,!0);D.currentNode=r;let i=D.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new P(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[++n]}a!==l?.index&&(i=D.nextNode(),a++)}return D.currentNode=S,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 P{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=F,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),C(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(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!==F&&C(this._$AH)?this._$AA.nextSibling.data=t:this.$(S.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=G.createElement(A(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=B.get(t.strings);return void 0===o&&B.set(t.strings,o=new G(t)),o}T(t){w(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 P(this.k($()),this.k($()),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 M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=F,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=F}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=j(this,t,o,0),a=!C(t)||t!==this._$AH&&t!==Z,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=j(this,r[e+n],o,n),l===Z&&(l=this._$AH[n]),a||=!C(l)||l!==this._$AH[n],l===F?t=F:t!==F&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class _ extends M{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===F?void 0:t}}class Y extends M{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}}class V extends M{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)??F)===Z)return;const e=this._$AH,r=t===F&&e!==F||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==F&&(e===F||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 X=b.litHtmlPolyfillSupport;X?.(G,P),(b.litHtmlVersions??=[]).push("3.1.0");
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2020 Google LLC
|
|
14
14
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
15
|
*/
|
|
16
|
-
const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:t._$litStatic$},ot=t=>({_$litStatic$:t,r:Q}),et=new Map,it=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let c,p=0,s=!1;for(;p<i;){for(c=o[p];p<i&&void 0!==(a=e[p],r=tt(a));)c+=r+o[++p],s=!0;p!==i&&l.push(a),n.push(c),p++}if(p===i&&n.push(o[i]),s){const t=n.join("$$lit$$");void 0===(o=et.get(t))&&(n.raw=n,et.set(t,o=n)),e=l}return t(o,...e)})(Z);var rt;!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"}(rt||(rt={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class nt{static create(t,o,i,r){const a=t=>at(null!=t?t:r),n=e.css`var(${at(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${at(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${at(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${at(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${at(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const lt={colorWhite:nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:nt.create("--ft-opacity-80","","NUMBER","0.8")},ct={display:{fontFamily:nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",lt.colorBrand0),backgroundErrorPrimary:nt.extend("--ft-background-error-primary","Used as background of error components.",lt.colorRed0),backgroundErrorSubtle:nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",lt.colorRed10),backgroundInfoPrimary:nt.extend("--ft-background-info-primary","Used as background of information components.",lt.colorCyan200),backgroundInfoSubtle:nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",lt.colorCyan10),backgroundWarningPrimary:nt.extend("--ft-background-warning-primary","Used as background of warning components.",lt.colorOrange300),backgroundWarningSubtle:nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",lt.colorOrange10),backgroundSuccessPrimary:nt.extend("--ft-background-success-primary","Used as background of success components.",lt.colorGreen200),backgroundSuccessSubtle:nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",lt.colorGreen10),backgroundGlobalSurface:nt.extend("--ft-background-global-surface","Used as app background.",lt.colorWhite),backgroundGlobalOnSurface:nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",lt.colorGray10),backgroundGlobalOnSurfaceDark:nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",lt.colorGray30),contentActionPrimary:nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",lt.colorBrand0),contentWarningPrimary:nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",lt.colorOrange300),contentWarningIconOnly:nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",lt.colorOrange0),contentErrorPrimary:nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",lt.colorRed0),contentErrorIconOnly:nt.extend("--ft-content-error-icon-only","Used on error status icons alone",lt.colorRed0),contentInfoPrimary:nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",lt.colorCyan200),contentInfoIconOnly:nt.extend("--ft-content-info-icon-only","Used on info status icons alone",lt.colorCyan0),contentSuccessIconOnly:nt.extend("--ft-content-success-icon-only","Used on success status icons alone",lt.colorGreen0),contentSuccessPrimary:nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",lt.colorGreen200),contentGlobalPrimary:nt.extend("--ft-content-global-primary","Used for main content on the page.",lt.colorGray500),contentGlobalSecondary:nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",lt.colorGray200),contentGlobalSubtle:nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",lt.colorGray0),contentGlobalOnColor:nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",lt.colorWhite),borderActionPrimary:nt.extend("--ft-border-action-primary","Used as border for primary action components.",lt.colorBrand0),borderActionFocusRing:nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",lt.colorCyan0),borderWarningPrimary:nt.extend("--ft-border-warning-primary","Used as border for warning components.",lt.colorOrange30),borderSuccessPrimary:nt.extend("--ft-border-success-primary","Used as border for success components.",lt.colorGreen30),borderErrorPrimary:nt.extend("--ft-border-error-primary","Used as border for error components.",lt.colorRed30),borderInfoPrimary:nt.extend("--ft-border-info-primary","Used as border for information components.",lt.colorCyan30),borderGlobalSubtle:nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",lt.colorGray30),borderGlobalPrimary:nt.extend("--ft-border-global-primary","Used as border for element like input.",lt.colorGray50),borderInputPrimary:nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",lt.colorGray80)},st={largeHeight:nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:nt.extend("--ft-button-large-horizontal-padding","",lt.spacing4),largeGap:nt.extend("--ft-button-large-gap","",lt.spacing2),largeBorderRadius:nt.extend("--ft-button-large-border-radius","",lt.borderRadiusS),largeIconSize:nt.extend("--ft-button-large-icon-size","",lt.iconSize3),largeBorderWidth:nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:nt.extend("--ft-button-small-horizontal-padding","",lt.spacing3),smallGap:nt.extend("--ft-button-small-gap","",lt.spacing2),smallBorderRadius:nt.extend("--ft-button-small-border-radius","",lt.borderRadiusS),smallIconSize:nt.extend("--ft-button-small-icon-size","",lt.iconSize2),smallBorderWidth:nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:nt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:nt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:nt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:nt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:nt.extend("--ft-button-primary-state-layer-opacity-hover","",lt.opacity16),primaryStateLayerOpacityFocus:nt.extend("--ft-button-primary-state-layer-opacity-focus","",lt.opacity16),primaryStateLayerOpacityActive:nt.extend("--ft-button-primary-state-layer-opacity-active","",lt.opacity24),primaryComponentOpacityDisabled:nt.extend("--ft-button-primary-component-opacity-disabled","",lt.opacity40),focusFocusRingColor:nt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:nt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:nt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:nt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",lt.opacity8),tertiaryStateLayerOpacityFocus:nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",lt.opacity8),tertiaryStateLayerOpacityActive:nt.extend("--ft-button-tertiary-state-layer-opacity-active","",lt.opacity16),tertiaryComponentOpacityDisabled:nt.extend("--ft-button-tertiary-component-opacity-disabled","",lt.opacity40),secondaryBackgroundColor:nt.extend("--ft-button-secondary-background-color","",lt.colorWhite),secondaryColor:nt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:nt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:nt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:nt.extend("--ft-button-secondary-state-layer-opacity-hover","",lt.opacity8),secondaryStateLayerOpacityFocus:nt.extend("--ft-button-secondary-state-layer-opacity-focus","",lt.opacity8),secondaryStateLayerOpacityActive:nt.extend("--ft-button-secondary-state-layer-opacity-active","",lt.opacity16),secondaryComponentOpacityDisabled:nt.extend("--ft-button-secondary-component-opacity-disabled","",lt.opacity40),secondaryBorderColor:nt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:nt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:nt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:nt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:nt.extend("--ft-button-neutral-state-layer-opacity-hover","",lt.opacity8),neutralStateLayerOpacityFocus:nt.extend("--ft-button-neutral-state-layer-opacity-focus","",lt.opacity8),neutralStateLayerOpacityActive:nt.extend("--ft-button-neutral-state-layer-opacity-active","",lt.opacity16),neutralComponentOpacityDisabled:nt.extend("--ft-button-neutral-component-opacity-disabled","",lt.opacity40)};nt.extend("--ft-tabs-top-left-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-top-right-border-radius","",lt.borderRadiusS),nt.extend("--ft-tabs-label-horizontal-padding","",lt.spacing4),nt.extend("--ft-tabs-label-vertical-padding","",lt.spacing3),nt.extend("--ft-tabs-label-gap","",lt.spacing1),nt.extend("--ft-switch-group-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-group-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-group-gap","",lt.spacing1),nt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),nt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),nt.create("--ft-switch-group-border-radius","","SIZE","6px"),nt.extend("--ft-switch-label-horizontal-padding","",lt.spacing2),nt.extend("--ft-switch-label-vertical-padding","",lt.spacing1),nt.extend("--ft-switch-icon-horizontal-padding","",lt.spacing1),nt.extend("--ft-switch-icon-vertical-padding","",lt.spacing1),nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),nt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-switch-option-border-radius","",lt.borderRadiusS),nt.extend("--ft-switch-off-state-layer-opacity-hover","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-focus","",lt.opacity8),nt.extend("--ft-switch-off-state-layer-opacity-active","",lt.opacity16),nt.extend("--ft-switch-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),nt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-chart-1-light","for area color charts",lt.colorBrand40),nt.extend("--ft-chart-1-base","for line charts",lt.colorBrand0),nt.extend("--ft-chart-2-light","for area color charts",lt.colorYellow60),nt.extend("--ft-chart-2-base","for line charts",lt.colorYellow100),nt.extend("--ft-chart-3-light","",lt.colorUltramarine40),nt.extend("--ft-chart-3-base","",lt.colorUltramarine70),nt.extend("--ft-chart-4-light","",lt.colorCyan50),nt.extend("--ft-chart-4-base","",lt.colorCyan100),nt.extend("--ft-chart-5-light","",lt.colorRed40),nt.extend("--ft-chart-5-base","",lt.colorRed60),nt.extend("--ft-chart-6-light","",lt.colorGreen40),nt.extend("--ft-chart-6-base","",lt.colorGreen70),nt.extend("--ft-chart-7-light","",lt.colorOrange70),nt.extend("--ft-chart-7-base","",lt.colorOrange100),nt.extend("--ft-chart-8-light","",lt.colorAvocado70),nt.extend("--ft-chart-8-base","",lt.colorAvocado200),nt.extend("--ft-chart-9-light","",lt.colorBrown50),nt.extend("--ft-chart-9-base","",lt.colorBrown200),nt.extend("--ft-chart-10-light","",lt.colorGray50),nt.extend("--ft-chart-10-base","",lt.colorGray80),nt.extend("--ft-chart-monochrome-10","",lt.colorBrand10),nt.extend("--ft-chart-monochrome-20","",lt.colorBrand20),nt.extend("--ft-chart-monochrome-30","",lt.colorBrand40),nt.extend("--ft-chart-monochrome-40","",lt.colorBrand60),nt.extend("--ft-chart-monochrome-50","",lt.colorBrand0),nt.extend("--ft-chart-monochrome-60","",lt.colorBrand200),nt.extend("--ft-chip-large-horizontal-padding","",lt.spacing4),nt.extend("--ft-chip-large-vertical-padding","",lt.spacing2),nt.extend("--ft-chip-large-gap","",lt.spacing1),nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-large-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-large-border-width","","SIZE","1px"),nt.extend("--ft-chip-large-icon-size","",lt.iconSize3),nt.extend("--ft-chip-medium-horizontal-padding","",lt.spacing3),nt.extend("--ft-chip-medium-vertical-padding","",lt.spacing1),nt.extend("--ft-chip-medium-gap","",lt.spacing1),nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-medium-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-medium-border-width","","SIZE","1px"),nt.extend("--ft-chip-medium-icon-size","",lt.iconSize2),nt.extend("--ft-chip-small-horizontal-padding","",lt.spacing2),nt.extend("--ft-chip-small-vertical-padding","",lt.spacing05),nt.extend("--ft-chip-small-gap","",lt.spacing1),nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),nt.extend("--ft-chip-small-border-radius","",lt.borderRadiusPill),nt.create("--ft-chip-small-border-width","","SIZE","1px"),nt.extend("--ft-chip-small-icon-size","",lt.iconSize1),nt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),nt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),nt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),nt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),nt.extend("--ft-chip-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-chip-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-chip-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),nt.extend("--ft-chip-error-border-color","",pt.borderErrorPrimary),nt.create("--ft-notice-border-width","","SIZE","1px"),nt.extend("--ft-notice-horizontal-padding","",lt.spacing2),nt.extend("--ft-notice-vertical-padding","",lt.spacing1),nt.extend("--ft-notice-border-radius","",lt.borderRadiusS),nt.extend("--ft-notice-gap","",lt.spacing2),nt.extend("--ft-notice-icon-size","",lt.iconSize3),nt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notice-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notice-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-checked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-unchecked-border-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-color","",lt.colorGray80),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),nt.extend("--ft-checkbox-gap","",lt.spacing3),nt.extend("--ft-toggle-off-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-off-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-off-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),nt.extend("--ft-toggle-on-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-toggle-on-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-toggle-on-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),nt.extend("--ft-toggle-gap","",lt.spacing3),nt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),nt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),nt.extend("--ft-radio-selected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-selected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-selected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-unselected-state-layer-color","",lt.colorGray80),nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",lt.opacity16),nt.extend("--ft-radio-unselected-state-layer-opacity-active","",lt.opacity24),nt.extend("--ft-radio-unselected-component-opacity-disabled","",lt.opacity40),nt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),nt.extend("--ft-radio-gap","",lt.spacing3),nt.extend("--ft-notification-icon-size","",lt.iconSize4),nt.extend("--ft-notification-horizontal-padding","",lt.spacing4),nt.extend("--ft-notification-vertical-padding","",lt.spacing4),nt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),nt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),nt.extend("--ft-notification-info-border-color","",pt.borderInfoPrimary),nt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),nt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),nt.extend("--ft-notification-success-border-color","",pt.borderSuccessPrimary),nt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),nt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),nt.extend("--ft-notification-warning-border-color","",pt.borderWarningPrimary),nt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),nt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),nt.extend("--ft-notification-error-border-color","",pt.borderErrorPrimary),nt.extend("--ft-notification-border-radius","",lt.borderRadiusPill),nt.create("--ft-notification-border-width","","SIZE","1px"),nt.extend("--ft-notification-gap-leading","",lt.spacing2),nt.extend("--ft-notification-gap-trailing","",lt.spacing8);const ft=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","",ft),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ht.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ht.fontWeight,"normal"),ut=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","",ft),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"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ht.fontWeight,"600"),Rt=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"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ht.letterSpacing,"0.098px"),Zt=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"),jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ht.textTransform,"inherit"),Tt={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")},Pt=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"),qt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ht.textTransform,"inherit"),Xt=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"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ht.fontSize,"10px"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ht.fontWeight,"normal"),no=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")},so=e.css`
|
|
16
|
+
const J=Symbol.for(""),Q=t=>{if(t?.r===J)return t?._$litStatic$},tt=t=>({_$litStatic$:t,r:J}),ot=new Map,et=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=Q(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=ot.get(t))&&(n.raw=n,ot.set(t,o=n)),e=l}return t(o,...e)})(K);var rt;!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"}(rt||(rt={}));const it=t=>"string"==typeof t?e.unsafeCSS(t):t;class at{static create(t,o,r,i){const a=t=>it(null!=t?t:i),n=e.css`var(${it(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${it(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${it(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${it(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):it(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${it(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(${it(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const nt={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")},lt={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")}},ct={backgroundActionPrimary:at.extend("--ft-background-action-primary","Used as backgorund of primary action components.",nt.colorBrand0),backgroundErrorPrimary:at.extend("--ft-background-error-primary","Used as background of error components.",nt.colorRed0),backgroundErrorSubtle:at.extend("--ft-background-error-subtle","Used as background of subtle error components.",nt.colorRed10),backgroundInfoPrimary:at.extend("--ft-background-info-primary","Used as background of information components.",nt.colorCyan200),backgroundInfoSubtle:at.extend("--ft-background-info-subtle","Used as background of subtle information components.",nt.colorCyan10),backgroundWarningPrimary:at.extend("--ft-background-warning-primary","Used as background of warning components.",nt.colorOrange300),backgroundWarningSubtle:at.extend("--ft-background-warning-subtle","Used as background of subtle information components.",nt.colorOrange10),backgroundSuccessPrimary:at.extend("--ft-background-success-primary","Used as background of success components.",nt.colorGreen200),backgroundSuccessSubtle:at.extend("--ft-background-success-subtle","Used as background of subtle success components.",nt.colorGreen10),backgroundGlobalSurface:at.extend("--ft-background-global-surface","Used as app background.",nt.colorWhite),backgroundGlobalOnSurface:at.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",nt.colorGray10),backgroundGlobalOnSurfaceDark:at.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",nt.colorGray30),contentActionPrimary:at.extend("--ft-content-action-primary","Used on label of primary action on light surface.",nt.colorBrand0),contentWarningPrimary:at.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",nt.colorOrange300),contentWarningIconOnly:at.extend("--ft-content-warning-icon-only","Used on warning status icons alone",nt.colorOrange0),contentErrorPrimary:at.extend("--ft-content-error-primary","Used on label of error messages on light surface.",nt.colorRed0),contentErrorIconOnly:at.extend("--ft-content-error-icon-only","Used on error status icons alone",nt.colorRed0),contentInfoPrimary:at.extend("--ft-content-info-primary","Used on label of information messages on light surface.",nt.colorCyan200),contentInfoIconOnly:at.extend("--ft-content-info-icon-only","Used on info status icons alone",nt.colorCyan0),contentSuccessIconOnly:at.extend("--ft-content-success-icon-only","Used on success status icons alone",nt.colorGreen0),contentSuccessPrimary:at.extend("--ft-content-success-primary","Used on label of success messages on light surface.",nt.colorGreen200),contentGlobalPrimary:at.extend("--ft-content-global-primary","Used for main content on the page.",nt.colorGray500),contentGlobalSecondary:at.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",nt.colorGray200),contentGlobalSubtle:at.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",nt.colorGray0),contentGlobalOnColor:at.extend("--ft-content-global-on-color","Used for content on a dominant color.",nt.colorWhite),borderActionPrimary:at.extend("--ft-border-action-primary","Used as border for primary action components.",nt.colorBrand0),borderActionFocusRing:at.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",nt.colorCyan0),borderWarningPrimary:at.extend("--ft-border-warning-primary","Used as border for warning components.",nt.colorOrange30),borderSuccessPrimary:at.extend("--ft-border-success-primary","Used as border for success components.",nt.colorGreen30),borderErrorPrimary:at.extend("--ft-border-error-primary","Used as border for error components.",nt.colorRed30),borderInfoPrimary:at.extend("--ft-border-info-primary","Used as border for information components.",nt.colorCyan30),borderGlobalSubtle:at.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",nt.colorGray30),borderGlobalPrimary:at.extend("--ft-border-global-primary","Used as border for element like input.",nt.colorGray50),borderInputPrimary:at.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",nt.colorGray80)},pt={largeHeight:at.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:at.extend("--ft-button-large-horizontal-padding","",nt.spacing4),largeGap:at.extend("--ft-button-large-gap","",nt.spacing2),largeBorderRadius:at.extend("--ft-button-large-border-radius","",nt.borderRadiusS),largeIconSize:at.extend("--ft-button-large-icon-size","",nt.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","",nt.spacing3),smallGap:at.extend("--ft-button-small-gap","",nt.spacing2),smallBorderRadius:at.extend("--ft-button-small-border-radius","",nt.borderRadiusS),smallIconSize:at.extend("--ft-button-small-icon-size","",nt.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","",ct.backgroundActionPrimary),primaryColor:at.extend("--ft-button-primary-color","",ct.contentGlobalOnColor),primaryIconColor:at.extend("--ft-button-primary-icon-color","",ct.contentGlobalOnColor),primaryStateLayerColor:at.extend("--ft-button-primary-state-layer-color","",ct.contentGlobalOnColor),primaryStateLayerOpacityHover:at.extend("--ft-button-primary-state-layer-opacity-hover","",nt.opacity16),primaryStateLayerOpacityFocus:at.extend("--ft-button-primary-state-layer-opacity-focus","",nt.opacity16),primaryStateLayerOpacityActive:at.extend("--ft-button-primary-state-layer-opacity-active","",nt.opacity24),primaryComponentOpacityDisabled:at.extend("--ft-button-primary-component-opacity-disabled","",nt.opacity40),focusFocusRingColor:at.extend("--ft-button-focus-focus-ring-color","",ct.borderActionFocusRing),tertiaryBackgroundColor:at.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:at.extend("--ft-button-tertiary-color","",ct.contentActionPrimary),tertiaryIconColor:at.extend("--ft-button-tertiary-icon-color","",ct.contentActionPrimary),tertiaryStateLayerColor:at.extend("--ft-button-tertiary-state-layer-color","",ct.contentActionPrimary),tertiaryStateLayerOpacityHover:at.extend("--ft-button-tertiary-state-layer-opacity-hover","",nt.opacity8),tertiaryStateLayerOpacityFocus:at.extend("--ft-button-tertiary-state-layer-opacity-focus","",nt.opacity8),tertiaryStateLayerOpacityActive:at.extend("--ft-button-tertiary-state-layer-opacity-active","",nt.opacity16),tertiaryComponentOpacityDisabled:at.extend("--ft-button-tertiary-component-opacity-disabled","",nt.opacity40),secondaryBackgroundColor:at.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:at.extend("--ft-button-secondary-color","",ct.contentActionPrimary),secondaryIconColor:at.extend("--ft-button-secondary-icon-color","",ct.contentActionPrimary),secondaryStateLayerColor:at.extend("--ft-button-secondary-state-layer-color","",ct.contentActionPrimary),secondaryStateLayerOpacityHover:at.extend("--ft-button-secondary-state-layer-opacity-hover","",nt.opacity8),secondaryStateLayerOpacityFocus:at.extend("--ft-button-secondary-state-layer-opacity-focus","",nt.opacity8),secondaryStateLayerOpacityActive:at.extend("--ft-button-secondary-state-layer-opacity-active","",nt.opacity16),secondaryComponentOpacityDisabled:at.extend("--ft-button-secondary-component-opacity-disabled","",nt.opacity40),secondaryBorderColor:at.extend("--ft-button-secondary-border-color","",ct.borderActionPrimary),neutralBackgroundColor:at.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:at.extend("--ft-button-neutral-icon-color","",ct.contentGlobalSecondary),neutralColor:at.extend("--ft-button-neutral-color","",ct.contentGlobalSecondary),neutralStateLayerColor:at.extend("--ft-button-neutral-state-layer-color","",ct.contentGlobalSecondary),neutralStateLayerOpacityHover:at.extend("--ft-button-neutral-state-layer-opacity-hover","",nt.opacity8),neutralStateLayerOpacityFocus:at.extend("--ft-button-neutral-state-layer-opacity-focus","",nt.opacity8),neutralStateLayerOpacityActive:at.extend("--ft-button-neutral-state-layer-opacity-active","",nt.opacity16),neutralComponentOpacityDisabled:at.extend("--ft-button-neutral-component-opacity-disabled","",nt.opacity40)};at.extend("--ft-tabs-top-left-border-radius","",nt.borderRadiusS),at.extend("--ft-tabs-top-right-border-radius","",nt.borderRadiusS),at.extend("--ft-tabs-label-horizontal-padding","",nt.spacing4),at.extend("--ft-tabs-label-vertical-padding","",nt.spacing3),at.extend("--ft-tabs-label-gap","",nt.spacing1),at.extend("--ft-switch-group-horizontal-padding","",nt.spacing1),at.extend("--ft-switch-group-vertical-padding","",nt.spacing1),at.extend("--ft-switch-group-gap","",nt.spacing1),at.extend("--ft-switch-group-background-color","",ct.backgroundGlobalSurface),at.extend("--ft-switch-group-border-color","",ct.borderGlobalSubtle),at.create("--ft-switch-group-border-radius","","SIZE","6px"),at.extend("--ft-switch-label-horizontal-padding","",nt.spacing2),at.extend("--ft-switch-label-vertical-padding","",nt.spacing1),at.extend("--ft-switch-icon-horizontal-padding","",nt.spacing1),at.extend("--ft-switch-icon-vertical-padding","",nt.spacing1),at.create("--ft-switch-focus-outline-width","","SIZE","2px"),at.extend("--ft-switch-focus-focus-ring-color","",ct.borderActionFocusRing),at.extend("--ft-switch-option-border-radius","",nt.borderRadiusS),at.extend("--ft-switch-off-state-layer-opacity-hover","",nt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-focus","",nt.opacity8),at.extend("--ft-switch-off-state-layer-opacity-active","",nt.opacity16),at.extend("--ft-switch-off-component-opacity-disabled","",nt.opacity40),at.extend("--ft-switch-off-color","",ct.contentGlobalSubtle),at.extend("--ft-switch-off-state-layer-color","",ct.contentGlobalSubtle),at.extend("--ft-chart-1-light","for area color charts",nt.colorBrand40),at.extend("--ft-chart-1-base","for line charts",nt.colorBrand0),at.extend("--ft-chart-2-light","for area color charts",nt.colorYellow60),at.extend("--ft-chart-2-base","for line charts",nt.colorYellow100),at.extend("--ft-chart-3-light","",nt.colorUltramarine40),at.extend("--ft-chart-3-base","",nt.colorUltramarine70),at.extend("--ft-chart-4-light","",nt.colorCyan50),at.extend("--ft-chart-4-base","",nt.colorCyan100),at.extend("--ft-chart-5-light","",nt.colorRed40),at.extend("--ft-chart-5-base","",nt.colorRed60),at.extend("--ft-chart-6-light","",nt.colorGreen40),at.extend("--ft-chart-6-base","",nt.colorGreen70),at.extend("--ft-chart-7-light","",nt.colorOrange70),at.extend("--ft-chart-7-base","",nt.colorOrange100),at.extend("--ft-chart-8-light","",nt.colorAvocado70),at.extend("--ft-chart-8-base","",nt.colorAvocado200),at.extend("--ft-chart-9-light","",nt.colorBrown50),at.extend("--ft-chart-9-base","",nt.colorBrown200),at.extend("--ft-chart-10-light","",nt.colorGray50),at.extend("--ft-chart-10-base","",nt.colorGray80),at.extend("--ft-chart-monochrome-10","",nt.colorBrand10),at.extend("--ft-chart-monochrome-20","",nt.colorBrand20),at.extend("--ft-chart-monochrome-30","",nt.colorBrand40),at.extend("--ft-chart-monochrome-40","",nt.colorBrand60),at.extend("--ft-chart-monochrome-50","",nt.colorBrand0),at.extend("--ft-chart-monochrome-60","",nt.colorBrand200),at.extend("--ft-chip-large-horizontal-padding","",nt.spacing4),at.extend("--ft-chip-large-vertical-padding","",nt.spacing2),at.extend("--ft-chip-large-gap","",nt.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","",nt.borderRadiusPill),at.create("--ft-chip-large-border-width","","SIZE","1px"),at.extend("--ft-chip-large-icon-size","",nt.iconSize3),at.extend("--ft-chip-medium-horizontal-padding","",nt.spacing3),at.extend("--ft-chip-medium-vertical-padding","",nt.spacing1),at.extend("--ft-chip-medium-gap","",nt.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","",nt.borderRadiusPill),at.create("--ft-chip-medium-border-width","","SIZE","1px"),at.extend("--ft-chip-medium-icon-size","",nt.iconSize2),at.extend("--ft-chip-small-horizontal-padding","",nt.spacing2),at.extend("--ft-chip-small-vertical-padding","",nt.spacing05),at.extend("--ft-chip-small-gap","",nt.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","",nt.borderRadiusPill),at.create("--ft-chip-small-border-width","","SIZE","1px"),at.extend("--ft-chip-small-icon-size","",nt.iconSize1),at.extend("--ft-chip-neutral-background-color","",ct.backgroundGlobalOnSurface),at.extend("--ft-chip-neutral-color","",ct.contentGlobalPrimary),at.extend("--ft-chip-neutral-border-color","",ct.borderGlobalSubtle),at.extend("--ft-chip-info-background-color","",ct.backgroundInfoSubtle),at.extend("--ft-chip-info-color","",ct.contentInfoPrimary),at.extend("--ft-chip-info-border-color","",ct.borderInfoPrimary),at.extend("--ft-chip-success-background-color","",ct.backgroundSuccessSubtle),at.extend("--ft-chip-success-color","",ct.contentSuccessPrimary),at.extend("--ft-chip-success-border-color","",ct.borderSuccessPrimary),at.extend("--ft-chip-warning-background-color","",ct.backgroundWarningSubtle),at.extend("--ft-chip-warning-color","",ct.contentWarningPrimary),at.extend("--ft-chip-warning-border-color","",ct.borderWarningPrimary),at.extend("--ft-chip-error-background-color","",ct.backgroundErrorSubtle),at.extend("--ft-chip-error-color","",ct.contentErrorPrimary),at.extend("--ft-chip-error-border-color","",ct.borderErrorPrimary),at.create("--ft-notice-border-width","","SIZE","1px"),at.extend("--ft-notice-horizontal-padding","",nt.spacing2),at.extend("--ft-notice-vertical-padding","",nt.spacing1),at.extend("--ft-notice-border-radius","",nt.borderRadiusS),at.extend("--ft-notice-gap","",nt.spacing2),at.extend("--ft-notice-icon-size","",nt.iconSize3),at.extend("--ft-notice-info-background-color","",ct.backgroundInfoSubtle),at.extend("--ft-notice-info-border-color","",ct.borderInfoPrimary),at.extend("--ft-notice-info-color","",ct.contentInfoPrimary),at.extend("--ft-notice-warning-background-color","",ct.backgroundWarningSubtle),at.extend("--ft-notice-warning-border-color","",ct.borderWarningPrimary),at.extend("--ft-notice-warning-color","",ct.contentWarningPrimary),at.extend("--ft-checkbox-label-color","",ct.contentGlobalPrimary),at.extend("--ft-checkbox-checked-background-color","",ct.contentActionPrimary),at.extend("--ft-checkbox-checked-state-layer-color","",ct.contentActionPrimary),at.extend("--ft-checkbox-checked-color","",ct.contentGlobalOnColor),at.extend("--ft-checkbox-checked-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-checkbox-checked-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-checkbox-checked-component-opacity-disabled","",nt.opacity40),at.extend("--ft-checkbox-unchecked-border-color","",nt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-color","",nt.colorGray80),at.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-checkbox-unchecked-component-opacity-disabled","",nt.opacity40),at.extend("--ft-checkbox-focus-focus-ring-color","",ct.borderActionFocusRing),at.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),at.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),at.extend("--ft-checkbox-gap","",nt.spacing3),at.extend("--ft-toggle-off-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-toggle-off-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-toggle-off-component-opacity-disabled","",nt.opacity40),at.extend("--ft-toggle-off-background-color","",ct.contentGlobalSubtle),at.extend("--ft-toggle-off-icon-color","",ct.contentGlobalSubtle),at.extend("--ft-toggle-off-state-layer-color","",ct.contentGlobalSubtle),at.extend("--ft-toggle-on-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-toggle-on-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-toggle-on-component-opacity-disabled","",nt.opacity40),at.extend("--ft-toggle-on-background-color","",ct.contentActionPrimary),at.extend("--ft-toggle-on-icon-color","",ct.contentActionPrimary),at.extend("--ft-toggle-on-state-layer-color","",ct.contentActionPrimary),at.extend("--ft-toggle-label-color","",ct.contentGlobalPrimary),at.extend("--ft-toggle-focus-focus-ring-color","",ct.borderActionFocusRing),at.extend("--ft-toggle-gap","",nt.spacing3),at.extend("--ft-radio-label-color","",ct.contentGlobalPrimary),at.extend("--ft-radio-selected-color","",ct.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-color","",ct.contentActionPrimary),at.extend("--ft-radio-selected-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-radio-selected-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-radio-selected-component-opacity-disabled","",nt.opacity40),at.extend("--ft-radio-unselected-state-layer-color","",nt.colorGray80),at.extend("--ft-radio-unselected-state-layer-opacity-hover","",nt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-focus","",nt.opacity16),at.extend("--ft-radio-unselected-state-layer-opacity-active","",nt.opacity24),at.extend("--ft-radio-unselected-component-opacity-disabled","",nt.opacity40),at.extend("--ft-radio-focus-focus-ring-color","",ct.borderActionFocusRing),at.create("--ft-radio-focus-outline-offset","","SIZE","3px"),at.create("--ft-radio-focus-outline-width","","SIZE","2px"),at.extend("--ft-radio-gap","",nt.spacing3),at.extend("--ft-notification-icon-size","",nt.iconSize4),at.extend("--ft-notification-horizontal-padding","",nt.spacing4),at.extend("--ft-notification-vertical-padding","",nt.spacing4),at.extend("--ft-notification-info-background-color","",ct.backgroundInfoSubtle),at.extend("--ft-notification-info-color","",ct.contentInfoPrimary),at.extend("--ft-notification-info-border-color","",ct.borderInfoPrimary),at.extend("--ft-notification-success-background-color","",ct.backgroundSuccessSubtle),at.extend("--ft-notification-success-color","",ct.contentSuccessPrimary),at.extend("--ft-notification-success-border-color","",ct.borderSuccessPrimary),at.extend("--ft-notification-warning-background-color","",ct.backgroundWarningSubtle),at.extend("--ft-notification-warning-color","",ct.contentWarningPrimary),at.extend("--ft-notification-warning-border-color","",ct.borderWarningPrimary),at.extend("--ft-notification-error-background-color","",ct.backgroundErrorSubtle),at.extend("--ft-notification-error-color","",ct.contentErrorPrimary),at.extend("--ft-notification-error-border-color","",ct.borderErrorPrimary),at.extend("--ft-notification-border-radius","",nt.borderRadiusPill),at.create("--ft-notification-border-width","","SIZE","1px"),at.extend("--ft-notification-gap-leading","",nt.spacing2),at.extend("--ft-notification-gap-trailing","",nt.spacing8);const st=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ft=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),dt={fontFamily:ft,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")},ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",st),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",dt.fontSize,"20px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",dt.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",dt.letterSpacing,"0.15px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",dt.lineHeight,"1.2"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",dt.textTransform,"inherit"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",st),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",dt.fontSize,"14px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",dt.fontWeight,"normal"),Nt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",dt.letterSpacing,"0.105px"),St=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",dt.lineHeight,"1.7"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",dt.textTransform,"inherit"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",dt.fontSize,"16px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",dt.fontWeight,"600"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",dt.letterSpacing,"0.144px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",dt.lineHeight,"1.5"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",dt.textTransform,"inherit"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",dt.fontSize,"14px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",dt.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",dt.letterSpacing,"0.098px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",dt.lineHeight,"1.7"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",dt.textTransform,"inherit"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",dt.fontSize,"16px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",dt.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",dt.letterSpacing,"0.496px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",dt.lineHeight,"1.5"),Gt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",dt.textTransform,"inherit"),jt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",dt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",dt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",dt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",dt.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",dt.fontSize,"12px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",dt.fontWeight,"normal"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",dt.letterSpacing,"0.396px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",dt.lineHeight,"1.33"),Vt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",dt.textTransform,"inherit"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",dt.fontSize,"10px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",dt.fontWeight,"normal"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",dt.letterSpacing,"0.33px"),to=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",dt.lineHeight,"1.6"),oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",dt.textTransform,"inherit"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",dt.fontSize,"10px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",dt.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",dt.letterSpacing,"1.5px"),no=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",dt.lineHeight,"1.6"),lo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",dt.textTransform,"uppercase"),co={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",dt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",dt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",dt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",dt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",dt.textTransform,"uppercase")},po=e.css`
|
|
17
17
|
.ft-typography--title {
|
|
18
|
-
font-family: ${
|
|
19
|
-
font-size: ${
|
|
20
|
-
font-weight: ${
|
|
21
|
-
letter-spacing: ${
|
|
22
|
-
line-height: ${
|
|
23
|
-
text-transform: ${
|
|
24
|
-
}
|
|
25
|
-
`,
|
|
18
|
+
font-family: ${ht};
|
|
19
|
+
font-size: ${gt};
|
|
20
|
+
font-weight: ${yt};
|
|
21
|
+
letter-spacing: ${bt};
|
|
22
|
+
line-height: ${ut};
|
|
23
|
+
text-transform: ${mt};
|
|
24
|
+
}
|
|
25
|
+
`,so=e.css`
|
|
26
26
|
.ft-typography--title-dense {
|
|
27
|
-
font-family: ${
|
|
28
|
-
font-size: ${
|
|
29
|
-
font-weight: ${
|
|
30
|
-
letter-spacing: ${
|
|
31
|
-
line-height: ${
|
|
32
|
-
text-transform: ${
|
|
27
|
+
font-family: ${xt};
|
|
28
|
+
font-size: ${Ot};
|
|
29
|
+
font-weight: ${vt};
|
|
30
|
+
letter-spacing: ${Nt};
|
|
31
|
+
line-height: ${St};
|
|
32
|
+
text-transform: ${$t};
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,fo=e.css`
|
|
35
35
|
.ft-typography--subtitle1 {
|
|
36
|
-
font-family: ${
|
|
37
|
-
font-size: ${
|
|
38
|
-
font-weight: ${
|
|
39
|
-
letter-spacing: ${
|
|
40
|
-
line-height: ${
|
|
41
|
-
text-transform: ${
|
|
36
|
+
font-family: ${Ct};
|
|
37
|
+
font-size: ${wt};
|
|
38
|
+
font-weight: ${It};
|
|
39
|
+
letter-spacing: ${kt};
|
|
40
|
+
line-height: ${Rt};
|
|
41
|
+
text-transform: ${Ut};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,ho=e.css`
|
|
44
44
|
.ft-typography--subtitle2 {
|
|
45
|
-
font-family: ${
|
|
46
|
-
font-size: ${
|
|
47
|
-
font-weight: ${
|
|
48
|
-
letter-spacing: ${
|
|
49
|
-
line-height: ${
|
|
50
|
-
text-transform: ${
|
|
45
|
+
font-family: ${Wt};
|
|
46
|
+
font-size: ${Et};
|
|
47
|
+
font-weight: ${Lt};
|
|
48
|
+
letter-spacing: ${zt};
|
|
49
|
+
line-height: ${Kt};
|
|
50
|
+
text-transform: ${Zt};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
`,
|
|
53
|
+
`,go=e.css`
|
|
54
54
|
.ft-typography--body1 {
|
|
55
|
-
font-family: ${
|
|
56
|
-
font-size: ${
|
|
57
|
-
font-weight: ${
|
|
58
|
-
letter-spacing: ${
|
|
59
|
-
line-height: ${
|
|
60
|
-
text-transform: ${
|
|
55
|
+
font-family: ${Ft};
|
|
56
|
+
font-size: ${Bt};
|
|
57
|
+
font-weight: ${Dt};
|
|
58
|
+
letter-spacing: ${At};
|
|
59
|
+
line-height: ${Ht};
|
|
60
|
+
text-transform: ${Gt};
|
|
61
61
|
}
|
|
62
|
-
`,
|
|
62
|
+
`,yo=e.css`
|
|
63
63
|
.ft-typography--body2 {
|
|
64
|
-
font-family: ${
|
|
65
|
-
font-size: ${
|
|
66
|
-
font-weight: ${
|
|
67
|
-
letter-spacing: ${
|
|
68
|
-
line-height: ${
|
|
69
|
-
text-transform: ${
|
|
64
|
+
font-family: ${jt.fontFamily};
|
|
65
|
+
font-size: ${jt.fontSize};
|
|
66
|
+
font-weight: ${jt.fontWeight};
|
|
67
|
+
letter-spacing: ${jt.letterSpacing};
|
|
68
|
+
line-height: ${jt.lineHeight};
|
|
69
|
+
text-transform: ${jt.textTransform};
|
|
70
70
|
}
|
|
71
|
-
`,
|
|
71
|
+
`,bo=e.css`
|
|
72
72
|
.ft-typography--caption {
|
|
73
|
-
font-family: ${
|
|
74
|
-
font-size: ${
|
|
75
|
-
font-weight: ${
|
|
76
|
-
letter-spacing: ${
|
|
77
|
-
line-height: ${
|
|
78
|
-
text-transform: ${
|
|
73
|
+
font-family: ${Tt};
|
|
74
|
+
font-size: ${Pt};
|
|
75
|
+
font-weight: ${Mt};
|
|
76
|
+
letter-spacing: ${_t};
|
|
77
|
+
line-height: ${Yt};
|
|
78
|
+
text-transform: ${Vt};
|
|
79
79
|
}
|
|
80
|
-
`,
|
|
80
|
+
`,uo=e.css`
|
|
81
81
|
.ft-typography--breadcrumb {
|
|
82
|
-
font-family: ${
|
|
83
|
-
font-size: ${
|
|
84
|
-
font-weight: ${
|
|
85
|
-
letter-spacing: ${
|
|
86
|
-
line-height: ${
|
|
87
|
-
text-transform: ${
|
|
82
|
+
font-family: ${qt};
|
|
83
|
+
font-size: ${Xt};
|
|
84
|
+
font-weight: ${Jt};
|
|
85
|
+
letter-spacing: ${Qt};
|
|
86
|
+
line-height: ${to};
|
|
87
|
+
text-transform: ${oo};
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,mo=e.css`
|
|
90
90
|
.ft-typography--overline {
|
|
91
|
-
font-family: ${
|
|
91
|
+
font-family: ${eo};
|
|
92
92
|
font-size: ${ro};
|
|
93
|
-
font-weight: ${
|
|
94
|
-
letter-spacing: ${
|
|
95
|
-
line-height: ${
|
|
96
|
-
text-transform: ${
|
|
93
|
+
font-weight: ${io};
|
|
94
|
+
letter-spacing: ${ao};
|
|
95
|
+
line-height: ${no};
|
|
96
|
+
text-transform: ${lo};
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,xo=e.css`
|
|
99
99
|
.ft-typography--button {
|
|
100
|
-
font-family: ${
|
|
101
|
-
font-size: ${
|
|
102
|
-
font-weight: ${
|
|
103
|
-
letter-spacing: ${
|
|
104
|
-
line-height: ${
|
|
105
|
-
text-transform: ${
|
|
106
|
-
}
|
|
107
|
-
`,
|
|
100
|
+
font-family: ${co.fontFamily};
|
|
101
|
+
font-size: ${co.fontSize};
|
|
102
|
+
font-weight: ${co.fontWeight};
|
|
103
|
+
letter-spacing: ${co.letterSpacing};
|
|
104
|
+
line-height: ${co.lineHeight};
|
|
105
|
+
text-transform: ${co.textTransform};
|
|
106
|
+
}
|
|
107
|
+
`,Oo=e.css`
|
|
108
108
|
.ft-typography {
|
|
109
109
|
vertical-align: inherit;
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
111
|
+
`,vo=[Object.keys(lt).map((t=>function(t){const o=lt[t];return e.css`
|
|
112
112
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
113
113
|
font-family: ${o.fontFamily};
|
|
114
114
|
font-size: ${o.fontSize};
|
|
@@ -117,14 +117,14 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
117
117
|
line-height: ${o.lineHeight};
|
|
118
118
|
text-transform: ${o.textCase};
|
|
119
119
|
}
|
|
120
|
-
`}(t)))];var
|
|
121
|
-
<${
|
|
120
|
+
`}(t)))];var No=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class So extends o.FtLitElement{constructor(){super(...arguments),this.variant=rt.body1}render(){return this.element?et`
|
|
121
|
+
<${tt(this.element)}
|
|
122
122
|
class="ft-typography ft-typography--${this.variant}">
|
|
123
123
|
<slot></slot>
|
|
124
|
-
</${
|
|
125
|
-
`:
|
|
124
|
+
</${tt(this.element)}>
|
|
125
|
+
`:et`
|
|
126
126
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
127
|
-
`}}
|
|
127
|
+
`}}So.styles=[po,so,fo,ho,go,yo,bo,uo,mo,xo,Oo,...vo],No([r.property()],So.prototype,"element",void 0),No([r.property()],So.prototype,"variant",void 0),o.customElement("ft-typography")(So);const $o=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Co=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),wo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Io=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),ko=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Ro=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Uo=e.css`
|
|
128
128
|
.ft-tooltip--container {
|
|
129
129
|
display: block;
|
|
130
130
|
}
|
|
@@ -139,21 +139,21 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
139
139
|
box-sizing: border-box;
|
|
140
140
|
overflow: hidden;
|
|
141
141
|
width: max-content;
|
|
142
|
-
max-width: ${
|
|
142
|
+
max-width: ${Ro};
|
|
143
143
|
text-align: center;
|
|
144
|
-
padding: ${
|
|
145
|
-
z-index: ${
|
|
144
|
+
padding: ${$o};
|
|
145
|
+
z-index: ${Io};
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.ft-tooltip--content {
|
|
149
149
|
padding: 4px 8px;
|
|
150
|
-
border-radius: ${
|
|
151
|
-
background-color: ${
|
|
152
|
-
color: ${
|
|
150
|
+
border-radius: ${ko};
|
|
151
|
+
background-color: ${wo};
|
|
152
|
+
color: ${Co};
|
|
153
153
|
position: relative;
|
|
154
154
|
word-break: break-word;
|
|
155
155
|
}
|
|
156
|
-
`;var
|
|
156
|
+
`;var Wo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Eo 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`
|
|
157
157
|
<div part="container"
|
|
158
158
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
159
159
|
@mouseenter=${this.onHover}
|
|
@@ -171,7 +171,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
171
171
|
</div>
|
|
172
172
|
</div>
|
|
173
173
|
</div>
|
|
174
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,
|
|
174
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ro})`}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))}}Eo.elementDefinitions={"ft-typography":So},Eo.styles=Uo,Wo([r.property()],Eo.prototype,"text",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"manual",void 0),Wo([r.property({type:Boolean})],Eo.prototype,"inline",void 0),Wo([r.property({type:Number})],Eo.prototype,"delay",void 0),Wo([r.property()],Eo.prototype,"position",void 0),Wo([r.queryAssignedNodes()],Eo.prototype,"slotNodes",void 0),Wo([r.query(".ft-tooltip--container")],Eo.prototype,"container",void 0),Wo([r.query(".ft-tooltip")],Eo.prototype,"tooltip",void 0),Wo([r.query(".ft-tooltip--content")],Eo.prototype,"tooltipContent",void 0),Wo([r.state()],Eo.prototype,"visible",void 0),o.customElement("ft-tooltip")(Eo);const Lo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),zo={color:Lo,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Lo),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ko=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Zo=Ko,Fo=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ko),Bo=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Do=Bo,Ao=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bo),Ho=e.css`
|
|
175
175
|
:host {
|
|
176
176
|
display: contents;
|
|
177
177
|
}
|
|
@@ -184,7 +184,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
184
184
|
|
|
185
185
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
186
186
|
overflow: hidden;
|
|
187
|
-
border-radius: ${
|
|
187
|
+
border-radius: ${zo.borderRadius};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.ft-ripple .ft-ripple--background,
|
|
@@ -218,27 +218,27 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.ft-ripple .ft-ripple--background {
|
|
221
|
-
background-color: ${
|
|
221
|
+
background-color: ${zo.backgroundColor};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.ft-ripple .ft-ripple--effect {
|
|
225
|
-
background-color: ${
|
|
225
|
+
background-color: ${zo.color};
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
229
|
-
background-color: ${
|
|
229
|
+
background-color: ${Ao};
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
233
|
-
background-color: ${
|
|
233
|
+
background-color: ${Do};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
237
|
-
background-color: ${
|
|
237
|
+
background-color: ${Fo};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
241
|
-
background-color: ${
|
|
241
|
+
background-color: ${Zo};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ft-ripple .ft-ripple--background {
|
|
@@ -268,33 +268,33 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
271
|
-
opacity: ${
|
|
271
|
+
opacity: ${zo.opacityContentOnSurfaceHover};
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
275
|
-
opacity: ${
|
|
275
|
+
opacity: ${zo.opacityContentOnSurfaceSelected};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
279
|
-
opacity: ${
|
|
279
|
+
opacity: ${zo.opacityContentOnSurfaceFocused};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
283
|
-
opacity: ${
|
|
283
|
+
opacity: ${zo.opacityContentOnSurfacePressed};
|
|
284
284
|
transform: translate(-50%, -50%) scale(1);
|
|
285
285
|
}
|
|
286
|
-
`;var jo,To
|
|
286
|
+
`;var Go,jo,To=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Po extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
287
287
|
<style>
|
|
288
288
|
.ft-ripple .ft-ripple--effect {
|
|
289
289
|
left: ${this.originX}px;
|
|
290
290
|
top: ${this.originY}px;
|
|
291
291
|
}
|
|
292
292
|
</style>
|
|
293
|
-
<div class="${
|
|
293
|
+
<div class="${i.classMap(t)}">
|
|
294
294
|
<div class="ft-ripple--background"></div>
|
|
295
295
|
<div class="ft-ripple--effect"></div>
|
|
296
296
|
</div>
|
|
297
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Mo.elementDefinitions={},Mo.styles=Go,Po([i.property({type:Boolean})],Mo.prototype,"primary",void 0),Po([i.property({type:Boolean})],Mo.prototype,"secondary",void 0),Po([i.property({type:Boolean})],Mo.prototype,"unbounded",void 0),Po([i.property({type:Boolean})],Mo.prototype,"activated",void 0),Po([i.property({type:Boolean})],Mo.prototype,"selected",void 0),Po([i.property({type:Boolean})],Mo.prototype,"disabled",void 0),Po([i.state()],Mo.prototype,"hovered",void 0),Po([i.state()],Mo.prototype,"focused",void 0),Po([i.state()],Mo.prototype,"pressed",void 0),Po([i.state()],Mo.prototype,"rippling",void 0),Po([i.state()],Mo.prototype,"originX",void 0),Po([i.state()],Mo.prototype,"originY",void 0),Po([i.query(".ft-ripple")],Mo.prototype,"ripple",void 0),Po([i.query(".ft-ripple--effect")],Mo.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Mo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(jo||(jo={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(To||(To={})),new Map([...["abw"].map((t=>[t,To.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,To.AUDIO])),...["avi"].map((t=>[t,To.AVI])),...["chm","xhs"].map((t=>[t,To.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,To.CODE])),...["csv"].map((t=>[t,To.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,To.DITA])),...["epub"].map((t=>[t,To.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,To.EXCEL])),...["flac"].map((t=>[t,To.FLAC])),...["gif"].map((t=>[t,To.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,To.GZIP])),...["html","htm","xhtml"].map((t=>[t,To.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,To.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,To.JPEG])),...["json"].map((t=>[t,To.JSON])),...["m4a","m4p"].map((t=>[t,To.M4A])),...["mov","qt"].map((t=>[t,To.MOV])),...["mp3"].map((t=>[t,To.MP3])),...["mp4","m4v"].map((t=>[t,To.MP4])),...["ogg","oga"].map((t=>[t,To.OGG])),...["pdf","ps"].map((t=>[t,To.PDF])),...["png"].map((t=>[t,To.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,To.POWERPOINT])),...["rar"].map((t=>[t,To.RAR])),...["stp"].map((t=>[t,To.STP])),...["txt","rtf","md","mdown"].map((t=>[t,To.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,To.VIDEO])),...["wav"].map((t=>[t,To.WAV])),...["wma"].map((t=>[t,To.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,To.WORD])),...["xml","xsl","rdf"].map((t=>[t,To.XML])),...["yaml","yml","x-yaml"].map((t=>[t,To.YAML])),...["zip"].map((t=>[t,To.ZIP]))]);const _o={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Yo=e.css`
|
|
297
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Po.elementDefinitions={},Po.styles=Ho,To([r.property({type:Boolean})],Po.prototype,"primary",void 0),To([r.property({type:Boolean})],Po.prototype,"secondary",void 0),To([r.property({type:Boolean})],Po.prototype,"unbounded",void 0),To([r.property({type:Boolean})],Po.prototype,"activated",void 0),To([r.property({type:Boolean})],Po.prototype,"selected",void 0),To([r.property({type:Boolean})],Po.prototype,"disabled",void 0),To([r.state()],Po.prototype,"hovered",void 0),To([r.state()],Po.prototype,"focused",void 0),To([r.state()],Po.prototype,"pressed",void 0),To([r.state()],Po.prototype,"rippling",void 0),To([r.state()],Po.prototype,"originX",void 0),To([r.state()],Po.prototype,"originY",void 0),To([r.query(".ft-ripple")],Po.prototype,"ripple",void 0),To([r.query(".ft-ripple--effect")],Po.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Po),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Go||(Go={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(jo||(jo={})),new Map([...["abw"].map((t=>[t,jo.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,jo.AUDIO])),...["avi"].map((t=>[t,jo.AVI])),...["chm","xhs"].map((t=>[t,jo.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,jo.CODE])),...["csv"].map((t=>[t,jo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,jo.DITA])),...["epub"].map((t=>[t,jo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,jo.EXCEL])),...["flac"].map((t=>[t,jo.FLAC])),...["gif"].map((t=>[t,jo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,jo.GZIP])),...["html","htm","xhtml"].map((t=>[t,jo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,jo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,jo.JPEG])),...["json"].map((t=>[t,jo.JSON])),...["m4a","m4p"].map((t=>[t,jo.M4A])),...["mov","qt"].map((t=>[t,jo.MOV])),...["mp3"].map((t=>[t,jo.MP3])),...["mp4","m4v"].map((t=>[t,jo.MP4])),...["ogg","oga"].map((t=>[t,jo.OGG])),...["pdf","ps"].map((t=>[t,jo.PDF])),...["png"].map((t=>[t,jo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,jo.POWERPOINT])),...["rar"].map((t=>[t,jo.RAR])),...["stp"].map((t=>[t,jo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,jo.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,jo.VIDEO])),...["wav"].map((t=>[t,jo.WAV])),...["wma"].map((t=>[t,jo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,jo.WORD])),...["xml","xsl","rdf"].map((t=>[t,jo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,jo.YAML])),...["zip"].map((t=>[t,jo.ZIP]))]);const Mo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_o=e.css`
|
|
298
298
|
:host, i.ft-icon {
|
|
299
299
|
display: inline-flex;
|
|
300
300
|
align-items: center;
|
|
@@ -303,14 +303,14 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
:host {
|
|
306
|
-
width: ${
|
|
307
|
-
height: ${
|
|
306
|
+
width: ${Mo.size};
|
|
307
|
+
height: ${Mo.size};
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
i.ft-icon {
|
|
311
311
|
width: 100%;
|
|
312
312
|
height: 100%;
|
|
313
|
-
font-size: ${
|
|
313
|
+
font-size: ${Mo.size};
|
|
314
314
|
line-height: 1;
|
|
315
315
|
font-weight: normal;
|
|
316
316
|
text-transform: none;
|
|
@@ -321,33 +321,33 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
321
321
|
text-rendering: auto;
|
|
322
322
|
-webkit-font-smoothing: antialiased;
|
|
323
323
|
-moz-osx-font-smoothing: grayscale;
|
|
324
|
-
vertical-align: ${
|
|
324
|
+
vertical-align: ${Mo.verticalAlign};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
i.ft-icon.ft-icon--fluid-topics {
|
|
328
|
-
font-family: ${
|
|
328
|
+
font-family: ${Mo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
329
329
|
|
|
330
330
|
/* Ugly fix because font is broken */
|
|
331
|
-
font-size: calc(0.75 * ${
|
|
332
|
-
line-height: ${
|
|
331
|
+
font-size: calc(0.75 * ${Mo.size});
|
|
332
|
+
line-height: ${Mo.size};
|
|
333
333
|
position: relative;
|
|
334
334
|
top: -4%;
|
|
335
335
|
justify-content: center;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
.ft-icon--file-format {
|
|
339
|
-
font-family: ${
|
|
339
|
+
font-family: ${Mo.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
.ft-icon--material {
|
|
343
|
-
font-family: ${
|
|
343
|
+
font-family: ${Mo.materialFontFamily}, "Material Icons", sans-serif;
|
|
344
344
|
}
|
|
345
|
-
`;var
|
|
345
|
+
`;var Yo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Yo||(Yo={}));var Vo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class qo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Yo).includes(this.variant)?this.variant:Yo.fluid_topics,o=t!==Yo.material||!!this.value;return e.html`
|
|
346
346
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
347
347
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
348
348
|
<slot ?hidden=${o}></slot>
|
|
349
349
|
</i>
|
|
350
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let
|
|
350
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Yo.file_format:this.resolvedIcon=null!==(t=jo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Yo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Go[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}qo.elementDefinitions={},qo.styles=_o,Vo([r.property()],qo.prototype,"variant",void 0),Vo([r.property()],qo.prototype,"value",void 0),Vo([r.state()],qo.prototype,"resolvedIcon",void 0),Vo([r.query("slot")],qo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(qo);const Xo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Jo=e.css`
|
|
351
351
|
:host {
|
|
352
352
|
line-height: 0;
|
|
353
353
|
}
|
|
@@ -356,8 +356,8 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
356
356
|
display: inline-block;
|
|
357
357
|
position: relative;
|
|
358
358
|
|
|
359
|
-
width: ${
|
|
360
|
-
height: ${
|
|
359
|
+
width: ${Xo.size};
|
|
360
|
+
height: ${Xo.size};
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
.ft-loader div {
|
|
@@ -366,7 +366,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
366
366
|
width: 25%;
|
|
367
367
|
height: 25%;
|
|
368
368
|
border-radius: 50%;
|
|
369
|
-
background: ${
|
|
369
|
+
background: ${Xo.color};
|
|
370
370
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
371
371
|
}
|
|
372
372
|
|
|
@@ -413,10 +413,10 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
413
413
|
transform: translate(0, 0);
|
|
414
414
|
}
|
|
415
415
|
100% {
|
|
416
|
-
transform: translate(calc(0.35 * ${
|
|
416
|
+
transform: translate(calc(0.35 * ${Xo.size}), 0);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
`,
|
|
419
|
+
`,Qo=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),te={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Qo,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",co.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Qo),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},oe=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),ee={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:oe,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",oe)},re=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),ie=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ae=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ne=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),le=[e.css`
|
|
420
420
|
:host {
|
|
421
421
|
display: inline-block;
|
|
422
422
|
max-width: 100%;
|
|
@@ -427,7 +427,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
427
427
|
box-shadow: 0px 0px 0px transparent;
|
|
428
428
|
border: 0px solid transparent;
|
|
429
429
|
text-shadow: 0px 0px 0px transparent;
|
|
430
|
-
font-size: ${
|
|
430
|
+
font-size: ${te.fontSize};
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
button:hover {
|
|
@@ -456,31 +456,31 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
456
456
|
border: none;
|
|
457
457
|
pointer-events: auto;
|
|
458
458
|
|
|
459
|
-
--ft-button-internal-line-height: max(calc(${
|
|
460
|
-
--ft-button-internal-color: ${
|
|
461
|
-
${o.setVariable(
|
|
462
|
-
${o.setVariable(
|
|
459
|
+
--ft-button-internal-line-height: max(calc(${te.fontSize} + 2px), ${te.iconSize});
|
|
460
|
+
--ft-button-internal-color: ${te.color};
|
|
461
|
+
${o.setVariable(Mo.size,te.iconSize)};
|
|
462
|
+
${o.setVariable(zo.color,te.rippleColor)};
|
|
463
463
|
|
|
464
|
-
border-radius: ${
|
|
465
|
-
padding: ${
|
|
466
|
-
background-color: ${
|
|
464
|
+
border-radius: ${te.borderRadius};
|
|
465
|
+
padding: ${te.verticalPadding} ${te.horizontalPadding};
|
|
466
|
+
background-color: ${te.backgroundColor};
|
|
467
467
|
color: var(--ft-button-internal-color);
|
|
468
468
|
-webkit-mask-image: radial-gradient(white, black);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
.ft-button.ft-button--outlined {
|
|
472
472
|
border: 1px solid var(--ft-button-internal-color);
|
|
473
|
-
padding: calc(${
|
|
473
|
+
padding: calc(${te.verticalPadding} - 1px) calc(${te.horizontalPadding} - 1px);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button.ft-button--dense {
|
|
477
|
-
padding: ${
|
|
477
|
+
padding: ${ie} ${ae};
|
|
478
478
|
border-radius: ${re};
|
|
479
|
-
gap: ${
|
|
479
|
+
gap: ${ne};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
483
|
-
padding: calc(${
|
|
483
|
+
padding: calc(${ie} - 1px) calc(${ae} - 1px);
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
.ft-button:not([disabled]):hover {
|
|
@@ -488,22 +488,22 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
.ft-button--round {
|
|
491
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
491
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te.verticalPadding});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-button--round.ft-button--dense {
|
|
495
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
495
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ie});
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button[disabled] {
|
|
499
499
|
filter: grayscale(1);
|
|
500
|
-
opacity: ${
|
|
500
|
+
opacity: ${te.opacityDisabled};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button.ft-button--primary {
|
|
504
|
-
background-color: ${
|
|
505
|
-
--ft-button-internal-color: ${
|
|
506
|
-
${o.setVariable(
|
|
504
|
+
background-color: ${ee.backgroundColor};
|
|
505
|
+
--ft-button-internal-color: ${ee.color};
|
|
506
|
+
${o.setVariable(zo.color,ee.rippleColor)};
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
.ft-button:focus {
|
|
@@ -516,13 +516,13 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
516
516
|
white-space: nowrap;
|
|
517
517
|
text-overflow: ellipsis;
|
|
518
518
|
display: block;
|
|
519
|
-
margin: 0 ${
|
|
520
|
-
${o.setVariable(
|
|
521
|
-
${o.setVariable(
|
|
519
|
+
margin: 0 ${te.iconPadding};
|
|
520
|
+
${o.setVariable(co.fontSize,"1em")};
|
|
521
|
+
${o.setVariable(co.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
.ft-button--dense .ft-button--label {
|
|
525
|
-
margin: 0 ${
|
|
525
|
+
margin: 0 ${ne};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.ft-button--label[hidden] {
|
|
@@ -535,13 +535,13 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--label[hidden] + ft-icon {
|
|
538
|
-
margin: 0 calc(${
|
|
539
|
-
padding: 0 ${
|
|
538
|
+
margin: 0 calc(${te.horizontalPadding} * -1);
|
|
539
|
+
padding: 0 ${te.verticalPadding};
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
543
|
-
margin: 0 calc(${
|
|
544
|
-
padding: 0 ${
|
|
543
|
+
margin: 0 calc(${ae} * -1);
|
|
544
|
+
padding: 0 ${ie};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -550,19 +550,19 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
ft-loader {
|
|
553
|
-
${o.setVariable(
|
|
554
|
-
${o.setVariable(
|
|
553
|
+
${o.setVariable(Xo.size,te.iconSize)};
|
|
554
|
+
${o.setVariable(Xo.color,"var(--ft-button-internal-color)")};
|
|
555
555
|
}
|
|
556
|
-
`,o.noTextSelect];class
|
|
556
|
+
`,o.noTextSelect];class ce extends o.FtLitElement{render(){return e.html`
|
|
557
557
|
<div class="ft-loader">
|
|
558
558
|
<div></div>
|
|
559
559
|
<div></div>
|
|
560
560
|
<div></div>
|
|
561
561
|
<div></div>
|
|
562
562
|
</div>
|
|
563
|
-
`}}
|
|
563
|
+
`}}ce.styles=Jo,o.customElement("ft-loader")(ce);var pe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class se 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`
|
|
564
564
|
<button part="button"
|
|
565
|
-
class="${
|
|
565
|
+
class="${i.classMap(this.buttonClasses)}"
|
|
566
566
|
aria-label="${this.getLabel()}"
|
|
567
567
|
?disabled=${this.isDisabled()}>
|
|
568
568
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -583,7 +583,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
583
583
|
</ft-tooltip>
|
|
584
584
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
585
585
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
586
|
-
<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}}
|
|
586
|
+
<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}}se.elementDefinitions={"ft-ripple":Po,"ft-tooltip":Eo,"ft-typography":So,"ft-icon":qo,"ft-loader":ce},pe([r.property({type:String,reflect:!0})],se.prototype,"role",void 0),pe([r.property()],se.prototype,"type",void 0),pe([r.property({type:Boolean})],se.prototype,"disabled",void 0),pe([r.property()],se.prototype,"label",void 0),pe([r.property()],se.prototype,"icon",void 0),pe([r.property()],se.prototype,"iconVariant",void 0),pe([r.property({type:Boolean})],se.prototype,"trailingIcon",void 0),pe([r.property({type:Boolean})],se.prototype,"loading",void 0),pe([r.property()],se.prototype,"tooltipPosition",void 0),pe([r.property({type:Boolean})],se.prototype,"hideTooltip",void 0),pe([r.property({type:Boolean})],se.prototype,"forceTooltip",void 0),pe([r.query(".ft-button")],se.prototype,"button",void 0),pe([r.query(".ft-button--label slot")],se.prototype,"slottedContent",void 0);var fe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class de extends se{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"}}de.styles=[o.safariEllipsisFix,le],fe([r.property({type:Boolean})],de.prototype,"primary",void 0),fe([r.property({type:Boolean})],de.prototype,"outlined",void 0),fe([r.property({type:Boolean})],de.prototype,"dense",void 0),fe([r.property({type:Boolean})],de.prototype,"round",void 0);const he=[e.css`
|
|
587
587
|
:host {
|
|
588
588
|
display: inline-block;
|
|
589
589
|
max-width: 100%;
|
|
@@ -633,7 +633,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
.ft-button:focus-visible {
|
|
636
|
-
outline-color: ${
|
|
636
|
+
outline-color: ${pt.focusFocusRingColor};
|
|
637
637
|
outline-style: solid;
|
|
638
638
|
}
|
|
639
639
|
|
|
@@ -662,146 +662,146 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
662
662
|
/** Primary styles **/
|
|
663
663
|
|
|
664
664
|
.ft-button--primary {
|
|
665
|
-
${o.setVariable(
|
|
665
|
+
${o.setVariable(Xo.color,pt.primaryIconColor)};
|
|
666
666
|
|
|
667
|
-
${o.setVariable(
|
|
668
|
-
${o.setVariable(
|
|
669
|
-
${o.setVariable(
|
|
670
|
-
${o.setVariable(
|
|
671
|
-
${o.setVariable(
|
|
667
|
+
${o.setVariable(zo.color,pt.primaryStateLayerColor)};
|
|
668
|
+
${o.setVariable(zo.opacityContentOnSurfaceHover,pt.primaryStateLayerOpacityHover)};
|
|
669
|
+
${o.setVariable(zo.opacityContentOnSurfaceFocused,pt.primaryStateLayerOpacityFocus)};
|
|
670
|
+
${o.setVariable(zo.opacityContentOnSurfaceSelected,pt.primaryStateLayerOpacityActive)};
|
|
671
|
+
${o.setVariable(zo.opacityContentOnSurfacePressed,pt.primaryStateLayerOpacityActive)};
|
|
672
672
|
|
|
673
|
-
background-color: ${
|
|
674
|
-
color: ${
|
|
673
|
+
background-color: ${pt.primaryBackgroundColor};
|
|
674
|
+
color: ${pt.primaryColor};
|
|
675
675
|
border-style: none;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
.ft-button--primary[disabled] {
|
|
679
|
-
opacity: ${
|
|
679
|
+
opacity: ${pt.primaryComponentOpacityDisabled};
|
|
680
680
|
}
|
|
681
681
|
|
|
682
682
|
.ft-button--primary ft-icon {
|
|
683
|
-
color: ${
|
|
683
|
+
color: ${pt.primaryIconColor};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
/** Secondary styles **/
|
|
687
687
|
|
|
688
688
|
.ft-button--secondary {
|
|
689
|
-
${o.setVariable(
|
|
689
|
+
${o.setVariable(Xo.color,pt.secondaryIconColor)};
|
|
690
690
|
|
|
691
|
-
${o.setVariable(
|
|
692
|
-
${o.setVariable(
|
|
693
|
-
${o.setVariable(
|
|
694
|
-
${o.setVariable(
|
|
695
|
-
${o.setVariable(
|
|
691
|
+
${o.setVariable(zo.color,pt.secondaryStateLayerColor)};
|
|
692
|
+
${o.setVariable(zo.opacityContentOnSurfaceHover,pt.secondaryStateLayerOpacityHover)};
|
|
693
|
+
${o.setVariable(zo.opacityContentOnSurfaceFocused,pt.secondaryStateLayerOpacityFocus)};
|
|
694
|
+
${o.setVariable(zo.opacityContentOnSurfaceSelected,pt.secondaryStateLayerOpacityActive)};
|
|
695
|
+
${o.setVariable(zo.opacityContentOnSurfacePressed,pt.secondaryStateLayerOpacityActive)};
|
|
696
696
|
|
|
697
|
-
background-color: ${
|
|
698
|
-
color: ${
|
|
699
|
-
border-color: ${
|
|
697
|
+
background-color: ${pt.secondaryBackgroundColor};
|
|
698
|
+
color: ${pt.secondaryColor};
|
|
699
|
+
border-color: ${pt.secondaryBorderColor};
|
|
700
700
|
border-style: solid;
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
.ft-button--secondary[disabled] {
|
|
704
|
-
opacity: ${
|
|
704
|
+
opacity: ${pt.secondaryComponentOpacityDisabled};
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
.ft-button--secondary ft-icon {
|
|
708
|
-
color: ${
|
|
708
|
+
color: ${pt.secondaryIconColor};
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
/** Tertiary styles **/
|
|
712
712
|
|
|
713
713
|
.ft-button--tertiary {
|
|
714
|
-
${o.setVariable(
|
|
714
|
+
${o.setVariable(Xo.color,pt.tertiaryIconColor)};
|
|
715
715
|
|
|
716
|
-
${o.setVariable(
|
|
717
|
-
${o.setVariable(
|
|
718
|
-
${o.setVariable(
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
716
|
+
${o.setVariable(zo.color,pt.tertiaryStateLayerColor)};
|
|
717
|
+
${o.setVariable(zo.opacityContentOnSurfaceHover,pt.tertiaryStateLayerOpacityHover)};
|
|
718
|
+
${o.setVariable(zo.opacityContentOnSurfaceFocused,pt.tertiaryStateLayerOpacityFocus)};
|
|
719
|
+
${o.setVariable(zo.opacityContentOnSurfaceSelected,pt.tertiaryStateLayerOpacityActive)};
|
|
720
|
+
${o.setVariable(zo.opacityContentOnSurfacePressed,pt.tertiaryStateLayerOpacityActive)};
|
|
721
721
|
|
|
722
|
-
background-color: ${
|
|
723
|
-
color: ${
|
|
722
|
+
background-color: ${pt.tertiaryBackgroundColor};
|
|
723
|
+
color: ${pt.tertiaryColor};
|
|
724
724
|
border-style: none;
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
.ft-button--tertiary[disabled] {
|
|
728
|
-
opacity: ${
|
|
728
|
+
opacity: ${pt.tertiaryComponentOpacityDisabled};
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
.ft-button--tertiary ft-icon {
|
|
732
|
-
color: ${
|
|
732
|
+
color: ${pt.tertiaryIconColor};
|
|
733
733
|
}
|
|
734
734
|
|
|
735
735
|
/** Neutral styles **/
|
|
736
736
|
|
|
737
737
|
.ft-button--neutral {
|
|
738
|
-
${o.setVariable(
|
|
738
|
+
${o.setVariable(Xo.color,pt.neutralIconColor)};
|
|
739
739
|
|
|
740
|
-
${o.setVariable(
|
|
741
|
-
${o.setVariable(
|
|
742
|
-
${o.setVariable(
|
|
743
|
-
${o.setVariable(
|
|
744
|
-
${o.setVariable(
|
|
740
|
+
${o.setVariable(zo.backgroundColor,pt.neutralStateLayerColor)};
|
|
741
|
+
${o.setVariable(zo.opacityContentOnSurfaceHover,pt.neutralStateLayerOpacityHover)};
|
|
742
|
+
${o.setVariable(zo.opacityContentOnSurfaceFocused,pt.neutralStateLayerOpacityFocus)};
|
|
743
|
+
${o.setVariable(zo.opacityContentOnSurfaceSelected,pt.neutralStateLayerOpacityActive)};
|
|
744
|
+
${o.setVariable(zo.opacityContentOnSurfacePressed,pt.neutralStateLayerOpacityActive)};
|
|
745
745
|
|
|
746
|
-
background-color: ${
|
|
747
|
-
color: ${
|
|
746
|
+
background-color: ${pt.neutralBackgroundColor};
|
|
747
|
+
color: ${pt.neutralColor};
|
|
748
748
|
border-style: none;
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-button--neutral[disabled] {
|
|
752
|
-
opacity: ${
|
|
752
|
+
opacity: ${pt.neutralComponentOpacityDisabled};
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
.ft-button--neutral ft-icon {
|
|
756
|
-
color: ${
|
|
756
|
+
color: ${pt.neutralIconColor};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
/** Large styles **/
|
|
760
760
|
|
|
761
761
|
.ft-button--large {
|
|
762
|
-
${o.setVariable(
|
|
763
|
-
${o.setVariable(
|
|
762
|
+
${o.setVariable(Mo.size,pt.largeIconSize)};
|
|
763
|
+
${o.setVariable(Xo.size,pt.largeIconSize)};
|
|
764
764
|
|
|
765
|
-
height: ${
|
|
766
|
-
padding: 0 ${
|
|
767
|
-
gap: ${
|
|
768
|
-
border-radius: ${
|
|
769
|
-
border-width: ${
|
|
765
|
+
height: ${pt.largeHeight};
|
|
766
|
+
padding: 0 ${pt.largeHorizontalPadding};
|
|
767
|
+
gap: ${pt.largeGap};
|
|
768
|
+
border-radius: ${pt.largeBorderRadius};
|
|
769
|
+
border-width: ${pt.largeBorderWidth};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
.ft-button--large:focus-visible {
|
|
773
|
-
outline-width: ${
|
|
774
|
-
outline-offset: ${
|
|
773
|
+
outline-width: ${pt.largeFocusOutlineWidth};
|
|
774
|
+
outline-offset: ${pt.largeFocusOutlineOffset};
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
.ft-button--large.ft-button--icon-only {
|
|
778
|
-
width: ${
|
|
778
|
+
width: ${pt.largeIconOnlyWidth};
|
|
779
779
|
padding: unset;
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
/** Small styles **/
|
|
783
783
|
|
|
784
784
|
.ft-button--small {
|
|
785
|
-
${o.setVariable(
|
|
786
|
-
${o.setVariable(
|
|
785
|
+
${o.setVariable(Mo.size,pt.smallIconSize)};
|
|
786
|
+
${o.setVariable(Xo.size,pt.smallIconSize)};
|
|
787
787
|
|
|
788
|
-
height: ${
|
|
789
|
-
padding: 0 ${
|
|
790
|
-
gap: ${
|
|
791
|
-
border-radius: ${
|
|
792
|
-
border-width: ${
|
|
788
|
+
height: ${pt.smallHeight};
|
|
789
|
+
padding: 0 ${pt.smallHorizontalPadding};
|
|
790
|
+
gap: ${pt.smallGap};
|
|
791
|
+
border-radius: ${pt.smallBorderRadius};
|
|
792
|
+
border-width: ${pt.smallBorderWidth};
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
.ft-button--small:focus-visible {
|
|
796
|
-
outline-width: ${
|
|
797
|
-
outline-offset: ${
|
|
796
|
+
outline-width: ${pt.smallFocusOutlineWidth};
|
|
797
|
+
outline-offset: ${pt.smallFocusOutlineOffset};
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.ft-button--small.ft-button--icon-only {
|
|
801
|
-
width: ${
|
|
801
|
+
width: ${pt.smallIconOnlyWidth};
|
|
802
802
|
padding: unset;
|
|
803
803
|
}
|
|
804
|
-
`,o.noTextSelect];var
|
|
804
|
+
`,o.noTextSelect];var ge=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ye extends se{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?rt.caption1medium:rt.body2medium}}ye.styles=[o.safariEllipsisFix,he],ge([r.property({type:Boolean})],ye.prototype,"primary",void 0),ge([r.property({type:Boolean})],ye.prototype,"secondary",void 0),ge([r.property({type:Boolean})],ye.prototype,"tertiary",void 0),ge([r.property({type:Boolean})],ye.prototype,"neutral",void 0),ge([r.property({type:Boolean})],ye.prototype,"small",void 0),o.customElement("ft-button")(de),o.customElement("ftds-button")(ye);const be=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),ue={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:be,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","",be),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")},me=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),xe={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:me,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",me)},Oe=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ve=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ne=[o.noTextSelect,e.css`
|
|
805
805
|
:host {
|
|
806
806
|
display: inline-block;
|
|
807
807
|
max-width: 100%;
|
|
@@ -817,20 +817,20 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
817
817
|
box-sizing: border-box;
|
|
818
818
|
pointer-events: auto;
|
|
819
819
|
|
|
820
|
-
--ft-chip-internal-font-size: ${
|
|
820
|
+
--ft-chip-internal-font-size: ${ue.fontSize};
|
|
821
821
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
822
|
-
${o.setVariable(
|
|
823
|
-
--ft-chip-internal-vertical-padding: ${
|
|
824
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
822
|
+
${o.setVariable(Mo.size,ue.iconSize)};
|
|
823
|
+
--ft-chip-internal-vertical-padding: ${ue.verticalPadding};
|
|
824
|
+
--ft-chip-internal-horizontal-padding: ${ue.horizontalPadding};
|
|
825
825
|
--ft-chip-internal-icon-padding: 3px;
|
|
826
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
826
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ue.iconSize});
|
|
827
827
|
|
|
828
|
-
border: 1px solid ${
|
|
829
|
-
color: ${
|
|
830
|
-
${o.setVariable(
|
|
828
|
+
border: 1px solid ${ue.colorOutline};
|
|
829
|
+
color: ${ue.color};
|
|
830
|
+
${o.setVariable(zo.color,ue.rippleColor)};
|
|
831
831
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
832
832
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
833
|
-
background-color: ${
|
|
833
|
+
background-color: ${ue.backgroundColor};
|
|
834
834
|
line-height: var(--ft-chip-internal-content-height);
|
|
835
835
|
}
|
|
836
836
|
|
|
@@ -840,8 +840,8 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
840
840
|
|
|
841
841
|
.ft-chip--dense {
|
|
842
842
|
--ft-chip-internal-icon-padding: 3px;
|
|
843
|
-
--ft-chip-internal-vertical-padding: ${
|
|
844
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
843
|
+
--ft-chip-internal-vertical-padding: ${ve};
|
|
844
|
+
--ft-chip-internal-horizontal-padding: ${Oe};
|
|
845
845
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
846
846
|
}
|
|
847
847
|
|
|
@@ -853,15 +853,15 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
853
853
|
cursor: default;
|
|
854
854
|
pointer-events: none;
|
|
855
855
|
filter: grayscale(1);
|
|
856
|
-
opacity: ${
|
|
856
|
+
opacity: ${ue.opacityDisabled};
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
.ft-chip--highlighted {
|
|
860
860
|
border: none;
|
|
861
861
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
862
|
-
background-color: ${
|
|
863
|
-
${o.setVariable(
|
|
864
|
-
color: ${
|
|
862
|
+
background-color: ${xe.backgroundColor};
|
|
863
|
+
${o.setVariable(zo.color,xe.rippleColor)};
|
|
864
|
+
color: ${xe.color};
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
.ft-chip--clickable {
|
|
@@ -891,9 +891,9 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
.ft-chip--icon-button {
|
|
894
|
-
${o.setVariable(
|
|
895
|
-
${o.setVariable(
|
|
896
|
-
${o.setVariable(
|
|
894
|
+
${o.setVariable(te.iconSize,ue.iconSize)};
|
|
895
|
+
${o.setVariable(te.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
896
|
+
${o.setVariable(te.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
897
897
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
898
898
|
}
|
|
899
899
|
|
|
@@ -901,8 +901,8 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
901
901
|
vertical-align: bottom;
|
|
902
902
|
display: block;
|
|
903
903
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
904
|
-
${o.setVariable(
|
|
905
|
-
${o.setVariable(
|
|
904
|
+
${o.setVariable(jt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
905
|
+
${o.setVariable(jt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -938,8 +938,8 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
938
938
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
939
939
|
order: -1;
|
|
940
940
|
}
|
|
941
|
-
`];var
|
|
942
|
-
<div class="${
|
|
941
|
+
`];var Se=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class $e extends CustomEvent{constructor(){super("icon-click")}}class Ce 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`
|
|
942
|
+
<div class="${i.classMap(t)}"
|
|
943
943
|
aria-label="${this.getLabel()}"
|
|
944
944
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
945
945
|
@keyup=${this.onKeyUp}>
|
|
@@ -961,7 +961,7 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
961
961
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
962
962
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
963
963
|
</div>
|
|
964
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
964
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $e))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $e))}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)}}Ce.elementDefinitions={"ft-ripple":Po,"ft-typography":So,"ft-icon":qo,"ft-button":de},Ce.styles=Ne,Se([r.property({type:Boolean})],Ce.prototype,"highlighted",void 0),Se([r.property({type:Boolean})],Ce.prototype,"removable",void 0),Se([r.property({type:Boolean})],Ce.prototype,"disabled",void 0),Se([r.property({type:Boolean})],Ce.prototype,"clickable",void 0),Se([r.property({type:Boolean})],Ce.prototype,"iconClickable",void 0),Se([r.property({type:Boolean})],Ce.prototype,"dense",void 0),Se([r.property({type:Boolean})],Ce.prototype,"multiLine",void 0),Se([r.property()],Ce.prototype,"label",void 0),Se([r.property()],Ce.prototype,"iconLabel",void 0),Se([r.property()],Ce.prototype,"icon",void 0),Se([r.property()],Ce.prototype,"iconVariant",void 0),Se([r.property({type:Boolean})],Ce.prototype,"trailingIcon",void 0),Se([r.query("ft-typography slot")],Ce.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Ce);var we=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ie extends y{constructor(){super(...arguments),this.editorMode=!1}render(){return e.html`
|
|
965
965
|
<ft-tooltip text="${this.tooltipText}">
|
|
966
966
|
<ft-chip>
|
|
967
967
|
${this.renderContent()}
|
|
@@ -974,4 +974,4 @@ const Q=Symbol.for(""),tt=t=>{if((null==t?void 0:t.r)===Q)return null==t?void 0:
|
|
|
974
974
|
display: none !important;
|
|
975
975
|
}
|
|
976
976
|
</style>
|
|
977
|
-
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}
|
|
977
|
+
`}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some((o=>t.has(o)))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&(null===(t=this.service)||void 0===t||t.getTopicInfo(this.tocNode).then((t=>this.metadata=t.metadata.find((t=>t.key===this.key)))).catch((()=>null)))}}Ie.elementDefinitions={"ft-tooltip":Eo,"ft-chip":Ce},Ie.styles=n,we([r.property()],Ie.prototype,"key",void 0),we([r.state()],Ie.prototype,"editorMode",void 0),we([r.state()],Ie.prototype,"metadata",void 0),o.customElement("ft-reader-topic-metadata")(Ie),t.FtReaderTopicMetadata=Ie,t.FtReaderTopicMetadataCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|