@fluid-topics/ft-search-results-spellcheck 1.0.59 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,148 +1,155 @@
1
- !function(t,i,e,s){const o={linkColor:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimaryVariant,"Design system"),linkHoverColor:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system")},n=e.css`
1
+ !function(t,o,e,r){const a={linkColor:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimaryVariant,"Design system"),linkHoverColor:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system")},i=e.css`
2
2
  .ft-search-results-spellcheck--spellcheck {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  }
6
6
 
7
7
  .link {
8
- color: ${o.linkColor};
8
+ color: ${a.linkColor};
9
9
  text-decoration: underline;
10
- text-decoration-color: ${o.linkColor};
10
+ text-decoration-color: ${a.linkColor};
11
11
  }
12
12
 
13
13
  .link:hover {
14
- color: ${o.linkHoverColor};
15
- text-decoration-color: ${o.linkHoverColor};
14
+ color: ${a.linkHoverColor};
15
+ text-decoration-color: ${a.linkHoverColor};
16
16
  }
17
17
  `
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */;var r;const h=window,a=h.trustedTypes,l=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,c="$lit$",p=`lit$${(Math.random()+"").slice(9)}$`,f="?"+p,y=`<${f}>`,u=document,d=()=>u.createComment(""),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,m="[ \t\n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,w=/>/g,x=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),k=/'/g,C=/"/g,S=/^(?:script|style|textarea|title)$/i,U=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),M=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),A=new WeakMap,I=u.createTreeWalker(u,129,null,!1),j=(t,i)=>{const e=t.length-1,s=[];let o,n=2===i?"<svg>":"",r=b;for(let i=0;i<e;i++){const e=t[i];let h,a,l=-1,f=0;for(;f<e.length&&(r.lastIndex=f,a=r.exec(e),null!==a);)f=r.lastIndex,r===b?"!--"===a[1]?r=$:void 0!==a[1]?r=w:void 0!==a[2]?(S.test(a[2])&&(o=RegExp("</"+a[2],"g")),r=x):void 0!==a[3]&&(r=x):r===x?">"===a[0]?(r=null!=o?o:b,l=-1):void 0===a[1]?l=-2:(l=r.lastIndex-a[2].length,h=a[1],r=void 0===a[3]?x:'"'===a[3]?C:k):r===C||r===k?r=x:r===$||r===w?r=b:(r=x,o=void 0);const u=r===x&&t[i+1].startsWith("/>")?" ":"";n+=r===b?e+y:l>=0?(s.push(h),e.slice(0,l)+c+e.slice(l)+p+u):e+p+(-2===l?(s.push(void 0),i):u)}const h=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==l?l.createHTML(h):h,s]};class O{constructor({strings:t,_$litType$:i},e){let s;this.parts=[];let o=0,n=0;const r=t.length-1,h=this.parts,[l,y]=j(t,i);if(this.el=O.createElement(l,e),I.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(s=I.nextNode())&&h.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const i of s.getAttributeNames())if(i.endsWith(c)||i.startsWith(p)){const e=y[n++];if(t.push(i),void 0!==e){const t=s.getAttribute(e.toLowerCase()+c).split(p),i=/([.?@])?(.*)/.exec(e);h.push({type:1,index:o,name:i[2],strings:t,ctor:"."===i[1]?E:"?"===i[1]?P:"@"===i[1]?R:B})}else h.push({type:6,index:o})}for(const i of t)s.removeAttribute(i)}if(S.test(s.tagName)){const t=s.textContent.split(p),i=t.length-1;if(i>0){s.textContent=a?a.emptyScript:"";for(let e=0;e<i;e++)s.append(t[e],d()),I.nextNode(),h.push({type:2,index:++o});s.append(t[i],d())}}}else if(8===s.nodeType)if(s.data===f)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(p,t+1));)h.push({type:7,index:o}),t+=p.length-1}o++}}static createElement(t,i){const e=u.createElement("template");return e.innerHTML=t,e}}function N(t,i,e=t,s){var o,n,r,h;if(i===M)return i;let a=void 0!==s?null===(o=e._$Co)||void 0===o?void 0:o[s]:e._$Cl;const l=g(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===l?a=void 0:(a=new l(t),a._$AT(t,e,s)),void 0!==s?(null!==(r=(h=e)._$Co)&&void 0!==r?r:h._$Co=[])[s]=a:e._$Cl=a),void 0!==a&&(i=N(t,a._$AS(t,i.values),a,s)),i}class _{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:s}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:u).importNode(e,!0);I.currentNode=o;let n=I.nextNode(),r=0,h=0,a=s[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new L(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new q(n,this,t)),this._$AV.push(i),a=s[++h]}r!==(null==a?void 0:a.index)&&(n=I.nextNode(),r++)}return o}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class L{constructor(t,i,e,s){var o;this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=s,this._$Cp=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=N(this,t,i),g(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>v(t)||"function"==typeof(null==t?void 0: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!==z&&g(this._$AH)?this._$AA.nextSibling.data=t:this.$(u.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=O.createElement(s.h,this.options)),s);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(e);else{const t=new _(o,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new O(t)),i}T(t){v(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,s=0;for(const o of t)s===i.length?i.push(e=new L(this.k(d()),this.k(d()),this,this.options)):e=i[s],e._$AI(o),s++;s<i.length&&(this._$AR(e&&e._$AB.nextSibling,s),i.length=s)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class B{constructor(t,i,e,s,o){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=i,this._$AM=s,this.options=o,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,s){const o=this.strings;let n=!1;if(void 0===o)t=N(this,t,i,0),n=!g(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const s=t;let r,h;for(t=o[0],r=0;r<o.length-1;r++)h=N(this,s[e+r],i,r),h===M&&(h=this._$AH[r]),n||(n=!g(h)||h!==this._$AH[r]),h===z?t=z:t!==z&&(t+=(null!=h?h:"")+o[r+1]),this._$AH[r]=h}n&&!s&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class E extends B{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}}const T=a?a.emptyScript:"";class P extends B{constructor(){super(...arguments),this.type=4}j(t){t&&t!==z?this.element.setAttribute(this.name,T):this.element.removeAttribute(this.name)}}class R extends B{constructor(t,i,e,s,o){super(t,i,e,s,o),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=N(this,t,i,0))&&void 0!==e?e:z)===M)return;const s=this._$AH,o=t===z&&s!==z||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==z&&(s===z||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const W=h.litHtmlPolyfillSupport;null==W||W(O,L),(null!==(r=h.litHtmlVersions)&&void 0!==r?r:h.litHtmlVersions=[]).push("2.7.3");
22
+ */;var n;const l=window,c=l.trustedTypes,s=c?c.createPolicy("lit-html",{createHTML:t=>t}):void 0,p="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,h="?"+f,y=`<${h}>`,d=document,g=()=>d.createComment(""),b=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,m="[ \t\n\f\r]",O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,S=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),C=/'/g,x=/"/g,w=/^(?:script|style|textarea|title)$/i,I=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),U=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),W=new WeakMap,L=d.createTreeWalker(d,129,null,!1),E=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=O;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,h=0;for(;h<e.length&&(n.lastIndex=h,c=n.exec(e),null!==c);)h=n.lastIndex,n===O?"!--"===c[1]?n=N:void 0!==c[1]?n=S:void 0!==c[2]?(w.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=v):void 0!==c[3]&&(n=v):n===v?">"===c[0]?(n=null!=a?a:O,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?v:'"'===c[3]?x:C):n===x||n===C?n=v:n===N||n===S?n=O:(n=v,a=void 0);const d=n===v&&t[o+1].startsWith("/>")?" ":"";i+=n===O?e+y:s>=0?(r.push(l),e.slice(0,s)+p+e.slice(s)+f+d):e+f+(-2===s?(r.push(void 0),o):d)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(l):l,r]};class k{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[s,y]=E(t,o);if(this.el=k.createElement(s,e),L.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=L.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(p)||o.startsWith(f)){const e=y[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+p).split(f),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?F:"?"===o[1]?B:"@"===o[1]?A:z})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(w.test(r.tagName)){const t=r.textContent.split(f),o=t.length-1;if(o>0){r.textContent=c?c.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],g()),L.nextNode(),l.push({type:2,index:++a});r.append(t[o],g())}}}else if(8===r.nodeType)if(r.data===h)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(f,t+1));)l.push({type:7,index:a}),t+=f.length-1}a++}}static createElement(t,o){const e=d.createElement("template");return e.innerHTML=t,e}}function K(t,o,e=t,r){var a,i,n,l;if(o===U)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const s=b(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=K(t,c._$AS(t,o.values),c,r)),o}class ${constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:d).importNode(e,!0);L.currentNode=a;let i=L.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new Z(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new H(i,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(i=L.nextNode(),n++)}return a}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Z{constructor(t,o,e,r){var a;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=K(this,t,o),b(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>u(t)||"function"==typeof(null==t?void 0: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&&b(this._$AH)?this._$AA.nextSibling.data=t:this.$(d.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=k.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new $(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=W.get(t.strings);return void 0===o&&W.set(t.strings,o=new k(t)),o}T(t){u(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new Z(this.k(g()),this.k(g()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class z{constructor(t,o,e,r,a){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=K(this,t,o,0),i=!b(t)||t!==this._$AH&&t!==U,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=K(this,r[e+n],o,n),l===U&&(l=this._$AH[n]),i||(i=!b(l)||l!==this._$AH[n]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class F extends z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}}const D=c?c.emptyScript:"";class B extends z{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,D):this.element.removeAttribute(this.name)}}class A extends z{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=K(this,t,o,0))&&void 0!==e?e:R)===U)return;const r=this._$AH,a=t===R&&r!==R||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==R&&(r===R||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class H{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const G=l.litHtmlPolyfillSupport;null==G||G(k,Z),(null!==(n=l.litHtmlVersions)&&void 0!==n?n:l.litHtmlVersions=[]).push("2.7.3");
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2020 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
27
  */
28
- const G=Symbol.for(""),Z=t=>{if((null==t?void 0:t.r)===G)return null==t?void 0:t._$litStatic$},F=t=>({_$litStatic$:t,r:G}),H=new Map,D=(t=>(i,...e)=>{const s=e.length;let o,n;const r=[],h=[];let a,l=0,c=!1;for(;l<s;){for(a=i[l];l<s&&void 0!==(n=e[l],o=Z(n));)a+=o+i[++l],c=!0;l!==s&&h.push(n),r.push(a),l++}if(l===s&&r.push(i[s]),c){const t=r.join("$$lit$$");void 0===(i=H.get(t))&&(r.raw=r,H.set(t,i=r)),e=h}return t(i,...e)})(U);var K;!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"}(K||(K={}));const Q=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),J=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),V={fontFamily:J,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},X=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",Q),Y=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",V.fontSize,"20px"),tt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",V.fontWeight,"normal"),it=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",V.letterSpacing,"0.15px"),et=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",V.lineHeight,"1.2"),st=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",V.textTransform,"inherit"),ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",Q),nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",V.fontSize,"14px"),rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",V.fontWeight,"normal"),ht=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",V.letterSpacing,"0.105px"),at=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",V.lineHeight,"1.7"),lt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",V.textTransform,"inherit"),ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",J),pt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",V.fontSize,"16px"),ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",V.fontWeight,"600"),yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",V.letterSpacing,"0.144px"),ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",V.lineHeight,"1.5"),dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",V.textTransform,"inherit"),gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",J),vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",V.fontSize,"14px"),mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",V.fontWeight,"normal"),bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",V.letterSpacing,"0.098px"),$t=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",V.lineHeight,"1.7"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",V.textTransform,"inherit"),xt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",J),kt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",V.fontSize,"16px"),Ct=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",V.fontWeight,"normal"),St=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",V.letterSpacing,"0.496px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",V.lineHeight,"1.5"),Mt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",V.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",J),At=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",V.fontSize,"14px"),It=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",V.fontWeight,"normal"),jt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",V.letterSpacing,"0.252px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",V.lineHeight,"1.4"),Nt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",V.textTransform,"inherit"),_t=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",J),Lt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",V.fontSize,"12px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",V.fontWeight,"normal"),Et=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",V.letterSpacing,"0.396px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",V.lineHeight,"1.33"),Pt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",V.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",J),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",V.fontSize,"10px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",V.fontWeight,"normal"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",V.letterSpacing,"0.33px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",V.lineHeight,"1.6"),Ft=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",V.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",J),Dt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",V.fontSize,"10px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",V.fontWeight,"normal"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",V.letterSpacing,"1.5px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",V.lineHeight,"1.6"),Vt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",V.textTransform,"uppercase"),Xt=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",J),Yt=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",V.fontSize,"14px"),ti=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",V.fontWeight,"600"),ii=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",V.letterSpacing,"1.246px"),ei=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",V.lineHeight,"1.15"),si=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",V.textTransform,"uppercase"),oi=e.css`
28
+ const M=Symbol.for(""),P=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t._$litStatic$},j=t=>({_$litStatic$:t,r:M}),Y=new Map,_=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],a=P(i));)c+=a+o[++s],p=!0;s!==r&&l.push(i),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Y.get(t))&&(n.raw=n,Y.set(t,o=n)),e=l}return t(o,...e)})(I);var T;!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"}(T||(T={}));const q=t=>"string"==typeof t?e.unsafeCSS(t):t;class Q{static create(t,o,r,a){const i=t=>q(null!=t?t:a),n=e.css`var(${q(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${q(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${q(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${q(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):q(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${q(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${q(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const X={colorWhite:Q.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Q.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Q.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Q.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Q.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Q.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Q.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Q.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Q.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Q.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Q.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Q.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Q.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Q.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Q.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Q.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Q.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Q.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Q.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Q.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Q.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Q.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Q.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Q.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Q.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Q.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Q.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Q.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Q.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Q.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Q.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Q.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Q.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Q.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Q.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Q.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Q.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Q.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Q.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Q.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Q.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Q.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Q.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Q.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Q.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Q.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Q.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Q.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Q.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Q.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Q.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Q.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Q.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Q.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Q.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Q.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Q.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Q.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Q.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Q.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Q.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Q.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Q.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Q.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Q.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Q.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Q.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Q.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Q.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Q.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Q.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Q.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Q.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Q.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Q.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Q.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Q.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Q.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Q.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Q.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Q.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Q.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Q.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Q.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Q.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Q.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Q.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Q.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Q.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Q.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Q.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Q.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Q.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Q.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Q.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Q.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Q.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Q.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Q.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Q.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Q.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Q.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Q.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Q.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Q.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Q.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Q.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Q.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Q.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Q.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Q.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Q.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Q.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Q.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Q.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Q.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Q.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Q.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Q.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Q.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Q.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Q.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Q.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Q.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Q.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Q.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Q.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Q.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Q.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Q.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Q.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Q.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Q.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Q.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Q.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Q.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Q.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Q.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Q.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Q.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Q.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Q.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Q.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Q.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Q.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Q.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Q.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Q.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Q.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Q.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Q.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Q.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Q.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Q.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Q.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Q.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Q.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Q.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Q.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Q.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Q.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Q.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Q.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Q.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Q.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Q.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Q.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Q.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Q.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Q.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Q.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Q.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Q.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Q.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Q.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Q.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Q.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Q.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Q.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Q.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Q.create("--ft-opacity-0","","NUMBER","0"),opacity8:Q.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Q.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Q.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Q.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Q.create("--ft-opacity-80","","NUMBER","0.8")},J={display:{fontFamily:Q.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Q.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Q.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Q.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Q.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Q.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Q.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Q.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Q.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Q.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Q.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Q.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Q.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Q.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Q.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Q.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Q.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Q.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Q.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Q.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Q.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Q.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Q.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Q.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Q.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Q.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Q.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Q.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Q.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Q.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Q.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Q.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Q.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Q.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Q.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Q.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Q.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Q.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Q.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Q.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Q.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Q.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Q.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Q.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Q.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Q.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Q.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Q.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Q.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},V={backgroundActionPrimary:Q.extend("--ft-background-action-primary","Used as backgorund of primary action components.",X.colorBrand0),backgroundErrorPrimary:Q.extend("--ft-background-error-primary","Used as background of error components.",X.colorRed0),backgroundErrorSubtle:Q.extend("--ft-background-error-subtle","Used as background of subtle error components.",X.colorRed10),backgroundInfoPrimary:Q.extend("--ft-background-info-primary","Used as background of information components.",X.colorCyan200),backgroundInfoSubtle:Q.extend("--ft-background-info-subtle","Used as background of subtle information components.",X.colorCyan10),backgroundWarningPrimary:Q.extend("--ft-background-warning-primary","Used as background of warning components.",X.colorOrange300),backgroundWarningSubtle:Q.extend("--ft-background-warning-subtle","Used as background of subtle information components.",X.colorOrange10),backgroundSuccessPrimary:Q.extend("--ft-background-success-primary","Used as background of success components.",X.colorGreen200),backgroundSuccessSubtle:Q.extend("--ft-background-success-subtle","Used as background of subtle success components.",X.colorGreen10),backgroundGlobalSurface:Q.extend("--ft-background-global-surface","Used as app background.",X.colorWhite),backgroundGlobalOnSurface:Q.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",X.colorGray10),backgroundGlobalOnSurfaceDark:Q.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",X.colorGray30),contentActionPrimary:Q.extend("--ft-content-action-primary","Used on label of primary action on light surface.",X.colorBrand0),contentWarningPrimary:Q.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",X.colorOrange300),contentWarningIconOnly:Q.extend("--ft-content-warning-icon-only","Used on warning status icons alone",X.colorOrange0),contentErrorPrimary:Q.extend("--ft-content-error-primary","Used on label of error messages on light surface.",X.colorRed0),contentErrorIconOnly:Q.extend("--ft-content-error-icon-only","Used on error status icons alone",X.colorRed0),contentInfoPrimary:Q.extend("--ft-content-info-primary","Used on label of information messages on light surface.",X.colorCyan200),contentInfoIconOnly:Q.extend("--ft-content-info-icon-only","Used on info status icons alone",X.colorCyan0),contentSuccessIconOnly:Q.extend("--ft-content-success-icon-only","Used on success status icons alone",X.colorGreen0),contentSuccessPrimary:Q.extend("--ft-content-success-primary","Used on label of success messages on light surface.",X.colorGreen200),contentGlobalPrimary:Q.extend("--ft-content-global-primary","Used for main content on the page.",X.colorGray500),contentGlobalSecondary:Q.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",X.colorGray200),contentGlobalSubtle:Q.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",X.colorGray0),contentGlobalOnColor:Q.extend("--ft-content-global-on-color","Used for content on a dominant color.",X.colorWhite),borderActionPrimary:Q.extend("--ft-border-action-primary","Used as border for primary action components.",X.colorBrand0),borderActionFocusRing:Q.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",X.colorCyan0),borderWarningPrimary:Q.extend("--ft-border-warning-primary","Used as border for warning components.",X.colorOrange30),borderSuccessPrimary:Q.extend("--ft-border-success-primary","Used as border for success components.",X.colorGreen30),borderErrorPrimary:Q.extend("--ft-border-error-primary","Used as border for error components.",X.colorRed30),borderInfoPrimary:Q.extend("--ft-border-info-primary","Used as border for information components.",X.colorCyan30),borderGlobalSubtle:Q.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",X.colorGray30),borderGlobalPrimary:Q.extend("--ft-border-global-primary","Used as border for element like input.",X.colorGray50),borderInputPrimary:Q.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",X.colorGray80)};Q.create("--ft-button-large-height","","SIZE","40px"),Q.extend("--ft-button-large-horizontal-padding","",X.spacing4),Q.extend("--ft-button-large-gap","",X.spacing2),Q.extend("--ft-button-large-border-radius","",X.borderRadiusS),Q.extend("--ft-button-large-icon-size","",X.iconSize3),Q.create("--ft-button-large-border-width","","SIZE","1px"),Q.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Q.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Q.create("--ft-button-large-icon-only-width","","SIZE","40px"),Q.create("--ft-button-small-height","","SIZE","30px"),Q.extend("--ft-button-small-horizontal-padding","",X.spacing3),Q.extend("--ft-button-small-gap","",X.spacing2),Q.extend("--ft-button-small-border-radius","",X.borderRadiusS),Q.extend("--ft-button-small-icon-size","",X.iconSize2),Q.create("--ft-button-small-border-width","","SIZE","1px"),Q.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Q.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Q.create("--ft-button-small-icon-only-width","","SIZE","30px"),Q.extend("--ft-button-primary-background-color","",V.backgroundActionPrimary),Q.extend("--ft-button-primary-color","",V.contentGlobalOnColor),Q.extend("--ft-button-primary-icon-color","",V.contentGlobalOnColor),Q.extend("--ft-button-primary-state-layer-color","",V.contentGlobalOnColor),Q.extend("--ft-button-primary-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-button-primary-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-button-primary-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-button-primary-component-opacity-disabled","",X.opacity40),Q.extend("--ft-button-focus-focus-ring-color","",V.borderActionFocusRing),Q.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Q.extend("--ft-button-tertiary-color","",V.contentActionPrimary),Q.extend("--ft-button-tertiary-icon-color","",V.contentActionPrimary),Q.extend("--ft-button-tertiary-state-layer-color","",V.contentActionPrimary),Q.extend("--ft-button-tertiary-state-layer-opacity-hover","",X.opacity8),Q.extend("--ft-button-tertiary-state-layer-opacity-focus","",X.opacity8),Q.extend("--ft-button-tertiary-state-layer-opacity-active","",X.opacity16),Q.extend("--ft-button-tertiary-component-opacity-disabled","",X.opacity40),Q.extend("--ft-button-secondary-background-color","",X.colorWhite),Q.extend("--ft-button-secondary-color","",V.contentActionPrimary),Q.extend("--ft-button-secondary-icon-color","",V.contentActionPrimary),Q.extend("--ft-button-secondary-state-layer-color","",V.contentActionPrimary),Q.extend("--ft-button-secondary-state-layer-opacity-hover","",X.opacity8),Q.extend("--ft-button-secondary-state-layer-opacity-focus","",X.opacity8),Q.extend("--ft-button-secondary-state-layer-opacity-active","",X.opacity16),Q.extend("--ft-button-secondary-component-opacity-disabled","",X.opacity40),Q.extend("--ft-button-secondary-border-color","",V.borderActionPrimary),Q.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Q.extend("--ft-button-neutral-icon-color","",V.contentGlobalSecondary),Q.extend("--ft-button-neutral-color","",V.contentGlobalSecondary),Q.extend("--ft-button-neutral-state-layer-color","",V.contentGlobalSecondary),Q.extend("--ft-button-neutral-state-layer-opacity-hover","",X.opacity8),Q.extend("--ft-button-neutral-state-layer-opacity-focus","",X.opacity8),Q.extend("--ft-button-neutral-state-layer-opacity-active","",X.opacity16),Q.extend("--ft-button-neutral-component-opacity-disabled","",X.opacity40),Q.extend("--ft-tabs-top-left-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-top-right-border-radius","",X.borderRadiusS),Q.extend("--ft-tabs-label-horizontal-padding","",X.spacing4),Q.extend("--ft-tabs-label-vertical-padding","",X.spacing3),Q.extend("--ft-tabs-label-gap","",X.spacing1),Q.extend("--ft-switch-group-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-group-vertical-padding","",X.spacing1),Q.extend("--ft-switch-group-gap","",X.spacing1),Q.extend("--ft-switch-group-background-color","",V.backgroundGlobalSurface),Q.extend("--ft-switch-group-border-color","",V.borderGlobalSubtle),Q.create("--ft-switch-group-border-radius","","SIZE","6px"),Q.extend("--ft-switch-label-horizontal-padding","",X.spacing2),Q.extend("--ft-switch-label-vertical-padding","",X.spacing1),Q.extend("--ft-switch-icon-horizontal-padding","",X.spacing1),Q.extend("--ft-switch-icon-vertical-padding","",X.spacing1),Q.create("--ft-switch-focus-outline-width","","SIZE","2px"),Q.extend("--ft-switch-focus-focus-ring-color","",V.borderActionFocusRing),Q.extend("--ft-switch-option-border-radius","",X.borderRadiusS),Q.extend("--ft-switch-off-state-layer-opacity-hover","",X.opacity8),Q.extend("--ft-switch-off-state-layer-opacity-focus","",X.opacity8),Q.extend("--ft-switch-off-state-layer-opacity-active","",X.opacity16),Q.extend("--ft-switch-off-component-opacity-disabled","",X.opacity40),Q.extend("--ft-switch-off-color","",V.contentGlobalSubtle),Q.extend("--ft-switch-off-state-layer-color","",V.contentGlobalSubtle),Q.extend("--ft-chart-1-light","for area color charts",X.colorBrand40),Q.extend("--ft-chart-1-base","for line charts",X.colorBrand0),Q.extend("--ft-chart-2-light","for area color charts",X.colorYellow60),Q.extend("--ft-chart-2-base","for line charts",X.colorYellow100),Q.extend("--ft-chart-3-light","",X.colorUltramarine40),Q.extend("--ft-chart-3-base","",X.colorUltramarine70),Q.extend("--ft-chart-4-light","",X.colorCyan50),Q.extend("--ft-chart-4-base","",X.colorCyan100),Q.extend("--ft-chart-5-light","",X.colorRed40),Q.extend("--ft-chart-5-base","",X.colorRed60),Q.extend("--ft-chart-6-light","",X.colorGreen40),Q.extend("--ft-chart-6-base","",X.colorGreen70),Q.extend("--ft-chart-7-light","",X.colorOrange70),Q.extend("--ft-chart-7-base","",X.colorOrange100),Q.extend("--ft-chart-8-light","",X.colorAvocado70),Q.extend("--ft-chart-8-base","",X.colorAvocado200),Q.extend("--ft-chart-9-light","",X.colorBrown50),Q.extend("--ft-chart-9-base","",X.colorBrown200),Q.extend("--ft-chart-10-light","",X.colorGray50),Q.extend("--ft-chart-10-base","",X.colorGray80),Q.extend("--ft-chart-monochrome-10","",X.colorBrand10),Q.extend("--ft-chart-monochrome-20","",X.colorBrand20),Q.extend("--ft-chart-monochrome-30","",X.colorBrand40),Q.extend("--ft-chart-monochrome-40","",X.colorBrand60),Q.extend("--ft-chart-monochrome-50","",X.colorBrand0),Q.extend("--ft-chart-monochrome-60","",X.colorBrand200),Q.extend("--ft-chip-large-horizontal-padding","",X.spacing4),Q.extend("--ft-chip-large-vertical-padding","",X.spacing2),Q.extend("--ft-chip-large-gap","",X.spacing1),Q.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-large-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-large-border-width","","SIZE","1px"),Q.extend("--ft-chip-large-icon-size","",X.iconSize3),Q.extend("--ft-chip-medium-horizontal-padding","",X.spacing3),Q.extend("--ft-chip-medium-vertical-padding","",X.spacing1),Q.extend("--ft-chip-medium-gap","",X.spacing1),Q.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-medium-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-medium-border-width","","SIZE","1px"),Q.extend("--ft-chip-medium-icon-size","",X.iconSize2),Q.extend("--ft-chip-small-horizontal-padding","",X.spacing2),Q.extend("--ft-chip-small-vertical-padding","",X.spacing05),Q.extend("--ft-chip-small-gap","",X.spacing1),Q.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Q.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Q.extend("--ft-chip-small-border-radius","",X.borderRadiusPill),Q.create("--ft-chip-small-border-width","","SIZE","1px"),Q.extend("--ft-chip-small-icon-size","",X.iconSize1),Q.extend("--ft-chip-neutral-background-color","",V.backgroundGlobalOnSurface),Q.extend("--ft-chip-neutral-color","",V.contentGlobalPrimary),Q.extend("--ft-chip-neutral-border-color","",V.borderGlobalSubtle),Q.extend("--ft-chip-info-background-color","",V.backgroundInfoSubtle),Q.extend("--ft-chip-info-color","",V.contentInfoPrimary),Q.extend("--ft-chip-info-border-color","",V.borderInfoPrimary),Q.extend("--ft-chip-success-background-color","",V.backgroundSuccessSubtle),Q.extend("--ft-chip-success-color","",V.contentSuccessPrimary),Q.extend("--ft-chip-success-border-color","",V.borderSuccessPrimary),Q.extend("--ft-chip-warning-background-color","",V.backgroundWarningSubtle),Q.extend("--ft-chip-warning-color","",V.contentWarningPrimary),Q.extend("--ft-chip-warning-border-color","",V.borderWarningPrimary),Q.extend("--ft-chip-error-background-color","",V.backgroundErrorSubtle),Q.extend("--ft-chip-error-color","",V.contentErrorPrimary),Q.extend("--ft-chip-error-border-color","",V.borderErrorPrimary),Q.create("--ft-notice-border-width","","SIZE","1px"),Q.extend("--ft-notice-horizontal-padding","",X.spacing2),Q.extend("--ft-notice-vertical-padding","",X.spacing1),Q.extend("--ft-notice-border-radius","",X.borderRadiusS),Q.extend("--ft-notice-gap","",X.spacing2),Q.extend("--ft-notice-icon-size","",X.iconSize3),Q.extend("--ft-notice-info-background-color","",V.backgroundInfoSubtle),Q.extend("--ft-notice-info-border-color","",V.borderInfoPrimary),Q.extend("--ft-notice-info-color","",V.contentInfoPrimary),Q.extend("--ft-notice-warning-background-color","",V.backgroundWarningSubtle),Q.extend("--ft-notice-warning-border-color","",V.borderWarningPrimary),Q.extend("--ft-notice-warning-color","",V.contentWarningPrimary),Q.extend("--ft-checkbox-label-color","",V.contentGlobalPrimary),Q.extend("--ft-checkbox-checked-background-color","",V.contentActionPrimary),Q.extend("--ft-checkbox-checked-state-layer-color","",V.contentActionPrimary),Q.extend("--ft-checkbox-checked-color","",V.contentGlobalOnColor),Q.extend("--ft-checkbox-checked-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-checkbox-checked-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-checkbox-checked-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-checkbox-checked-component-opacity-disabled","",X.opacity40),Q.extend("--ft-checkbox-unchecked-border-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-state-layer-color","",X.colorGray80),Q.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-checkbox-unchecked-component-opacity-disabled","",X.opacity40),Q.extend("--ft-checkbox-focus-focus-ring-color","",V.borderActionFocusRing),Q.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Q.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Q.extend("--ft-checkbox-gap","",X.spacing3),Q.extend("--ft-toggle-off-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-toggle-off-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-toggle-off-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-toggle-off-component-opacity-disabled","",X.opacity40),Q.extend("--ft-toggle-off-background-color","",V.contentGlobalSubtle),Q.extend("--ft-toggle-off-icon-color","",V.contentGlobalSubtle),Q.extend("--ft-toggle-off-state-layer-color","",V.contentGlobalSubtle),Q.extend("--ft-toggle-on-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-toggle-on-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-toggle-on-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-toggle-on-component-opacity-disabled","",X.opacity40),Q.extend("--ft-toggle-on-background-color","",V.contentActionPrimary),Q.extend("--ft-toggle-on-icon-color","",V.contentActionPrimary),Q.extend("--ft-toggle-on-state-layer-color","",V.contentActionPrimary),Q.extend("--ft-toggle-label-color","",V.contentGlobalPrimary),Q.extend("--ft-toggle-focus-focus-ring-color","",V.borderActionFocusRing),Q.extend("--ft-toggle-gap","",X.spacing3),Q.extend("--ft-radio-label-color","",V.contentGlobalPrimary),Q.extend("--ft-radio-selected-color","",V.contentActionPrimary),Q.extend("--ft-radio-selected-state-layer-color","",V.contentActionPrimary),Q.extend("--ft-radio-selected-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-radio-selected-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-radio-selected-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-radio-selected-component-opacity-disabled","",X.opacity40),Q.extend("--ft-radio-unselected-state-layer-color","",X.colorGray80),Q.extend("--ft-radio-unselected-state-layer-opacity-hover","",X.opacity16),Q.extend("--ft-radio-unselected-state-layer-opacity-focus","",X.opacity16),Q.extend("--ft-radio-unselected-state-layer-opacity-active","",X.opacity24),Q.extend("--ft-radio-unselected-component-opacity-disabled","",X.opacity40),Q.extend("--ft-radio-focus-focus-ring-color","",V.borderActionFocusRing),Q.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Q.create("--ft-radio-focus-outline-width","","SIZE","2px"),Q.extend("--ft-radio-gap","",X.spacing3),Q.extend("--ft-notification-icon-size","",X.iconSize4),Q.extend("--ft-notification-horizontal-padding","",X.spacing4),Q.extend("--ft-notification-vertical-padding","",X.spacing4),Q.extend("--ft-notification-info-background-color","",V.backgroundInfoSubtle),Q.extend("--ft-notification-info-color","",V.contentInfoPrimary),Q.extend("--ft-notification-info-border-color","",V.borderInfoPrimary),Q.extend("--ft-notification-success-background-color","",V.backgroundSuccessSubtle),Q.extend("--ft-notification-success-color","",V.contentSuccessPrimary),Q.extend("--ft-notification-success-border-color","",V.borderSuccessPrimary),Q.extend("--ft-notification-warning-background-color","",V.backgroundWarningSubtle),Q.extend("--ft-notification-warning-color","",V.contentWarningPrimary),Q.extend("--ft-notification-warning-border-color","",V.borderWarningPrimary),Q.extend("--ft-notification-error-background-color","",V.backgroundErrorSubtle),Q.extend("--ft-notification-error-color","",V.contentErrorPrimary),Q.extend("--ft-notification-error-border-color","",V.borderErrorPrimary),Q.extend("--ft-notification-border-radius","",X.borderRadiusPill),Q.create("--ft-notification-border-width","","SIZE","1px"),Q.extend("--ft-notification-gap-leading","",X.spacing2),Q.extend("--ft-notification-gap-trailing","",X.spacing8);const tt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),et={fontFamily:ot,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",tt),at=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",et.fontSize,"20px"),it=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",et.fontWeight,"normal"),nt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",et.letterSpacing,"0.15px"),lt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",et.lineHeight,"1.2"),ct=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",et.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",tt),pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",et.fontSize,"14px"),ft=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",et.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",et.letterSpacing,"0.105px"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",et.lineHeight,"1.7"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",et.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",et.fontSize,"16px"),ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",et.fontWeight,"600"),mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",et.letterSpacing,"0.144px"),Ot=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",et.lineHeight,"1.5"),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",et.textTransform,"inherit"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",et.fontSize,"14px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",et.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",et.letterSpacing,"0.098px"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",et.lineHeight,"1.7"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",et.textTransform,"inherit"),Ut=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),Rt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",et.fontSize,"16px"),Wt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",et.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",et.letterSpacing,"0.496px"),Et=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",et.lineHeight,"1.5"),kt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",et.textTransform,"inherit"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),$t=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",et.fontSize,"14px"),Zt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",et.fontWeight,"normal"),zt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",et.letterSpacing,"0.252px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",et.lineHeight,"1.4"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",et.textTransform,"inherit"),Bt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),At=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",et.fontSize,"12px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",et.fontWeight,"normal"),Gt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",et.letterSpacing,"0.396px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",et.lineHeight,"1.33"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",et.textTransform,"inherit"),jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",et.fontSize,"10px"),_t=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",et.fontWeight,"normal"),Tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",et.letterSpacing,"0.33px"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",et.lineHeight,"1.6"),Qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",et.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),Jt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",et.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",et.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",et.letterSpacing,"1.5px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",et.lineHeight,"1.6"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",et.textTransform,"uppercase"),ro=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),ao=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",et.fontSize,"14px"),io=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",et.fontWeight,"600"),no=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",et.letterSpacing,"1.246px"),lo=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",et.lineHeight,"1.15"),co=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",et.textTransform,"uppercase"),so=e.css`
29
29
  .ft-typography--title {
30
- font-family: ${X};
31
- font-size: ${Y};
32
- font-weight: ${tt};
33
- letter-spacing: ${it};
34
- line-height: ${et};
35
- text-transform: ${st};
30
+ font-family: ${rt};
31
+ font-size: ${at};
32
+ font-weight: ${it};
33
+ letter-spacing: ${nt};
34
+ line-height: ${lt};
35
+ text-transform: ${ct};
36
36
  }
