@fluid-topics/ft-search-saved-searches 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-saved-searches.light.js +150 -150
- package/build/ft-search-saved-searches.min.js +126 -126
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,o,e,r,i,n,a){const l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),c={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),
|
|
1
|
+
!function(t,o,e,r,i,n,a){const l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),c={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=s,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),d=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),h=d,u=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),y=e.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${f};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${p};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -127,20 +127,20 @@
|
|
|
127
127
|
* Copyright 2017 Google LLC
|
|
128
128
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
129
|
*/
|
|
130
|
-
const m=globalThis,
|
|
130
|
+
const m=globalThis,x=m.trustedTypes,v=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",N=`lit$${(Math.random()+"").slice(9)}$`,S="?"+N,w=`<${S}>`,C=document,$=()=>C.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,U="[ \t\n\f\r]",R=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,L=/>/g,W=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,z=/"/g,A=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),B=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),F=new WeakMap,T=C.createTreeWalker(C,129);function H(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==v?v.createHTML(o):o}const P=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=R;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===R?"!--"===c[1]?a=k:void 0!==c[1]?a=L:void 0!==c[2]?(A.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=W):void 0!==c[3]&&(a=W):a===W?">"===c[0]?(a=i??R,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?W:'"'===c[3]?z:K):a===z||a===K?a=W:a===k||a===L?a=R:(a=W,i=void 0);const f=a===W&&t[o+1].startsWith("/>")?" ":"";n+=a===R?e+w:s>=0?(r.push(l),e.slice(0,s)+O+e.slice(s)+N+f):e+N+(-2===s?o:f)}return[H(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class M{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=P(t,o);if(this.el=M.createElement(c,e),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=T.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const o=s[n++],e=r.getAttribute(t).split(N),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?V:"?"===a[1]?q:"@"===a[1]?X:Y}),r.removeAttribute(t)}else t.startsWith(N)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(A.test(r.tagName)){const t=r.textContent.split(N),o=t.length-1;if(o>0){r.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],$()),T.nextNode(),l.push({type:2,index:++i});r.append(t[o],$())}}}else if(8===r.nodeType)if(r.data===S)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(N,t+1));)l.push({type:7,index:i}),t+=N.length-1}i++}}static createElement(t,o){const e=C.createElement("template");return e.innerHTML=t,e}}function j(t,o,e=t,r){if(o===B)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=E(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=j(t,i._$AS(t,o.values),i,r)),o}class G{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??C).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new _(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new J(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=C,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 _{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,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),E(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>I(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$(C.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=M.createElement(H(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new G(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=F.get(t.strings);return void 0===o&&F.set(t.strings,o=new M(t)),o}T(t){I(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new _(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 Y{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,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=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=j(this,t,o,0),n=!E(t)||t!==this._$AH&&t!==B,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=j(this,r[e+a],o,a),l===B&&(l=this._$AH[a]),n||=!E(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class V extends Y{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}}class q extends Y{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}}class X extends Y{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=j(this,t,o,0)??D)===B)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||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 J{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 Q=m.litHtmlPolyfillSupport;Q?.(M,_),(m.litHtmlVersions??=[]).push("3.1.0");
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2020 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
135
|
*/
|
|
136
|
-
const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=ot(n));)c+=i+o[++s],f=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=rt.get(t))&&(a.raw=a,rt.set(t,o=a)),e=l}return t(o,...e)})(B);var nt;!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"}(nt||(nt={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const n=t=>at(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(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(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const ct={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8")},st={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ft={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for information components.",ct.colorCyan30),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},pt={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",ft.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",ft.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",ft.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",ft.contentGlobalOnColor),primaryStateLayerOpacityHover:lt.extend("--ft-button-primary-state-layer-opacity-hover","",ct.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",ct.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",ft.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",ft.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",ft.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",ft.contentActionPrimary),tertiaryStateLayerOpacityHover:lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ct.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.opacity40),secondaryBackgroundColor:lt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:lt.extend("--ft-button-secondary-color","",ft.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",ft.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",ft.contentActionPrimary),secondaryStateLayerOpacityHover:lt.extend("--ft-button-secondary-state-layer-opacity-hover","",ct.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",ft.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",ft.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",ft.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",ft.contentGlobalSecondary),neutralStateLayerOpacityHover:lt.extend("--ft-button-neutral-state-layer-opacity-hover","",ct.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40)};lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.spacing1),lt.extend("--ft-switch-group-background-color","",ft.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",ft.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",ft.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",ft.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",ft.contentGlobalSubtle),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.iconSize1),lt.extend("--ft-chip-neutral-background-color","",ft.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",ft.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",ft.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",ft.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-chip-success-background-color","",ft.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",ft.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",ft.borderSuccessPrimary),lt.extend("--ft-chip-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-chip-error-background-color","",ft.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",ft.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",ft.borderErrorPrimary),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-notice-info-color","",ft.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-notice-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",ft.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",ft.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",ft.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-off-background-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",ft.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-on-background-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-toggle-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",ft.borderActionFocusRing),lt.extend("--ft-toggle-gap","",ct.spacing3),lt.extend("--ft-radio-label-color","",ft.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",ft.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",ft.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",ft.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.spacing4),lt.extend("--ft-notification-info-background-color","",ft.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",ft.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",ft.borderInfoPrimary),lt.extend("--ft-notification-success-background-color","",ft.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",ft.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",ft.borderSuccessPrimary),lt.extend("--ft-notification-warning-background-color","",ft.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",ft.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",ft.borderWarningPrimary),lt.extend("--ft-notification-error-background-color","",ft.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",ft.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",ft.borderErrorPrimary),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:ht,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")},yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",dt),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ut.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ut.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ut.letterSpacing,"0.15px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit")},Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Dt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ut.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ut.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ut.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ut.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ut.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ut.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ut.textTransform,"uppercase")},ao=e.css`
|
|
136
|
+
const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$litStatic$:t,r:tt}),rt=new Map,it=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=ot(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=rt.get(t))&&(a.raw=a,rt.set(t,o=a)),e=l}return t(o,...e)})(Z);var nt;!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"}(nt||(nt={}));const at=t=>"string"==typeof t?e.unsafeCSS(t):t;class lt{static create(t,o,r,i){const n=t=>at(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${at(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${at(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):at(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${at(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(${at(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const ct={colorWhite:lt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:lt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:lt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:lt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:lt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:lt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:lt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:lt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:lt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:lt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:lt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:lt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:lt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:lt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:lt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:lt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:lt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:lt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:lt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:lt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:lt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:lt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:lt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:lt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:lt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:lt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:lt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:lt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:lt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:lt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:lt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:lt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:lt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:lt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:lt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:lt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:lt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:lt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:lt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:lt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:lt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:lt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:lt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:lt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:lt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:lt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:lt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:lt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:lt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:lt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:lt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:lt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:lt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:lt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:lt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:lt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:lt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:lt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:lt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:lt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:lt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:lt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:lt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:lt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:lt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:lt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:lt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:lt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:lt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:lt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:lt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:lt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:lt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:lt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:lt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:lt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:lt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:lt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:lt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:lt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:lt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:lt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:lt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:lt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:lt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:lt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:lt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:lt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:lt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:lt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:lt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:lt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:lt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:lt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:lt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:lt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:lt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:lt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:lt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:lt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:lt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:lt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:lt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:lt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:lt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:lt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:lt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:lt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:lt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:lt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:lt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:lt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:lt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:lt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:lt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:lt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:lt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:lt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:lt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:lt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:lt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:lt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:lt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:lt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:lt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:lt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:lt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:lt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:lt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:lt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:lt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:lt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:lt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:lt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:lt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:lt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:lt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:lt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:lt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:lt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:lt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:lt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:lt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:lt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:lt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:lt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:lt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:lt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:lt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:lt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:lt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:lt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:lt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:lt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:lt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:lt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:lt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:lt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:lt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:lt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:lt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:lt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:lt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:lt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:lt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:lt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:lt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:lt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:lt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:lt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:lt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:lt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:lt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:lt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:lt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:lt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:lt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:lt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:lt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:lt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:lt.create("--ft-opacity-0","","NUMBER","0"),opacity8:lt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:lt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:lt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:lt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:lt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:lt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:lt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:lt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:lt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:lt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:lt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:lt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:lt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:lt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},st={display:{fontFamily:lt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:lt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:lt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:lt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:lt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:lt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:lt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:lt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:lt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:lt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:lt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:lt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:lt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:lt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:lt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:lt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:lt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:lt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:lt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:lt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:lt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:lt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:lt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:lt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:lt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:lt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:lt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:lt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:lt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:lt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:lt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:lt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:lt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:lt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:lt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:lt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:lt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:lt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:lt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:lt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:lt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:lt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:lt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:lt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:lt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:lt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:lt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:lt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:lt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:lt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:lt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:lt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:lt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},pt={backgroundActionPrimary:lt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ct.colorBrand0),backgroundErrorPrimary:lt.extend("--ft-background-error-primary","Used as background of error components.",ct.colorRed0),backgroundErrorSubtle:lt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ct.colorRed10),backgroundInfoPrimary:lt.extend("--ft-background-info-primary","Used as background of information components.",ct.colorCyan200),backgroundInfoSubtle:lt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ct.colorCyan10),backgroundWarningPrimary:lt.extend("--ft-background-warning-primary","Used as background of warning components.",ct.colorOrange300),backgroundWarningSubtle:lt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ct.colorOrange10),backgroundSuccessPrimary:lt.extend("--ft-background-success-primary","Used as background of success components.",ct.colorGreen200),backgroundSuccessSubtle:lt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ct.colorGreen10),backgroundGlobalSurface:lt.extend("--ft-background-global-surface","Used as app background.",ct.colorWhite),backgroundGlobalOnSurface:lt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ct.colorGray10),backgroundGlobalOnSurfaceDark:lt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ct.colorGray30),contentActionPrimary:lt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ct.colorBrand0),contentWarningPrimary:lt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ct.colorOrange300),contentWarningIconOnly:lt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ct.colorOrange0),contentErrorPrimary:lt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ct.colorRed0),contentErrorIconOnly:lt.extend("--ft-content-error-icon-only","Used on error status icons alone",ct.colorRed0),contentInfoPrimary:lt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ct.colorCyan200),contentInfoIconOnly:lt.extend("--ft-content-info-icon-only","Used on info status icons alone",ct.colorCyan0),contentSuccessPrimary:lt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ct.colorGreen200),contentSuccessIconOnly:lt.extend("--ft-content-success-icon-only","Used on success status icons alone",ct.colorGreen0),contentGlobalPrimary:lt.extend("--ft-content-global-primary","Used for main content on the page.",ct.colorGray500),contentGlobalSecondary:lt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ct.colorGray200),contentGlobalSubtle:lt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ct.colorGray0),contentGlobalOnColor:lt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ct.colorWhite),borderActionPrimary:lt.extend("--ft-border-action-primary","Used as border for primary action components.",ct.colorBrand0),borderActionFocusRing:lt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ct.colorCyan0),borderWarningPrimary:lt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ct.colorOrange300),borderWarningSubtle:lt.extend("--ft-border-warning-subtle","Used as border for warning components.",ct.colorOrange30),borderSuccessPrimary:lt.extend("--ft-border-success-primary","Used as border for success buttons.",ct.colorGreen200),borderSuccessSubtle:lt.extend("--ft-border-success-subtle","Used as border for success components.",ct.colorGreen30),borderErrorPrimary:lt.extend("--ft-border-error-primary","Used as border for text fields in error states.",ct.colorRed0),borderErrorSubtle:lt.extend("--ft-border-error-subtle","Used as border for error components.",ct.colorRed30),borderInfoPrimary:lt.extend("--ft-border-info-primary","Used as border for buttons in info color.",ct.colorCyan200),borderInfoSubtle:lt.extend("--ft-border-info-subtle","Used as border for information components.",ct.colorCyan30),borderGlobalPrimary:lt.extend("--ft-border-global-primary","Used as border for element like input.",ct.colorGray50),borderGlobalSubtle:lt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ct.colorGray30),borderInputPrimary:lt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ct.colorGray80)},ft={largeHeight:lt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:lt.extend("--ft-button-large-horizontal-padding","",ct.spacing4),largeGap:lt.extend("--ft-button-large-gap","",ct.spacing2),largeBorderRadius:lt.extend("--ft-button-large-border-radius","",ct.borderRadiusS),largeIconSize:lt.extend("--ft-button-large-icon-size","",ct.iconSize3),largeBorderWidth:lt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:lt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:lt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:lt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:lt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:lt.extend("--ft-button-small-horizontal-padding","",ct.spacing3),smallGap:lt.extend("--ft-button-small-gap","",ct.spacing2),smallBorderRadius:lt.extend("--ft-button-small-border-radius","",ct.borderRadiusS),smallIconSize:lt.extend("--ft-button-small-icon-size","",ct.iconSize2),smallBorderWidth:lt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:lt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:lt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:lt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:lt.extend("--ft-button-primary-background-color","",pt.backgroundActionPrimary),primaryColor:lt.extend("--ft-button-primary-color","",pt.contentGlobalOnColor),primaryIconColor:lt.extend("--ft-button-primary-icon-color","",pt.contentGlobalOnColor),primaryStateLayerColor:lt.extend("--ft-button-primary-state-layer-color","",pt.contentGlobalOnColor),primaryStateLayerOpacityHover:lt.extend("--ft-button-primary-state-layer-opacity-hover","",ct.opacity16),primaryStateLayerOpacityFocus:lt.extend("--ft-button-primary-state-layer-opacity-focus","",ct.opacity16),primaryStateLayerOpacityActive:lt.extend("--ft-button-primary-state-layer-opacity-active","",ct.opacity24),primaryComponentOpacityDisabled:lt.extend("--ft-button-primary-component-opacity-disabled","",ct.opacity40),focusFocusRingColor:lt.extend("--ft-button-focus-focus-ring-color","",pt.borderActionFocusRing),tertiaryBackgroundColor:lt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:lt.extend("--ft-button-tertiary-color","",pt.contentActionPrimary),tertiaryIconColor:lt.extend("--ft-button-tertiary-icon-color","",pt.contentActionPrimary),tertiaryStateLayerColor:lt.extend("--ft-button-tertiary-state-layer-color","",pt.contentActionPrimary),tertiaryStateLayerOpacityHover:lt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ct.opacity8),tertiaryStateLayerOpacityFocus:lt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ct.opacity8),tertiaryStateLayerOpacityActive:lt.extend("--ft-button-tertiary-state-layer-opacity-active","",ct.opacity16),tertiaryComponentOpacityDisabled:lt.extend("--ft-button-tertiary-component-opacity-disabled","",ct.opacity40),secondaryBackgroundColor:lt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:lt.extend("--ft-button-secondary-color","",pt.contentActionPrimary),secondaryIconColor:lt.extend("--ft-button-secondary-icon-color","",pt.contentActionPrimary),secondaryStateLayerColor:lt.extend("--ft-button-secondary-state-layer-color","",pt.contentActionPrimary),secondaryStateLayerOpacityHover:lt.extend("--ft-button-secondary-state-layer-opacity-hover","",ct.opacity8),secondaryStateLayerOpacityFocus:lt.extend("--ft-button-secondary-state-layer-opacity-focus","",ct.opacity8),secondaryStateLayerOpacityActive:lt.extend("--ft-button-secondary-state-layer-opacity-active","",ct.opacity16),secondaryComponentOpacityDisabled:lt.extend("--ft-button-secondary-component-opacity-disabled","",ct.opacity40),secondaryBorderColor:lt.extend("--ft-button-secondary-border-color","",pt.borderActionPrimary),neutralBackgroundColor:lt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:lt.extend("--ft-button-neutral-icon-color","",pt.contentGlobalSecondary),neutralColor:lt.extend("--ft-button-neutral-color","",pt.contentGlobalSecondary),neutralStateLayerColor:lt.extend("--ft-button-neutral-state-layer-color","",pt.contentGlobalSecondary),neutralStateLayerOpacityHover:lt.extend("--ft-button-neutral-state-layer-opacity-hover","",ct.opacity8),neutralStateLayerOpacityFocus:lt.extend("--ft-button-neutral-state-layer-opacity-focus","",ct.opacity8),neutralStateLayerOpacityActive:lt.extend("--ft-button-neutral-state-layer-opacity-active","",ct.opacity16),neutralComponentOpacityDisabled:lt.extend("--ft-button-neutral-component-opacity-disabled","",ct.opacity40)};lt.extend("--ft-floating-menu-horizontal-padding","",ct.spacing4),lt.extend("--ft-floating-menu-vertical-padding","",ct.spacing4),lt.extend("--ft-floating-menu-off-icon-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-off-color","",pt.contentGlobalPrimary),lt.extend("--ft-floating-menu-on-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-floating-menu-gap","",ct.spacing3),lt.extend("--ft-floating-menu-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),lt.extend("--ft-floating-menu-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-floating-menu-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-floating-menu-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-floating-menu-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-floating-menu-icon-size","",ct.iconSize3),lt.extend("--ft-floating-menu-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-tabs-top-left-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-top-right-border-radius","",ct.borderRadiusS),lt.extend("--ft-tabs-label-horizontal-padding","",ct.spacing4),lt.extend("--ft-tabs-label-vertical-padding","",ct.spacing3),lt.extend("--ft-tabs-label-gap","",ct.spacing1),lt.extend("--ft-tabs-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-tabs-icon-vertical-padding","",ct.spacing4),lt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),lt.extend("--ft-tabs-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-tabs-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-tabs-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-tabs-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-tabs-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-tabs-on-color","",pt.contentActionPrimary),lt.extend("--ft-tabs-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-collapsible-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-collapsible-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-collapsible-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-collapsible-horizontal-padding","",ct.spacing4),lt.extend("--ft-collapsible-vertical-padding","",ct.spacing3),lt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),lt.extend("--ft-collapsible-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-collapsible-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-state-layer-color","",pt.contentGlobalPrimary),lt.extend("--ft-collapsible-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-collapsible-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-collapsible-icon-size","",ct.iconSize3),lt.extend("--ft-switch-group-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-group-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-group-gap","",ct.spacing1),lt.extend("--ft-switch-group-background-color","",pt.backgroundGlobalSurface),lt.extend("--ft-switch-group-border-color","",pt.borderGlobalSubtle),lt.create("--ft-switch-group-border-radius","","SIZE","6px"),lt.extend("--ft-switch-label-horizontal-padding","",ct.spacing2),lt.extend("--ft-switch-label-vertical-padding","",ct.spacing1),lt.extend("--ft-switch-icon-horizontal-padding","",ct.spacing1),lt.extend("--ft-switch-icon-vertical-padding","",ct.spacing1),lt.create("--ft-switch-focus-outline-width","","SIZE","2px"),lt.extend("--ft-switch-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-switch-option-border-radius","",ct.borderRadiusS),lt.extend("--ft-switch-off-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-off-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-off-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-switch-on-state-layer-opacity-hover","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-focus","",ct.opacity8),lt.extend("--ft-switch-on-state-layer-opacity-active","",ct.opacity16),lt.extend("--ft-switch-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-switch-on-color","",pt.contentActionPrimary),lt.extend("--ft-switch-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-chart-1-light","for area color charts",ct.colorBrand40),lt.extend("--ft-chart-1-base","for line charts",ct.colorBrand0),lt.extend("--ft-chart-2-light","for area color charts",ct.colorYellow60),lt.extend("--ft-chart-2-base","for line charts",ct.colorYellow100),lt.extend("--ft-chart-3-light","",ct.colorUltramarine40),lt.extend("--ft-chart-3-base","",ct.colorUltramarine70),lt.extend("--ft-chart-4-light","",ct.colorCyan50),lt.extend("--ft-chart-4-base","",ct.colorCyan100),lt.extend("--ft-chart-5-light","",ct.colorRed40),lt.extend("--ft-chart-5-base","",ct.colorRed60),lt.extend("--ft-chart-6-light","",ct.colorGreen40),lt.extend("--ft-chart-6-base","",ct.colorGreen70),lt.extend("--ft-chart-7-light","",ct.colorOrange70),lt.extend("--ft-chart-7-base","",ct.colorOrange100),lt.extend("--ft-chart-8-light","",ct.colorAvocado70),lt.extend("--ft-chart-8-base","",ct.colorAvocado200),lt.extend("--ft-chart-9-light","",ct.colorBrown50),lt.extend("--ft-chart-9-base","",ct.colorBrown200),lt.extend("--ft-chart-10-light","",ct.colorGray50),lt.extend("--ft-chart-10-base","",ct.colorGray80),lt.extend("--ft-chart-monochrome-10","",ct.colorBrand10),lt.extend("--ft-chart-monochrome-20","",ct.colorBrand20),lt.extend("--ft-chart-monochrome-30","",ct.colorBrand40),lt.extend("--ft-chart-monochrome-40","",ct.colorBrand60),lt.extend("--ft-chart-monochrome-50","",ct.colorBrand0),lt.extend("--ft-chart-monochrome-60","",ct.colorBrand200),lt.extend("--ft-chip-large-horizontal-padding","",ct.spacing4),lt.extend("--ft-chip-large-vertical-padding","",ct.spacing2),lt.extend("--ft-chip-large-gap","",ct.spacing1),lt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-large-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-large-border-width","","SIZE","1px"),lt.extend("--ft-chip-large-icon-size","",ct.iconSize3),lt.extend("--ft-chip-medium-horizontal-padding","",ct.spacing3),lt.extend("--ft-chip-medium-vertical-padding","",ct.spacing1),lt.extend("--ft-chip-medium-gap","",ct.spacing1),lt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-medium-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-medium-border-width","","SIZE","1px"),lt.extend("--ft-chip-medium-icon-size","",ct.iconSize2),lt.extend("--ft-chip-small-horizontal-padding","",ct.spacing2),lt.extend("--ft-chip-small-vertical-padding","",ct.spacing05),lt.extend("--ft-chip-small-gap","",ct.spacing1),lt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),lt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),lt.extend("--ft-chip-small-border-radius","",ct.borderRadiusPill),lt.create("--ft-chip-small-border-width","","SIZE","1px"),lt.extend("--ft-chip-small-icon-size","",ct.iconSize1),lt.extend("--ft-chip-neutral-background-color","",pt.backgroundGlobalOnSurface),lt.extend("--ft-chip-neutral-color","",pt.contentGlobalPrimary),lt.extend("--ft-chip-neutral-border-color","",pt.borderGlobalSubtle),lt.extend("--ft-chip-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-chip-info-color","",pt.contentInfoPrimary),lt.extend("--ft-chip-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-chip-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-chip-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-chip-success-border-color","",pt.borderSuccessSubtle),lt.extend("--ft-chip-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-chip-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-chip-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-chip-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-chip-error-color","",pt.contentErrorPrimary),lt.extend("--ft-chip-error-border-color","",pt.borderErrorSubtle),lt.create("--ft-notice-border-width","","SIZE","1px"),lt.extend("--ft-notice-horizontal-padding","",ct.spacing2),lt.extend("--ft-notice-vertical-padding","",ct.spacing1),lt.extend("--ft-notice-border-radius","",ct.borderRadiusS),lt.extend("--ft-notice-gap","",ct.spacing2),lt.extend("--ft-notice-icon-size","",ct.iconSize3),lt.extend("--ft-notice-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notice-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-notice-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notice-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notice-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-notice-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-checkbox-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-checkbox-checked-background-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-checkbox-checked-color","",pt.contentGlobalOnColor),lt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-checked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-unchecked-border-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-color","",ct.colorGray80),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-checkbox-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),lt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),lt.extend("--ft-checkbox-gap","",ct.spacing3),lt.extend("--ft-toggle-off-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-off-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-off-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-off-background-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-icon-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-off-state-layer-color","",pt.contentGlobalSubtle),lt.extend("--ft-toggle-on-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-toggle-on-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-toggle-on-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-toggle-on-background-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-icon-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-on-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-toggle-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-toggle-focus-focus-ring-color","",pt.borderActionFocusRing),lt.extend("--ft-toggle-gap","",ct.spacing3),lt.extend("--ft-radio-label-color","",pt.contentGlobalPrimary),lt.extend("--ft-radio-selected-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-color","",pt.contentActionPrimary),lt.extend("--ft-radio-selected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-selected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-selected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-unselected-state-layer-color","",ct.colorGray80),lt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ct.opacity16),lt.extend("--ft-radio-unselected-state-layer-opacity-active","",ct.opacity24),lt.extend("--ft-radio-unselected-component-opacity-disabled","",ct.opacity40),lt.extend("--ft-radio-focus-focus-ring-color","",pt.borderActionFocusRing),lt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),lt.create("--ft-radio-focus-outline-width","","SIZE","2px"),lt.extend("--ft-radio-gap","",ct.spacing3),lt.extend("--ft-notification-icon-size","",ct.iconSize4),lt.extend("--ft-notification-horizontal-padding","",ct.spacing4),lt.extend("--ft-notification-vertical-padding","",ct.spacing4),lt.extend("--ft-notification-info-background-color","",pt.backgroundInfoSubtle),lt.extend("--ft-notification-info-color","",pt.contentInfoPrimary),lt.extend("--ft-notification-info-border-color","",pt.borderInfoSubtle),lt.extend("--ft-notification-success-background-color","",pt.backgroundSuccessSubtle),lt.extend("--ft-notification-success-color","",pt.contentSuccessPrimary),lt.extend("--ft-notification-success-border-color","",pt.borderSuccessSubtle),lt.extend("--ft-notification-warning-background-color","",pt.backgroundWarningSubtle),lt.extend("--ft-notification-warning-color","",pt.contentWarningPrimary),lt.extend("--ft-notification-warning-border-color","",pt.borderWarningSubtle),lt.extend("--ft-notification-error-background-color","",pt.backgroundErrorSubtle),lt.extend("--ft-notification-error-color","",pt.contentErrorPrimary),lt.extend("--ft-notification-error-border-color","",pt.borderErrorSubtle),lt.extend("--ft-notification-border-radius","",ct.borderRadiusPill),lt.create("--ft-notification-border-width","","SIZE","1px"),lt.extend("--ft-notification-gap-leading","",ct.spacing2),lt.extend("--ft-notification-gap-trailing","",ct.spacing8),lt.extend("--ft-tooltip-horizontal-padding","",ct.spacing2),lt.extend("--ft-tooltip-vertical-padding","",ct.spacing2),lt.extend("--ft-tooltip-border-radius","",ct.borderRadiusS),lt.extend("--ft-tooltip-label","",pt.contentGlobalOnColor),lt.extend("--ft-tooltip-background","",pt.contentGlobalPrimary),lt.extend("--ft-tooltip-background-opacity","",ct.opacity80),lt.extend("--ft-tooltip-shadow","",ct.shadowElevation03);const dt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ut={fontFamily:ht,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")},yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",dt),gt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ut.fontSize,"20px"),bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ut.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ut.letterSpacing,"0.15px"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ut.lineHeight,"1.2"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ut.textTransform,"inherit"),Ot={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",dt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ut.letterSpacing,"0.105px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ut.lineHeight,"1.7"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ut.textTransform,"inherit")},Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ht),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ut.fontSize,"16px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ut.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ut.letterSpacing,"0.144px"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ut.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ut.textTransform,"inherit"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ht),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ut.fontSize,"14px"),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ut.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ut.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ut.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ut.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ht),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ut.fontSize,"16px"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ut.fontWeight,"normal"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ut.letterSpacing,"0.496px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ut.lineHeight,"1.5"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ut.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ut.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ut.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ut.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ut.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ht),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ut.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ut.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ut.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ut.lineHeight,"1.33"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ut.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ht),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ut.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ut.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ut.letterSpacing,"0.33px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ut.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ut.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ht),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ut.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ut.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ut.letterSpacing,"1.5px"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ut.lineHeight,"1.6"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ut.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ht),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ut.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ut.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ut.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ut.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ut.textTransform,"uppercase")},ao=e.css`
|
|
137
137
|
.ft-typography--title {
|
|
138
138
|
font-family: ${yt};
|
|
139
139
|
font-size: ${gt};
|
|
140
140
|
font-weight: ${bt};
|
|
141
141
|
letter-spacing: ${mt};
|
|
142
|
-
line-height: ${
|
|
143
|
-
text-transform: ${
|
|
142
|
+
line-height: ${xt};
|
|
143
|
+
text-transform: ${vt};
|
|
144
144
|
}
|
|
145
145
|
`,lo=e.css`
|
|
146
146
|
.ft-typography--title-dense {
|
|
@@ -163,36 +163,36 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
163
163
|
`,so=e.css`
|
|
164
164
|
.ft-typography--subtitle2 {
|
|
165
165
|
font-family: ${It};
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
166
|
+
font-size: ${Ut};
|
|
167
|
+
font-weight: ${Rt};
|
|
168
168
|
letter-spacing: ${kt};
|
|
169
169
|
line-height: ${Lt};
|
|
170
170
|
text-transform: ${Wt};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
`,
|
|
173
|
+
`,po=e.css`
|
|
174
174
|
.ft-typography--body1 {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
175
|
+
font-family: ${Kt};
|
|
176
|
+
font-size: ${zt};
|
|
177
|
+
font-weight: ${At};
|
|
178
|
+
letter-spacing: ${Zt};
|
|
179
|
+
line-height: ${Bt};
|
|
180
|
+
text-transform: ${Dt};
|
|
181
181
|
}
|
|
182
|
-
`,
|
|
182
|
+
`,fo=e.css`
|
|
183
183
|
.ft-typography--body2 {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
184
|
+
font-family: ${Ft.fontFamily};
|
|
185
|
+
font-size: ${Ft.fontSize};
|
|
186
|
+
font-weight: ${Ft.fontWeight};
|
|
187
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
188
|
+
line-height: ${Ft.lineHeight};
|
|
189
|
+
text-transform: ${Ft.textTransform};
|
|
190
190
|
}
|
|
191
191
|
`,ho=e.css`
|
|
192
192
|
.ft-typography--caption {
|
|
193
193
|
font-family: ${Tt};
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
194
|
+
font-size: ${Ht};
|
|
195
|
+
font-weight: ${Pt};
|
|
196
196
|
letter-spacing: ${Mt};
|
|
197
197
|
line-height: ${jt};
|
|
198
198
|
text-transform: ${Gt};
|
|
@@ -237,14 +237,14 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
237
237
|
line-height: ${o.lineHeight};
|
|
238
238
|
text-transform: ${o.textCase};
|
|
239
239
|
}
|
|
240
|
-
`}(t)))];var
|
|
240
|
+
`}(t)))];var xo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=nt.body1}render(){return this.element?it`
|
|
241
241
|
<${et(this.element)}
|
|
242
242
|
class="ft-typography ft-typography--${this.variant}">
|
|
243
243
|
<slot></slot>
|
|
244
244
|
</${et(this.element)}>
|
|
245
245
|
`:it`
|
|
246
246
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
247
|
-
`}}
|
|
247
|
+
`}}vo.styles=[ao,lo,co,so,po,fo,ho,uo,yo,go,bo,...mo],xo([r.property()],vo.prototype,"element",void 0),xo([r.property()],vo.prototype,"variant",void 0),o.customElement("ft-typography")(vo);const Oo={padding:o.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.FtCssVariableFactory.extend("--ft-card-border-radius","",o.designSystemVariables.borderRadiusM),borderStyle:o.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.FtCssVariableFactory.extend("--ft-card-border-color","",o.designSystemVariables.colorOutline),hoverBorderColor:o.FtCssVariableFactory.extend("--ft-card-hover-border-color","",o.designSystemVariables.colorPrimary),outlineStyle:o.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.FtCssVariableFactory.extend("--ft-card-outline-color","",o.designSystemVariables.colorPrimary),selectedOutlineStyle:o.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",o.designSystemVariables.colorPrimary),selectedBorderRadius:o.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",o.designSystemVariables.borderRadiusM),colorSurface:o.FtCssVariableFactory.extend("--ft-card-background-color","",o.designSystemVariables.colorSurface),colorOnSurfaceMedium:o.FtCssVariableFactory.extend("--ft-card-content-color","",o.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:o.FtCssVariableFactory.extend("--ft-card-title-color","",o.designSystemVariables.colorOnSurfaceHigh),elevation02:o.FtCssVariableFactory.extend("--ft-card-elevation","",o.designSystemVariables.elevation02),elevation04:o.FtCssVariableFactory.extend("--ft-card-selected-elevation","",o.designSystemVariables.elevation04)},No=e.css`
|
|
248
248
|
:host {
|
|
249
249
|
display: block;
|
|
250
250
|
}
|
|
@@ -340,7 +340,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
340
340
|
</ft-typography>
|
|
341
341
|
</div>
|
|
342
342
|
</div>
|
|
343
|
-
`}}$o.elementDefinitions={"ft-ripple":b,"ft-typography":
|
|
343
|
+
`}}$o.elementDefinitions={"ft-ripple":b,"ft-typography":vo},$o.styles=No,Co([r.property()],$o.prototype,"title",void 0),Co([r.property({type:Boolean})],$o.prototype,"clickable",void 0),Co([r.property({type:Boolean})],$o.prototype,"selected",void 0),Co([r.property({type:Boolean})],$o.prototype,"noHeader",void 0),o.customElement("ft-card")($o),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.CHART_BAR_NORMALIZED="",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="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(So||(So={})),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=""}(wo||(wo={})),new Map([...["abw"].map((t=>[t,wo.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,wo.AUDIO])),...["avi"].map((t=>[t,wo.AVI])),...["chm","xhs"].map((t=>[t,wo.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,wo.CODE])),...["csv"].map((t=>[t,wo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,wo.DITA])),...["epub"].map((t=>[t,wo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,wo.EXCEL])),...["flac"].map((t=>[t,wo.FLAC])),...["gif"].map((t=>[t,wo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,wo.GZIP])),...["html","htm","xhtml"].map((t=>[t,wo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,wo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,wo.JPEG])),...["json"].map((t=>[t,wo.JSON])),...["m4a","m4p"].map((t=>[t,wo.M4A])),...["mov","qt"].map((t=>[t,wo.MOV])),...["mp3"].map((t=>[t,wo.MP3])),...["mp4","m4v"].map((t=>[t,wo.MP4])),...["ogg","oga"].map((t=>[t,wo.OGG])),...["pdf","ps"].map((t=>[t,wo.PDF])),...["png"].map((t=>[t,wo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,wo.POWERPOINT])),...["rar"].map((t=>[t,wo.RAR])),...["stp"].map((t=>[t,wo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,wo.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,wo.VIDEO])),...["wav"].map((t=>[t,wo.WAV])),...["wma"].map((t=>[t,wo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,wo.WORD])),...["xml","xsl","rdf"].map((t=>[t,wo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,wo.YAML])),...["zip"].map((t=>[t,wo.ZIP]))]),wo.ABW,wo.AUDIO,wo.AVI,wo.CHM,wo.CODE,wo.CSV,wo.DITA,wo.EPUB,wo.EXCEL,wo.FLAC,wo.GIF,wo.GZIP,wo.HTML,wo.IMAGE,wo.JPEG,wo.JSON,wo.M4A,wo.MOV,wo.MP3,wo.MP4,wo.OGG,wo.PDF,wo.PNG,wo.POWERPOINT,wo.RAR,wo.STP,wo.TEXT,wo.UNKNOWN,wo.VIDEO,wo.WAV,wo.WMA,wo.WORD,wo.XML,wo.YAML,wo.ZIP;const Eo={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")},Io=e.css`
|
|
344
344
|
:host, i.ft-icon {
|
|
345
345
|
display: inline-flex;
|
|
346
346
|
align-items: center;
|
|
@@ -388,12 +388,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
388
388
|
.ft-icon--material {
|
|
389
389
|
font-family: ${Eo.materialFontFamily}, "Material Icons", sans-serif;
|
|
390
390
|
}
|
|
391
|
-
`;var
|
|
391
|
+
`;var Uo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Uo||(Uo={}));var Ro=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ko extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Uo).includes(this.variant)?this.variant:Uo.fluid_topics,o=t!==Uo.material||!!this.value;return e.html`
|
|
392
392
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
393
393
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
394
394
|
<slot ?hidden=${o}></slot>
|
|
395
395
|
</i>
|
|
396
|
-
`}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
|
|
396
|
+
`}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 Uo.file_format:this.resolvedIcon=null!==(t=wo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Uo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=So[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ko.elementDefinitions={},ko.styles=Io,Ro([r.property()],ko.prototype,"variant",void 0),Ro([r.property()],ko.prototype,"value",void 0),Ro([r.state()],ko.prototype,"resolvedIcon",void 0),Ro([r.query("slot")],ko.prototype,"slottedContent",void 0),o.customElement("ft-icon")(ko);const Lo={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Wo=e.css`
|
|
397
397
|
:host {
|
|
398
398
|
line-height: 0;
|
|
399
399
|
}
|
|
@@ -462,7 +462,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
462
462
|
transform: translate(calc(0.35 * ${Lo.size}), 0);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
`,
|
|
465
|
+
`,Ko=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ko,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",no.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ko),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")},Ao=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Zo={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ao,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ao)},Bo=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Do=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Fo=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),To=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ho=[e.css`
|
|
466
466
|
:host {
|
|
467
467
|
display: inline-block;
|
|
468
468
|
max-width: 100%;
|
|
@@ -473,7 +473,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
473
473
|
box-shadow: 0px 0px 0px transparent;
|
|
474
474
|
border: 0px solid transparent;
|
|
475
475
|
text-shadow: 0px 0px 0px transparent;
|
|
476
|
-
font-size: ${
|
|
476
|
+
font-size: ${zo.fontSize};
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
button:hover {
|
|
@@ -502,31 +502,31 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
502
502
|
border: none;
|
|
503
503
|
pointer-events: auto;
|
|
504
504
|
|
|
505
|
-
--ft-button-internal-line-height: max(calc(${
|
|
506
|
-
--ft-button-internal-color: ${
|
|
507
|
-
${o.setVariable(Eo.size,
|
|
508
|
-
${o.setVariable(c.color,
|
|
505
|
+
--ft-button-internal-line-height: max(calc(${zo.fontSize} + 2px), ${zo.iconSize});
|
|
506
|
+
--ft-button-internal-color: ${zo.color};
|
|
507
|
+
${o.setVariable(Eo.size,zo.iconSize)};
|
|
508
|
+
${o.setVariable(c.color,zo.rippleColor)};
|
|
509
509
|
|
|
510
|
-
border-radius: ${
|
|
511
|
-
padding: ${
|
|
512
|
-
background-color: ${
|
|
510
|
+
border-radius: ${zo.borderRadius};
|
|
511
|
+
padding: ${zo.verticalPadding} ${zo.horizontalPadding};
|
|
512
|
+
background-color: ${zo.backgroundColor};
|
|
513
513
|
color: var(--ft-button-internal-color);
|
|
514
514
|
-webkit-mask-image: radial-gradient(white, black);
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-button.ft-button--outlined {
|
|
518
518
|
border: 1px solid var(--ft-button-internal-color);
|
|
519
|
-
padding: calc(${
|
|
519
|
+
padding: calc(${zo.verticalPadding} - 1px) calc(${zo.horizontalPadding} - 1px);
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.ft-button.ft-button--dense {
|
|
523
|
-
padding: ${
|
|
524
|
-
border-radius: ${
|
|
523
|
+
padding: ${Do} ${Fo};
|
|
524
|
+
border-radius: ${Bo};
|
|
525
525
|
gap: ${To};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
529
|
-
padding: calc(${
|
|
529
|
+
padding: calc(${Do} - 1px) calc(${Fo} - 1px);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
.ft-button:not([disabled]):hover {
|
|
@@ -534,22 +534,22 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.ft-button--round {
|
|
537
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
537
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${zo.verticalPadding});
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-button--round.ft-button--dense {
|
|
541
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
541
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Do});
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
.ft-button[disabled] {
|
|
545
545
|
filter: grayscale(1);
|
|
546
|
-
opacity: ${
|
|
546
|
+
opacity: ${zo.opacityDisabled};
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
.ft-button.ft-button--primary {
|
|
550
|
-
background-color: ${
|
|
551
|
-
--ft-button-internal-color: ${
|
|
552
|
-
${o.setVariable(c.color,
|
|
550
|
+
background-color: ${Zo.backgroundColor};
|
|
551
|
+
--ft-button-internal-color: ${Zo.color};
|
|
552
|
+
${o.setVariable(c.color,Zo.rippleColor)};
|
|
553
553
|
}
|
|
554
554
|
|
|
555
555
|
.ft-button:focus {
|
|
@@ -562,7 +562,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
562
562
|
white-space: nowrap;
|
|
563
563
|
text-overflow: ellipsis;
|
|
564
564
|
display: block;
|
|
565
|
-
margin: 0 ${
|
|
565
|
+
margin: 0 ${zo.iconPadding};
|
|
566
566
|
${o.setVariable(no.fontSize,"1em")};
|
|
567
567
|
${o.setVariable(no.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
568
568
|
}
|
|
@@ -581,13 +581,13 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
.ft-button--label[hidden] + ft-icon {
|
|
584
|
-
margin: 0 calc(${
|
|
585
|
-
padding: 0 ${
|
|
584
|
+
margin: 0 calc(${zo.horizontalPadding} * -1);
|
|
585
|
+
padding: 0 ${zo.verticalPadding};
|
|
586
586
|
}
|
|
587
587
|
|
|
588
588
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
589
|
-
margin: 0 calc(${
|
|
590
|
-
padding: 0 ${
|
|
589
|
+
margin: 0 calc(${Fo} * -1);
|
|
590
|
+
padding: 0 ${Do};
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -596,10 +596,10 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
ft-loader {
|
|
599
|
-
${o.setVariable(Lo.size,
|
|
599
|
+
${o.setVariable(Lo.size,zo.iconSize)};
|
|
600
600
|
${o.setVariable(Lo.color,"var(--ft-button-internal-color)")};
|
|
601
601
|
}
|
|
602
|
-
`,o.noTextSelect],
|
|
602
|
+
`,o.noTextSelect],Po=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Mo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Go=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),_o=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Vo=e.css`
|
|
603
603
|
.ft-tooltip--container {
|
|
604
604
|
display: block;
|
|
605
605
|
}
|
|
@@ -616,7 +616,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
616
616
|
width: max-content;
|
|
617
617
|
max-width: ${Yo};
|
|
618
618
|
text-align: center;
|
|
619
|
-
padding: ${
|
|
619
|
+
padding: ${Po};
|
|
620
620
|
z-index: ${Go};
|
|
621
621
|
}
|
|
622
622
|
|
|
@@ -628,7 +628,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
628
628
|
position: relative;
|
|
629
629
|
word-break: break-word;
|
|
630
630
|
}
|
|
631
|
-
`,qo=["start","end"],Xo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function fe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function pe(t){return ce(fe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=fe(o),a=pe(o),l=se(a),c=ae(o),s="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===p?"reference":"floating":p],g=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function ge(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Xo,autoAlignment:h=!0,...u}=ne(t,o),y=void 0!==p||d===Xo?ge(p||null,h,d):d,g=await ye(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=pe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const x=[g[ae(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function me(t){return Oe(t)?(t.nodeName||"").toLowerCase():"#document"}function ve(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function xe(t){var o;return null==(o=(Oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oe(t){return t instanceof Node||t instanceof ve(t).Node}function Ne(t){return t instanceof Element||t instanceof ve(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof ve(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ve(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ee(t){const o=Ie(),e=Ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ie(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Re(t){return["html","body","#document"].includes(me(t))}function Ue(t){return ve(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Le(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||xe(t);return we(o)?o.host:o}function We(t){const o=Le(t);return Re(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:We(o)}function Ae(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=We(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ve(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?Ae(a.frameElement):[]):o.concat(i,Ae(i,[],e))}function Ke(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return Ne(t)?t:t.contextElement}function Be(t){const o=ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ke(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ze=oe(0);function Fe(t){const o=ve(t);return Ie()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ze}function De(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=oe(1);o&&(r?Ne(r)&&(a=Be(r)):a=Be(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ve(t))&&o}(n,e,r)?Fe(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=ve(n),o=r&&Ne(r)?ve(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Be(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=i,s+=n,e=ve(e).frameElement}}return he({width:f,height:p,x:c,y:s})}function Te(t){return De(xe(t)).left+ke(t).scrollLeft}function Pe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ve(t),r=xe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ie();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=xe(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(xe(t));else if(Ne(o))r=function(t,o){const e=De(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Be(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Fe(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function He(t,o){const e=Le(t);return!(e===o||!Ne(e)||Re(e))&&("fixed"===Ue(e).position||He(e,o))}function Me(t,o,e){const r=Se(o),i=xe(o),n="fixed"===e,a=De(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=De(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function Ge(t,o){const e=ve(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Ue(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!Ee(r))?e:r||function(t){let o=Le(t);for(;Se(o)&&!Re(o);){if(Ee(o))return o;o=Le(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=xe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=De(e);l=Be(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:xe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ae(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?Le(t):t;for(;Ne(a)&&!Re(a);){const o=Ue(a),e=Ee(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&He(t,a))?r=r.filter((t=>t!==a)):i=o,a=Le(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],c=a.reduce(((t,e)=>{const r=Pe(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Pe(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Ge,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ge,n=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ke(t)},getScale:Be,isElement:Ne,isRTL:function(t){return"rtl"===Ue(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=ue(s,r,c),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=ue(s,d,c))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
631
|
+
`,qo=["start","end"],Xo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function ce(t){return"x"===t?"y":"x"}function se(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return ce(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=se(a),c=ae(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ye(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[d?"floating"===f?"reference":"floating":f],g=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function ge(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Xo,autoAlignment:h=!0,...u}=ne(t,o),y=void 0!==f||d===Xo?ge(f||null,h,d):d,g=await ye(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=se(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[ae(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function me(t){return Oe(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ve(t){var o;return null==(o=(Oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Oe(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ee(t){const o=Ie(),e=Re(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ie(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ue(t){return["html","body","#document"].includes(me(t))}function Re(t){return xe(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Le(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||ve(t);return we(o)?o.host:o}function We(t){const o=Le(t);return Ue(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:We(o)}function Ke(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=We(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?Ke(a.frameElement):[]):o.concat(i,Ke(i,[],e))}function ze(t){const o=Re(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ae(t){return Ne(t)?t:t.contextElement}function Ze(t){const o=Ae(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ze(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Ie()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Fe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ae(t);let a=oe(1);o&&(r?Ne(r)&&(a=Ze(r)):a=Ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ze(e),o=e.getBoundingClientRect(),r=Re(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:c,y:s})}function Te(t){return Fe(ve(t)).left+ke(t).scrollLeft}function He(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=ve(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ie();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=ve(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Re(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(ve(t));else if(Ne(o))r=function(t,o){const e=Fe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Ze(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Pe(t,o){const e=Le(t);return!(e===o||!Ne(e)||Ue(e))&&("fixed"===Re(e).position||Pe(e,o))}function Me(t,o,e){const r=Se(o),i=ve(o),n="fixed"===e,a=Fe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=Fe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Re(t).position?o?o(t):t.offsetParent:null}function Ge(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Re(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Re(r).position&&!Ee(r))?e:r||function(t){let o=Le(t);for(;Se(o)&&!Ue(o);){if(Ee(o))return o;o=Le(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=ve(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const c=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=Fe(e);l=Ze(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:ve,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Ke(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Re(t).position;let a=n?Le(t):t;for(;Ne(a)&&!Ue(a);){const o=Re(a),e=Ee(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Pe(t,a))?r=r.filter((t=>t!==a)):i=o,a=Le(a)}return o.set(t,r),r}(o,this._c):[].concat(e),a=[...n,r],l=a[0],c=a.reduce(((t,e)=>{const r=He(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),He(o,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Ge,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ge,n=this.getDimensions;return{reference:Me(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ze(t)},getScale:Ze,isElement:Ne,isRTL:function(t){return"rtl"===Re(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ue(s,r,c),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ue(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=qe(t);o;o=qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
632
632
|
<div part="container"
|
|
633
633
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
634
634
|
@mouseenter=${this.onHover}
|
|
@@ -646,14 +646,14 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
646
646
|
</div>
|
|
647
647
|
</div>
|
|
648
648
|
</div>
|
|
649
|
-
`}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ye(t,o,{platform:{..._e,getOffsetParent:t=>_e.getOffsetParent(t,Ve)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ne(r,t),s={x:o,y:e},
|
|
649
|
+
`}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ye(t,o,{platform:{..._e,getOffsetParent:t=>_e.getOffsetParent(t,Ve)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ne(r,t),s={x:o,y:e},p=await ye(t,c),f=pe(ae(i)),d=ce(f);let h=s[d],u=s[f];if(n){const t="y"===d?"bottom":"right";h=ie(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=ie(u+p["y"===f?"top":"left"],u,u-p[t])}const y=l.fn({...t,[d]:h,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),be({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Je.elementDefinitions={"ft-typography":vo},Je.styles=Vo,Xe([r.property()],Je.prototype,"text",void 0),Xe([r.property({type:Boolean})],Je.prototype,"manual",void 0),Xe([r.property({type:Boolean})],Je.prototype,"inline",void 0),Xe([r.property({type:Number})],Je.prototype,"delay",void 0),Xe([r.property()],Je.prototype,"position",void 0),Xe([r.queryAssignedNodes()],Je.prototype,"slotNodes",void 0),Xe([r.query(".ft-tooltip--container")],Je.prototype,"container",void 0),Xe([r.query(".ft-tooltip")],Je.prototype,"tooltip",void 0),Xe([r.query(".ft-tooltip--content")],Je.prototype,"tooltipContent",void 0),Xe([r.state()],Je.prototype,"visible",void 0),Xe([r.eventOptions({passive:!0})],Je.prototype,"onTouch",null),Xe([r.eventOptions({passive:!0})],Je.prototype,"onHover",null),Xe([r.eventOptions({passive:!0})],Je.prototype,"onOut",null),Xe([r.eventOptions({passive:!0})],Je.prototype,"onClick",null),o.customElement("ft-tooltip")(Je);class Qe extends o.FtLitElement{render(){return e.html`
|
|
650
650
|
<div class="ft-loader">
|
|
651
651
|
<div></div>
|
|
652
652
|
<div></div>
|
|
653
653
|
<div></div>
|
|
654
654
|
<div></div>
|
|
655
655
|
</div>
|
|
656
|
-
`}}Qe.styles=Wo,o.customElement("ft-loader")(Qe);var tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(
|
|
656
|
+
`}}Qe.styles=Wo,o.customElement("ft-loader")(Qe);var tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(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`
|
|
657
657
|
<button part="button"
|
|
658
658
|
class="${i.classMap(this.buttonClasses)}"
|
|
659
659
|
aria-label="${this.getLabel()}"
|
|
@@ -676,7 +676,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
676
676
|
</ft-tooltip>
|
|
677
677
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
678
678
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
679
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}or.elementDefinitions={"ft-ripple":b,"ft-tooltip":Je,"ft-typography":
|
|
679
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}or.elementDefinitions={"ft-ripple":b,"ft-tooltip":Je,"ft-typography":vo,"ft-icon":ko,"ft-loader":Qe},tr([r.property({type:String,reflect:!0})],or.prototype,"role",void 0),tr([r.property()],or.prototype,"type",void 0),tr([r.property({type:Boolean})],or.prototype,"disabled",void 0),tr([r.property()],or.prototype,"label",void 0),tr([r.property()],or.prototype,"icon",void 0),tr([r.property()],or.prototype,"iconVariant",void 0),tr([r.property({type:Boolean})],or.prototype,"trailingIcon",void 0),tr([r.property({type:Boolean})],or.prototype,"loading",void 0),tr([r.property()],or.prototype,"tooltipPosition",void 0),tr([r.property({type:Boolean})],or.prototype,"hideTooltip",void 0),tr([r.property({type:Boolean})],or.prototype,"forceTooltip",void 0),tr([r.query(".ft-button")],or.prototype,"button",void 0),tr([r.query(".ft-button--label slot")],or.prototype,"slottedContent",void 0);var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends or{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}rr.styles=[o.safariEllipsisFix,Ho],er([r.property({type:Boolean})],rr.prototype,"primary",void 0),er([r.property({type:Boolean})],rr.prototype,"outlined",void 0),er([r.property({type:Boolean})],rr.prototype,"dense",void 0),er([r.property({type:Boolean})],rr.prototype,"round",void 0);const ir=[e.css`
|
|
680
680
|
:host {
|
|
681
681
|
display: inline-block;
|
|
682
682
|
max-width: 100%;
|
|
@@ -726,7 +726,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
726
726
|
}
|
|
727
727
|
|
|
728
728
|
.ft-button:focus-visible {
|
|
729
|
-
outline-color: ${
|
|
729
|
+
outline-color: ${ft.focusFocusRingColor};
|
|
730
730
|
outline-style: solid;
|
|
731
731
|
}
|
|
732
732
|
|
|
@@ -755,146 +755,146 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
755
755
|
/** Primary styles **/
|
|
756
756
|
|
|
757
757
|
.ft-button--primary {
|
|
758
|
-
${o.setVariable(Lo.color,
|
|
758
|
+
${o.setVariable(Lo.color,ft.primaryIconColor)};
|
|
759
759
|
|
|
760
|
-
${o.setVariable(c.color,
|
|
761
|
-
${o.setVariable(c.opacityContentOnSurfaceHover,
|
|
762
|
-
${o.setVariable(c.opacityContentOnSurfaceFocused,
|
|
763
|
-
${o.setVariable(c.opacityContentOnSurfaceSelected,
|
|
764
|
-
${o.setVariable(c.opacityContentOnSurfacePressed,
|
|
760
|
+
${o.setVariable(c.color,ft.primaryStateLayerColor)};
|
|
761
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,ft.primaryStateLayerOpacityHover)};
|
|
762
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,ft.primaryStateLayerOpacityFocus)};
|
|
763
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,ft.primaryStateLayerOpacityActive)};
|
|
764
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,ft.primaryStateLayerOpacityActive)};
|
|
765
765
|
|
|
766
|
-
background-color: ${
|
|
767
|
-
color: ${
|
|
766
|
+
background-color: ${ft.primaryBackgroundColor};
|
|
767
|
+
color: ${ft.primaryColor};
|
|
768
768
|
border-style: none;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
771
|
.ft-button--primary[disabled] {
|
|
772
|
-
opacity: ${
|
|
772
|
+
opacity: ${ft.primaryComponentOpacityDisabled};
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
.ft-button--primary ft-icon {
|
|
776
|
-
color: ${
|
|
776
|
+
color: ${ft.primaryIconColor};
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
/** Secondary styles **/
|
|
780
780
|
|
|
781
781
|
.ft-button--secondary {
|
|
782
|
-
${o.setVariable(Lo.color,
|
|
782
|
+
${o.setVariable(Lo.color,ft.secondaryIconColor)};
|
|
783
783
|
|
|
784
|
-
${o.setVariable(c.color,
|
|
785
|
-
${o.setVariable(c.opacityContentOnSurfaceHover,
|
|
786
|
-
${o.setVariable(c.opacityContentOnSurfaceFocused,
|
|
787
|
-
${o.setVariable(c.opacityContentOnSurfaceSelected,
|
|
788
|
-
${o.setVariable(c.opacityContentOnSurfacePressed,
|
|
784
|
+
${o.setVariable(c.color,ft.secondaryStateLayerColor)};
|
|
785
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,ft.secondaryStateLayerOpacityHover)};
|
|
786
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,ft.secondaryStateLayerOpacityFocus)};
|
|
787
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,ft.secondaryStateLayerOpacityActive)};
|
|
788
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,ft.secondaryStateLayerOpacityActive)};
|
|
789
789
|
|
|
790
|
-
background-color: ${
|
|
791
|
-
color: ${
|
|
792
|
-
border-color: ${
|
|
790
|
+
background-color: ${ft.secondaryBackgroundColor};
|
|
791
|
+
color: ${ft.secondaryColor};
|
|
792
|
+
border-color: ${ft.secondaryBorderColor};
|
|
793
793
|
border-style: solid;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
.ft-button--secondary[disabled] {
|
|
797
|
-
opacity: ${
|
|
797
|
+
opacity: ${ft.secondaryComponentOpacityDisabled};
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.ft-button--secondary ft-icon {
|
|
801
|
-
color: ${
|
|
801
|
+
color: ${ft.secondaryIconColor};
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
/** Tertiary styles **/
|
|
805
805
|
|
|
806
806
|
.ft-button--tertiary {
|
|
807
|
-
${o.setVariable(Lo.color,
|
|
807
|
+
${o.setVariable(Lo.color,ft.tertiaryIconColor)};
|
|
808
808
|
|
|
809
|
-
${o.setVariable(c.color,
|
|
810
|
-
${o.setVariable(c.opacityContentOnSurfaceHover,
|
|
811
|
-
${o.setVariable(c.opacityContentOnSurfaceFocused,
|
|
812
|
-
${o.setVariable(c.opacityContentOnSurfaceSelected,
|
|
813
|
-
${o.setVariable(c.opacityContentOnSurfacePressed,
|
|
809
|
+
${o.setVariable(c.color,ft.tertiaryStateLayerColor)};
|
|
810
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,ft.tertiaryStateLayerOpacityHover)};
|
|
811
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,ft.tertiaryStateLayerOpacityFocus)};
|
|
812
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,ft.tertiaryStateLayerOpacityActive)};
|
|
813
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,ft.tertiaryStateLayerOpacityActive)};
|
|
814
814
|
|
|
815
|
-
background-color: ${
|
|
816
|
-
color: ${
|
|
815
|
+
background-color: ${ft.tertiaryBackgroundColor};
|
|
816
|
+
color: ${ft.tertiaryColor};
|
|
817
817
|
border-style: none;
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
.ft-button--tertiary[disabled] {
|
|
821
|
-
opacity: ${
|
|
821
|
+
opacity: ${ft.tertiaryComponentOpacityDisabled};
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
.ft-button--tertiary ft-icon {
|
|
825
|
-
color: ${
|
|
825
|
+
color: ${ft.tertiaryIconColor};
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
/** Neutral styles **/
|
|
829
829
|
|
|
830
830
|
.ft-button--neutral {
|
|
831
|
-
${o.setVariable(Lo.color,
|
|
831
|
+
${o.setVariable(Lo.color,ft.neutralIconColor)};
|
|
832
832
|
|
|
833
|
-
${o.setVariable(c.backgroundColor,
|
|
834
|
-
${o.setVariable(c.opacityContentOnSurfaceHover,
|
|
835
|
-
${o.setVariable(c.opacityContentOnSurfaceFocused,
|
|
836
|
-
${o.setVariable(c.opacityContentOnSurfaceSelected,
|
|
837
|
-
${o.setVariable(c.opacityContentOnSurfacePressed,
|
|
833
|
+
${o.setVariable(c.backgroundColor,ft.neutralStateLayerColor)};
|
|
834
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,ft.neutralStateLayerOpacityHover)};
|
|
835
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,ft.neutralStateLayerOpacityFocus)};
|
|
836
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,ft.neutralStateLayerOpacityActive)};
|
|
837
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,ft.neutralStateLayerOpacityActive)};
|
|
838
838
|
|
|
839
|
-
background-color: ${
|
|
840
|
-
color: ${
|
|
839
|
+
background-color: ${ft.neutralBackgroundColor};
|
|
840
|
+
color: ${ft.neutralColor};
|
|
841
841
|
border-style: none;
|
|
842
842
|
}
|
|
843
843
|
|
|
844
844
|
.ft-button--neutral[disabled] {
|
|
845
|
-
opacity: ${
|
|
845
|
+
opacity: ${ft.neutralComponentOpacityDisabled};
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
.ft-button--neutral ft-icon {
|
|
849
|
-
color: ${
|
|
849
|
+
color: ${ft.neutralIconColor};
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
/** Large styles **/
|
|
853
853
|
|
|
854
854
|
.ft-button--large {
|
|
855
|
-
${o.setVariable(Eo.size,
|
|
856
|
-
${o.setVariable(Lo.size,
|
|
855
|
+
${o.setVariable(Eo.size,ft.largeIconSize)};
|
|
856
|
+
${o.setVariable(Lo.size,ft.largeIconSize)};
|
|
857
857
|
|
|
858
|
-
height: ${
|
|
859
|
-
padding: 0 ${
|
|
860
|
-
gap: ${
|
|
861
|
-
border-radius: ${
|
|
862
|
-
border-width: ${
|
|
858
|
+
height: ${ft.largeHeight};
|
|
859
|
+
padding: 0 ${ft.largeHorizontalPadding};
|
|
860
|
+
gap: ${ft.largeGap};
|
|
861
|
+
border-radius: ${ft.largeBorderRadius};
|
|
862
|
+
border-width: ${ft.largeBorderWidth};
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
.ft-button--large:focus-visible {
|
|
866
|
-
outline-width: ${
|
|
867
|
-
outline-offset: ${
|
|
866
|
+
outline-width: ${ft.largeFocusOutlineWidth};
|
|
867
|
+
outline-offset: ${ft.largeFocusOutlineOffset};
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
.ft-button--large.ft-button--icon-only {
|
|
871
|
-
width: ${
|
|
871
|
+
width: ${ft.largeIconOnlyWidth};
|
|
872
872
|
padding: unset;
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
/** Small styles **/
|
|
876
876
|
|
|
877
877
|
.ft-button--small {
|
|
878
|
-
${o.setVariable(Eo.size,
|
|
879
|
-
${o.setVariable(Lo.size,
|
|
878
|
+
${o.setVariable(Eo.size,ft.smallIconSize)};
|
|
879
|
+
${o.setVariable(Lo.size,ft.smallIconSize)};
|
|
880
880
|
|
|
881
|
-
height: ${
|
|
882
|
-
padding: 0 ${
|
|
883
|
-
gap: ${
|
|
884
|
-
border-radius: ${
|
|
885
|
-
border-width: ${
|
|
881
|
+
height: ${ft.smallHeight};
|
|
882
|
+
padding: 0 ${ft.smallHorizontalPadding};
|
|
883
|
+
gap: ${ft.smallGap};
|
|
884
|
+
border-radius: ${ft.smallBorderRadius};
|
|
885
|
+
border-width: ${ft.smallBorderWidth};
|
|
886
886
|
}
|
|
887
887
|
|
|
888
888
|
.ft-button--small:focus-visible {
|
|
889
|
-
outline-width: ${
|
|
890
|
-
outline-offset: ${
|
|
889
|
+
outline-width: ${ft.smallFocusOutlineWidth};
|
|
890
|
+
outline-offset: ${ft.smallFocusOutlineOffset};
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
.ft-button--small.ft-button--icon-only {
|
|
894
|
-
width: ${
|
|
894
|
+
width: ${ft.smallIconOnlyWidth};
|
|
895
895
|
padding: unset;
|
|
896
896
|
}
|
|
897
|
-
`,o.noTextSelect];var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends or{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?nt.caption1medium:nt.body2medium}}ar.styles=[o.safariEllipsisFix,ir],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"secondary",void 0),nr([r.property({type:Boolean})],ar.prototype,"tertiary",void 0),nr([r.property({type:Boolean})],ar.prototype,"neutral",void 0),nr([r.property({type:Boolean})],ar.prototype,"small",void 0),o.customElement("ft-button")(rr),o.customElement("ftds-button")(ar);const lr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),cr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:lr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",
|
|
897
|
+
`,o.noTextSelect];var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends or{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?nt.caption1medium:nt.body2medium}}ar.styles=[o.safariEllipsisFix,ir],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"secondary",void 0),nr([r.property({type:Boolean})],ar.prototype,"tertiary",void 0),nr([r.property({type:Boolean})],ar.prototype,"neutral",void 0),nr([r.property({type:Boolean})],ar.prototype,"small",void 0),o.customElement("ft-button")(rr),o.customElement("ftds-button")(ar);const lr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),cr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:lr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ft.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",lr),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},sr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),pr={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:sr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",sr)},fr=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),dr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),hr=[o.noTextSelect,e.css`
|
|
898
898
|
:host {
|
|
899
899
|
display: inline-block;
|
|
900
900
|
max-width: 100%;
|
|
@@ -934,7 +934,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
934
934
|
.ft-chip--dense {
|
|
935
935
|
--ft-chip-internal-icon-padding: 3px;
|
|
936
936
|
--ft-chip-internal-vertical-padding: ${dr};
|
|
937
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
937
|
+
--ft-chip-internal-horizontal-padding: ${fr};
|
|
938
938
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
939
939
|
}
|
|
940
940
|
|
|
@@ -952,9 +952,9 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
952
952
|
.ft-chip--highlighted {
|
|
953
953
|
border: none;
|
|
954
954
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
955
|
-
background-color: ${
|
|
956
|
-
${o.setVariable(c.color,
|
|
957
|
-
color: ${
|
|
955
|
+
background-color: ${pr.backgroundColor};
|
|
956
|
+
${o.setVariable(c.color,pr.rippleColor)};
|
|
957
|
+
color: ${pr.color};
|
|
958
958
|
}
|
|
959
959
|
|
|
960
960
|
.ft-chip--clickable {
|
|
@@ -984,9 +984,9 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
.ft-chip--icon-button {
|
|
987
|
-
${o.setVariable(
|
|
988
|
-
${o.setVariable(
|
|
989
|
-
${o.setVariable(
|
|
987
|
+
${o.setVariable(zo.iconSize,cr.iconSize)};
|
|
988
|
+
${o.setVariable(zo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
989
|
+
${o.setVariable(zo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
990
990
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
991
991
|
}
|
|
992
992
|
|
|
@@ -994,8 +994,8 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
994
994
|
vertical-align: bottom;
|
|
995
995
|
display: block;
|
|
996
996
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
997
|
-
${o.setVariable(
|
|
998
|
-
${o.setVariable(
|
|
997
|
+
${o.setVariable(Ft.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
998
|
+
${o.setVariable(Ft.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1031,7 +1031,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1031
1031
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1032
1032
|
order: -1;
|
|
1033
1033
|
}
|
|
1034
|
-
`];var ur,yr,gr,br,mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class
|
|
1034
|
+
`];var ur,yr,gr,br,mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xr extends CustomEvent{constructor(){super("icon-click")}}class vr 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`
|
|
1035
1035
|
<div class="${i.classMap(t)}"
|
|
1036
1036
|
aria-label="${this.getLabel()}"
|
|
1037
1037
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1054,7 +1054,7 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1054
1054
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1055
1055
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1056
1056
|
</div>
|
|
1057
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1057
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xr))}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)}}vr.elementDefinitions={"ft-ripple":b,"ft-typography":vo,"ft-icon":ko,"ft-button":rr},vr.styles=hr,mr([r.property({type:Boolean})],vr.prototype,"highlighted",void 0),mr([r.property({type:Boolean})],vr.prototype,"removable",void 0),mr([r.property({type:Boolean})],vr.prototype,"disabled",void 0),mr([r.property({type:Boolean})],vr.prototype,"clickable",void 0),mr([r.property({type:Boolean})],vr.prototype,"iconClickable",void 0),mr([r.property({type:Boolean})],vr.prototype,"dense",void 0),mr([r.property({type:Boolean})],vr.prototype,"multiLine",void 0),mr([r.property()],vr.prototype,"label",void 0),mr([r.property()],vr.prototype,"iconLabel",void 0),mr([r.property()],vr.prototype,"icon",void 0),mr([r.property()],vr.prototype,"iconVariant",void 0),mr([r.property({type:Boolean})],vr.prototype,"trailingIcon",void 0),mr([r.query("ft-typography slot")],vr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(vr);const Or={color:o.FtCssVariableFactory.extend("--ft-search-saved-searches-color","",o.designSystemVariables.colorOnSurface),activeButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-button-text-color","",o.designSystemVariables.colorPrimary),activeSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-background-color","",o.designSystemVariables.colorContent),activeSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-style","","BORDER-STYLE",null!==(ur=Oo.selectedOutlineStyle.lastResortDefaultValue())&&void 0!==ur?ur:"solid"),activeSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-color","",o.designSystemVariables.colorPrimary),activeSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-active-search-border-width","","SIZE",null!==(yr=Oo.selectedOutlineWidth.lastResortDefaultValue())&&void 0!==yr?yr:"2px"),activeSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-active-search-border-radius","",o.designSystemVariables.borderRadiusM),inactiveButtonTextColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-text-color","",o.designSystemVariables.colorPrimary),inactiveButtonBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-button-background-color","",o.designSystemVariables.colorSurface),inactiveSearchBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-background-color","",o.designSystemVariables.colorContent),inactiveSearchBorderStyle:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-style","","BORDER-STYLE",null!==(gr=Oo.outlineStyle.lastResortDefaultValue())&&void 0!==gr?gr:"solid"),inactiveSearchBorderColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-color","",o.designSystemVariables.colorPrimary),inactiveSearchBorderWidth:o.FtCssVariableFactory.create("--ft-search-saved-searches-inactive-search-border-width","","SIZE",null!==(br=Oo.outlineWidth.lastResortDefaultValue())&&void 0!==br?br:"0"),inactiveSearchBorderRadius:o.FtCssVariableFactory.extend("--ft-search-saved-searches-inactive-search-border-radius","",o.designSystemVariables.borderRadiusM),chipBackgroundColor:o.FtCssVariableFactory.extend("--ft-search-saved-searches-chip-background-color","",o.designSystemVariables.colorSurface),cardTitleFontSize:o.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-size","","SIZE","16px"),cardTitleFontWeight:o.FtCssVariableFactory.create("--ft-search-saved-searches-card-title-font-weight","","SIZE","600")},Nr=e.css`
|
|
1058
1058
|
[part="container"] {
|
|
1059
1059
|
display: flex;
|
|
1060
1060
|
flex-direction: column;
|
|
@@ -1102,12 +1102,12 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
1104
|
[part="search-button"] {
|
|
1105
|
-
${o.setVariable(
|
|
1105
|
+
${o.setVariable(zo.color,Or.inactiveButtonTextColor)};
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
[part="search-button"]:not([disabled]) {
|
|
1109
|
-
${o.setVariable(
|
|
1110
|
-
${o.setVariable(
|
|
1109
|
+
${o.setVariable(zo.color,Or.inactiveButtonTextColor)};
|
|
1110
|
+
${o.setVariable(zo.backgroundColor,Or.inactiveButtonBackgroundColor)};
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
[part="metadata-label"]:after {
|
|
@@ -1119,14 +1119,14 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1119
1119
|
color: inherit;
|
|
1120
1120
|
}
|
|
1121
1121
|
`,Sr=e.css`
|
|
1122
|
-
`,wr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Cr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=wr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Cr.build(t):null!==(o=Cr.API)&&void 0!==o?o:Cr.API=Cr.build()}static await(t){return new Promise((o=>{let e=Cr.get(t);if(e)o(e);else{const r=wr.subscribe((()=>{e=Cr.get(t),e&&(r(),o(e))}))}}))}}var $r;const Er=Symbol("clearAfterUnitTest");class Ir{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=wr.getState().uiLocale,wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=wr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}$r=Er,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ir((async(t,o)=>(await Cr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ir((async(t,o)=>(await Cr.await()).getCustomMessageContext(t,o))));const
|
|
1122
|
+
`,wr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Cr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=wr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Cr.build(t):null!==(o=Cr.API)&&void 0!==o?o:Cr.API=Cr.build()}static await(t){return new Promise((o=>{let e=Cr.get(t);if(e)o(e);else{const r=wr.subscribe((()=>{e=Cr.get(t),e&&(r(),o(e))}))}}))}}var $r;const Er=Symbol("clearAfterUnitTest");class Ir{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=wr.getState().uiLocale,wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=wr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}$r=Er,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ir((async(t,o)=>(await Cr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ir((async(t,o)=>(await Cr.await()).getCustomMessageContext(t,o))));const Ur=window.FluidTopicsI18nService,Rr=window.FluidTopicsCustomI18nService;var kr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Cr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
1123
1123
|
<slot></slot>
|
|
1124
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Rr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=Sr,kr([r.property()],Lr.prototype,"baseUrl",void 0),kr([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Lr.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Lr.prototype,"session",void 0),kr([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Cr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Ar=new o.CacheRegistry;class Kr{async listMyBookmarks(){return Ar.get("bookmarks",(async()=>(await Cr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Ar.clear("bookmarks")}}const zr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Br=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){zr.actions.savedSearches(void 0)}clearMyBookmarks(){zr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Wr,o=await t.listMySearches();zr.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;zr.actions.bookmarks(o)}}};var Zr,Fr,Dr,Tr,Pr,Hr,Mr,jr,Gr,_r,Yr,Vr,qr,Xr,Jr,Qr,ti,oi;o.customElement("ft-app-context")(Lr),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Zr||(Zr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Fr||(Fr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Dr||(Dr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Tr||(Tr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Pr||(Pr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Hr||(Hr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Mr||(Mr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(jr||(jr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(_r||(_r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Yr||(Yr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Qr||(Qr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ti||(ti={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(oi||(oi={}));const ei={[ti.PERSONAL_BOOK_SHARE_USER]:[ti.PERSONAL_BOOK_USER],[ti.HTML_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.PDF_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.KHUB_ADMIN]:[ti.CONTENT_PUBLISHER],[ti.ADMIN]:[ti.KHUB_ADMIN,ti.USERS_ADMIN,ti.PORTAL_ADMIN],[ti.DEVELOPER]:[ti.BETA_USER,ti.DEBUG_USER]};function ri(t,o){return t===o||(ei[t]??[]).some((t=>ri(t,o)))}function ii(t,o){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>ri(t,o)))}class ni extends Event{constructor(){super(ni.eventName)}}ni.eventName="search-context-clear-all-filters";var ai=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class li extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ci=Symbol("registerInterval");class si extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ci]):this.dispatchEvent(new li)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ci,ai([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const fi=e.css`
|
|
1125
|
-
`;var
|
|
1124
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ur.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=Sr,kr([r.property()],Lr.prototype,"baseUrl",void 0),kr([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Lr.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Lr.prototype,"session",void 0),kr([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Cr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Kr=new o.CacheRegistry;class zr{async listMyBookmarks(){return Kr.get("bookmarks",(async()=>(await Cr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Kr.clear("bookmarks")}}const Ar=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Zr=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Wr,o=await t.listMySearches();Ar.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ar.actions.bookmarks(o)}}};var Br,Dr,Fr,Tr,Hr,Pr,Mr,jr,Gr,_r,Yr,Vr,qr,Xr,Jr,Qr,ti,oi;o.customElement("ft-app-context")(Lr),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Fr||(Fr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Tr||(Tr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Hr||(Hr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Pr||(Pr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Mr||(Mr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(jr||(jr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(_r||(_r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Yr||(Yr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Qr||(Qr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ti||(ti={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(oi||(oi={}));const ei={[ti.PERSONAL_BOOK_SHARE_USER]:[ti.PERSONAL_BOOK_USER],[ti.HTML_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.PDF_EXPORT_USER]:[ti.PERSONAL_BOOK_USER],[ti.KHUB_ADMIN]:[ti.CONTENT_PUBLISHER],[ti.ADMIN]:[ti.KHUB_ADMIN,ti.USERS_ADMIN,ti.PORTAL_ADMIN],[ti.DEVELOPER]:[ti.BETA_USER,ti.DEBUG_USER]};function ri(t,o){return t===o||(ei[t]??[]).some((t=>ri(t,o)))}function ii(t,o){if(null==t)return!1;return(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some((t=>ri(t,o)))}class ni extends Event{constructor(){super(ni.eventName)}}ni.eventName="search-context-clear-all-filters";var ai=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class li extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ci=Symbol("registerInterval");class si extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ci]):this.dispatchEvent(new li)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ci,ai([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const pi=e.css`
|
|
1125
|
+
`;var fi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const di=Symbol("i18nProperties"),hi=Symbol("i18nUnsubs");function ui(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Rr:Ur}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[di])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[di])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[di]&&new Set([...this[di].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[hi].has(t)||this[hi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[hi].forEach((t=>t())),this[hi].clear()}}return o=hi,fi([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class yi extends(ui(o.FtLitElement)){}class gi extends(ui(o.FtLitElementRedux)){}var bi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mi extends gi{constructor(){super(),this.editorMode=!1,this.addStore(wr)}render(){return this.key&&this.context?e.html`
|
|
1126
1126
|
<span class="ft-i18n">
|
|
1127
1127
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1128
1128
|
</span>
|
|
1129
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}mi.elementDefinitions={},mi.styles=
|
|
1129
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}mi.elementDefinitions={},mi.styles=pi,bi([o.redux()],mi.prototype,"editorMode",void 0),bi([r.property()],mi.prototype,"context",void 0),bi([r.property()],mi.prototype,"key",void 0),bi([o.jsonProperty([])],mi.prototype,"args",void 0),bi([r.property()],mi.prototype,"defaultMessage",void 0);class xi{static build(t){return new xi(t)}static fromGwt(t){return new xi(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Ur.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(mi);const vi=xi.build("savedSearchesComponent"),Oi={keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search",in:"In",titles:"Titles",resultsType:"Results type",documentsOnly:"Documents only"};var Ni=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Si extends(ui(si)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.requiredRole=ti.SAVED_SEARCH_USER,this.addStore(wr),this.addStore(Ar),this.addI18nContext(vi,Oi)}render(){var t;return this.userHasRights&&!this.isEmpty?e.html`
|
|
1130
1130
|
<div part="container">
|
|
1131
1131
|
${a.repeat(null!==(t=this.savedSearches)&&void 0!==t?t:[],(t=>t.id),(t=>{const r=this.toFtSearchRequest(t.searchRequest);if(void 0===r)return e.nothing;const i=o.serializeRequest(this.baseUrl,r);return e.html`
|
|
1132
1132
|
<a href="${i}" @click="${t=>this.onLinkClick(t,r)}">
|
|
@@ -1145,16 +1145,16 @@ const tt=Symbol.for(""),ot=t=>{if(t?.r===tt)return t?._$litStatic$},et=t=>({_$li
|
|
|
1145
1145
|
</a>
|
|
1146
1146
|
`}))}
|
|
1147
1147
|
</div>
|
|
1148
|
-
`:e.nothing}renderDescription(t){return this.showDescription&&t?e.html`<div part="description" class="content">${t}</div>`:e.nothing}renderSearchButton(t){return this.showSearchButton?e.html`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${
|
|
1149
|
-
${null!==(o=t.query.length)&&void 0!==o&&o?this.renderMetadata(
|
|
1150
|
-
${t.virtualField==Yr.TITLE_ONLY?this.renderMetadata(
|
|
1151
|
-
${t.scope==Qr.DOCUMENTS?this.renderMetadata(
|
|
1148
|
+
`:e.nothing}renderDescription(t){return this.showDescription&&t?e.html`<div part="description" class="content">${t}</div>`:e.nothing}renderSearchButton(t){return this.showSearchButton?e.html`<div part="search-button"><ft-button id="search" icon="search" ?disabled=${t}>${vi.messages.search()}</ft-button></div>`:e.nothing}renderAlertStatus(t){return this.showAlertStatus&&t?e.html`<ft-icon part="alert-status">alert</ft-icon>`:e.nothing}renderSearchFilters(t){var o,r,i,n,a;return this.showSearchFilters?e.html`<div part="search-filters" class="content">
|
|
1149
|
+
${null!==(o=t.query.length)&&void 0!==o&&o?this.renderMetadata(vi.messages.keywords(),t.query):e.nothing}
|
|
1150
|
+
${t.virtualField==Yr.TITLE_ONLY?this.renderMetadata(vi.messages.in(),vi.messages.titles()):e.nothing}
|
|
1151
|
+
${t.scope==Qr.DOCUMENTS?this.renderMetadata(vi.messages.resultsType(),vi.messages.documentsOnly()):e.nothing}
|
|
1152
1152
|
${t.filters.map((t=>this.renderMetadata(t.label,t.values)))}
|
|
1153
|
-
${null!==(i=null===(r=t.contentLocale)||void 0===r?void 0:r.length)&&void 0!==i&&i?this.renderMetadata(
|
|
1154
|
-
${null!==(a=null===(n=t.sort[0])||void 0===n?void 0:n.key.length)&&void 0!==a&&a?this.renderMetadata(
|
|
1155
|
-
${t.periodFilter?this.renderMetadata(
|
|
1153
|
+
${null!==(i=null===(r=t.contentLocale)||void 0===r?void 0:r.length)&&void 0!==i&&i?this.renderMetadata(vi.messages.language(),t.contentLocale):e.nothing}
|
|
1154
|
+
${null!==(a=null===(n=t.sort[0])||void 0===n?void 0:n.key.length)&&void 0!==a&&a?this.renderMetadata(vi.messages.sort(),this.mapSortKey(t.sort[0].key)):e.nothing}
|
|
1155
|
+
${t.periodFilter?this.renderMetadata(vi.messages.period(),this.mapPeriodFilter(t.periodFilter)):e.nothing}
|
|
1156
1156
|
</div>`:e.nothing}renderMetadata(t,o){return e.html`
|
|
1157
1157
|
<ft-chip dense part="chip">
|
|
1158
1158
|
<span part="metadata-label">${t}</span>
|
|
1159
1159
|
<span part="metadata-values">${Array.isArray(o)?o.join(", "):o}</span>
|
|
1160
|
-
</ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return
|
|
1160
|
+
</ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return vi.messages.relevance();case"ft:lastEdition":return vi.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return vi.messages.lastWeek();case"LAST_MONTH":return vi.messages.lastMonth();case"LAST_YEAR":return vi.messages.lastYear();case"CUSTOM":return vi.messages.customPeriod();default:return"--"}}get userHasRights(){return ii(this.user,this.requiredRole)}get isEmpty(){var t;return 0==(null!==(t=this.savedSearches)&&void 0!==t?t:[]).length}isSelected(t){var e,r,i,n;return null!=this.request&&o.deepEqual(this.request.query,t.query)&&this.areFtSearchFiltersEqual([...this.request.filters],[...t.filters].map(this.mapSearchFilter))&&o.deepEqual([...this.request.sort].map(this.mapFtSearchSortCriterion),[...t.sort].map(this.mapFtSearchSortCriterion))&&o.deepEqual(this.request.contentLocale,t.contentLocale)&&o.deepEqual(this.request.periodFilter,t.periodFilter)&&o.deepEqual(null!==(e=this.request.virtualField)&&void 0!==e?e:"EVERYWHERE",null!==(r=t.virtualField)&&void 0!==r?r:"EVERYWHERE")&&o.deepEqual(null!==(i=this.request.scope)&&void 0!==i?i:"DEFAULT",null!==(n=t.scope)&&void 0!==n?n:"DEFAULT")}areFtSearchFiltersEqual(t,e){if(!o.deepEqual(t.map((t=>t.key)).sort(),e.map((t=>t.key)).sort()))return!1;const r=(t,e)=>t.key===e.key&&t.negative===e.negative&&o.deepEqual(t.values.sort(),e.values.sort());for(const o of t){if(!e.find((t=>r(o,t))))return!1}return!0}mapFtSearchSortCriterion(t){return{...t}}toFtSearchRequest(t){return null==this.request?void 0:{...this.request,periodFilter:t.periodFilter,query:t.query,filters:t.filters.map(this.mapSearchFilter),sort:t.sort,contentLocale:t.contentLocale,virtualField:t.virtualField,scope:t.scope}}mapSearchFilter(t){return{key:t.key,values:t.values,negative:t.negative}}connectedCallback(){super.connectedCallback(),Zr.reloadMySearches()}onLinkClick(t,o){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.setRequest(o),this.click())}update(t){super.update(t),(t.has("user")||t.has("savedSearches"))&&null==this.savedSearches&&Zr.reloadMySearches()}}Si.styles=Nr,Si.elementDefinitions={"ft-typography":vo,"ft-icon":ko,"ft-card":$o,"ft-chip":vr,"ft-button":rr},Ni([r.property({type:Boolean})],Si.prototype,"showDescription",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showSearchFilters",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showSearchButton",void 0),Ni([r.property({type:Boolean})],Si.prototype,"showAlertStatus",void 0),Ni([o.redux({store:Ar.name})],Si.prototype,"savedSearches",void 0),Ni([o.redux({store:wr.name,selector:t=>{var o;return null===(o=t.session)||void 0===o?void 0:o.profile}})],Si.prototype,"user",void 0),Ni([o.redux({store:wr.name})],Si.prototype,"baseUrl",void 0),Ni([o.redux({store:"search"})],Si.prototype,"request",void 0),o.customElement("ft-search-saved-searches")(Si),t.FtSearchSavedSearches=Si,t.FtSearchSavedSearchesCssVariables=Or,t.styles=Nr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
|