@fluid-topics/ft-search-bar 1.1.39 → 1.1.41
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-bar.light.js +12 -12
- package/build/ft-search-bar.min.js +2 -2
- package/package.json +15 -15
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
* Copyright 2017 Google LLC
|
|
28
28
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
29
|
*/
|
|
30
|
-
const h=globalThis,d=h.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,y="?"+b,m=`<${y}>`,v=document,x=()=>v.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,O="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,N=/>/g,C=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),I=/'/g,E=/"/g,L=/^(?:script|style|textarea|title)$/i,U=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),z=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),W=new WeakMap,B=v.createTreeWalker(v,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==u?u.createHTML(e):e}const K=(t,e)=>{const o=t.length-1,i=[];let r,a=2===e?"<svg>":"",n=S;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,s=n.exec(o),null!==s);)p=n.lastIndex,n===S?"!--"===s[1]?n=k:void 0!==s[1]?n=N:void 0!==s[2]?(L.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=C):void 0!==s[3]&&(n=C):n===C?">"===s[0]?(n=r??S,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?C:'"'===s[3]?E:I):n===E||n===I?n=C:n===k||n===N?n=S:(n=C,r=void 0);const f=n===C&&t[e+1].startsWith("/>")?" ":"";a+=n===S?o+m:c>=0?(i.push(l),o.slice(0,c)+g+o.slice(c)+b+f):o+b+(-2===c?e:f)}return[Z(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class
|
|
30
|
+
const h=globalThis,d=h.trustedTypes,u=d?d.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,y="?"+b,m=`<${y}>`,v=document,x=()=>v.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,w=Array.isArray,O="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,N=/>/g,C=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),I=/'/g,E=/"/g,L=/^(?:script|style|textarea|title)$/i,U=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),z=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),W=new WeakMap,B=v.createTreeWalker(v,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==u?u.createHTML(e):e}const K=(t,e)=>{const o=t.length-1,i=[];let r,a=2===e?"<svg>":"",n=S;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,s=n.exec(o),null!==s);)p=n.lastIndex,n===S?"!--"===s[1]?n=k:void 0!==s[1]?n=N:void 0!==s[2]?(L.test(s[2])&&(r=RegExp("</"+s[2],"g")),n=C):void 0!==s[3]&&(n=C):n===C?">"===s[0]?(n=r??S,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?C:'"'===s[3]?E:I):n===E||n===I?n=C:n===k||n===N?n=S:(n=C,r=void 0);const f=n===C&&t[e+1].startsWith("/>")?" ":"";a+=n===S?o+m:c>=0?(i.push(l),o.slice(0,c)+g+o.slice(c)+b+f):o+b+(-2===c?e:f)}return[Z(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class D{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[s,c]=K(t,e);if(this.el=D.createElement(s,o),B.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=B.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(g)){const e=c[a++],o=i.getAttribute(t).split(b),n=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:n[2],strings:o,ctor:"."===n[1]?P:"?"===n[1]?j:"@"===n[1]?T:M}),i.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(L.test(i.tagName)){const t=i.textContent.split(b),e=t.length-1;if(e>0){i.textContent=d?d.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],x()),B.nextNode(),l.push({type:2,index:++r});i.append(t[e],x())}}}else if(8===i.nodeType)if(i.data===y)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(b,t+1));)l.push({type:7,index:r}),t+=b.length-1}r++}}static createElement(t,e){const o=v.createElement("template");return o.innerHTML=t,o}}function F(t,e,o=t,i){if(e===z)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const a=$(e)?void 0:e._$litDirective$;return r?.constructor!==a&&(r?._$AO?.(!1),void 0===a?r=void 0:(r=new a(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=F(t,r._$AS(t,e.values),r,i)),e}class A{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??v).importNode(e,!0);B.currentNode=i;let r=B.nextNode(),a=0,n=0,l=o[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new H(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new G(r,this,t)),this._$AV.push(e),l=o[++n]}a!==l?.index&&(r=B.nextNode(),a++)}return B.currentNode=v,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=F(this,t,e),$(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>w(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==R&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(v.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=D.createElement(Z(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new A(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=W.get(t.strings);return void 0===e&&W.set(t.strings,e=new D(t)),e}T(t){w(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new H(this.k(x()),this.k(x()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class M{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=R}_$AI(t,e=this,o,i){const r=this.strings;let a=!1;if(void 0===r)t=F(this,t,e,0),a=!$(t)||t!==this._$AH&&t!==z,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=F(this,i[o+n],e,n),l===z&&(l=this._$AH[n]),a||=!$(l)||l!==this._$AH[n],l===R?t=R:t!==R&&(t+=(l??"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.O(t)}O(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class P extends M{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===R?void 0:t}}class j extends M{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==R)}}class T extends M{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=F(this,t,e,0)??R)===z)return;const o=this._$AH,i=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||i);i&&this.element.removeEventListener(this.name,this,o),r&&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 G{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){F(this,t)}}const _=h.litHtmlPolyfillSupport;_?.(D,H),(h.litHtmlVersions??=[]).push("3.1.0");
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2020 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
35
|
*/
|
|
36
|
-
const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litStatic$:t,r:V}),X=new Map,J=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(a=o[c],r=q(a));)s+=r+e[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(e[i]),p){const t=n.join("$$lit$$");void 0===(e=X.get(t))&&(n.raw=n,X.set(t,e=n)),o=l}return t(e,...o)})(U);var Q;!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"}(Q||(Q={}));const tt=t=>"string"==typeof t?o.unsafeCSS(t):t;class et{static create(t,e,i,r){const a=t=>tt(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,i,r){const a=t=>i.get(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):tt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${tt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${tt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ot={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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)")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},rt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ot.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",ot.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",ot.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",ot.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",ot.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",ot.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ot.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",ot.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",ot.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",ot.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ot.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ot.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ot.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ot.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ot.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ot.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",ot.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ot.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",ot.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ot.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",ot.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",ot.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ot.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ot.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",ot.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",ot.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ot.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ot.colorOrange300),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",ot.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",ot.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",ot.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",ot.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",ot.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",ot.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",ot.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",ot.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ot.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ot.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",ot.spacing4),largeGap:et.extend("--ft-button-large-gap","",ot.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",ot.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",ot.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",ot.spacing3),smallGap:et.extend("--ft-button-small-gap","",ot.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",ot.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",ot.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",rt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",rt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",rt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",rt.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",ot.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",ot.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",ot.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",ot.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",rt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",rt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",rt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",rt.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",ot.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",ot.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",ot.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",ot.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",rt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",rt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",rt.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",ot.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",ot.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",ot.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",ot.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",rt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",rt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",rt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",rt.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",ot.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",ot.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",ot.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",ot.opacity40)};et.extend("--ft-floating-menu-horizontal-padding","",ot.spacing4),et.extend("--ft-floating-menu-vertical-padding","",ot.spacing4),et.extend("--ft-floating-menu-off-icon-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-gap","",ot.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-floating-menu-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-floating-menu-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-floating-menu-component-opacity-disabled","",ot.opacity40),et.extend("--ft-floating-menu-icon-size","",ot.iconSize3),et.extend("--ft-floating-menu-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-tabs-top-left-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",ot.spacing4),et.extend("--ft-tabs-label-vertical-padding","",ot.spacing3),et.extend("--ft-tabs-label-gap","",ot.spacing1),et.extend("--ft-tabs-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",ot.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-tabs-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-off-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-on-color","",rt.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-collapsible-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-collapsible-component-opacity-disabled","",ot.opacity40),et.extend("--ft-collapsible-horizontal-padding","",ot.spacing4),et.extend("--ft-collapsible-vertical-padding","",ot.spacing3),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-collapsible-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",rt.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",ot.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-group-vertical-padding","",ot.spacing1),et.extend("--ft-switch-group-gap","",ot.spacing1),et.extend("--ft-switch-group-background-color","",rt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",rt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",ot.spacing2),et.extend("--ft-switch-label-vertical-padding","",ot.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-icon-vertical-padding","",ot.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",ot.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-off-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-on-color","",rt.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-chart-1-light","for area color charts",ot.colorBrand40),et.extend("--ft-chart-1-base","for line charts",ot.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",ot.colorYellow60),et.extend("--ft-chart-2-base","for line charts",ot.colorYellow100),et.extend("--ft-chart-3-light","",ot.colorUltramarine40),et.extend("--ft-chart-3-base","",ot.colorUltramarine70),et.extend("--ft-chart-4-light","",ot.colorCyan50),et.extend("--ft-chart-4-base","",ot.colorCyan100),et.extend("--ft-chart-5-light","",ot.colorRed40),et.extend("--ft-chart-5-base","",ot.colorRed60),et.extend("--ft-chart-6-light","",ot.colorGreen40),et.extend("--ft-chart-6-base","",ot.colorGreen70),et.extend("--ft-chart-7-light","",ot.colorOrange70),et.extend("--ft-chart-7-base","",ot.colorOrange100),et.extend("--ft-chart-8-light","",ot.colorAvocado70),et.extend("--ft-chart-8-base","",ot.colorAvocado200),et.extend("--ft-chart-9-light","",ot.colorBrown50),et.extend("--ft-chart-9-base","",ot.colorBrown200),et.extend("--ft-chart-10-light","",ot.colorGray50),et.extend("--ft-chart-10-base","",ot.colorGray80),et.extend("--ft-chart-monochrome-10","",ot.colorBrand10),et.extend("--ft-chart-monochrome-20","",ot.colorBrand20),et.extend("--ft-chart-monochrome-30","",ot.colorBrand40),et.extend("--ft-chart-monochrome-40","",ot.colorBrand60),et.extend("--ft-chart-monochrome-50","",ot.colorBrand0),et.extend("--ft-chart-monochrome-60","",ot.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",ot.spacing4),et.extend("--ft-chip-large-vertical-padding","",ot.spacing2),et.extend("--ft-chip-large-gap","",ot.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",ot.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",ot.spacing3),et.extend("--ft-chip-medium-vertical-padding","",ot.spacing1),et.extend("--ft-chip-medium-gap","",ot.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",ot.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",ot.spacing2),et.extend("--ft-chip-small-vertical-padding","",ot.spacing05),et.extend("--ft-chip-small-gap","",ot.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",ot.iconSize1),et.extend("--ft-chip-neutral-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",rt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",rt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",rt.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",rt.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",rt.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",rt.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",rt.borderErrorSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",ot.spacing2),et.extend("--ft-notice-vertical-padding","",ot.spacing1),et.extend("--ft-notice-border-radius","",ot.borderRadiusS),et.extend("--ft-notice-gap","",ot.spacing2),et.extend("--ft-notice-icon-size","",ot.iconSize3),et.extend("--ft-notice-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notice-info-color","",rt.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notice-warning-color","",rt.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",rt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",rt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",ot.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-off-background-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-on-background-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-toggle-label-color","",rt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-toggle-gap","",ot.spacing3),et.extend("--ft-radio-label-color","",rt.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",ot.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",ot.spacing3),et.extend("--ft-notification-icon-size","",ot.iconSize4),et.extend("--ft-notification-horizontal-padding","",ot.spacing4),et.extend("--ft-notification-vertical-padding","",ot.spacing4),et.extend("--ft-notification-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",rt.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",rt.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",rt.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",rt.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",rt.borderErrorSubtle),et.extend("--ft-notification-border-radius","",ot.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",ot.spacing2),et.extend("--ft-notification-gap-trailing","",ot.spacing8),et.extend("--ft-tooltip-horizontal-padding","",ot.spacing2),et.extend("--ft-tooltip-vertical-padding","",ot.spacing2),et.extend("--ft-tooltip-border-radius","",ot.borderRadiusS),et.extend("--ft-tooltip-label","",rt.contentGlobalOnColor),et.extend("--ft-tooltip-background","",rt.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",ot.opacity80),et.extend("--ft-tooltip-shadow","",ot.shadowElevation03);const nt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),lt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),st={fontFamily:lt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ct=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nt),pt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nt),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Lt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),Rt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit")},Wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Bt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit")},Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},qt=o.css`
|
|
36
|
+
const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litStatic$:t,r:V}),X=new Map,J=(t=>(e,...o)=>{const i=o.length;let r,a;const n=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(a=o[c],r=q(a));)s+=r+e[++c],p=!0;c!==i&&l.push(a),n.push(s),c++}if(c===i&&n.push(e[i]),p){const t=n.join("$$lit$$");void 0===(e=X.get(t))&&(n.raw=n,X.set(t,e=n)),o=l}return t(e,...o)})(U);var Q;!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"}(Q||(Q={}));const tt=t=>"string"==typeof t?o.unsafeCSS(t):t;class et{static create(t,e,i,r){const a=t=>tt(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,i,r){const a=t=>i.get(null!=t?t:r),n=o.css`var(${tt(t)}, ${a(r)})`;return n.name=t,n.description=e,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=e=>o.css`var(${tt(t)}, ${a(e)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):tt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${tt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${tt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ot={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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:et.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)")},it={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},rt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ot.colorBrand0),backgroundErrorPrimary:et.extend("--ft-background-error-primary","Used as background of error components.",ot.colorRed0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",ot.colorRed10),backgroundInfoPrimary:et.extend("--ft-background-info-primary","Used as background of information components.",ot.colorCyan200),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",ot.colorCyan10),backgroundWarningPrimary:et.extend("--ft-background-warning-primary","Used as background of warning components.",ot.colorOrange300),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ot.colorOrange10),backgroundSuccessPrimary:et.extend("--ft-background-success-primary","Used as background of success components.",ot.colorGreen200),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",ot.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",ot.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ot.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ot.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ot.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ot.colorOrange300),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ot.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ot.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",ot.colorRed0),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ot.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",ot.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ot.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",ot.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",ot.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ot.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ot.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",ot.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",ot.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ot.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ot.colorOrange300),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",ot.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",ot.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",ot.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",ot.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",ot.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",ot.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",ot.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",ot.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ot.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ot.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",ot.spacing4),largeGap:et.extend("--ft-button-large-gap","",ot.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",ot.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",ot.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",ot.spacing3),smallGap:et.extend("--ft-button-small-gap","",ot.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",ot.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",ot.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",rt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",rt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",rt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",rt.contentGlobalOnColor),primaryStateLayerOpacityHover:et.extend("--ft-button-primary-state-layer-opacity-hover","",ot.opacity16),primaryStateLayerOpacityFocus:et.extend("--ft-button-primary-state-layer-opacity-focus","",ot.opacity16),primaryStateLayerOpacityActive:et.extend("--ft-button-primary-state-layer-opacity-active","",ot.opacity24),primaryComponentOpacityDisabled:et.extend("--ft-button-primary-component-opacity-disabled","",ot.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",rt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",rt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",rt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",rt.contentActionPrimary),tertiaryStateLayerOpacityHover:et.extend("--ft-button-tertiary-state-layer-opacity-hover","",ot.opacity8),tertiaryStateLayerOpacityFocus:et.extend("--ft-button-tertiary-state-layer-opacity-focus","",ot.opacity8),tertiaryStateLayerOpacityActive:et.extend("--ft-button-tertiary-state-layer-opacity-active","",ot.opacity16),tertiaryComponentOpacityDisabled:et.extend("--ft-button-tertiary-component-opacity-disabled","",ot.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",rt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",rt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",rt.contentActionPrimary),secondaryStateLayerOpacityHover:et.extend("--ft-button-secondary-state-layer-opacity-hover","",ot.opacity8),secondaryStateLayerOpacityFocus:et.extend("--ft-button-secondary-state-layer-opacity-focus","",ot.opacity8),secondaryStateLayerOpacityActive:et.extend("--ft-button-secondary-state-layer-opacity-active","",ot.opacity16),secondaryComponentOpacityDisabled:et.extend("--ft-button-secondary-component-opacity-disabled","",ot.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",rt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",rt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",rt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",rt.contentGlobalSecondary),neutralStateLayerOpacityHover:et.extend("--ft-button-neutral-state-layer-opacity-hover","",ot.opacity8),neutralStateLayerOpacityFocus:et.extend("--ft-button-neutral-state-layer-opacity-focus","",ot.opacity8),neutralStateLayerOpacityActive:et.extend("--ft-button-neutral-state-layer-opacity-active","",ot.opacity16),neutralComponentOpacityDisabled:et.extend("--ft-button-neutral-component-opacity-disabled","",ot.opacity40)};et.extend("--ft-floating-menu-horizontal-padding","",ot.spacing4),et.extend("--ft-floating-menu-vertical-padding","",ot.spacing4),et.extend("--ft-floating-menu-off-icon-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",rt.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-floating-menu-gap","",ot.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-floating-menu-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-floating-menu-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-floating-menu-component-opacity-disabled","",ot.opacity40),et.extend("--ft-floating-menu-icon-size","",ot.iconSize3),et.extend("--ft-floating-menu-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-tabs-top-left-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",ot.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",ot.spacing4),et.extend("--ft-tabs-label-vertical-padding","",ot.spacing3),et.extend("--ft-tabs-label-gap","",ot.spacing1),et.extend("--ft-tabs-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",ot.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-tabs-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-off-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-tabs-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-tabs-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-tabs-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-tabs-on-color","",rt.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-collapsible-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-collapsible-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-collapsible-component-opacity-disabled","",ot.opacity40),et.extend("--ft-collapsible-horizontal-padding","",ot.spacing4),et.extend("--ft-collapsible-vertical-padding","",ot.spacing3),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-collapsible-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",rt.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",rt.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",ot.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-group-vertical-padding","",ot.spacing1),et.extend("--ft-switch-group-gap","",ot.spacing1),et.extend("--ft-switch-group-background-color","",rt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",rt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",ot.spacing2),et.extend("--ft-switch-label-vertical-padding","",ot.spacing1),et.extend("--ft-switch-icon-horizontal-padding","",ot.spacing1),et.extend("--ft-switch-icon-vertical-padding","",ot.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",ot.borderRadiusS),et.extend("--ft-switch-off-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-off-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-off-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-switch-on-state-layer-opacity-hover","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-focus","",ot.opacity8),et.extend("--ft-switch-on-state-layer-opacity-active","",ot.opacity16),et.extend("--ft-switch-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-switch-on-color","",rt.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-chart-1-light","for area color charts",ot.colorBrand40),et.extend("--ft-chart-1-base","for line charts",ot.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",ot.colorYellow60),et.extend("--ft-chart-2-base","for line charts",ot.colorYellow100),et.extend("--ft-chart-3-light","",ot.colorUltramarine40),et.extend("--ft-chart-3-base","",ot.colorUltramarine70),et.extend("--ft-chart-4-light","",ot.colorCyan50),et.extend("--ft-chart-4-base","",ot.colorCyan100),et.extend("--ft-chart-5-light","",ot.colorRed40),et.extend("--ft-chart-5-base","",ot.colorRed60),et.extend("--ft-chart-6-light","",ot.colorGreen40),et.extend("--ft-chart-6-base","",ot.colorGreen70),et.extend("--ft-chart-7-light","",ot.colorOrange70),et.extend("--ft-chart-7-base","",ot.colorOrange100),et.extend("--ft-chart-8-light","",ot.colorAvocado70),et.extend("--ft-chart-8-base","",ot.colorAvocado200),et.extend("--ft-chart-9-light","",ot.colorBrown50),et.extend("--ft-chart-9-base","",ot.colorBrown200),et.extend("--ft-chart-10-light","",ot.colorGray50),et.extend("--ft-chart-10-base","",ot.colorGray80),et.extend("--ft-chart-monochrome-10","",ot.colorBrand10),et.extend("--ft-chart-monochrome-20","",ot.colorBrand20),et.extend("--ft-chart-monochrome-30","",ot.colorBrand40),et.extend("--ft-chart-monochrome-40","",ot.colorBrand60),et.extend("--ft-chart-monochrome-50","",ot.colorBrand0),et.extend("--ft-chart-monochrome-60","",ot.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",ot.spacing4),et.extend("--ft-chip-large-vertical-padding","",ot.spacing2),et.extend("--ft-chip-large-gap","",ot.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",ot.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",ot.spacing3),et.extend("--ft-chip-medium-vertical-padding","",ot.spacing1),et.extend("--ft-chip-medium-gap","",ot.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",ot.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",ot.spacing2),et.extend("--ft-chip-small-vertical-padding","",ot.spacing05),et.extend("--ft-chip-small-gap","",ot.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",ot.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",ot.iconSize1),et.extend("--ft-chip-neutral-background-color","",rt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",rt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",rt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",rt.contentInfoPrimary),et.extend("--ft-chip-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",rt.contentSuccessPrimary),et.extend("--ft-chip-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",rt.contentWarningPrimary),et.extend("--ft-chip-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",rt.contentErrorPrimary),et.extend("--ft-chip-error-border-color","",rt.borderErrorSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",ot.spacing2),et.extend("--ft-notice-vertical-padding","",ot.spacing1),et.extend("--ft-notice-border-radius","",ot.borderRadiusS),et.extend("--ft-notice-gap","",ot.spacing2),et.extend("--ft-notice-icon-size","",ot.iconSize3),et.extend("--ft-notice-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notice-info-color","",rt.contentInfoPrimary),et.extend("--ft-notice-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notice-warning-color","",rt.contentWarningPrimary),et.extend("--ft-checkbox-label-color","",rt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-checkbox-checked-color","",rt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-checked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-checked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",ot.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ot.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",ot.spacing3),et.extend("--ft-toggle-off-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-off-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-off-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-off-background-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",rt.contentGlobalSubtle),et.extend("--ft-toggle-on-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-toggle-on-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-toggle-on-component-opacity-disabled","",ot.opacity40),et.extend("--ft-toggle-on-background-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",rt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-toggle-label-color","",rt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",rt.borderActionFocusRing),et.extend("--ft-toggle-gap","",ot.spacing3),et.extend("--ft-radio-label-color","",rt.contentGlobalPrimary),et.extend("--ft-radio-selected-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",rt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-selected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-selected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",ot.colorGray80),et.extend("--ft-radio-unselected-state-layer-opacity-hover","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-focus","",ot.opacity16),et.extend("--ft-radio-unselected-state-layer-opacity-active","",ot.opacity24),et.extend("--ft-radio-unselected-component-opacity-disabled","",ot.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",rt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",ot.spacing3),et.extend("--ft-notification-icon-size","",ot.iconSize4),et.extend("--ft-notification-horizontal-padding","",ot.spacing4),et.extend("--ft-notification-vertical-padding","",ot.spacing4),et.extend("--ft-notification-info-background-color","",rt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",rt.contentInfoPrimary),et.extend("--ft-notification-info-border-color","",rt.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",rt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",rt.contentSuccessPrimary),et.extend("--ft-notification-success-border-color","",rt.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",rt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",rt.contentWarningPrimary),et.extend("--ft-notification-warning-border-color","",rt.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",rt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",rt.contentErrorPrimary),et.extend("--ft-notification-error-border-color","",rt.borderErrorSubtle),et.extend("--ft-notification-border-radius","",ot.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-gap-leading","",ot.spacing2),et.extend("--ft-notification-gap-trailing","",ot.spacing8),et.extend("--ft-tooltip-horizontal-padding","",ot.spacing2),et.extend("--ft-tooltip-vertical-padding","",ot.spacing2),et.extend("--ft-tooltip-border-radius","",ot.borderRadiusS),et.extend("--ft-tooltip-label","",rt.contentGlobalOnColor),et.extend("--ft-tooltip-background","",rt.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",ot.opacity80),et.extend("--ft-tooltip-shadow","",ot.shadowElevation03);const nt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),lt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),st={fontFamily:lt,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ct=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",nt),pt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),dt=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",nt),bt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),yt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),vt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",lt),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",lt),It=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),Lt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),Rt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit")},Wt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Bt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit")},Zt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",lt),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),At=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Ht=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Mt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",lt),Pt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),Tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),Gt=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),_t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),Vt={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",lt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},qt=o.css`
|
|
37
37
|
.ft-typography--title {
|
|
38
38
|
font-family: ${ct};
|
|
39
39
|
font-size: ${pt};
|
|
@@ -101,8 +101,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
101
101
|
.ft-typography--breadcrumb {
|
|
102
102
|
font-family: ${Zt};
|
|
103
103
|
font-size: ${Kt};
|
|
104
|
-
font-weight: ${
|
|
105
|
-
letter-spacing: ${
|
|
104
|
+
font-weight: ${Dt};
|
|
105
|
+
letter-spacing: ${Ft};
|
|
106
106
|
line-height: ${At};
|
|
107
107
|
text-transform: ${Ht};
|
|
108
108
|
}
|
|
@@ -550,7 +550,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
550
550
|
position: relative;
|
|
551
551
|
word-break: break-word;
|
|
552
552
|
}
|
|
553
|
-
`,Fe=["start","end"],De=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),Ae=Math.min,He=Math.max,Me=Math.round,Pe=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-x.top+u.top)/v.y,bottom:(x.bottom-b.bottom+u.bottom)/v.y,left:(b.left-x.left+u.left)/v.x,right:(x.right-b.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=De,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===De?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[b[Ve(m)],b[v[0]],b[v[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==l?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=vo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function vo(t){return lo(t).getComputedStyle(t)}function xo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function wo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:wo(e)}function Oo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?Oo(n.frameElement):[]):e.concat(r,Oo(r,[],o))}function So(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Me(o)!==a||Me(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function ko(t){return po(t)?t:t.contextElement}function No(t){const e=ko(t);if(!fo(e))return Pe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=So(e);let n=(a?Me(o.width):o.width)/i,l=(a?Me(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Pe(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=ko(t);let n=Pe(1);e&&(i?po(i)&&(n=No(i)):n=No(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Pe(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function Lo(t){return Eo(so(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=xo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Lo(t);const l=-o.scrollTop;return"rtl"===vo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?No(t):Pe(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function zo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===vo(o).position||zo(o,e))}function Ro(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Pe(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=xo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Lo(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Wo(t,e){return fo(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&go(i)&&"static"===vo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===vo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Pe(1);const s=Pe(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=xo(o)),fo(o))){const t=Eo(o);l=No(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===vo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=vo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&zo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),i],n=a[0],l=a.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Uo(e,n,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:No,isElement:po,isRTL:function(t){return"rtl"===vo(t).direction}},Ko=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Fo(t){return function(t){for(let e=t;e;e=Do(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Do(t);e;e=Do(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Do(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Mo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Po extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
553
|
+
`,De=["start","end"],Fe=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+De[0],e+"-"+De[1])),[]),Ae=Math.min,He=Math.max,Me=Math.round,Pe=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-x.top+u.top)/v.y,bottom:(x.bottom-b.bottom+u.bottom)/v.y,left:(b.left-x.left+u.left)/v.x,right:(x.right-b.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Fe,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===Fe?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[b[Ve(m)],b[v[0]],b[v[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==l?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=vo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function vo(t){return lo(t).getComputedStyle(t)}function xo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function wo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:wo(e)}function Oo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?Oo(n.frameElement):[]):e.concat(r,Oo(r,[],o))}function So(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Me(o)!==a||Me(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function ko(t){return po(t)?t:t.contextElement}function No(t){const e=ko(t);if(!fo(e))return Pe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=So(e);let n=(a?Me(o.width):o.width)/i,l=(a?Me(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Pe(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=ko(t);let n=Pe(1);e&&(i?po(i)&&(n=No(i)):n=No(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Pe(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function Lo(t){return Eo(so(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=xo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Lo(t);const l=-o.scrollTop;return"rtl"===vo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?No(t):Pe(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function zo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===vo(o).position||zo(o,e))}function Ro(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Pe(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=xo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Lo(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Wo(t,e){return fo(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&go(i)&&"static"===vo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===vo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Pe(1);const s=Pe(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=xo(o)),fo(o))){const t=Eo(o);l=No(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===vo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=vo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&zo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),i],n=a[0],l=a.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Uo(e,n,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:No,isElement:po,isRTL:function(t){return"rtl"===vo(t).direction}},Ko=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Do(t){return function(t){for(let e=t;e;e=Fo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Fo(t);e;e=Fo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Fo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Mo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Po extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
554
554
|
<div part="container"
|
|
555
555
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
556
556
|
@mouseenter=${this.onHover}
|
|
@@ -568,7 +568,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
568
568
|
</div>
|
|
569
569
|
</div>
|
|
570
570
|
</div>
|
|
571
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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,e,o){return Ko(t,e,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Fo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(i,t),c={x:e,y:o},p=await io(t,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),ao({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}Po.elementDefinitions={"ft-typography":se},Po.styles=Ke,Mo([i.property()],Po.prototype,"text",void 0),Mo([i.property({type:Boolean})],Po.prototype,"manual",void 0),Mo([i.property({type:Boolean})],Po.prototype,"inline",void 0),Mo([i.property({type:Number})],Po.prototype,"delay",void 0),Mo([i.property()],Po.prototype,"position",void 0),Mo([i.queryAssignedNodes()],Po.prototype,"slotNodes",void 0),Mo([i.query(".ft-tooltip--container")],Po.prototype,"container",void 0),Mo([i.query(".ft-tooltip")],Po.prototype,"tooltip",void 0),Mo([i.query(".ft-tooltip--content")],Po.prototype,"tooltipContent",void 0),Mo([i.state()],Po.prototype,"visible",void 0),Mo([i.eventOptions({passive:!0})],Po.prototype,"onTouch",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onHover",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onOut",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onClick",null),e.customElement("ft-tooltip")(Po),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.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=""}(Ao||(Ao={})),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=""}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.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,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;Ho.ABW,Ho.AUDIO,Ho.AVI,Ho.CHM,Ho.CODE,Ho.CSV,Ho.DITA,Ho.EPUB,Ho.EXCEL,Ho.FLAC,Ho.GIF,Ho.GZIP,Ho.HTML,Ho.IMAGE,Ho.JPEG,Ho.JSON,Ho.M4A,Ho.MOV,Ho.MP3,Ho.MP4,Ho.OGG,Ho.PDF,Ho.PNG,Ho.POWERPOINT,Ho.RAR,Ho.STP,Ho.TEXT,Ho.UNKNOWN,Ho.VIDEO,Ho.WAV,Ho.WMA,Ho.WORD,Ho.XML,Ho.YAML,Ho.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
|
|
571
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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,e,o){return Ko(t,e,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Do)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(i,t),c={x:e,y:o},p=await io(t,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),ao({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}Po.elementDefinitions={"ft-typography":se},Po.styles=Ke,Mo([i.property()],Po.prototype,"text",void 0),Mo([i.property({type:Boolean})],Po.prototype,"manual",void 0),Mo([i.property({type:Boolean})],Po.prototype,"inline",void 0),Mo([i.property({type:Number})],Po.prototype,"delay",void 0),Mo([i.property()],Po.prototype,"position",void 0),Mo([i.queryAssignedNodes()],Po.prototype,"slotNodes",void 0),Mo([i.query(".ft-tooltip--container")],Po.prototype,"container",void 0),Mo([i.query(".ft-tooltip")],Po.prototype,"tooltip",void 0),Mo([i.query(".ft-tooltip--content")],Po.prototype,"tooltipContent",void 0),Mo([i.state()],Po.prototype,"visible",void 0),Mo([i.eventOptions({passive:!0})],Po.prototype,"onTouch",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onHover",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onOut",null),Mo([i.eventOptions({passive:!0})],Po.prototype,"onClick",null),e.customElement("ft-tooltip")(Po),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.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=""}(Ao||(Ao={})),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=""}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.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,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;Ho.ABW,Ho.AUDIO,Ho.AVI,Ho.CHM,Ho.CODE,Ho.CSV,Ho.DITA,Ho.EPUB,Ho.EXCEL,Ho.FLAC,Ho.GIF,Ho.GZIP,Ho.HTML,Ho.IMAGE,Ho.JPEG,Ho.JSON,Ho.M4A,Ho.MOV,Ho.MP3,Ho.MP4,Ho.OGG,Ho.PDF,Ho.PNG,Ho.POWERPOINT,Ho.RAR,Ho.STP,Ho.TEXT,Ho.UNKNOWN,Ho.VIDEO,Ho.WAV,Ho.WMA,Ho.WORD,Ho.XML,Ho.YAML,Ho.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
|
|
572
572
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
573
573
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
574
574
|
<slot ?hidden=${e}></slot>
|
|
@@ -1317,7 +1317,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
1317
1317
|
@click=${this.next}
|
|
1318
1318
|
></ft-button>
|
|
1319
1319
|
</div>
|
|
1320
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Ui.elementDefinitions={"ft-button":Qo},Ui.styles=Ii,Ei([i.property({type:Boolean})],Ui.prototype,"horizontal",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"hideScrollbar",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"controls",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"limitSize",void 0),Ei([i.state()],Ui.prototype,"elements",void 0),Ei([i.state()],Ui.prototype,"currentElement",void 0),Ei([i.state()],Ui.prototype,"withScroll",void 0),Ei([i.state()],Ui.prototype,"startReached",void 0),Ei([i.state()],Ui.prototype,"endReached",void 0),Ei([i.query(".ft-snap-scroll--content")],Ui.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Ui);const zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Ri=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Wi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Bi=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),Ki=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),
|
|
1320
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Ui.elementDefinitions={"ft-button":Qo},Ui.styles=Ii,Ei([i.property({type:Boolean})],Ui.prototype,"horizontal",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"hideScrollbar",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"controls",void 0),Ei([i.property({type:Boolean})],Ui.prototype,"limitSize",void 0),Ei([i.state()],Ui.prototype,"elements",void 0),Ei([i.state()],Ui.prototype,"currentElement",void 0),Ei([i.state()],Ui.prototype,"withScroll",void 0),Ei([i.state()],Ui.prototype,"startReached",void 0),Ei([i.state()],Ui.prototype,"endReached",void 0),Ei([i.query(".ft-snap-scroll--content")],Ui.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Ui);const zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Ri=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Wi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Bi=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Zi=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),Ki=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),Di=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),Fi=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),Ai=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",st.fontSize,"16px"),Hi=[ee,o.css`
|
|
1321
1321
|
:host {
|
|
1322
1322
|
display: flex;
|
|
1323
1323
|
max-height: 100%;
|
|
@@ -1352,7 +1352,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
1352
1352
|
flex-shrink: 1;
|
|
1353
1353
|
flex-grow: 1;
|
|
1354
1354
|
word-break: break-word;
|
|
1355
|
-
color: ${
|
|
1355
|
+
color: ${Fi};
|
|
1356
1356
|
font-size: ${Ai};
|
|
1357
1357
|
${e.setVariable(st.lineHeight,"22px")};
|
|
1358
1358
|
${e.setVariable(st.fontWeight,"bold")};
|
|
@@ -1366,8 +1366,8 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
1366
1366
|
padding: 0 10px;
|
|
1367
1367
|
overflow: hidden;
|
|
1368
1368
|
height: 32px;
|
|
1369
|
-
transition: height ${Ki} ${
|
|
1370
|
-
margin ${Ki} ${
|
|
1369
|
+
transition: height ${Ki} ${Di},
|
|
1370
|
+
margin ${Ki} ${Di};
|
|
1371
1371
|
transition-delay: 500ms;
|
|
1372
1372
|
}
|
|
1373
1373
|
|
|
@@ -2767,9 +2767,9 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
|
|
|
2767
2767
|
`}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Lr.styles=o.css`
|
|
2768
2768
|
|
|
2769
2769
|
`;const Ur=o.css`
|
|
2770
|
-
`,zr=e.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 Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=zr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let o=Rr.get(t);if(o)e(o);else{const i=zr.subscribe((()=>{o=Rr.get(t),o&&(i(),e(o))}))}}))}}class Wr{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.await()}clearCache(){this.cache.clearAll()}}var Br;const Zr=Symbol("clearAfterUnitTest");class Kr extends Wr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Br]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=zr.getState().uiLocale,zr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=zr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Br=Zr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const
|
|
2770
|
+
`,zr=e.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,openExternalDocumentInNewTab:!1}});class Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=zr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let o=Rr.get(t);if(o)e(o);else{const i=zr.subscribe((()=>{o=Rr.get(t),o&&(i(),e(o))}))}}))}}class Wr{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.await()}clearCache(){this.cache.clearAll()}}var Br;const Zr=Symbol("clearAfterUnitTest");class Kr extends Wr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Br]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=zr.getState().uiLocale,zr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=zr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Br=Zr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Dr=window.FluidTopicsI18nService;var Fr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ar extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Rr.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
|
|
2771
2771
|
<slot></slot>
|
|
2772
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(zr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&zr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&zr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&zr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&zr.actions.noCustom(this.noCustom),t.has("editorMode")&&zr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&zr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&zr.actions.session(this.session),t.has("availableUiLocales")&&zr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>
|
|
2772
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(zr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&zr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&zr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&zr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&zr.actions.noCustom(this.noCustom),t.has("editorMode")&&zr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&zr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&zr.actions.session(this.session),t.has("availableUiLocales")&&zr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Dr.addContext(t))),t.has("openExternalDocumentInNewTab")&&zr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),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()))}}Ar.elementDefinitions={},Ar.styles=Ur,Fr([i.property()],Ar.prototype,"baseUrl",void 0),Fr([i.property()],Ar.prototype,"apiIntegrationIdentifier",void 0),Fr([i.property()],Ar.prototype,"uiLocale",void 0),Fr([e.jsonProperty(null)],Ar.prototype,"availableUiLocales",void 0),Fr([e.jsonProperty(null)],Ar.prototype,"metadataConfiguration",void 0),Fr([i.property({type:Boolean})],Ar.prototype,"editorMode",void 0),Fr([i.property({type:Boolean})],Ar.prototype,"noCustom",void 0),Fr([i.property({type:Boolean})],Ar.prototype,"openExternalDocumentInNewTab",void 0),Fr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ar.prototype,"noCustomComponent",void 0),Fr([i.property({type:Boolean})],Ar.prototype,"withManualResources",void 0),Fr([e.jsonProperty([])],Ar.prototype,"messageContexts",void 0),Fr([e.jsonProperty(void 0)],Ar.prototype,"session",void 0),Fr([i.property({type:Object})],Ar.prototype,"apiProvider",void 0);class Hr extends Wr{async listMySearches(){let t=zr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Mr extends Wr{async listMyBookmarks(){let t=zr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Pr=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=zr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mr,this.savedSearchesService=new Hr,zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=zr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Pr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Pr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pr.actions.bookmarks(e)}}},e.customElement("ft-app-context")(Ar);var jr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Tr={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Gr extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class _r extends CustomEvent{constructor(t){super("change",{detail:t})}}const Vr=()=>{};class qr extends e.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(Tr,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Cr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new Lr(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=zr.getState().session,this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await e.waitFor((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
|
|
2773
2773
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2774
2774
|
${this.renderSearchBar()}
|
|
2775
2775
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():o.html`
|
|
@@ -2914,9 +2914,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
2914
2914
|
`}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Yl.styles=It`
|
|
2915
2915
|
|
|
2916
2916
|
`;const Jl=It`
|
|
2917
|
-
`,Xl=Gr.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 Ql{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Xl.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ql.build(t):null!==(e=Ql.API)&&void 0!==e?e:Ql.API=Ql.build()}static await(t){return new Promise((e=>{let o=Ql.get(t);if(o)e(o);else{const i=Xl.subscribe((()=>{o=Ql.get(t),o&&(i(),e(o))}))}}))}}class tc{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new i,this.cache=t?r.commonCache:new i}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.await()}clearCache(){this.cache.clearAll()}}var ec;const oc=Symbol("clearAfterUnitTest");class ic extends tc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ec]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=Xl.getState().uiLocale,Xl.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Xl.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};B(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>z(0).then((()=>t())).catch((()=>null)))))}}ec=oc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const rc=window.FluidTopicsI18nService;var nc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ac extends _o{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=()=>Ql.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return he`
|
|
2917
|
+
`,Xl=Gr.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,openExternalDocumentInNewTab:!1}});class Ql{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Xl.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ql.build(t):null!==(e=Ql.API)&&void 0!==e?e:Ql.API=Ql.build()}static await(t){return new Promise((e=>{let o=Ql.get(t);if(o)e(o);else{const i=Xl.subscribe((()=>{o=Ql.get(t),o&&(i(),e(o))}))}}))}}class tc{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new i,this.cache=t?r.commonCache:new i}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.await()}clearCache(){this.cache.clearAll()}}var ec;const oc=Symbol("clearAfterUnitTest");class ic extends tc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ec]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=Xl.getState().uiLocale,Xl.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Xl.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};B(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}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,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}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=>z(0).then((()=>t())).catch((()=>null)))))}}ec=oc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const rc=window.FluidTopicsI18nService;var nc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ac extends _o{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ql.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return he`
|
|
2918
2918
|
<slot></slot>
|
|
2919
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Xl.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Xl.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Xl.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Xl.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Xl.actions.noCustom(this.noCustom),t.has("editorMode")&&Xl.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Xl.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Xl.actions.session(this.session),t.has("availableUiLocales")&&Xl.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>rc.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()))}}ac.elementDefinitions={},ac.styles=Jl,nc([E()],ac.prototype,"baseUrl",void 0),nc([E()],ac.prototype,"apiIntegrationIdentifier",void 0),nc([E()],ac.prototype,"uiLocale",void 0),nc([D(null)],ac.prototype,"availableUiLocales",void 0),nc([D(null)],ac.prototype,"metadataConfiguration",void 0),nc([E({type:Boolean})],ac.prototype,"editorMode",void 0),nc([E({type:Boolean})],ac.prototype,"noCustom",void 0),nc([E({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ac.prototype,"noCustomComponent",void 0),nc([E({type:Boolean})],ac.prototype,"withManualResources",void 0),nc([D([])],ac.prototype,"messageContexts",void 0),nc([D(void 0)],ac.prototype,"session",void 0),nc([E({type:Object})],ac.prototype,"apiProvider",void 0);class sc extends tc{async listMySearches(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class lc extends tc{async listMyBookmarks(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const cc=Gr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Xl.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new lc,this.savedSearchesService=new sc,Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Xl.getState();B(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(){this.savedSearchesService.clearCache(),cc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),cc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();cc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;cc.actions.bookmarks(e)}}},A("ft-app-context")(ac);var fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const hc={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class pc extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class dc extends CustomEvent{constructor(t){super("change",{detail:t})}}const uc=()=>{};class bc extends _o{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Jo(hc,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=un.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Vl(this),this.selectedFacetsManager=new Gl(this),this.desktopSearchBarManager=new Yl(this),this.mobileSearchBarManager=new ql(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Xl.getState().session,this.stateChangeEventDebouncer=new r(10),this.updateLocalesDebouncer=new r(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new r(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===un.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await async function(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await z(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return he`
|
|
2919
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(Xl.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Xl.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Xl.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Xl.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Xl.actions.noCustom(this.noCustom),t.has("editorMode")&&Xl.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Xl.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Xl.actions.session(this.session),t.has("availableUiLocales")&&Xl.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>rc.addContext(t))),t.has("openExternalDocumentInNewTab")&&Xl.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),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()))}}ac.elementDefinitions={},ac.styles=Jl,nc([E()],ac.prototype,"baseUrl",void 0),nc([E()],ac.prototype,"apiIntegrationIdentifier",void 0),nc([E()],ac.prototype,"uiLocale",void 0),nc([D(null)],ac.prototype,"availableUiLocales",void 0),nc([D(null)],ac.prototype,"metadataConfiguration",void 0),nc([E({type:Boolean})],ac.prototype,"editorMode",void 0),nc([E({type:Boolean})],ac.prototype,"noCustom",void 0),nc([E({type:Boolean})],ac.prototype,"openExternalDocumentInNewTab",void 0),nc([E({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ac.prototype,"noCustomComponent",void 0),nc([E({type:Boolean})],ac.prototype,"withManualResources",void 0),nc([D([])],ac.prototype,"messageContexts",void 0),nc([D(void 0)],ac.prototype,"session",void 0),nc([E({type:Object})],ac.prototype,"apiProvider",void 0);class sc extends tc{async listMySearches(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class lc extends tc{async listMyBookmarks(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const cc=Gr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Xl.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new lc,this.savedSearchesService=new sc,Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Xl.getState();B(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(){this.savedSearchesService.clearCache(),cc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),cc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();cc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;cc.actions.bookmarks(e)}}},A("ft-app-context")(ac);var fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const hc={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class pc extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class dc extends CustomEvent{constructor(t){super("change",{detail:t})}}const uc=()=>{};class bc extends _o{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Jo(hc,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=un.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Vl(this),this.selectedFacetsManager=new Gl(this),this.desktopSearchBarManager=new Yl(this),this.mobileSearchBarManager=new ql(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Xl.getState().session,this.stateChangeEventDebouncer=new r(10),this.updateLocalesDebouncer=new r(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new r(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===un.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await async function(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await z(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return he`
|
|
2920
2920
|
<ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
|
|
2921
2921
|
${this.renderSearchBar()}
|
|
2922
2922
|
`}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():he`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "1.1.
|
|
23
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-button": "1.1.
|
|
25
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-filter": "1.1.
|
|
27
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
28
|
-
"@fluid-topics/ft-select": "1.1.
|
|
29
|
-
"@fluid-topics/ft-size-watcher": "1.1.
|
|
30
|
-
"@fluid-topics/ft-skeleton": "1.1.
|
|
31
|
-
"@fluid-topics/ft-snap-scroll": "1.1.
|
|
32
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
33
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
34
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.1.41",
|
|
23
|
+
"@fluid-topics/ft-app-context": "1.1.41",
|
|
24
|
+
"@fluid-topics/ft-button": "1.1.41",
|
|
25
|
+
"@fluid-topics/ft-chip": "1.1.41",
|
|
26
|
+
"@fluid-topics/ft-filter": "1.1.41",
|
|
27
|
+
"@fluid-topics/ft-icon": "1.1.41",
|
|
28
|
+
"@fluid-topics/ft-select": "1.1.41",
|
|
29
|
+
"@fluid-topics/ft-size-watcher": "1.1.41",
|
|
30
|
+
"@fluid-topics/ft-skeleton": "1.1.41",
|
|
31
|
+
"@fluid-topics/ft-snap-scroll": "1.1.41",
|
|
32
|
+
"@fluid-topics/ft-tooltip": "1.1.41",
|
|
33
|
+
"@fluid-topics/ft-typography": "1.1.41",
|
|
34
|
+
"@fluid-topics/ft-wc-utils": "1.1.41",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@fluid-topics/public-api": "1.0.60"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "9842020c30f172387107ab92ffa3d2c5a33edce6"
|
|
41
41
|
}
|