37
- `,ni=e.css`
37
+ `,po=e.css`
38
38
  .ft-typography--title-dense {
39
- font-family: ${ot};
40
- font-size: ${nt};
41
- font-weight: ${rt};
42
- letter-spacing: ${ht};
43
- line-height: ${at};
44
- text-transform: ${lt};
45
- }
46
- `,ri=e.css`
47
- .ft-typography--subtitle1 {
48
- font-family: ${ct};
39
+ font-family: ${st};
49
40
  font-size: ${pt};
50
41
  font-weight: ${ft};
51
- letter-spacing: ${yt};
52
- line-height: ${ut};
42
+ letter-spacing: ${ht};
43
+ line-height: ${yt};
53
44
  text-transform: ${dt};
54
45
  }
55
- `,hi=e.css`
56
- .ft-typography--subtitle2 {
46
+ `,fo=e.css`
47
+ .ft-typography--subtitle1 {
57
48
  font-family: ${gt};
49
+ font-size: ${bt};
50
+ font-weight: ${ut};
51
+ letter-spacing: ${mt};
52
+ line-height: ${Ot};
53
+ text-transform: ${Nt};
54
+ }
55
+ `,ho=e.css`
56
+ .ft-typography--subtitle2 {
57
+ font-family: ${St};
58
58
  font-size: ${vt};
59
- font-weight: ${mt};
60
- letter-spacing: ${bt};
61
- line-height: ${$t};
62
- text-transform: ${wt};
59
+ font-weight: ${Ct};
60
+ letter-spacing: ${xt};
61
+ line-height: ${wt};
62
+ text-transform: ${It};
63
63
  }
64
64
 
65
- `,ai=e.css`
65
+ `,yo=e.css`
66
66
  .ft-typography--body1 {
67
- font-family: ${xt};
68
- font-size: ${kt};
69
- font-weight: ${Ct};
70
- letter-spacing: ${St};
71
- line-height: ${Ut};
72
- text-transform: ${Mt};
67
+ font-family: ${Ut};
68
+ font-size: ${Rt};
69
+ font-weight: ${Wt};
70
+ letter-spacing: ${Lt};
71
+ line-height: ${Et};
72
+ text-transform: ${kt};
73
73
  }
74
- `,li=e.css`
74
+ `,go=e.css`
75
75
  .ft-typography--body2 {
76
- font-family: ${zt};
77
- font-size: ${At};
78
- font-weight: ${It};
79
- letter-spacing: ${jt};
80
- line-height: ${Ot};
81
- text-transform: ${Nt};
76
+ font-family: ${Kt};
77
+ font-size: ${$t};
78
+ font-weight: ${Zt};
79
+ letter-spacing: ${zt};
80
+ line-height: ${Ft};
81
+ text-transform: ${Dt};
82
82
  }
83
- `,ci=e.css`
83
+ `,bo=e.css`
84
84
  .ft-typography--caption {
85
- font-family: ${_t};
86
- font-size: ${Lt};
87
- font-weight: ${Bt};
88
- letter-spacing: ${Et};
89
- line-height: ${Tt};
85
+ font-family: ${Bt};
86
+ font-size: ${At};
87
+ font-weight: ${Ht};
88
+ letter-spacing: ${Gt};
89
+ line-height: ${Mt};
90
90
  text-transform: ${Pt};
91
91
  }
92
- `,pi=e.css`
92
+ `,uo=e.css`
93
93
  .ft-typography--breadcrumb {
94
- font-family: ${Rt};
95
- font-size: ${qt};
96
- font-weight: ${Wt};
97
- letter-spacing: ${Gt};
98
- line-height: ${Zt};
99
- text-transform: ${Ft};
94
+ font-family: ${jt};
95
+ font-size: ${Yt};
96
+ font-weight: ${_t};
97
+ letter-spacing: ${Tt};
98
+ line-height: ${qt};
99
+ text-transform: ${Qt};
100
100
  }
101
- `,fi=e.css`
101
+ `,mo=e.css`
102
102
  .ft-typography--overline {
103
- font-family: ${Ht};
104
- font-size: ${Dt};
105
- font-weight: ${Kt};
106
- letter-spacing: ${Qt};
107
- line-height: ${Jt};
108
- text-transform: ${Vt};
103
+ font-family: ${Xt};
104
+ font-size: ${Jt};
105
+ font-weight: ${Vt};
106
+ letter-spacing: ${to};
107
+ line-height: ${oo};
108
+ text-transform: ${eo};
109
109
  }
110
- `,yi=e.css`
110
+ `,Oo=e.css`
111
111
  .ft-typography--button {
112
- font-family: ${Xt};
113
- font-size: ${Yt};
114
- font-weight: ${ti};
115
- letter-spacing: ${ii};
116
- line-height: ${ei};
117
- text-transform: ${si};
112
+ font-family: ${ro};
113
+ font-size: ${ao};
114
+ font-weight: ${io};
115
+ letter-spacing: ${no};
116
+ line-height: ${lo};
117
+ text-transform: ${co};
118
118
  }
119
- `,ui=e.css`
119
+ `,No=e.css`
120
120
  .ft-typography {
121
121
  vertical-align: inherit;
122
122
  }
123
- `;var di=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class gi extends i.FtLitElement{constructor(){super(...arguments),this.variant=K.body1}render(){return this.element?D`
124
- <${F(this.element)}
125
- class="ft-typography ft-typography--${this.variant}">
123
+ `,So=[Object.keys(J).map((t=>function(t){const o=J[t];return e.css`
124
+ font-family: ${o.fontFamily};
125
+ font-size: ${o.fontSize};
126
+ font-weight: ${o.fontWeight};
127
+ letter-spacing: ${o.letterSpacing};
128
+ line-height: ${o.lineHeight};
129
+ text-transform: ${o.textCase};
130
+ `}(t)))];var vo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Co extends o.FtLitElement{constructor(){super(...arguments),this.variant=T.body1}render(){return this.element?_`
131
+ <${j(this.element)}
132
+ class="ft-typography ft-typography--${this.variant}">
126
133
  <slot></slot>
127
- </${F(this.element)}>
128
- `:D`
134
+ </${j(this.element)}>
135
+ `:_`
129
136
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
130
- `}}gi.styles=[oi,ni,ri,hi,ai,li,ci,pi,fi,yi,ui],di([s.property()],gi.prototype,"element",void 0),di([s.property()],gi.prototype,"variant",void 0),i.customElement("ft-typography")(gi);const vi=e.css`
131
- `,mi=e.css`
132
- `,bi=i.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,i)=>{t.baseUrl=i.payload},setApiIntegrationIdentifier:(t,i)=>{t.apiIntegrationIdentifier=i.payload},setUiLocale:(t,i)=>{t.uiLocale=i.payload},setAvailableUiLocales:(t,i)=>{t.availableUiLocales=i.payload},setEditorMode:(t,i)=>{t.editorMode=i.payload},setNoCustom:(t,i)=>{t.noCustom=i.payload},setNoCustomComponent:(t,i)=>{t.noCustomComponent=i.payload},setSession:(t,i)=>{t.session=i.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class $i{static build(t){const{baseUrl:i,apiIntegrationIdentifier:e}=bi.getState(),s=null!=t?t:e;if(i&&s&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,s,!0)}static get(t){var i;return null!=t?$i.build(t):null!==(i=$i.API)&&void 0!==i?i:$i.API=$i.build()}static await(t){return new Promise((i=>{let e=$i.get(t);if(e)i(e);else{const s=bi.subscribe((()=>{e=$i.get(t),e&&(s(),i(e))}))}}))}}var wi;const xi=Symbol("clearAfterUnitTest");class ki{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[wi]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=bi.getState().uiLocale,bi.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=bi.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var s;if(t=t.toLowerCase(),Object.keys(e).length>0){const o={...null!==(s=this.defaultMessages[t])&&void 0!==s?s:{},...e};i.deepEqual(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...s){var o,n,r;t=t.toLowerCase(),this.fetchContext(t);const h=null!==(n=null===(o=this.cache.getNow(t))||void 0===o?void 0:o.messages)&&void 0!==n?n:{};return new i.ParametrizedLabelResolver(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},h).resolve(e,...s)}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,i){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(i),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(i)}}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=>i.delay(0).then((()=>t())).catch((()=>null)))))}}wi=xi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ki((async(t,i)=>(await $i.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ki((async(t,i)=>(await $i.await()).getCustomMessageContext(t,i))));const Ci=window.FluidTopicsI18nService,Si=window.FluidTopicsCustomI18nService;var Ui=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Mi extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>$i.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return e.html`
137
+ `}}Co.styles=[so,po,fo,ho,yo,go,bo,uo,mo,Oo,No,...So],vo([r.property()],Co.prototype,"element",void 0),vo([r.property()],Co.prototype,"variant",void 0),o.customElement("ft-typography")(Co);const xo=e.css`
138
+ `,wo=e.css`
139
+ `,Io=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Uo{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Io.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Uo.build(t):null!==(o=Uo.API)&&void 0!==o?o:Uo.API=Uo.build()}static await(t){return new Promise((o=>{let e=Uo.get(t);if(e)o(e);else{const r=Io.subscribe((()=>{e=Uo.get(t),e&&(r(),o(e))}))}}))}}var Ro;const Wo=Symbol("clearAfterUnitTest");class Lo{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Ro]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Io.getState().uiLocale,Io.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Io.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,i,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(i=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==i?i:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}Ro=Wo,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Lo((async(t,o)=>(await Uo.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Lo((async(t,o)=>(await Uo.await()).getCustomMessageContext(t,o))));const Eo=window.FluidTopicsI18nService,ko=window.FluidTopicsCustomI18nService;var Ko=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class $o extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Uo.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
133
140
  <slot></slot>
134
- `}update(t){super.update(t),t.has("baseUrl")&&bi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&bi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&bi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&bi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&bi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&bi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&bi.actions.setSession(this.session),t.has("availableUiLocales")&&bi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ci.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Mi.elementDefinitions={},Mi.styles=mi,Ui([s.property()],Mi.prototype,"baseUrl",void 0),Ui([s.property()],Mi.prototype,"apiIntegrationIdentifier",void 0),Ui([s.property()],Mi.prototype,"uiLocale",void 0),Ui([i.jsonProperty([])],Mi.prototype,"availableUiLocales",void 0),Ui([s.property({type:Boolean})],Mi.prototype,"editorMode",void 0),Ui([s.property({type:Boolean})],Mi.prototype,"noCustom",void 0),Ui([s.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Mi.prototype,"noCustomComponent",void 0),Ui([s.property({type:Boolean})],Mi.prototype,"withManualResources",void 0),Ui([i.jsonProperty([])],Mi.prototype,"messageContexts",void 0),Ui([i.jsonProperty(void 0)],Mi.prototype,"session",void 0),Ui([s.property({type:Object})],Mi.prototype,"apiProvider",void 0);class zi{async listMySearches(){var t;return(null===(t=bi.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await $i.await()).listMySearches(bi.getState().session.profile.userId):[]}}const Ai=new i.CacheRegistry;class Ii{async listMyBookmarks(){return Ai.get("bookmarks",(async()=>(await $i.await()).listMyBookmarks(bi.getState().session.profile.userId)))}clearCache(){Ai.clear("bookmarks")}}const ji=i.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=bi.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ii,bi.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=bi.getState();i.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){ji.actions.savedSearches(void 0)}clearMyBookmarks(){ji.actions.bookmarks(void 0)}async reloadMySearches(){const t=new zi,i=await t.listMySearches();ji.actions.savedSearches(i)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const i=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;ji.actions.bookmarks(i)}}},i.customElement("ft-app-context")(Mi);var Oi=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const Ni=Symbol("i18nProperties"),_i=Symbol("i18nUnsubs");function Li(t){var i;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[i]=new Map}get i18nService(){return this.useCustomMessageContexts?Si:Ci}i18n(t,i,...e){var s;if("string"==typeof t)return this.i18nService.resolveMessage(t,i,...e);const o=null!==(s=t.args)&&void 0!==s?s:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var i;null===(i=this[Ni])||void 0===i||i.forEach(((i,e)=>{i.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(i))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var i;super.update(t),null===(i=this[Ni])||void 0===i||i.forEach(((t,i)=>{null!=t.argsProvider&&(this[i]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ni]&&new Set([...this[Ni].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,i){t=t.toLowerCase(),this[_i].has(t)||this[_i].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=i?i:{})}addI18nContext(t,i){this.addI18nMessages(t.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[_i].forEach((t=>t())),this[_i].clear()}}return i=_i,Oi([s.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Bi extends(Li(i.FtLitElement)){}class Ei extends(Li(i.FtLitElementRedux)){}var Ti=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Pi extends Ei{constructor(){super(),this.editorMode=!1,this.addStore(bi)}render(){return this.key&&this.context?e.html`
141
+ `}update(t){super.update(t),t.has("baseUrl")&&Io.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Io.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Io.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Io.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Io.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Io.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Io.actions.setSession(this.session),t.has("availableUiLocales")&&Io.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Eo.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}$o.elementDefinitions={},$o.styles=wo,Ko([r.property()],$o.prototype,"baseUrl",void 0),Ko([r.property()],$o.prototype,"apiIntegrationIdentifier",void 0),Ko([r.property()],$o.prototype,"uiLocale",void 0),Ko([o.jsonProperty([])],$o.prototype,"availableUiLocales",void 0),Ko([r.property({type:Boolean})],$o.prototype,"editorMode",void 0),Ko([r.property({type:Boolean})],$o.prototype,"noCustom",void 0),Ko([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],$o.prototype,"noCustomComponent",void 0),Ko([r.property({type:Boolean})],$o.prototype,"withManualResources",void 0),Ko([o.jsonProperty([])],$o.prototype,"messageContexts",void 0),Ko([o.jsonProperty(void 0)],$o.prototype,"session",void 0),Ko([r.property({type:Object})],$o.prototype,"apiProvider",void 0);class Zo{async listMySearches(){var t;return(null===(t=Io.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Uo.await()).listMySearches(Io.getState().session.profile.userId):[]}}const zo=new o.CacheRegistry;class Fo{async listMyBookmarks(){return zo.get("bookmarks",(async()=>(await Uo.await()).listMyBookmarks(Io.getState().session.profile.userId)))}clearCache(){zo.clear("bookmarks")}}const Do=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Io.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Fo,Io.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Io.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Do.actions.savedSearches(void 0)}clearMyBookmarks(){Do.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Zo,o=await t.listMySearches();Do.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Do.actions.bookmarks(o)}}},o.customElement("ft-app-context")($o);var Bo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};const Ao=Symbol("i18nProperties"),Ho=Symbol("i18nUnsubs");function Go(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?ko:Eo}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o;null===(o=this[Ao])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Ao])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ao]&&new Set([...this[Ao].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Ho].has(t)||this[Ho].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Ho].forEach((t=>t())),this[Ho].clear()}}return o=Ho,Bo([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Mo extends(Go(o.FtLitElement)){}class Po extends(Go(o.FtLitElementRedux)){}var jo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Yo extends Po{constructor(){super(),this.editorMode=!1,this.addStore(Io)}render(){return this.key&&this.context?e.html`
135
142
  <span class="ft-i18n">
136
143
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
137
144
  </span>
138
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Pi.elementDefinitions={},Pi.styles=vi,Ti([i.redux()],Pi.prototype,"editorMode",void 0),Ti([s.property()],Pi.prototype,"context",void 0),Ti([s.property()],Pi.prototype,"key",void 0),Ti([i.jsonProperty([])],Pi.prototype,"args",void 0),Ti([s.property()],Pi.prototype,"defaultMessage",void 0);class Ri{static build(t){return new Ri(t)}static fromGwt(t){return new Ri(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const e=i;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,i)=>(...t)=>Ci.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(Pi);class qi extends Event{constructor(){super(qi.eventName)}}qi.eventName="search-context-clear-all-filters";var Wi=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Gi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Zi=Symbol("registerInterval");class Fi extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Zi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Zi]):this.dispatchEvent(new Gi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=Zi,Wi([s.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}const Hi=Ri.build("integratedSpellcheckComponent"),Di={resultsFor:"Results for ",noResultsForQuery:'No results for query "{0}"'};var Ki=function(t,i,e,s){for(var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,h=t.length-1;h>=0;h--)(o=t[h])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Qi extends(Li(Fi)){constructor(){super(),this.editorMode=!1,this.addStore(bi),this.addI18nContext(Hi,Di)}getSpellcheckedUrl(t){return this.editorMode?"":i.serializeRequest(bi.getState().baseUrl,{...this.request,query:t})}renderSpellcheck(t,i){return e.html`
145
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Yo.elementDefinitions={},Yo.styles=xo,jo([o.redux()],Yo.prototype,"editorMode",void 0),jo([r.property()],Yo.prototype,"context",void 0),jo([r.property()],Yo.prototype,"key",void 0),jo([o.jsonProperty([])],Yo.prototype,"args",void 0),jo([r.property()],Yo.prototype,"defaultMessage",void 0);class _o{static build(t){return new _o(t)}static fromGwt(t){return new _o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Eo.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Yo);class To extends Event{constructor(){super(To.eventName)}}To.eventName="search-context-clear-all-filters";var qo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Qo extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Xo=Symbol("registerInterval");class Jo extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Xo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Xo]):this.dispatchEvent(new Qo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Xo,qo([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Vo=_o.build("integratedSpellcheckComponent"),te={resultsFor:"Results for ",noResultsForQuery:'No results for query "{0}"'};var oe=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class ee extends(Go(Jo)){constructor(){super(),this.editorMode=!1,this.addStore(Io),this.addI18nContext(Vo,te)}getSpellcheckedUrl(t){return this.editorMode?"":o.serializeRequest(Io.getState().baseUrl,{...this.request,query:t})}renderSpellcheck(t,o){return e.html`
139
146
  <div class="ft-search-results-spellcheck--spellcheck">
140
147
  <div>
141
148
  <ft-typography variant="subtitle1">
142
- ${Hi.messages.resultsFor()}
149
+ ${Vo.messages.resultsFor()}
143
150
  </ft-typography>
144
151
  <a href="${this.getSpellcheckedUrl(t)}"
145
- @click=${t=>{var i,e;return null===(i=this.stateManager)||void 0===i?void 0:i.setQuery(null===(e=this.autocorrect)||void 0===e?void 0:e.suggestedQuery)}}>
152
+ @click=${t=>{var o,e;return null===(o=this.stateManager)||void 0===o?void 0:o.setQuery(null===(e=this.autocorrect)||void 0===e?void 0:e.suggestedQuery)}}>
146
153
  <ft-typography variant="subtitle1" class="link ft-search-results-spellcheck--new-query">
147
154
  ${t}
148
155
  </ft-typography>
@@ -150,7 +157,7 @@ const G=Symbol.for(""),Z=t=>{if((null==t?void 0:t.r)===G)return null==t?void 0:t
150
157
  </div>
151
158
 
152
159
  <ft-typography variant="subtitle2" class="ft-search-results-spellcheck--old-query">
153
- ${Hi.messages.noResultsForQuery(i)}
160
+ ${Vo.messages.noResultsForQuery(o)}
154
161
  </ft-typography>
155
162
  </div>
156
- `}render(){var t,i;return this.autocorrect?this.renderSpellcheck(null===(t=this.autocorrect)||void 0===t?void 0:t.suggestedQuery,null===(i=this.request)||void 0===i?void 0:i.query):this.editorMode?this.renderSpellcheck("new-query","old-query"):e.nothing}}Qi.elementDefinitions={"ft-typography":gi},Qi.styles=n,Ki([i.redux({store:bi.name})],Qi.prototype,"editorMode",void 0),Ki([i.redux({store:"search"})],Qi.prototype,"request",void 0),Ki([i.redux({store:"search",selector:t=>t.spellcheck})],Qi.prototype,"autocorrect",void 0),i.customElement("ft-search-results-spellcheck")(Qi),t.FtSearchResultsSpellcheck=Qi,t.FtSearchResultsSpellcheckCssVariables=o,t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
163
+ `}render(){var t,o;return this.autocorrect?this.renderSpellcheck(null===(t=this.autocorrect)||void 0===t?void 0:t.suggestedQuery,null===(o=this.request)||void 0===o?void 0:o.query):this.editorMode?this.renderSpellcheck("new-query","old-query"):e.nothing}}ee.elementDefinitions={"ft-typography":Co},ee.styles=i,oe([o.redux({store:Io.name})],ee.prototype,"editorMode",void 0),oe([o.redux({store:"search"})],ee.prototype,"request",void 0),oe([o.redux({store:"search",selector:t=>t.spellcheck})],ee.prototype,"autocorrect",void 0),o.customElement("ft-search-results-spellcheck")(ee),t.FtSearchResultsSpellcheck=ee,t.FtSearchResultsSpellcheckCssVariables=a,t.styles=i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);