@fluid-topics/ft-reader-metadata 1.1.69 → 1.1.71

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,4 +1,4 @@
1
- !function(t,o,e,i,r,n,a){const l=e.css`
1
+ "use strict";(()=>{var Ma=Object.create;var Or=Object.defineProperty;var Wa=Object.getOwnPropertyDescriptor;var za=Object.getOwnPropertyNames;var Ha=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ga=(e,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of za(o))!Fa.call(e,n)&&n!==r&&Or(e,n,{get:()=>o[n],enumerable:!(i=Wa(o,n))||i.enumerable});return e};var u=(e,o,r)=>(r=e!=null?Ma(Ha(e)):{},Ga(o||!e||!e.__esModule?Or(r,"default",{value:e,enumerable:!0}):r,e));var O=te((wl,Cr)=>{Cr.exports=ftGlobals.wcUtils});var P=te((Rl,Er)=>{Er.exports=ftGlobals.lit});var nt=te((Nl,Ar)=>{Ar.exports=ftGlobals.litDecorators});var Ge=te((qd,cn)=>{cn.exports=ftGlobals.litClassMap});var Sn=te((lf,vn)=>{vn.exports=ftGlobals.litUnsafeHTML});var ia=te(ra=>{(function(e){var o=function(r){var i={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function f(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var m={next:function(){var C=d.shift();return{done:C===void 0,value:C}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function y(d){this.map={},d instanceof y?d.forEach(function(m,C){this.append(C,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}y.prototype.append=function(d,m){d=p(d),m=f(m);var C=this.map[d];this.map[d]=C?C+", "+m:m},y.prototype.delete=function(d){delete this.map[p(d)]},y.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},y.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},y.prototype.set=function(d,m){this.map[p(d)]=f(m)},y.prototype.forEach=function(d,m){for(var C in this.map)this.map.hasOwnProperty(C)&&d.call(m,this.map[C],C,this)},y.prototype.keys=function(){var d=[];return this.forEach(function(m,C){d.push(C)}),h(d)},y.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},y.prototype.entries=function(){var d=[];return this.forEach(function(m,C){d.push([C,m])}),h(d)},i.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function x(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function R(d){return new Promise(function(m,C){d.onload=function(){m(d.result)},d.onerror=function(){C(d.error)}})}function A(d){var m=new FileReader,C=R(m);return m.readAsArrayBuffer(d),C}function I(d){var m=new FileReader,C=R(m);return m.readAsText(d),C}function M(d){for(var m=new Uint8Array(d),C=new Array(m.length),q=0;q<m.length;q++)C[q]=String.fromCharCode(m[q]);return C.join("")}function W(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function B(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=W(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||s(d))?this._bodyArrayBuffer=W(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=x(this);if(d)return d;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?x(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(A)}),this.text=function(){var d=x(this);if(d)return d;if(this._bodyBlob)return I(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(M(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Q(d){var m=d.toUpperCase();return H.indexOf(m)>-1?m:d}function it(d,m){m=m||{};var C=m.body;if(d instanceof it){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new y(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!C&&d._bodyInit!=null&&(C=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new y(m.headers)),this.method=Q(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&C)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(C)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})};function X(d){var m=new FormData;return d.trim().split("&").forEach(function(C){if(C){var q=C.split("="),tt=q.shift().replace(/\+/g," "),k=q.join("=").replace(/\+/g," ");m.append(decodeURIComponent(tt),decodeURIComponent(k))}}),m}function eo(d){var m=new y,C=d.replace(/\r?\n[\t ]+/g," ");return C.split(/\r?\n/).forEach(function(q){var tt=q.split(":"),k=tt.shift().trim();if(k){var oo=tt.join(":").trim();m.append(k,oo)}}),m}B.call(it.prototype);function yt(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new y(m.headers),this.url=m.url||"",this._initBody(d)}B.call(yt.prototype),yt.prototype.clone=function(){return new yt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},yt.error=function(){var d=new yt(null,{status:0,statusText:""});return d.type="error",d};var Sr=[301,302,303,307,308];yt.redirect=function(d,m){if(Sr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new yt(null,{status:m,headers:{location:d}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,C){this.message=m,this.name=C;var q=Error(m);this.stack=q.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function de(d,m){return new Promise(function(C,q){var tt=new it(d,m);if(tt.signal&&tt.signal.aborted)return q(new r.DOMException("Aborted","AbortError"));var k=new XMLHttpRequest;function oo(){k.abort()}k.onload=function(){var _e={status:k.status,statusText:k.statusText,headers:eo(k.getAllResponseHeaders()||"")};_e.url="responseURL"in k?k.responseURL:_e.headers.get("X-Request-URL");var Ho="response"in k?k.response:k.responseText;C(new yt(Ho,_e))},k.onerror=function(){q(new TypeError("Network request failed"))},k.ontimeout=function(){q(new TypeError("Network request failed"))},k.onabort=function(){q(new r.DOMException("Aborted","AbortError"))},k.open(tt.method,tt.url,!0),tt.credentials==="include"?k.withCredentials=!0:tt.credentials==="omit"&&(k.withCredentials=!1),"responseType"in k&&i.blob&&(k.responseType="blob"),tt.headers.forEach(function(_e,Ho){k.setRequestHeader(Ho,_e)}),tt.signal&&(tt.signal.addEventListener("abort",oo),k.onreadystatechange=function(){k.readyState===4&&tt.signal.removeEventListener("abort",oo)}),k.send(typeof tt._bodyInit>"u"?null:tt._bodyInit)})}return de.polyfill=!0,e.fetch||(e.fetch=de,e.Headers=y,e.Request=it,e.Response=yt),r.Headers=y,r.Request=it,r.Response=yt,r.fetch=de,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:ra)});var Oa=te(($h,Sa)=>{Sa.exports=ftGlobals.litRepeat});var Da=u(O());var Ft=u(P()),Qt=u(nt()),Ut=u(O());var wr=u(P()),Ll={},Rr=wr.css`
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
@@ -18,129 +18,122 @@
18
18
  all: unset;
19
19
  position: relative;
20
20
  }
21
- `;var c;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(c||(c={}));var s=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class p extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const f=Symbol("registerInterval");class d extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[f]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[f]):this.dispatchEvent(new p)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=f,s([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}
22
- /**
23
- * @license
24
- * Copyright 2017 Google LLC
25
- * SPDX-License-Identifier: BSD-3-Clause
26
- */const h=globalThis,u=h.trustedTypes,g=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,y="$lit$",b=`lit$${(Math.random()+"").slice(9)}$`,m="?"+b,x=`<${m}>`,v=document,O=()=>v.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,S="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I=/-->/g,E=/>/g,$=RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,U=/"/g,k=/^(?:script|style|textarea|title)$/i,L=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),W=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Z=new WeakMap,K=v.createTreeWalker(v,129);function A(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==g?g.createHTML(o):o}const D=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=C;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===C?"!--"===c[1]?a=I:void 0!==c[1]?a=E:void 0!==c[2]?(k.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=$):void 0!==c[3]&&(a=$):a===$?">"===c[0]?(a=r??C,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?$:'"'===c[3]?U:R):a===U||a===R?a=$:a===I||a===E?a=C:(a=$,r=void 0);const f=a===$&&t[o+1].startsWith("/>")?" ":"";n+=a===C?e+x:s>=0?(i.push(l),e.slice(0,s)+y+e.slice(s)+b+f):e+b+(-2===s?o:f)}return[A(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class B{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,s]=D(t,o);if(this.el=B.createElement(c,e),K.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=K.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(y)){const o=s[n++],e=i.getAttribute(t).split(b),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?M:"?"===a[1]?j:"@"===a[1]?_:P}),i.removeAttribute(t)}else t.startsWith(b)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(k.test(i.tagName)){const t=i.textContent.split(b),o=t.length-1;if(o>0){i.textContent=u?u.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],O()),K.nextNode(),l.push({type:2,index:++r});i.append(t[o],O())}}}else if(8===i.nodeType)if(i.data===m)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(b,t+1));)l.push({type:7,index:r}),t+=b.length-1}r++}}static createElement(t,o){const e=v.createElement("template");return e.innerHTML=t,e}}function F(t,o,e=t,i){if(o===W)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=w(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=F(t,r._$AS(t,o.values),r,i)),o}class T{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??v).importNode(o,!0);K.currentNode=i;let r=K.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new H(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new G(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=K.nextNode(),n++)}return K.currentNode=v,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class H{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=F(this,t,o),w(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==W&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==z&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$(v.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=B.createElement(A(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new T(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Z.get(t.strings);return void 0===o&&Z.set(t.strings,o=new B(t)),o}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new H(this.k(O()),this.k(O()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class P{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=z}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=F(this,t,o,0),n=!w(t)||t!==this._$AH&&t!==W,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=F(this,i[e+a],o,a),l===W&&(l=this._$AH[a]),n||=!w(l)||l!==this._$AH[a],l===z?t=z:t!==z&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends P{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===z?void 0:t}}class j extends P{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}}class _ extends P{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=F(this,t,o,0)??z)===W)return;const e=this._$AH,i=t===z&&e!==z||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==z&&(e===z||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class G{constructor(t,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){F(this,t)}}const Y=h.litHtmlPolyfillSupport;Y?.(B,H),(h.litHtmlVersions??=[]).push("3.1.0");
27
- /**
28
- * @license
29
- * Copyright 2020 Google LLC
30
- * SPDX-License-Identifier: BSD-3-Clause
31
- */
32
- const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litStatic$:t,r:V}),J=new Map,Q=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(n=e[s],r=X(n));)c+=r+o[++s],p=!0;s!==i&&l.push(n),a.push(c),s++}if(s===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=J.get(t))&&(a.raw=a,J.set(t,o=a)),e=l}return t(o,...e)})(L);var tt;!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"}(tt||(tt={}));const ot=t=>"string"==typeof t?e.unsafeCSS(t):t;class et{static create(t,o,i,r){const n=t=>ot(null!=t?t:r),a=e.css`var(${ot(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${ot(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${ot(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${ot(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ot(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${ot(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${ot(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const it={colorWhite:et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:et.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:et.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:et.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:et.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:et.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:et.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:et.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:et.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:et.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:et.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:et.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:et.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:et.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:et.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:et.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:et.create("--ft-opacity-0","","NUMBER","0"),opacity8:et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:et.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:et.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:et.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:et.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:et.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:et.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:et.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:et.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:et.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:et.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},rt={display:{fontFamily:et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:et.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:et.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:et.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:et.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:et.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:et.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:et.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:et.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:et.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:et.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:et.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:et.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:et.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:et.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:et.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:et.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:et.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},nt={backgroundActionPrimary:et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",it.colorBrand0),backgroundErrorSubtle:et.extend("--ft-background-error-subtle","Used as background of subtle error components.",it.colorRed10),backgroundInfoSubtle:et.extend("--ft-background-info-subtle","Used as background of subtle information components.",it.colorCyan10),backgroundWarningSubtle:et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",it.colorOrange10),backgroundSuccessSubtle:et.extend("--ft-background-success-subtle","Used as background of subtle success components.",it.colorGreen10),backgroundGlobalSurface:et.extend("--ft-background-global-surface","Used as app background.",it.colorWhite),backgroundGlobalOnSurface:et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",it.colorGray10),backgroundGlobalOnSurfaceDark:et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",it.colorGray30),contentActionPrimary:et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",it.colorBrand0),contentWarningPrimary:et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",it.colorOrange200),contentWarningIconOnly:et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",it.colorOrange0),contentErrorPrimary:et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",it.colorRed0),contentErrorIconOnly:et.extend("--ft-content-error-icon-only","Used on error status icons alone",it.colorRed70),contentInfoPrimary:et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",it.colorCyan200),contentInfoIconOnly:et.extend("--ft-content-info-icon-only","Used on info status icons alone",it.colorCyan0),contentSuccessPrimary:et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",it.colorGreen200),contentSuccessIconOnly:et.extend("--ft-content-success-icon-only","Used on success status icons alone",it.colorGreen0),contentGlobalPrimary:et.extend("--ft-content-global-primary","Used for main content on the page.",it.colorGray500),contentGlobalSecondary:et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",it.colorGray200),contentGlobalSubtle:et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",it.colorGray0),contentGlobalOnColor:et.extend("--ft-content-global-on-color","Used for content on a dominant color.",it.colorWhite),borderActionPrimary:et.extend("--ft-border-action-primary","Used as border for primary action components.",it.colorBrand0),borderActionFocusRing:et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",it.colorCyan0),borderWarningPrimary:et.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",it.colorOrange200),borderWarningSubtle:et.extend("--ft-border-warning-subtle","Used as border for warning components.",it.colorOrange30),borderSuccessPrimary:et.extend("--ft-border-success-primary","Used as border for success buttons.",it.colorGreen200),borderSuccessSubtle:et.extend("--ft-border-success-subtle","Used as border for success components.",it.colorGreen30),borderErrorPrimary:et.extend("--ft-border-error-primary","Used as border for text fields in error states.",it.colorRed0),borderErrorSubtle:et.extend("--ft-border-error-subtle","Used as border for error components.",it.colorRed30),borderInfoPrimary:et.extend("--ft-border-info-primary","Used as border for buttons in info color.",it.colorCyan200),borderInfoSubtle:et.extend("--ft-border-info-subtle","Used as border for information components.",it.colorCyan30),borderGlobalPrimary:et.extend("--ft-border-global-primary","Used as border for element like input.",it.colorGray50),borderGlobalSubtle:et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",it.colorGray30),borderInputPrimary:et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",it.colorGray80)},at={largeHeight:et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:et.extend("--ft-button-large-horizontal-padding","",it.spacing4),largeGap:et.extend("--ft-button-large-gap","",it.spacing2),largeBorderRadius:et.extend("--ft-button-large-border-radius","",it.borderRadiusS),largeIconSize:et.extend("--ft-button-large-icon-size","",it.iconSize3),largeBorderWidth:et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:et.extend("--ft-button-small-horizontal-padding","",it.spacing3),smallGap:et.extend("--ft-button-small-gap","",it.spacing2),smallBorderRadius:et.extend("--ft-button-small-border-radius","",it.borderRadiusS),smallIconSize:et.extend("--ft-button-small-icon-size","",it.iconSize2),smallBorderWidth:et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:et.extend("--ft-button-primary-background-color","",nt.backgroundActionPrimary),primaryColor:et.extend("--ft-button-primary-color","",nt.contentGlobalOnColor),primaryIconColor:et.extend("--ft-button-primary-icon-color","",nt.contentGlobalOnColor),primaryStateLayerColor:et.extend("--ft-button-primary-state-layer-color","",nt.contentGlobalOnColor),primaryHoverStateLayerOpacity:et.extend("--ft-button-primary-hover-state-layer-opacity","",it.opacity16),primaryFocusStateLayerOpacity:et.extend("--ft-button-primary-focus-state-layer-opacity","",it.opacity16),primaryActiveStateLayerOpacity:et.extend("--ft-button-primary-active-state-layer-opacity","",it.opacity24),primaryDisabledComponentOpacity:et.extend("--ft-button-primary-disabled-component-opacity","",it.opacity40),focusFocusRingColor:et.extend("--ft-button-focus-focus-ring-color","",nt.borderActionFocusRing),tertiaryBackgroundColor:et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:et.extend("--ft-button-tertiary-color","",nt.contentActionPrimary),tertiaryIconColor:et.extend("--ft-button-tertiary-icon-color","",nt.contentActionPrimary),tertiaryStateLayerColor:et.extend("--ft-button-tertiary-state-layer-color","",nt.contentActionPrimary),tertiaryHoverStateLayerOpacity:et.extend("--ft-button-tertiary-hover-state-layer-opacity","",it.opacity8),tertiaryFocusStateLayerOpacity:et.extend("--ft-button-tertiary-focus-state-layer-opacity","",it.opacity8),tertiaryActiveStateLayerOpacity:et.extend("--ft-button-tertiary-active-state-layer-opacity","",it.opacity16),tertiaryDisabledComponentOpacity:et.extend("--ft-button-tertiary-disabled-component-opacity","",it.opacity40),secondaryBackgroundColor:et.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:et.extend("--ft-button-secondary-color","",nt.contentActionPrimary),secondaryIconColor:et.extend("--ft-button-secondary-icon-color","",nt.contentActionPrimary),secondaryStateLayerColor:et.extend("--ft-button-secondary-state-layer-color","",nt.contentActionPrimary),secondaryHoverStateLayerOpacity:et.extend("--ft-button-secondary-hover-state-layer-opacity","",it.opacity8),secondaryFocusStateLayerOpacity:et.extend("--ft-button-secondary-focus-state-layer-opacity","",it.opacity8),secondaryActiveStateLayerOpacity:et.extend("--ft-button-secondary-active-state-layer-opacity","",it.opacity16),secondaryDisabledComponentOpacity:et.extend("--ft-button-secondary-disabled-component-opacity","",it.opacity40),secondaryBorderColor:et.extend("--ft-button-secondary-border-color","",nt.borderActionPrimary),neutralBackgroundColor:et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:et.extend("--ft-button-neutral-icon-color","",nt.contentGlobalSecondary),neutralColor:et.extend("--ft-button-neutral-color","",nt.contentGlobalSecondary),neutralStateLayerColor:et.extend("--ft-button-neutral-state-layer-color","",nt.contentGlobalSecondary),neutralHoverStateLayerOpacity:et.extend("--ft-button-neutral-hover-state-layer-opacity","",it.opacity8),neutralFocusStateLayerOpacity:et.extend("--ft-button-neutral-focus-state-layer-opacity","",it.opacity8),neutralActiveStateLayerOpacity:et.extend("--ft-button-neutral-active-state-layer-opacity","",it.opacity16),neutralDisabledComponentOpacity:et.extend("--ft-button-neutral-disabled-component-opacity","",it.opacity40)};et.extend("--ft-banner-icon-size","",it.iconSize5),et.create("--ft-banner-border-width","","SIZE","1px"),et.extend("--ft-banner-horizontal-padding","",it.spacing6),et.extend("--ft-banner-vertical-padding","",it.spacing6),et.extend("--ft-banner-horizontal-side-gap","",it.spacing6),et.extend("--ft-banner-horizontal-mobile-gap","",it.spacing4),et.extend("--ft-banner-vertical-mobile-gap","",it.spacing6),et.extend("--ft-banner-horizontal-middle-gap","",it.spacing20),et.extend("--ft-banner-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-banner-info-color","",nt.contentInfoPrimary),et.extend("--ft-banner-info-icon-color","",nt.contentInfoIconOnly),et.extend("--ft-breadcrumb-horizontal-gap","",it.spacing1),et.extend("--ft-breadcrumb-vertical-gap","",it.spacing2),et.extend("--ft-breadcrumb-current-element-color","",nt.contentGlobalPrimary),et.extend("--ft-breadcrumb-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-page-header-horizontal-padding","",it.spacing12),et.extend("--ft-page-header-horizontal-gap","",it.spacing4),et.extend("--ft-page-header-vertical-gap","",it.spacing2),et.extend("--ft-page-header-classic-vertical-padding","",it.spacing6),et.extend("--ft-page-header-multiline-vertical-padding","",it.spacing4),et.extend("--ft-page-header-inline-vertical-padding","",it.spacing2),et.extend("--ft-page-header-background-color","",it.colorWhite),et.extend("--ft-page-header-bottom-border-color","",nt.borderGlobalSubtle),et.extend("--ft-page-header-title-color","",nt.contentGlobalPrimary),et.extend("--ft-page-header-subtitle-color","",nt.contentGlobalSecondary),et.create("--ft-modal-small-container-width","","SIZE","600px"),et.create("--ft-modal-large-container-width","","SIZE","900px"),et.extend("--ft-modal-overlay-background-color","",it.colorGray700),et.extend("--ft-modal-overlay-opacity","",it.opacity40),et.extend("--ft-modal-shadow","",it.shadowElevation03),et.extend("--ft-modal-body-background-color","",it.colorWhite),et.extend("--ft-modal-body-color","",nt.contentGlobalPrimary),et.extend("--ft-modal-body-horizontal-padding","",it.spacing6),et.extend("--ft-modal-body-vertical-padding","",it.spacing6),et.extend("--ft-modal-body-vertical-gap","",it.spacing6),et.extend("--ft-modal-container-margin","",it.spacing3),et.extend("--ft-modal-header-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-modal-header-border-color","",nt.borderGlobalSubtle),et.extend("--ft-modal-header-color","",nt.contentGlobalPrimary),et.extend("--ft-modal-header-trailing-icon-color","",nt.contentGlobalSecondary),et.extend("--ft-modal-header-vertical-padding","",it.spacing1),et.extend("--ft-modal-header-right-padding","",it.spacing1),et.extend("--ft-modal-header-left-padding","",it.spacing6),et.extend("--ft-modal-header-gap","",it.spacing2),et.create("--ft-modal-header-border-bottom","","SIZE","1px"),et.extend("--ft-modal-border-radius","",it.borderRadiusM),et.extend("--ft-drawer-overlay-opacity","",it.opacity40),et.extend("--ft-drawer-shadow","",it.shadowElevation03),et.extend("--ft-drawer-body-color","",nt.contentGlobalPrimary),et.extend("--ft-drawer-body-horizontal-padding","",it.spacing6),et.extend("--ft-drawer-body-vertical-padding","",it.spacing6),et.extend("--ft-drawer-body-gap","",it.spacing6),et.extend("--ft-drawer-body-background-color","",it.colorWhite),et.extend("--ft-drawer-header-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-drawer-header-border-color","",nt.borderGlobalSubtle),et.extend("--ft-drawer-header-color","",nt.contentGlobalPrimary),et.extend("--ft-drawer-header-trailing-icon-color","",nt.contentGlobalSecondary),et.create("--ft-drawer-header-height","","SIZE","50px"),et.extend("--ft-drawer-header-horizontal-padding","",it.spacing2),et.create("--ft-drawer-header-border-width","","SIZE","1px"),et.extend("--ft-drawer-header-gap","",it.spacing3),et.extend("--ft-drawer-buttons-bar-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-drawer-buttons-bar-border-color","",nt.borderGlobalSubtle),et.extend("--ft-drawer-buttons-bar-color","",nt.contentGlobalPrimary),et.extend("--ft-drawer-buttons-bar-horizontal-padding","",it.spacing4),et.extend("--ft-drawer-buttons-bar-vertical-padding","",it.spacing4),et.extend("--ft-drawer-buttons-bar-gap","",it.spacing3),et.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),et.create("--ft-drawer-container-width","","SIZE","66%"),et.create("--ft-drawer-container-min-width","","SIZE","500px"),et.create("--ft-drawer-container-max-width","","SIZE","1000px"),et.create("--ft-drawer-container-height","","SIZE","100%"),et.extend("--ft-drawer-overlay-background-color","",it.colorGray700),et.extend("--ft-text-input-field-horizontal-padding","",it.spacing4),et.extend("--ft-text-input-field-horizontal-gap","",it.spacing3),et.extend("--ft-text-input-field-vertical-gap","",it.spacing05),et.extend("--ft-text-input-field-icon-size","",it.iconSize3),et.create("--ft-text-input-field-height","","SIZE","50px"),et.extend("--ft-text-input-helper-horizontal-padding","",it.spacing4),et.extend("--ft-text-input-helper-horizontal-gap","",it.spacing1),et.extend("--ft-text-input-helper-icon-size","",it.iconSize2),et.extend("--ft-text-input-border-radius","",it.borderRadiusM),et.extend("--ft-text-input-background-color","",it.colorWhite),et.extend("--ft-text-input-content-value-color","",nt.contentGlobalPrimary),et.extend("--ft-text-input-trailing-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-text-input-label-color","",nt.contentGlobalSubtle),et.extend("--ft-text-input-default-border-color","",nt.borderInputPrimary),et.extend("--ft-text-input-default-helper-text-color","",nt.contentGlobalSubtle),et.create("--ft-text-input-default-border-width","","SIZE","1px"),et.create("--ft-text-input-error-border-width","","SIZE","2px"),et.extend("--ft-text-input-error-border-color","",nt.borderErrorPrimary),et.extend("--ft-text-input-error-helper-text-color","",nt.contentErrorPrimary),et.extend("--ft-text-input-error-helper-icon-color","",nt.contentErrorIconOnly),et.create("--ft-text-input-warning-border-width","","SIZE","2px"),et.create("--ft-text-input-focus-outline-width","","SIZE","2px"),et.extend("--ft-text-input-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),et.extend("--ft-text-input-disabled-component-opacity","",it.opacity40),et.extend("--ft-text-area-background-color","",it.colorWhite),et.extend("--ft-text-area-content-value-color","",nt.contentGlobalPrimary),et.extend("--ft-text-area-label-color","",nt.contentGlobalSubtle),et.extend("--ft-text-area-default-border-color","",nt.borderInputPrimary),et.extend("--ft-text-area-default-helper-text-color","",nt.contentGlobalSubtle),et.create("--ft-text-area-default-border-width","","SIZE","1px"),et.create("--ft-text-area-error-border-width","","SIZE","2px"),et.extend("--ft-text-area-error-border-color","",nt.borderErrorPrimary),et.extend("--ft-text-area-error-helper-text-color","",nt.contentErrorPrimary),et.extend("--ft-text-area-error-helper-icon-color","",nt.contentErrorIconOnly),et.extend("--ft-text-area-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-text-area-focus-outline-width","","SIZE","2px"),et.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),et.extend("--ft-text-area-disabled-component-opacity","",it.opacity40),et.extend("--ft-text-area-field-horizontal-left-padding","",it.spacing4),et.extend("--ft-text-area-field-horizontal-gap","",it.spacing3),et.extend("--ft-text-area-field-vertical-gap","",it.spacing05),et.create("--ft-text-area-field-min-height","","SIZE","64px"),et.extend("--ft-text-area-helper-horizontal-padding","",it.spacing4),et.extend("--ft-text-area-helper-horizontal-gap","",it.spacing1),et.extend("--ft-text-area-helper-icon-size","",it.iconSize2),et.extend("--ft-text-area-border-radius","",it.borderRadiusM),et.create("--ft-floating-menu-height","","SIZE","50px"),et.extend("--ft-floating-menu-horizontal-padding","",it.spacing4),et.extend("--ft-floating-menu-off-icon-color","",nt.contentGlobalPrimary),et.extend("--ft-floating-menu-off-color","",nt.contentGlobalPrimary),et.extend("--ft-floating-menu-on-color","",nt.contentActionPrimary),et.extend("--ft-floating-menu-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-floating-menu-gap","",it.spacing3),et.extend("--ft-floating-menu-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),et.extend("--ft-floating-menu-focus-state-layer-opacity","",it.opacity8),et.extend("--ft-floating-menu-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-floating-menu-active-state-layer-opacity","",it.opacity16),et.extend("--ft-floating-menu-disabled-component-opacity","",it.opacity40),et.extend("--ft-floating-menu-icon-size","",it.iconSize3),et.extend("--ft-floating-menu-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-combobox-single-select-field-horizontal-padding","",it.spacing4),et.extend("--ft-combobox-single-select-field-horizontal-gap","",it.spacing3),et.extend("--ft-combobox-single-select-field-vertical-gap","",it.spacing05),et.extend("--ft-combobox-single-select-field-icon-size","",it.iconSize3),et.create("--ft-combobox-single-select-field-height","","SIZE","50px"),et.extend("--ft-combobox-single-select-helper-horizontal-padding","",it.spacing4),et.extend("--ft-combobox-single-select-helper-horizontal-gap","",it.spacing1),et.extend("--ft-combobox-single-select-helper-vertical-gap","",it.spacing1),et.extend("--ft-combobox-single-select-helper-icon-size","",it.iconSize2),et.extend("--ft-combobox-single-select-menu-vertical-gap","",it.spacing2),et.extend("--ft-combobox-single-select-border-radius","",it.borderRadiusM),et.extend("--ft-combobox-single-select-background-color","",it.colorWhite),et.extend("--ft-combobox-single-select-label-color","",nt.contentGlobalSubtle),et.extend("--ft-combobox-single-select-content-value-color","",nt.contentGlobalPrimary),et.extend("--ft-combobox-single-select-trailing-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-combobox-single-select-default-border-color","",nt.borderInputPrimary),et.extend("--ft-combobox-single-select-default-helper-text-color","",nt.contentGlobalSubtle),et.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),et.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-error-border-color","",nt.borderErrorPrimary),et.extend("--ft-combobox-single-select-error-helper-text-color","",nt.contentErrorPrimary),et.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-warning-border-color","",nt.borderWarningPrimary),et.extend("--ft-combobox-single-select-warning-helper-text-color","",nt.contentWarningPrimary),et.extend("--ft-combobox-single-select-warning-helper-icon-color","",nt.contentWarningIconOnly),et.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),et.extend("--ft-combobox-single-select-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),et.extend("--ft-combobox-single-select-disabled-component-opacity","",it.opacity40),et.extend("--ft-combobox-multi-select-background-color","",it.colorWhite),et.extend("--ft-combobox-multi-select-label-color","",nt.contentGlobalSubtle),et.extend("--ft-combobox-multi-select-trailing-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-combobox-multi-select-default-border-color","",nt.borderInputPrimary),et.extend("--ft-combobox-multi-select-default-helper-text-color","",nt.contentGlobalSubtle),et.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),et.extend("--ft-combobox-multi-select-error-border-color","",nt.borderErrorPrimary),et.extend("--ft-combobox-multi-select-error-helper-text-color","",nt.contentErrorPrimary),et.extend("--ft-combobox-multi-select-error-helper-icon","",nt.contentErrorIconOnly),et.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),et.extend("--ft-combobox-multi-select-warning-border-color","",nt.borderWarningPrimary),et.extend("--ft-combobox-multi-select-warning-helper-text-color","",nt.contentWarningPrimary),et.extend("--ft-combobox-multi-select-warning-helper-icon-color","",nt.contentWarningIconOnly),et.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),et.extend("--ft-combobox-multi-select-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),et.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),et.extend("--ft-combobox-multi-select-disabled-component-opacity","",it.opacity40),et.extend("--ft-combobox-multi-select-helper-horizontal-padding","",it.spacing4),et.extend("--ft-combobox-multi-select-helper-horizontal-gap","",it.spacing1),et.extend("--ft-combobox-multi-select-helper-vertical-gap","",it.spacing1),et.extend("--ft-combobox-multi-select-helper-icon-size","",it.iconSize2),et.extend("--ft-combobox-multi-select-field-horizontal-padding","",it.spacing4),et.extend("--ft-combobox-multi-select-field-horizontal-gap","",it.spacing3),et.extend("--ft-combobox-multi-select-field-vertical-gap","",it.spacing05),et.extend("--ft-combobox-multi-select-field-icon-size","",it.iconSize3),et.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),et.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",it.spacing1),et.extend("--ft-combobox-multi-select-content-values-vertical-gap","",it.spacing1),et.extend("--ft-combobox-multi-select-border-radius","",it.borderRadiusM),et.extend("--ft-popover-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-popover-horizontal-padding","",it.spacing6),et.extend("--ft-popover-vertical-padding","",it.spacing6),et.extend("--ft-popover-icon-color","",nt.contentGlobalSecondary),et.extend("--ft-popover-icon-size","",it.iconSize2),et.extend("--ft-popover-title-color","",nt.contentGlobalPrimary),et.extend("--ft-popover-body-color","",nt.contentGlobalSecondary),et.extend("--ft-popover-link-color","",nt.contentActionPrimary),et.extend("--ft-popover-gap","",it.spacing3),et.extend("--ft-popover-border-radius","",it.borderRadiusM),et.extend("--ft-popover-shadow","",it.shadowElevation02),et.extend("--ft-tabs-top-left-border-radius","",it.borderRadiusS),et.extend("--ft-tabs-top-right-border-radius","",it.borderRadiusS),et.extend("--ft-tabs-label-horizontal-padding","",it.spacing4),et.extend("--ft-tabs-label-vertical-padding","",it.spacing3),et.extend("--ft-tabs-label-gap","",it.spacing1),et.extend("--ft-tabs-off-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-tabs-off-focus-state-layer-opacity","",it.opacity8),et.extend("--ft-tabs-off-active-state-layer-opacity","",it.opacity16),et.extend("--ft-tabs-off-disabled-component-opacity","",it.opacity40),et.extend("--ft-tabs-off-color","",nt.contentGlobalSubtle),et.extend("--ft-tabs-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-tabs-on-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-tabs-on-focus-state-layer-opacity","",it.opacity8),et.extend("--ft-tabs-on-active-state-layer-opacity","",it.opacity16),et.extend("--ft-tabs-on-disabled-component-opacity","",it.opacity40),et.extend("--ft-tabs-on-color","",nt.contentActionPrimary),et.extend("--ft-tabs-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-tabs-icon-horizontal-padding","",it.spacing1),et.extend("--ft-tabs-icon-vertical-padding","",it.spacing4),et.create("--ft-tabs-focus-outline-width","","SIZE","2px"),et.extend("--ft-tabs-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-collapsible-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-collapsible-focus-state-layer-opacity","",it.opacity8),et.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),et.extend("--ft-collapsible-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-collapsible-active-state-layer-opacity","",it.opacity16),et.extend("--ft-collapsible-disabled-component-opacity","",it.opacity40),et.extend("--ft-collapsible-horizontal-padding","",it.spacing4),et.extend("--ft-collapsible-vertical-padding","",it.spacing3),et.extend("--ft-collapsible-color","",nt.contentGlobalPrimary),et.extend("--ft-collapsible-state-layer-color","",nt.contentGlobalPrimary),et.extend("--ft-collapsible-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-collapsible-border-color","",nt.borderGlobalSubtle),et.extend("--ft-collapsible-icon-size","",it.iconSize3),et.extend("--ft-switch-group-horizontal-padding","",it.spacing1),et.extend("--ft-switch-group-vertical-padding","",it.spacing1),et.extend("--ft-switch-group-gap","",it.spacing1),et.extend("--ft-switch-group-background-color","",nt.backgroundGlobalSurface),et.extend("--ft-switch-group-border-color","",nt.borderGlobalSubtle),et.create("--ft-switch-group-border-radius","","SIZE","6px"),et.extend("--ft-switch-label-horizontal-padding","",it.spacing2),et.extend("--ft-switch-label-vertical-padding","",it.spacing1),et.extend("--ft-switch-off-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-switch-off-focus-state-layer-opacity","",it.opacity8),et.extend("--ft-switch-off-active-state-layer-opacity","",it.opacity16),et.extend("--ft-switch-off-disabled-component-opacity","",it.opacity40),et.extend("--ft-switch-off-color","",nt.contentGlobalSubtle),et.extend("--ft-switch-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-switch-on-hover-state-layer-opacity","",it.opacity8),et.extend("--ft-switch-on-focus-state-layer-opacity","",it.opacity8),et.extend("--ft-switch-on-active-state-layer-opacity","",it.opacity16),et.extend("--ft-switch-on-disabled-component-opacity","",it.opacity40),et.extend("--ft-switch-on-color","",nt.contentActionPrimary),et.extend("--ft-switch-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-switch-icon-horizontal-padding","",it.spacing1),et.extend("--ft-switch-icon-vertical-padding","",it.spacing1),et.create("--ft-switch-focus-outline-width","","SIZE","2px"),et.extend("--ft-switch-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-switch-option-border-radius","",it.borderRadiusS),et.extend("--ft-chart-1-light","for area color charts",it.colorBrand40),et.extend("--ft-chart-1-base","for line charts",it.colorBrand0),et.extend("--ft-chart-2-light","for area color charts",it.colorYellow60),et.extend("--ft-chart-2-base","for line charts",it.colorYellow100),et.extend("--ft-chart-3-light","",it.colorUltramarine40),et.extend("--ft-chart-3-base","",it.colorUltramarine70),et.extend("--ft-chart-4-light","",it.colorCyan50),et.extend("--ft-chart-4-base","",it.colorCyan100),et.extend("--ft-chart-5-light","",it.colorRed40),et.extend("--ft-chart-5-base","",it.colorRed60),et.extend("--ft-chart-6-light","",it.colorGreen40),et.extend("--ft-chart-6-base","",it.colorGreen70),et.extend("--ft-chart-7-light","",it.colorOrange70),et.extend("--ft-chart-7-base","",it.colorOrange100),et.extend("--ft-chart-8-light","",it.colorAvocado70),et.extend("--ft-chart-8-base","",it.colorAvocado200),et.extend("--ft-chart-9-light","",it.colorBrown50),et.extend("--ft-chart-9-base","",it.colorBrown200),et.extend("--ft-chart-10-light","",it.colorGray50),et.extend("--ft-chart-10-base","",it.colorGray80),et.extend("--ft-chart-monochrome-10","",it.colorBrand10),et.extend("--ft-chart-monochrome-20","",it.colorBrand20),et.extend("--ft-chart-monochrome-30","",it.colorBrand40),et.extend("--ft-chart-monochrome-40","",it.colorBrand60),et.extend("--ft-chart-monochrome-50","",it.colorBrand0),et.extend("--ft-chart-monochrome-60","",it.colorBrand200),et.extend("--ft-chip-large-horizontal-padding","",it.spacing4),et.extend("--ft-chip-large-vertical-padding","",it.spacing2),et.extend("--ft-chip-large-gap","",it.spacing1),et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-large-border-radius","",it.borderRadiusPill),et.create("--ft-chip-large-border-width","","SIZE","1px"),et.extend("--ft-chip-large-icon-size","",it.iconSize3),et.extend("--ft-chip-medium-horizontal-padding","",it.spacing3),et.extend("--ft-chip-medium-vertical-padding","",it.spacing1),et.extend("--ft-chip-medium-gap","",it.spacing1),et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-medium-border-radius","",it.borderRadiusPill),et.create("--ft-chip-medium-border-width","","SIZE","1px"),et.extend("--ft-chip-medium-icon-size","",it.iconSize2),et.extend("--ft-chip-small-horizontal-padding","",it.spacing2),et.extend("--ft-chip-small-vertical-padding","",it.spacing05),et.extend("--ft-chip-small-gap","",it.spacing1),et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),et.extend("--ft-chip-small-border-radius","",it.borderRadiusPill),et.create("--ft-chip-small-border-width","","SIZE","1px"),et.extend("--ft-chip-small-icon-size","",it.iconSize1),et.extend("--ft-chip-neutral-background-color","",nt.backgroundGlobalOnSurface),et.extend("--ft-chip-neutral-color","",nt.contentGlobalPrimary),et.extend("--ft-chip-neutral-icon-color","",nt.contentGlobalPrimary),et.extend("--ft-chip-neutral-border-color","",nt.borderGlobalSubtle),et.extend("--ft-chip-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-chip-info-color","",nt.contentInfoPrimary),et.extend("--ft-chip-info-icon-color","",nt.contentInfoIconOnly),et.extend("--ft-chip-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-chip-success-background-color","",nt.backgroundSuccessSubtle),et.extend("--ft-chip-success-color","",nt.contentSuccessPrimary),et.extend("--ft-chip-success-icon-color","",nt.contentSuccessIconOnly),et.extend("--ft-chip-success-border-color","",nt.borderSuccessSubtle),et.extend("--ft-chip-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-chip-warning-color","",nt.contentWarningPrimary),et.extend("--ft-chip-warning-icon-color","",nt.contentWarningIconOnly),et.extend("--ft-chip-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-chip-error-background-color","",nt.backgroundErrorSubtle),et.extend("--ft-chip-error-color","",nt.contentErrorPrimary),et.extend("--ft-chip-error-icon-color","",nt.contentErrorIconOnly),et.extend("--ft-chip-error-border-color","",nt.borderErrorSubtle),et.extend("--ft-border-info-border-color","",nt.borderInfoSubtle),et.create("--ft-notice-border-width","","SIZE","1px"),et.extend("--ft-notice-horizontal-padding","",it.spacing2),et.extend("--ft-notice-vertical-padding","",it.spacing1),et.extend("--ft-notice-border-radius","",it.borderRadiusS),et.extend("--ft-notice-gap","",it.spacing2),et.extend("--ft-notice-icon-size","",it.iconSize3),et.extend("--ft-notice-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-notice-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-notice-info-color","",nt.contentInfoPrimary),et.extend("--ft-notice-info-icon-color","",nt.contentInfoIconOnly),et.extend("--ft-notice-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-notice-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-notice-warning-color","",nt.contentWarningPrimary),et.extend("--ft-notice-warning-icon-color","",nt.contentWarningIconOnly),et.extend("--ft-notice-error-background-color","",nt.backgroundErrorSubtle),et.extend("--ft-notice-error-border-color","",nt.borderErrorSubtle),et.extend("--ft-notice-error-color","",nt.contentErrorPrimary),et.extend("--ft-notice-error-icon-color","",nt.contentErrorIconOnly),et.extend("--ft-notice-success-background-color","",nt.backgroundSuccessSubtle),et.extend("--ft-notice-success-border-color","",nt.borderSuccessSubtle),et.extend("--ft-notice-success-color","",nt.contentSuccessPrimary),et.extend("--ft-notice-success-icon-color","",nt.contentSuccessIconOnly),et.extend("--ft-checkbox-color","",nt.contentGlobalPrimary),et.extend("--ft-checkbox-checked-background-color","",nt.contentActionPrimary),et.extend("--ft-checkbox-checked-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-checkbox-checked-icon-color","",nt.contentGlobalOnColor),et.extend("--ft-checkbox-checked-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-checkbox-checked-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-checkbox-checked-active-state-layer-opacity","",it.opacity24),et.extend("--ft-checkbox-checked-disabled-component-opacity","",it.opacity40),et.extend("--ft-checkbox-unchecked-border-color","",it.colorGray80),et.extend("--ft-checkbox-unchecked-state-layer-color","",it.colorGray80),et.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",it.opacity24),et.extend("--ft-checkbox-unchecked-disabled-component-opacity","",it.opacity40),et.extend("--ft-checkbox-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),et.extend("--ft-checkbox-gap","",it.spacing3),et.extend("--ft-toggle-off-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-toggle-off-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-toggle-off-active-state-layer-opacity","",it.opacity24),et.extend("--ft-toggle-off-disabled-component-opacity","",it.opacity40),et.extend("--ft-toggle-off-background-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-off-icon-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-off-state-layer-color","",nt.contentGlobalSubtle),et.extend("--ft-toggle-on-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-toggle-on-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-toggle-on-active-state-layer-opacity","",it.opacity24),et.extend("--ft-toggle-on-disabled-component-opacity","",it.opacity40),et.extend("--ft-toggle-on-background-color","",nt.contentActionPrimary),et.extend("--ft-toggle-on-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-toggle-on-icon-color","",nt.contentActionPrimary),et.extend("--ft-toggle-color","",nt.contentGlobalPrimary),et.extend("--ft-toggle-focus-focus-ring-color","",nt.borderActionFocusRing),et.extend("--ft-toggle-gap","",it.spacing3),et.extend("--ft-radio-color","",nt.contentGlobalPrimary),et.extend("--ft-radio-selected-radio-color","",nt.contentActionPrimary),et.extend("--ft-radio-selected-state-layer-color","",nt.contentActionPrimary),et.extend("--ft-radio-selected-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-radio-selected-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-radio-selected-active-state-layer-opacity","",it.opacity24),et.extend("--ft-radio-selected-disabled-component-opacity","",it.opacity40),et.extend("--ft-radio-unselected-state-layer-color","",nt.borderInputPrimary),et.extend("--ft-radio-unselected-border-color","",nt.borderInputPrimary),et.extend("--ft-radio-unselected-hover-state-layer-opacity","",it.opacity16),et.extend("--ft-radio-unselected-focus-state-layer-opacity","",it.opacity16),et.extend("--ft-radio-unselected-active-state-layer-opacity","",it.opacity24),et.extend("--ft-radio-unselected-disabled-component-opacity","",it.opacity40),et.extend("--ft-radio-focus-focus-ring-color","",nt.borderActionFocusRing),et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),et.create("--ft-radio-focus-outline-width","","SIZE","2px"),et.extend("--ft-radio-gap","",it.spacing3),et.extend("--ft-notification-icon-size","",it.iconSize4),et.extend("--ft-notification-horizontal-padding","",it.spacing4),et.extend("--ft-notification-vertical-padding","",it.spacing4),et.extend("--ft-notification-info-background-color","",nt.backgroundInfoSubtle),et.extend("--ft-notification-info-color","",nt.contentInfoPrimary),et.extend("--ft-notification-info-icon-color","",nt.contentInfoIconOnly),et.extend("--ft-notification-info-border-color","",nt.borderInfoSubtle),et.extend("--ft-notification-success-background-color","",nt.backgroundSuccessSubtle),et.extend("--ft-notification-success-color","",nt.contentSuccessPrimary),et.extend("--ft-notification-success-icon-color","",nt.contentSuccessIconOnly),et.extend("--ft-notification-success-border-color","",nt.borderSuccessSubtle),et.extend("--ft-notification-warning-background-color","",nt.backgroundWarningSubtle),et.extend("--ft-notification-warning-color","",nt.contentWarningPrimary),et.extend("--ft-notification-warning-icon-color","",nt.contentWarningIconOnly),et.extend("--ft-notification-warning-border-color","",nt.borderWarningSubtle),et.extend("--ft-notification-error-background-color","",nt.backgroundErrorSubtle),et.extend("--ft-notification-error-color","",nt.contentErrorPrimary),et.extend("--ft-notification-error-icon-color","",nt.contentErrorIconOnly),et.extend("--ft-notification-error-border-color","",nt.borderErrorSubtle),et.extend("--ft-notification-border-radius","",it.borderRadiusPill),et.create("--ft-notification-border-width","","SIZE","1px"),et.extend("--ft-notification-leading-gap","",it.spacing2),et.extend("--ft-notification-trailing-gap","",it.spacing8),et.extend("--ft-tooltip-horizontal-padding","",it.spacing2),et.extend("--ft-tooltip-vertical-padding","",it.spacing2),et.extend("--ft-tooltip-border-radius","",it.borderRadiusS),et.extend("--ft-tooltip-color","",nt.contentGlobalOnColor),et.extend("--ft-tooltip-background-color","",nt.contentGlobalPrimary),et.extend("--ft-tooltip-background-opacity","",it.opacity80),et.extend("--ft-tooltip-shadow","",it.shadowElevation03),et.create("--ft-tooltip-max-width","","SIZE","256px"),et.extend("--ft-tooltip-gap","",it.spacing05);const lt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),ct=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),st={fontFamily:ct,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")},pt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",lt),ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",st.fontSize,"20px"),dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",st.fontWeight,"normal"),ht=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",st.letterSpacing,"0.15px"),ut=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",st.lineHeight,"1.2"),gt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",st.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",lt),bt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",st.fontSize,"14px"),mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",st.fontWeight,"normal"),xt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",st.letterSpacing,"0.105px"),vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",st.lineHeight,"1.7"),Ot=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",st.textTransform,"inherit"),wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ct),Nt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",st.fontSize,"16px"),St=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",st.fontWeight,"600"),Ct=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",st.letterSpacing,"0.144px"),It=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",st.lineHeight,"1.5"),Et=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",st.textTransform,"inherit"),$t=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ct),Rt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",st.fontSize,"14px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",st.fontWeight,"normal"),kt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",st.letterSpacing,"0.098px"),Lt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",st.lineHeight,"1.7"),Wt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",st.textTransform,"inherit"),zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ct),Zt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",st.fontSize,"16px"),Kt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",st.fontWeight,"normal"),At=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",st.letterSpacing,"0.496px"),Dt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",st.lineHeight,"1.5"),Bt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",st.textTransform,"inherit"),Ft={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",st.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",st.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",st.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",st.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",st.textTransform,"inherit")},Tt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ct),Ht=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",st.fontSize,"12px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",st.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",st.letterSpacing,"0.396px"),jt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",st.lineHeight,"1.33"),_t=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",st.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ct),Yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",st.fontSize,"10px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",st.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",st.letterSpacing,"0.33px"),qt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",st.lineHeight,"1.6"),Jt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",st.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ct),to=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",st.fontSize,"10px"),oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",st.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",st.letterSpacing,"1.5px"),io=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",st.lineHeight,"1.6"),ro=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",st.textTransform,"uppercase"),no={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ct),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",st.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",st.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",st.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",st.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",st.textTransform,"uppercase")},ao=e.css`
21
+ `;var Lr=u(O()),Ir=u(nt());var Nr;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Nr||(Nr={}));var Ka=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Go=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Fo=Symbol("registerInterval");function Va(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Fo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Fo]):this.dispatchEvent(new Go)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Fo,Ka([(0,Ir.state)()],r.prototype,"stateManager",void 0),r}var ro=class extends Va(Lr.FtLitElementRedux){};var sn=u(O());var ln=u(P()),Y=u(nt()),Fe=u(O());var Ui=u(O());var qo=globalThis,io=qo.trustedTypes,Tr=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,Br="$lit$",Gt=`lit$${(Math.random()+"").slice(9)}$`,Dr="?"+Gt,Za=`<${Dr}>`,re=document,no=()=>re.createComment(""),Ue=e=>e===null||typeof e!="object"&&typeof e!="function",Mr=Array.isArray,ja=e=>Mr(e)||typeof e?.[Symbol.iterator]=="function",Ko=`[
22
+ \f\r]`,ke=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pr=/-->/g,_r=/>/g,ee=RegExp(`>|${Ko}(?:([^\\s"'>=/]+)(${Ko}*=${Ko}*(?:[^
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),kr=/'/g,Ur=/"/g,Wr=/^(?:script|style|textarea|title)$/i,zr=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),Hr=zr(1),Fr=zr(2),$e=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),$r=new WeakMap,oe=re.createTreeWalker(re,129);function Gr(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tr!==void 0?Tr.createHTML(o):o}var Ya=(e,o)=>{let r=e.length-1,i=[],n,a=o===2?"<svg>":"",s=ke;for(let p=0;p<r;p++){let f=e[p],h,y,x=-1,R=0;for(;R<f.length&&(s.lastIndex=R,y=s.exec(f),y!==null);)R=s.lastIndex,s===ke?y[1]==="!--"?s=Pr:y[1]!==void 0?s=_r:y[2]!==void 0?(Wr.test(y[2])&&(n=RegExp("</"+y[2],"g")),s=ee):y[3]!==void 0&&(s=ee):s===ee?y[0]===">"?(s=n??ke,x=-1):y[1]===void 0?x=-2:(x=s.lastIndex-y[2].length,h=y[1],s=y[3]===void 0?ee:y[3]==='"'?Ur:kr):s===Ur||s===kr?s=ee:s===Pr||s===_r?s=ke:(s=ee,n=void 0);let A=s===ee&&e[p+1].startsWith("/>")?" ":"";a+=s===ke?f+Za:x>=0?(i.push(h),f.slice(0,x)+Br+f.slice(x)+Gt+A):f+Gt+(x===-2?p:A)}return[Gr(e,a+(e[r]||"<?>")+(o===2?"</svg>":"")),i]},Be=class e{constructor({strings:o,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,p=o.length-1,f=this.parts,[h,y]=Ya(o,r);if(this.el=e.createElement(h,i),oe.currentNode=this.el.content,r===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(n=oe.nextNode())!==null&&f.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let x of n.getAttributeNames())if(x.endsWith(Br)){let R=y[s++],A=n.getAttribute(x).split(Gt),I=/([.?@])?(.*)/.exec(R);f.push({type:1,index:a,name:I[2],strings:A,ctor:I[1]==="."?Zo:I[1]==="?"?jo:I[1]==="@"?Yo:ue}),n.removeAttribute(x)}else x.startsWith(Gt)&&(f.push({type:6,index:a}),n.removeAttribute(x));if(Wr.test(n.tagName)){let x=n.textContent.split(Gt),R=x.length-1;if(R>0){n.textContent=io?io.emptyScript:"";for(let A=0;A<R;A++)n.append(x[A],no()),oe.nextNode(),f.push({type:2,index:++a});n.append(x[R],no())}}}else if(n.nodeType===8)if(n.data===Dr)f.push({type:2,index:a});else{let x=-1;for(;(x=n.data.indexOf(Gt,x+1))!==-1;)f.push({type:7,index:a}),x+=Gt.length-1}a++}}static createElement(o,r){let i=re.createElement("template");return i.innerHTML=o,i}};function fe(e,o,r=e,i){if(o===$e)return o;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Ue(o)?void 0:o._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(e),n._$AT(e,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(o=fe(e,n._$AS(e,o.values),n,i)),o}var Vo=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:i}=this._$AD,n=(o?.creationScope??re).importNode(r,!0);oe.currentNode=n;let a=oe.nextNode(),s=0,p=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new ao(a,a.nextSibling,this,o):f.type===1?h=new f.ctor(a,f.name,f.strings,this,o):f.type===6&&(h=new Xo(a,this,o)),this._$AV.push(h),f=i[++p]}s!==f?.index&&(a=oe.nextNode(),s++)}return oe.currentNode=re,n}p(o){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,r),r+=i.strings.length-2):i._$AI(o[r])),r++}},ao=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,i,n){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=fe(this,o,r),Ue(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==$e&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):ja(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==j&&Ue(this._$AH)?this._$AA.nextSibling.data=o:this.$(re.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:i}=o,n=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Be.createElement(Gr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Vo(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(o){let r=$r.get(o.strings);return r===void 0&&$r.set(o.strings,r=new Be(o)),r}T(o){Mr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of o)n===r.length?r.push(i=new e(this.k(no()),this.k(no()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,i,n,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)o=fe(this,o,r,0),s=!Ue(o)||o!==this._$AH&&o!==$e,s&&(this._$AH=o);else{let p=o,f,h;for(o=a[0],f=0;f<a.length-1;f++)h=fe(this,p[i+f],r,f),h===$e&&(h=this._$AH[f]),s||=!Ue(h)||h!==this._$AH[f],h===j?o=j:o!==j&&(o+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.O(o)}O(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Zo=class extends ue{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===j?void 0:o}},jo=class extends ue{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Yo=class extends ue{constructor(o,r,i,n,a){super(o,r,i,n,a),this.type=5}_$AI(o,r=this){if((o=fe(this,o,r,0)??j)===$e)return;let i=this._$AH,n=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,a=o!==j&&(i===j||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Xo=class{constructor(o,r,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){fe(this,o)}};var Xa=qo.litHtmlPolyfillSupport;Xa?.(Be,ao),(qo.litHtmlVersions??=[]).push("3.1.0");var Vr=Symbol.for(""),qa=e=>{if(e?.r===Vr)return e?._$litStatic$},Jo=e=>({_$litStatic$:e,r:Vr});var Kr=new Map,Zr=e=>(o,...r)=>{let i=r.length,n,a,s=[],p=[],f,h=0,y=!1;for(;h<i;){for(f=o[h];h<i&&(a=r[h],(n=qa(a))!==void 0);)f+=n+o[++h],y=!0;h!==i&&p.push(a),s.push(f),h++}if(h===i&&s.push(o[i]),y){let x=s.join("$$lit$$");(o=Kr.get(x))===void 0&&(s.raw=s,Kr.set(x,o=s)),r=p}return e(o,...r)},Qo=Zr(Hr),$l=Zr(Fr);var tr=u(nt()),ki=u(O());var ie;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ie||(ie={}));var Ot=u(P()),b=u(O());var $t=u(P(),1),Kt=e=>typeof e=="string"?(0,$t.unsafeCSS)(e):e,t=class{static create(o,r,i,n){let a=p=>Kt(p??n),s=$t.css`var(${Kt(o)}, ${a(n)})`;return s.name=o,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=p=>$t.css`var(${Kt(o)}, ${a(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(o,r,i,n){let a=p=>i.get(p??n),s=$t.css`var(${Kt(o)}, ${a(n)})`;return s.name=o,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=p=>$t.css`var(${Kt(o)}, ${a(p)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(o,r){let i=a=>o.fallbackVariable?o.fallbackVariable.get(a??o.defaultValue):Kt(a??o.lastResortDefaultValue()),n=$t.css`var(${Kt(o.name)}, ${i(o.defaultValue)})`;return n.name=o.name,n.category=o.category,n.fallbackVariable=o.fallbackVariable,n.defaultValue=o.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>$t.css`var(${Kt(o.name)}, ${i(a)})`,n.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>o.lastResortDefaultValue(),n}};var l={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:t.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:t.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:t.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:t.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:t.create("--ft-icon-size-6","","SIZE","48px"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},jr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Yr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Xr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},qr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Jr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ei={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ja={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ri={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ii={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},di={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ui={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},hi={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},mi={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},yi={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},gi={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},bi={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},lo={display:jr,"title-1":Yr,"title-2":Xr,"title-3":qr,"body-1-regular":Jr,"body-1-medium":Qr,"body-1-semibold":ti,"body-2-regular":ei,"body-2-medium":oi,"body-2-medium-underline":Ja,"body-2-semibold":ri,"label-1-medium":ii,"label-1-semibold":ni,"label-1-bold":ai,"label-2-medium":li,"label-2-semibold":si,"label-2-bold":ci,"caption-1-medium":pi,"caption-1-semibold":di,"caption-1-bold":fi,"caption-2-medium":ui,"caption-2-semibold":hi,"caption-2-bold":mi,"caption-3-medium":yi,"caption-3-semibold":gi,"caption-3-bold":bi};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
24
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:t.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:t.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var ts={iconSize:t.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly)};var ns={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",c.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var ps={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var ms={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:t.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",l.borderRadiusM)};var vs={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var As={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Is={backgroundColor:t.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Us={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Ws={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Ks={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Xs={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",l.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",l.shadowElevation02)};var ec={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var ac={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",l.iconSize3)};var dc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:t.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var mc={color1Light:t.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",l.colorRed40),color5Base:t.extend("--ft-chart-5-base","",l.colorRed60),color6Light:t.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",l.colorGray50),color10Base:t.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var vc={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:t.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:t.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalPrimary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalPrimary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Ec={infoBorderColor:t.extend("--ft-border-info-border-color","",c.borderInfoSubtle)};var Lc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:t.extend("--ft-notice-gap","",l.spacing2),iconSize:t.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var kc={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",l.spacing3)};var Mc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",l.spacing3)};var Gc={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",l.spacing3)};var Yc={iconSize:t.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",l.spacing8)};var tp={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:t.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",l.spacing05)};var so=u(P());function xi(e){let o=lo[e];return so.css`
25
+ .ft-typography--${(0,so.unsafeCSS)(e)} {
26
+ font-family: ${o.fontFamily};
27
+ font-size: ${o.fontSize};
28
+ font-weight: ${o.fontWeight};
29
+ letter-spacing: ${o.letterSpacing};
30
+ line-height: ${o.lineHeight};
31
+ text-transform: ${o.textCase};
32
+ }
33
+ `}var vi=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),Bt=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),S={fontFamily:Bt,fontSize:b.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:b.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:b.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:b.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:b.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},he={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",vi),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},me={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",vi),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},ye={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},ge={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},be={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},It={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},xe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},ve={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},Se={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},Tt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Si=Ot.css`
33
34
  .ft-typography--title {
34
- font-family: ${pt};
35
- font-size: ${ft};
36
- font-weight: ${dt};
37
- letter-spacing: ${ht};
38
- line-height: ${ut};
39
- text-transform: ${gt};
40
- }
41
- `,lo=e.css`
35
+ font-family: ${he.fontFamily};
36
+ font-size: ${he.fontSize};
37
+ font-weight: ${he.fontWeight};
38
+ letter-spacing: ${he.letterSpacing};
39
+ line-height: ${he.lineHeight};
40
+ text-transform: ${he.textTransform};
41
+ }
42
+ `,Oi=Ot.css`
42
43
  .ft-typography--title-dense {
43
- font-family: ${yt};
44
- font-size: ${bt};
45
- font-weight: ${mt};
46
- letter-spacing: ${xt};
47
- line-height: ${vt};
48
- text-transform: ${Ot};
49
- }
50
- `,co=e.css`
44
+ font-family: ${me.fontFamily};
45
+ font-size: ${me.fontSize};
46
+ font-weight: ${me.fontWeight};
47
+ letter-spacing: ${me.letterSpacing};
48
+ line-height: ${me.lineHeight};
49
+ text-transform: ${me.textTransform};
50
+ }
51
+ `,Ci=Ot.css`
51
52
  .ft-typography--subtitle1 {
52
- font-family: ${wt};
53
- font-size: ${Nt};
54
- font-weight: ${St};
55
- letter-spacing: ${Ct};
56
- line-height: ${It};
57
- text-transform: ${Et};
58
- }
59
- `,so=e.css`
53
+ font-family: ${ye.fontFamily};
54
+ font-size: ${ye.fontSize};
55
+ font-weight: ${ye.fontWeight};
56
+ letter-spacing: ${ye.letterSpacing};
57
+ line-height: ${ye.lineHeight};
58
+ text-transform: ${ye.textTransform};
59
+ }
60
+ `,Ei=Ot.css`
60
61
  .ft-typography--subtitle2 {
61
- font-family: ${$t};
62
- font-size: ${Rt};
63
- font-weight: ${Ut};
64
- letter-spacing: ${kt};
65
- line-height: ${Lt};
66
- text-transform: ${Wt};
62
+ font-family: ${ge.fontFamily};
63
+ font-size: ${ge.fontSize};
64
+ font-weight: ${ge.fontWeight};
65
+ letter-spacing: ${ge.letterSpacing};
66
+ line-height: ${ge.lineHeight};
67
+ text-transform: ${ge.textTransform};
67
68
  }
68
69
 
69
- `,po=e.css`
70
+ `,Ai=Ot.css`
70
71
  .ft-typography--body1 {
71
- font-family: ${zt};
72
- font-size: ${Zt};
73
- font-weight: ${Kt};
74
- letter-spacing: ${At};
75
- line-height: ${Dt};
76
- text-transform: ${Bt};
77
- }
78
- `,fo=e.css`
72
+ font-family: ${be.fontFamily};
73
+ font-size: ${be.fontSize};
74
+ font-weight: ${be.fontWeight};
75
+ letter-spacing: ${be.letterSpacing};
76
+ line-height: ${be.lineHeight};
77
+ text-transform: ${be.textTransform};
78
+ }
79
+ `,wi=Ot.css`
79
80
  .ft-typography--body2 {
80
- font-family: ${Ft.fontFamily};
81
- font-size: ${Ft.fontSize};
82
- font-weight: ${Ft.fontWeight};
83
- letter-spacing: ${Ft.letterSpacing};
84
- line-height: ${Ft.lineHeight};
85
- text-transform: ${Ft.textTransform};
86
- }
87
- `,ho=e.css`
81
+ font-family: ${It.fontFamily};
82
+ font-size: ${It.fontSize};
83
+ font-weight: ${It.fontWeight};
84
+ letter-spacing: ${It.letterSpacing};
85
+ line-height: ${It.lineHeight};
86
+ text-transform: ${It.textTransform};
87
+ }
88
+ `,Ri=Ot.css`
88
89
  .ft-typography--caption {
89
- font-family: ${Tt};
90
- font-size: ${Ht};
91
- font-weight: ${Pt};
92
- letter-spacing: ${Mt};
93
- line-height: ${jt};
94
- text-transform: ${_t};
95
- }
96
- `,uo=e.css`
90
+ font-family: ${xe.fontFamily};
91
+ font-size: ${xe.fontSize};
92
+ font-weight: ${xe.fontWeight};
93
+ letter-spacing: ${xe.letterSpacing};
94
+ line-height: ${xe.lineHeight};
95
+ text-transform: ${xe.textTransform};
96
+ }
97
+ `,Ni=Ot.css`
97
98
  .ft-typography--breadcrumb {
98
- font-family: ${Gt};
99
- font-size: ${Yt};
100
- font-weight: ${Vt};
101
- letter-spacing: ${Xt};
102
- line-height: ${qt};
103
- text-transform: ${Jt};
104
- }
105
- `,go=e.css`
99
+ font-family: ${ve.fontFamily};
100
+ font-size: ${ve.fontSize};
101
+ font-weight: ${ve.fontWeight};
102
+ letter-spacing: ${ve.letterSpacing};
103
+ line-height: ${ve.lineHeight};
104
+ text-transform: ${ve.textTransform};
105
+ }
106
+ `,Li=Ot.css`
106
107
  .ft-typography--overline {
107
- font-family: ${Qt};
108
- font-size: ${to};
109
- font-weight: ${oo};
110
- letter-spacing: ${eo};
111
- line-height: ${io};
112
- text-transform: ${ro};
113
- }
114
- `,yo=e.css`
108
+ font-family: ${Se.fontFamily};
109
+ font-size: ${Se.fontSize};
110
+ font-weight: ${Se.fontWeight};
111
+ letter-spacing: ${Se.letterSpacing};
112
+ line-height: ${Se.lineHeight};
113
+ text-transform: ${Se.textTransform};
114
+ }
115
+ `,Ii=Ot.css`
115
116
  .ft-typography--button {
116
- font-family: ${no.fontFamily};
117
- font-size: ${no.fontSize};
118
- font-weight: ${no.fontWeight};
119
- letter-spacing: ${no.letterSpacing};
120
- line-height: ${no.lineHeight};
121
- text-transform: ${no.textTransform};
122
- }
123
- `,bo=e.css`
117
+ font-family: ${Tt.fontFamily};
118
+ font-size: ${Tt.fontSize};
119
+ font-weight: ${Tt.fontWeight};
120
+ letter-spacing: ${Tt.letterSpacing};
121
+ line-height: ${Tt.lineHeight};
122
+ text-transform: ${Tt.textTransform};
123
+ }
124
+ `,Ti=Ot.css`
124
125
  .ft-typography {
125
126
  vertical-align: inherit;
126
127
  }
127
- `,mo=[Object.keys(rt).map((t=>function(t){const o=rt[t];return e.css`
128
- .ft-typography--${e.unsafeCSS(t)} {
129
- font-family: ${o.fontFamily};
130
- font-size: ${o.fontSize};
131
- font-weight: ${o.fontWeight};
132
- letter-spacing: ${o.letterSpacing};
133
- line-height: ${o.lineHeight};
134
- text-transform: ${o.textCase};
135
- }
136
- `}(t)))];var xo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
137
- <${q(this.element)}
128
+ `,Pi=[Object.keys(lo).map(e=>xi(e))];var _i=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},et=class extends ki.FtLitElement{constructor(){super(...arguments),this.variant=ie.body1}render(){return this.element?Qo`
129
+ <${Jo(this.element)}
130
+ part="text"
138
131
  class="ft-typography ft-typography--${this.variant}">
139
132
  <slot></slot>
140
- </${q(this.element)}>
141
- `:Q`
142
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
143
- `}}vo.styles=[ao,lo,co,so,po,fo,ho,uo,go,yo,bo,...mo],xo([i.property()],vo.prototype,"element",void 0),xo([i.property()],vo.prototype,"variant",void 0),o.customElement("ft-typography")(vo);const Oo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),wo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),No=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),So=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Co=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Io=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Eo=e.css`
133
+ </${Jo(this.element)}>
134
+ `:Qo`
135
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
136
+ `}};et.styles=[Si,Oi,Ci,Ei,Ai,wi,Ri,Ni,Li,Ii,Ti,...Pi];_i([(0,tr.property)()],et.prototype,"element",void 0);_i([(0,tr.property)()],et.prototype,"variant",void 0);(0,Ui.customElement)("ft-typography")(et);var $i=u(P()),Dt=u(O()),Oe={distance:Dt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Dt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Dt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Dt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Dt.FtCssVariableFactory.external(Dt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Dt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Bi=$i.css`
144
137
  .ft-tooltip--container {
145
138
  display: block;
146
139
  }
@@ -155,21 +148,21 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
155
148
  box-sizing: border-box;
156
149
  overflow: hidden;
157
150
  width: max-content;
158
- max-width: ${Io};
151
+ max-width: ${Oe.maxWidth};
159
152
  text-align: center;
160
- padding: ${Oo};
161
- z-index: ${So};
153
+ padding: ${Oe.distance};
154
+ z-index: ${Oe.zIndex};
162
155
  }
163
156
 
164
157
  .ft-tooltip--content {
165
158
  padding: 4px 8px;
166
- border-radius: ${Co};
167
- background-color: ${No};
168
- color: ${wo};
159
+ border-radius: ${Oe.borderRadiusS};
160
+ background-color: ${Oe.backgroundColor};
161
+ color: ${Oe.color};
169
162
  position: relative;
170
163
  word-break: break-word;
171
164
  }
172
- `,$o=["start","end"],Ro=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+$o[0],o+"-"+$o[1])),[]),Uo=Math.min,ko=Math.max,Lo=Math.round,Wo=t=>({x:t,y:t}),zo={left:"right",right:"left",bottom:"top",top:"bottom"},Zo={start:"end",end:"start"};function Ko(t,o,e){return ko(t,Uo(o,e))}function Ao(t,o){return"function"==typeof t?t(o):t}function Do(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function Fo(t){return"x"===t?"y":"x"}function To(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Do(t))?"y":"x"}function Po(t){return Fo(Ho(t))}function Mo(t){return t.replace(/left|right|bottom|top/g,(t=>zo[t]))}function jo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function _o(t,o,e){let{reference:i,floating:r}=t;const n=Ho(o),a=Po(o),l=To(a),c=Do(o),s="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(c){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Bo(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function Go(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Ao(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=jo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=jo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Yo(t,o,e){return(t?[...e.filter((o=>Bo(o)===t)),...e.filter((o=>Bo(o)!==t))]:e.filter((t=>Do(t)===t))).filter((e=>!t||(Bo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Zo[t]))}(e)!==e)))}const Vo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Ro,autoAlignment:h=!0,...u}=Ao(t,o),g=void 0!==f||d===Ro?Yo(f||null,h,d):d,y=await Go(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Bo(t),r=Po(t),n=To(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Mo(a)),[a,Mo(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[Do(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const N=O.map((t=>{const o=Bo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=N.filter((t=>t[2].slice(0,Bo(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=S[0])?void 0:r[0])||N[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Xo(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Jo(t){var o;return null==(o=(Qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qo(t){return t instanceof Node||t instanceof qo(t).Node}function te(t){return t instanceof Element||t instanceof qo(t).Element}function oe(t){return t instanceof HTMLElement||t instanceof qo(t).HTMLElement}function ee(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qo(t).ShadowRoot)}function ie(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ce(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function re(t){return["table","td","th"].includes(Xo(t))}function ne(t){const o=ae(),e=ce(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function le(t){return["html","body","#document"].includes(Xo(t))}function ce(t){return qo(t).getComputedStyle(t)}function se(t){return te(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(t){if("html"===Xo(t))return t;const o=t.assignedSlot||t.parentNode||ee(t)&&t.host||Jo(t);return ee(o)?o.host:o}function fe(t){const o=pe(t);return le(o)?t.ownerDocument?t.ownerDocument.body:t.body:oe(o)&&ie(o)?o:fe(o)}function de(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=fe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=qo(r);return n?o.concat(a,a.visualViewport||[],ie(r)?r:[],a.frameElement&&e?de(a.frameElement):[]):o.concat(r,de(r,[],e))}function he(t){const o=ce(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=oe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Lo(e)!==n||Lo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ue(t){return te(t)?t:t.contextElement}function ge(t){const o=ue(t);if(!oe(o))return Wo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=he(o);let a=(n?Lo(e.width):e.width)/i,l=(n?Lo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ye=Wo(0);function be(t){const o=qo(t);return ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function me(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ue(t);let a=Wo(1);o&&(i?te(i)&&(a=ge(i)):a=ge(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qo(t))&&o}(n,e,i)?be(n):Wo(0);let c=(r.left+l.x)/a.x,s=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=qo(n),o=i&&te(i)?qo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ge(e),o=e.getBoundingClientRect(),i=ce(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=r,s+=n,e=qo(e).frameElement}}return jo({width:p,height:f,x:c,y:s})}function xe(t){return me(Jo(t)).left+se(t).scrollLeft}function ve(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=qo(t),i=Jo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,c=0;if(r){n=r.width,a=r.height;const t=ae();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)i=function(t){const o=Jo(t),e=se(t),i=t.ownerDocument.body,r=ko(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=ko(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+xe(t);const l=-e.scrollTop;return"rtl"===ce(i).direction&&(a+=ko(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Jo(t));else if(te(o))i=function(t,o){const e=me(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=oe(t)?ge(t):Wo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=be(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return jo(i)}function Oe(t,o){const e=pe(t);return!(e===o||!te(e)||le(e))&&("fixed"===ce(e).position||Oe(e,o))}function we(t,o,e){const i=oe(o),r=Jo(o),n="fixed"===e,a=me(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Wo(0);if(i||!i&&!n)if(("body"!==Xo(o)||ie(r))&&(l=se(o)),i){const t=me(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else r&&(c.x=xe(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ne(t,o){return oe(t)&&"fixed"!==ce(t).position?o?o(t):t.offsetParent:null}function Se(t,o){const e=qo(t);if(!oe(t))return e;let i=Ne(t,o);for(;i&&re(i)&&"static"===ce(i).position;)i=Ne(i,o);return i&&("html"===Xo(i)||"body"===Xo(i)&&"static"===ce(i).position&&!ne(i))?e:i||function(t){let o=pe(t);for(;oe(o)&&!le(o);){if(ne(o))return o;o=pe(o)}return null}(t)||e}const Ce={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=oe(e),n=Jo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Wo(1);const c=Wo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Xo(e)||ie(n))&&(a=se(e)),oe(e))){const t=me(e);l=ge(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Jo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=de(t,[],!1).filter((t=>te(t)&&"body"!==Xo(t))),r=null;const n="fixed"===ce(t).position;let a=n?pe(t):t;for(;te(a)&&!le(a);){const o=ce(a),e=ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ie(a)&&!e&&Oe(t,a))?i=i.filter((t=>t!==a)):r=o,a=pe(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=ve(o,e,r);return t.top=ko(i.top,t.top),t.right=Uo(i.right,t.right),t.bottom=Uo(i.bottom,t.bottom),t.left=ko(i.left,t.left),t}),ve(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Se,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Se,n=this.getDimensions;return{reference:we(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return he(t)},getScale:ge,isElement:te,isRTL:function(t){return"rtl"===ce(t).direction}},Ie=(t,o,e)=>{const i=new Map,r={platform:Ce,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=_o(s,i,c),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=_o(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ee(t){return function(t){for(let o=t;o;o=$e(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=$e(t);o;o=$e(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function $e(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Re(t,o,e){return Ie(t,o,{platform:{...Ce,getOffsetParent:t=>Ce.getOffsetParent(t,Ee)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Ao(i,t),s={x:o,y:e},p=await Go(t,c),f=Ho(Do(r)),d=Fo(f);let h=s[d],u=s[f];if(n){const t="y"===d?"bottom":"right";h=Ko(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ko(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Vo({allowedPlacements:[e]})]});var i}var Ue=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ke extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
165
+ `;var Mi=["top","right","bottom","left"],Di=["start","end"],or=Mi.reduce((e,o)=>e.concat(o,o+"-"+Di[0],o+"-"+Di[1]),[]),De=Math.min,Vt=Math.max,Me=Math.round;var Mt=e=>({x:e,y:e}),Qa={left:"right",right:"left",bottom:"top",top:"bottom"},tl={start:"end",end:"start"};function rr(e,o,r){return Vt(e,De(o,r))}function co(e,o){return typeof e=="function"?e(o):e}function Ce(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function ir(e){return e==="x"?"y":"x"}function nr(e){return e==="y"?"height":"width"}function po(e){return["top","bottom"].includes(Ce(e))?"y":"x"}function ar(e){return ir(po(e))}function Wi(e,o,r){r===void 0&&(r=!1);let i=Zt(e),n=ar(e),a=nr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[a]>o.floating[a]&&(s=er(s)),[s,er(s)]}function zi(e){return e.replace(/start|end/g,o=>tl[o])}function er(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function el(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hi(e){return typeof e!="number"?el(e):{top:e,right:e,bottom:e,left:e}}function ne(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fi(e,o,r){let{reference:i,floating:n}=e,a=po(o),s=ar(o),p=nr(s),f=Ce(o),h=a==="y",y=i.x+i.width/2-n.width/2,x=i.y+i.height/2-n.height/2,R=i[p]/2-n[p]/2,A;switch(f){case"top":A={x:y,y:i.y-n.height};break;case"bottom":A={x:y,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:x};break;case"left":A={x:i.x-n.width,y:x};break;default:A={x:i.x,y:i.y}}switch(Zt(o)){case"start":A[s]-=R*(r&&h?-1:1);break;case"end":A[s]+=R*(r&&h?-1:1);break}return A}var Gi=async(e,o,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,p=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:n}),{x:y,y:x}=Fi(h,i,f),R=i,A={},I=0;for(let M=0;M<p.length;M++){let{name:W,fn:B}=p[M],{x:H,y:Q,data:it,reset:X}=await B({x:y,y:x,initialPlacement:i,placement:R,strategy:n,middlewareData:A,rects:h,platform:s,elements:{reference:e,floating:o}});if(y=H??y,x=Q??x,A={...A,[W]:{...A[W],...it}},X&&I<=50){I++,typeof X=="object"&&(X.placement&&(R=X.placement),X.rects&&(h=X.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:n}):X.rects),{x:y,y:x}=Fi(h,R,f)),M=-1;continue}}return{x:y,y:x,placement:R,strategy:n,middlewareData:A}};async function lr(e,o){var r;o===void 0&&(o={});let{x:i,y:n,platform:a,rects:s,elements:p,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:x="floating",altBoundary:R=!1,padding:A=0}=co(o,e),I=Hi(A),W=p[R?x==="floating"?"reference":"floating":x],B=ne(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(W)))==null||r?W:W.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(p.floating)),boundary:h,rootBoundary:y,strategy:f})),H=x==="floating"?{...s.floating,x:i,y:n}:s.reference,Q=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),it=await(a.isElement==null?void 0:a.isElement(Q))?await(a.getScale==null?void 0:a.getScale(Q))||{x:1,y:1}:{x:1,y:1},X=ne(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:H,offsetParent:Q,strategy:f}):H);return{top:(B.top-X.top+I.top)/it.y,bottom:(X.bottom-B.bottom+I.bottom)/it.y,left:(B.left-X.left+I.left)/it.x,right:(X.right-B.right+I.right)/it.x}}function ol(e,o,r){return(e?[...r.filter(n=>Zt(n)===e),...r.filter(n=>Zt(n)!==e)]:r.filter(n=>Ce(n)===n)).filter(n=>e?Zt(n)===e||(o?zi(n)!==n:!1):!0)}var sr=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,i,n;let{rects:a,middlewareData:s,placement:p,platform:f,elements:h}=o,{crossAxis:y=!1,alignment:x,allowedPlacements:R=or,autoAlignment:A=!0,...I}=co(e,o),M=x!==void 0||R===or?ol(x||null,A,R):R,W=await lr(o,I),B=((r=s.autoPlacement)==null?void 0:r.index)||0,H=M[B];if(H==null)return{};let Q=Wi(H,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==H)return{reset:{placement:M[0]}};let it=[W[Ce(H)],W[Q[0]],W[Q[1]]],X=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,overflows:it}],eo=M[B+1];if(eo)return{data:{index:B+1,overflows:X},reset:{placement:eo}};let yt=X.map(d=>{let m=Zt(d.placement);return[d.placement,m&&y?d.overflows.slice(0,2).reduce((C,q)=>C+q,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),de=((n=yt.filter(d=>d[2].slice(0,Zt(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||yt[0][0];return de!==p?{data:{index:B+1,overflows:X},reset:{placement:de}}:{}}}};var cr=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:i,placement:n}=o,{mainAxis:a=!0,crossAxis:s=!1,limiter:p={fn:W=>{let{x:B,y:H}=W;return{x:B,y:H}}},...f}=co(e,o),h={x:r,y:i},y=await lr(o,f),x=po(Ce(n)),R=ir(x),A=h[R],I=h[x];if(a){let W=R==="y"?"top":"left",B=R==="y"?"bottom":"right",H=A+y[W],Q=A-y[B];A=rr(H,A,Q)}if(s){let W=x==="y"?"top":"left",B=x==="y"?"bottom":"right",H=I+y[W],Q=I-y[B];I=rr(H,I,Q)}let M=p.fn({...o,[R]:A,[x]:I});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function Wt(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function dt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function zt(e){var o;return(o=(Vi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Vi(e){return e instanceof Node||e instanceof dt(e).Node}function Pt(e){return e instanceof Element||e instanceof dt(e).Element}function wt(e){return e instanceof HTMLElement||e instanceof dt(e).HTMLElement}function Ki(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof dt(e).ShadowRoot}function Ee(e){let{overflow:o,overflowX:r,overflowY:i,display:n}=gt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!["inline","contents"].includes(n)}function Zi(e){return["table","td","th"].includes(Wt(e))}function uo(e){let o=ho(),r=gt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function ji(e){let o=ae(e);for(;wt(o)&&!We(o);){if(uo(o))return o;o=ae(o)}return null}function ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function We(e){return["html","body","#document"].includes(Wt(e))}function gt(e){return dt(e).getComputedStyle(e)}function ze(e){return Pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){if(Wt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ki(e)&&e.host||zt(e);return Ki(o)?o.host:o}function Yi(e){let o=ae(e);return We(o)?e.ownerDocument?e.ownerDocument.body:e.body:wt(o)&&Ee(o)?o:Yi(o)}function fo(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let n=Yi(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=dt(n);return a?o.concat(s,s.visualViewport||[],Ee(n)?n:[],s.frameElement&&r?fo(s.frameElement):[]):o.concat(n,fo(n,[],r))}function Ji(e){let o=gt(e),r=parseFloat(o.width)||0,i=parseFloat(o.height)||0,n=wt(e),a=n?e.offsetWidth:r,s=n?e.offsetHeight:i,p=Me(r)!==a||Me(i)!==s;return p&&(r=a,i=s),{width:r,height:i,$:p}}function Qi(e){return Pt(e)?e:e.contextElement}function Ae(e){let o=Qi(e);if(!wt(o))return Mt(1);let r=o.getBoundingClientRect(),{width:i,height:n,$:a}=Ji(o),s=(a?Me(r.width):r.width)/i,p=(a?Me(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var rl=Mt(0);function tn(e){let o=dt(e);return!ho()||!o.visualViewport?rl:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function il(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==dt(e)?!1:o}function He(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=Qi(e),s=Mt(1);o&&(i?Pt(i)&&(s=Ae(i)):s=Ae(e));let p=il(a,r,i)?tn(a):Mt(0),f=(n.left+p.x)/s.x,h=(n.top+p.y)/s.y,y=n.width/s.x,x=n.height/s.y;if(a){let R=dt(a),A=i&&Pt(i)?dt(i):i,I=R.frameElement;for(;I&&i&&A!==R;){let M=Ae(I),W=I.getBoundingClientRect(),B=gt(I),H=W.left+(I.clientLeft+parseFloat(B.paddingLeft))*M.x,Q=W.top+(I.clientTop+parseFloat(B.paddingTop))*M.y;f*=M.x,h*=M.y,y*=M.x,x*=M.y,f+=H,h+=Q,I=dt(I).frameElement}}return ne({width:y,height:x,x:f,y:h})}function nl(e){let{rect:o,offsetParent:r,strategy:i}=e,n=wt(r),a=zt(r);if(r===a)return o;let s={scrollLeft:0,scrollTop:0},p=Mt(1),f=Mt(0);if((n||!n&&i!=="fixed")&&((Wt(r)!=="body"||Ee(a))&&(s=ze(r)),wt(r))){let h=He(r);p=Ae(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+f.x,y:o.y*p.y-s.scrollTop*p.y+f.y}}function al(e){return Array.from(e.getClientRects())}function en(e){return He(zt(e)).left+ze(e).scrollLeft}function ll(e){let o=zt(e),r=ze(e),i=e.ownerDocument.body,n=Vt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),a=Vt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+en(e),p=-r.scrollTop;return gt(i).direction==="rtl"&&(s+=Vt(o.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:p}}function sl(e,o){let r=dt(e),i=zt(e),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,p=0,f=0;if(n){a=n.width,s=n.height;let h=ho();(!h||h&&o==="fixed")&&(p=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:p,y:f}}function cl(e,o){let r=He(e,!0,o==="fixed"),i=r.top+e.clientTop,n=r.left+e.clientLeft,a=wt(e)?Ae(e):Mt(1),s=e.clientWidth*a.x,p=e.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:p,x:f,y:h}}function Xi(e,o,r){let i;if(o==="viewport")i=sl(e,r);else if(o==="document")i=ll(zt(e));else if(Pt(o))i=cl(o,r);else{let n=tn(e);i={...o,x:o.x-n.x,y:o.y-n.y}}return ne(i)}function on(e,o){let r=ae(e);return r===o||!Pt(r)||We(r)?!1:gt(r).position==="fixed"||on(r,o)}function pl(e,o){let r=o.get(e);if(r)return r;let i=fo(e,[],!1).filter(p=>Pt(p)&&Wt(p)!=="body"),n=null,a=gt(e).position==="fixed",s=a?ae(e):e;for(;Pt(s)&&!We(s);){let p=gt(s),f=uo(s);!f&&p.position==="fixed"&&(n=null),(a?!f&&!n:!f&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ee(s)&&!f&&on(e,s))?i=i.filter(y=>y!==s):n=p,s=ae(s)}return o.set(e,i),i}function dl(e){let{element:o,boundary:r,rootBoundary:i,strategy:n}=e,s=[...r==="clippingAncestors"?pl(o,this._c):[].concat(r),i],p=s[0],f=s.reduce((h,y)=>{let x=Xi(o,y,n);return h.top=Vt(x.top,h.top),h.right=De(x.right,h.right),h.bottom=De(x.bottom,h.bottom),h.left=Vt(x.left,h.left),h},Xi(o,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fl(e){return Ji(e)}function ul(e,o,r){let i=wt(o),n=zt(o),a=r==="fixed",s=He(e,!0,a,o),p={scrollLeft:0,scrollTop:0},f=Mt(0);if(i||!i&&!a)if((Wt(o)!=="body"||Ee(n))&&(p=ze(o)),i){let h=He(o,!0,a,o);f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}else n&&(f.x=en(n));return{x:s.left+p.scrollLeft-f.x,y:s.top+p.scrollTop-f.y,width:s.width,height:s.height}}function qi(e,o){return!wt(e)||gt(e).position==="fixed"?null:o?o(e):e.offsetParent}function rn(e,o){let r=dt(e);if(!wt(e))return r;let i=qi(e,o);for(;i&&Zi(i)&&gt(i).position==="static";)i=qi(i,o);return i&&(Wt(i)==="html"||Wt(i)==="body"&&gt(i).position==="static"&&!uo(i))?r:i||ji(e)||r}var hl=async function(e){let{reference:o,floating:r,strategy:i}=e,n=this.getOffsetParent||rn,a=this.getDimensions;return{reference:ul(o,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ml(e){return gt(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:zt,getClippingRect:dl,getOffsetParent:rn,getElementRects:hl,getClientRects:al,getDimensions:fl,getScale:Ae,isElement:Pt,isRTL:ml};var nn=(e,o,r)=>{let i=new Map,n={platform:mo,...r},a={...n.platform,_c:i};return Gi(e,o,{...n,platform:a})};function an(e){return yl(e)}function pr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function yl(e){for(let o=e;o;o=pr(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=pr(e);o;o=pr(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function yo(e,o,r){return nn(e,o,{platform:{...mo,getOffsetParent:i=>mo.getOffsetParent(i,an)},middleware:[cr({crossAxis:!0}),sr({allowedPlacements:[r]})]})}var ft=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},$=class extends Fe.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Fe.Debouncer,this.revealDebouncer=new Fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ln.html`
173
166
  <div part="container"
174
167
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
175
168
  @mouseenter=${this.onHover}
@@ -187,7 +180,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
187
180
  </div>
188
181
  </div>
189
182
  </div>
190
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Re(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ke.elementDefinitions={"ft-typography":vo},ke.styles=Eo,Ue([i.property()],ke.prototype,"text",void 0),Ue([i.property({type:Boolean})],ke.prototype,"manual",void 0),Ue([i.property({type:Boolean})],ke.prototype,"inline",void 0),Ue([i.property({type:Number})],ke.prototype,"delay",void 0),Ue([i.property()],ke.prototype,"position",void 0),Ue([i.queryAssignedNodes()],ke.prototype,"slotNodes",void 0),Ue([i.query(".ft-tooltip--container")],ke.prototype,"container",void 0),Ue([i.query(".ft-tooltip")],ke.prototype,"tooltip",void 0),Ue([i.query(".ft-tooltip--content")],ke.prototype,"tooltipContent",void 0),Ue([i.state()],ke.prototype,"visible",void 0),Ue([i.eventOptions({passive:!0})],ke.prototype,"onTouch",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onHover",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onOut",null),Ue([i.eventOptions({passive:!0})],ke.prototype,"onClick",null),o.customElement("ft-tooltip")(ke);const Le=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),We={color:Le,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Le),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ze=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ze=ze,Ke=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ze),Ae=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),De=Ae,Be=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ae),Fe=e.css`
183
+ `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",yo(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,r){return Math.max(o,Math.min(0,-r))}};$.elementDefinitions={"ft-typography":et};$.styles=Bi;ft([(0,Y.property)()],$.prototype,"text",void 0);ft([(0,Y.property)({type:Boolean})],$.prototype,"manual",void 0);ft([(0,Y.property)({type:Boolean})],$.prototype,"inline",void 0);ft([(0,Y.property)({type:Number})],$.prototype,"delay",void 0);ft([(0,Y.property)()],$.prototype,"position",void 0);ft([(0,Y.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);ft([(0,Y.query)(".ft-tooltip--container")],$.prototype,"container",void 0);ft([(0,Y.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);ft([(0,Y.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);ft([(0,Y.state)()],$.prototype,"visible",void 0);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onTouch",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onHover",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onOut",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onClick",null);(0,sn.customElement)("ft-tooltip")($);var Vn=u(O());var So=u(P()),ct=u(nt()),Kn=u(Ge()),Co=u(O());var xn=u(O());var gn=u(P()),ot=u(nt()),bn=u(Ge()),Ke=u(O());var mn=u(P()),K=u(O()),pn=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorContent),N={color:pn,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",pn),opacityContentOnSurfacePressed:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:K.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},dn=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorPrimary),fn={color:dn,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",dn)},un=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorSecondary),hn={color:un,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",un)},yn=mn.css`
191
184
  :host {
192
185
  display: contents;
193
186
  }
@@ -200,7 +193,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
200
193
 
201
194
  .ft-ripple:not(.ft-ripple--unbounded) {
202
195
  overflow: hidden;
203
- border-radius: ${We.borderRadius};
196
+ border-radius: ${N.borderRadius};
204
197
  }
205
198
 
206
199
  .ft-ripple .ft-ripple--background,
@@ -234,27 +227,27 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
234
227
  }
235
228
 
236
229
  .ft-ripple .ft-ripple--background {
237
- background-color: ${We.backgroundColor};
230
+ background-color: ${N.backgroundColor};
238
231
  }
239
232
 
240
233
  .ft-ripple .ft-ripple--effect {
241
- background-color: ${We.color};
234
+ background-color: ${N.color};
242
235
  }
243
236
 
244
237
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
245
- background-color: ${Be};
238
+ background-color: ${hn.backgroundColor};
246
239
  }
247
240
 
248
241
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
249
- background-color: ${De};
242
+ background-color: ${hn.color};
250
243
  }
251
244
 
252
245
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
253
- background-color: ${Ke};
246
+ background-color: ${fn.backgroundColor};
254
247
  }
255
248
 
256
249
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
257
- background-color: ${Ze};
250
+ background-color: ${fn.color};
258
251
  }
259
252
 
260
253
  .ft-ripple .ft-ripple--background {
@@ -284,33 +277,33 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
284
277
  }
285
278
 
286
279
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
287
- opacity: ${We.opacityContentOnSurfaceHover};
280
+ opacity: ${N.opacityContentOnSurfaceHover};
288
281
  }
289
282
 
290
283
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
291
- opacity: ${We.opacityContentOnSurfaceSelected};
284
+ opacity: ${N.opacityContentOnSurfaceSelected};
292
285
  }
293
286
 
294
287
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
295
- opacity: ${We.opacityContentOnSurfaceFocused};
288
+ opacity: ${N.opacityContentOnSurfaceFocused};
296
289
  }
297
290
 
298
291
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
299
- opacity: ${We.opacityContentOnSurfacePressed};
292
+ opacity: ${N.opacityContentOnSurfacePressed};
300
293
  transform: translate(-50%, -50%) scale(1);
301
294
  }
302
- `;var Te,He,Pe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Me extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
295
+ `;var ut=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},_=class extends Ke.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Ke.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ke.Debouncer(10),this.moveRipple=o=>{var r,i;let{x:n,y:a}=this.getCoordinates(o),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return gn.html`
303
296
  <style>
304
297
  .ft-ripple .ft-ripple--effect {
305
298
  left: ${this.originX}px;
306
299
  top: ${this.originY}px;
307
300
  }
308
301
  </style>
309
- <div class="${r.classMap(t)}">
302
+ <div class="${(0,bn.classMap)(o)}">
310
303
  <div class="ft-ripple--background"></div>
311
304
  <div class="ft-ripple--effect"></div>
312
305
  </div>
313
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Me.elementDefinitions={},Me.styles=Fe,Pe([i.property({type:Boolean})],Me.prototype,"primary",void 0),Pe([i.property({type:Boolean})],Me.prototype,"secondary",void 0),Pe([i.property({type:Boolean})],Me.prototype,"unbounded",void 0),Pe([i.property({type:Boolean})],Me.prototype,"activated",void 0),Pe([i.property({type:Boolean})],Me.prototype,"selected",void 0),Pe([i.property({type:Boolean})],Me.prototype,"disabled",void 0),Pe([i.state()],Me.prototype,"hovered",void 0),Pe([i.state()],Me.prototype,"focused",void 0),Pe([i.state()],Me.prototype,"pressed",void 0),Pe([i.state()],Me.prototype,"rippling",void 0),Pe([i.state()],Me.prototype,"originX",void 0),Pe([i.state()],Me.prototype,"originY",void 0),Pe([i.query(".ft-ripple")],Me.prototype,"ripple",void 0),Pe([i.query(".ft-ripple--effect")],Me.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Me),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Te||(Te={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(He||(He={})),new Map([...["abw"].map((t=>[t,He.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,He.AUDIO])),...["avi"].map((t=>[t,He.AVI])),...["chm","xhs"].map((t=>[t,He.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,He.CODE])),...["csv"].map((t=>[t,He.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,He.DITA])),...["epub"].map((t=>[t,He.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,He.EXCEL])),...["flac"].map((t=>[t,He.FLAC])),...["gif"].map((t=>[t,He.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,He.GZIP])),...["html","htm","xhtml"].map((t=>[t,He.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,He.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,He.JPEG])),...["json"].map((t=>[t,He.JSON])),...["m4a","m4p"].map((t=>[t,He.M4A])),...["mov","qt"].map((t=>[t,He.MOV])),...["mp3"].map((t=>[t,He.MP3])),...["mp4","m4v"].map((t=>[t,He.MP4])),...["ogg","oga"].map((t=>[t,He.OGG])),...["pdf","ps"].map((t=>[t,He.PDF])),...["png"].map((t=>[t,He.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,He.POWERPOINT])),...["rar"].map((t=>[t,He.RAR])),...["stp"].map((t=>[t,He.STP])),...["txt","rtf","md","mdown"].map((t=>[t,He.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,He.VIDEO])),...["wav"].map((t=>[t,He.WAV])),...["wma"].map((t=>[t,He.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,He.WORD])),...["xml","xsl","rdf"].map((t=>[t,He.XML])),...["yaml","yml","x-yaml"].map((t=>[t,He.YAML])),...["zip"].map((t=>[t,He.ZIP]))]),He.ABW,He.AUDIO,He.AVI,He.CHM,He.CODE,He.CSV,He.DITA,He.EPUB,He.EXCEL,He.FLAC,He.GIF,He.GZIP,He.HTML,He.IMAGE,He.JPEG,He.JSON,He.M4A,He.MOV,He.MP3,He.MP4,He.OGG,He.PDF,He.PNG,He.POWERPOINT,He.RAR,He.STP,He.TEXT,He.UNKNOWN,He.VIDEO,He.WAV,He.WMA,He.WORD,He.XML,He.YAML,He.ZIP;const je={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_e=e.css`
306
+ `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,r;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>f=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",i,s),o.addEventListener("touchstart",n,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",a,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",i,s),o.removeEventListener("touchstart",n,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",a,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,i=o,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};_.elementDefinitions={};_.styles=yn;ut([(0,ot.property)({type:Boolean})],_.prototype,"primary",void 0);ut([(0,ot.property)({type:Boolean})],_.prototype,"secondary",void 0);ut([(0,ot.property)({type:Boolean})],_.prototype,"unbounded",void 0);ut([(0,ot.property)({type:Boolean})],_.prototype,"activated",void 0);ut([(0,ot.property)({type:Boolean})],_.prototype,"selected",void 0);ut([(0,ot.property)({type:Boolean})],_.prototype,"disabled",void 0);ut([(0,ot.state)()],_.prototype,"hovered",void 0);ut([(0,ot.state)()],_.prototype,"focused",void 0);ut([(0,ot.state)()],_.prototype,"pressed",void 0);ut([(0,ot.state)()],_.prototype,"rippling",void 0);ut([(0,ot.state)()],_.prototype,"originX",void 0);ut([(0,ot.state)()],_.prototype,"originY",void 0);ut([(0,ot.query)(".ft-ripple")],_.prototype,"ripple",void 0);ut([(0,ot.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,xn.customElement)("ft-ripple")(_);var wn=u(O());var Ve=u(P()),le=u(nt()),En=u(O()),An=u(Sn());var go;(function(e){e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.STAR="&#xe94c;",e.STAR_PLAIN="&#xe900;",e.DESKTOP="&#xe95e;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE="&#xe909;",e.OCTAGON_XMARK="&#xe97d;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.EXTLINK_LIGHT="&#xe978;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe901;",e.EYE="&#xf06e;",e.EYE_SLASH="&#xe970;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe90f;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_USERS="&#xe912;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe94b;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.EXPAND_WIDE="&#xe972;",e.X_MARK="&#xe971;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CONSUMER="&#xe97c;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;"})(go||(go={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var sf=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var cf={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var On=u(P()),Ht=u(O()),at={size:Ht.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ht.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ht.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ht.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ht.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ht.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ht.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ht.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Cn=On.css`
314
307
  :host, i.ft-icon {
315
308
  display: inline-flex;
316
309
  align-items: center;
@@ -319,14 +312,14 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
319
312
  }
320
313
 
321
314
  :host {
322
- width: ${je.size};
323
- height: ${je.size};
315
+ width: ${at.size};
316
+ height: ${at.size};
324
317
  }
325
318
 
326
319
  i.ft-icon {
327
320
  width: 100%;
328
321
  height: 100%;
329
- font-size: ${je.size};
322
+ font-size: ${at.size};
330
323
  line-height: 1;
331
324
  font-weight: normal;
332
325
  text-transform: none;
@@ -337,33 +330,33 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
337
330
  text-rendering: auto;
338
331
  -webkit-font-smoothing: antialiased;
339
332
  -moz-osx-font-smoothing: grayscale;
340
- vertical-align: ${je.verticalAlign};
333
+ vertical-align: ${at.verticalAlign};
341
334
  }
342
335
 
343
336
  i.ft-icon.ft-icon--fluid-topics {
344
- font-family: ${je.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
337
+ font-family: ${at.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
345
338
 
346
339
  /* Ugly fix because font is broken */
347
- font-size: calc(0.75 * ${je.size});
348
- line-height: ${je.size};
340
+ font-size: calc(0.75 * ${at.size});
341
+ line-height: ${at.size};
349
342
  position: relative;
350
343
  top: -4%;
351
344
  justify-content: center;
352
345
  }
353
346
 
354
347
  .ft-icon--file-format {
355
- font-family: ${je.fileFormatFontFamily}, ft-mime, sans-serif;
348
+ font-family: ${at.fileFormatFontFamily}, ft-mime, sans-serif;
356
349
  }
357
350
 
358
351
  .ft-icon--material {
359
- font-family: ${je.materialFontFamily}, "Material Icons", sans-serif;
352
+ font-family: ${at.materialFontFamily}, "Material Icons", sans-serif;
360
353
  }
361
- `;var Ge;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ge||(Ge={}));var Ye=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ve extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,o=t!==Ge.material||!!this.value;return e.html`
362
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
363
- ${n.unsafeHTML(this.resolvedIcon)}
364
- <slot ?hidden=${o}></slot>
354
+ `;var _t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_t||(_t={}));var bo=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},lt=class extends En.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ve.nothing}render(){let o=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,r=o!==_t.material||!!this.value;return Ve.html`
355
+ <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
356
+ ${(0,An.unsafeHTML)(this.resolvedIcon)}
357
+ <slot ?hidden=${r}></slot>
365
358
  </i>
366
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Ge.file_format:this.resolvedIcon=null!==(t=He[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ge.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Te[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ve.elementDefinitions={},Ve.styles=_e,Ye([i.property()],Ve.prototype,"variant",void 0),Ye([i.property()],Ve.prototype,"value",void 0),Ye([i.state()],Ve.prototype,"resolvedIcon",void 0),Ye([i.query("slot")],Ve.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Ve);const Xe={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},qe=e.css`
359
+ `}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let i=this.value||this.textContent;switch(this.variant){case _t.file_format:this.resolvedIcon=(o=g[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break;case _t.material:this.resolvedIcon=this.value||Ve.nothing;break;default:this.resolvedIcon=(r=go[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};lt.elementDefinitions={};lt.styles=Cn;bo([(0,le.property)()],lt.prototype,"variant",void 0);bo([(0,le.property)()],lt.prototype,"value",void 0);bo([(0,le.state)()],lt.prototype,"resolvedIcon",void 0);bo([(0,le.query)("slot")],lt.prototype,"slottedContent",void 0);(0,wn.customElement)("ft-icon")(lt);var vo=u(P()),w=u(O());var fr=u(O());var je=u(nt()),Bn=u(O());var Tn=u(P()),E=u(O());var Rn=u(P()),Ze=u(O()),ht={color:Ze.FtCssVariableFactory.extend("--ft-loader-color","",Ze.designSystemVariables.colorPrimary),size:Ze.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Nn=Rn.css`
367
360
  :host {
368
361
  line-height: 0;
369
362
  }
@@ -372,8 +365,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
372
365
  display: inline-block;
373
366
  position: relative;
374
367
 
375
- width: ${Xe.size};
376
- height: ${Xe.size};
368
+ width: ${ht.size};
369
+ height: ${ht.size};
377
370
  }
378
371
 
379
372
  .ft-loader div {
@@ -382,7 +375,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
382
375
  width: 25%;
383
376
  height: 25%;
384
377
  border-radius: 50%;
385
- background: ${Xe.color};
378
+ background: ${ht.color};
386
379
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
387
380
  }
388
381
 
@@ -429,10 +422,10 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
429
422
  transform: translate(0, 0);
430
423
  }
431
424
  100% {
432
- transform: translate(calc(0.35 * ${Xe.size}), 0);
425
+ transform: translate(calc(0.35 * ${ht.size}), 0);
433
426
  }
434
427
  }
435
- `,Je=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Qe={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Je,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",no.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Je),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},ti=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),oi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:ti,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ti)},ei=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),ii=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ri=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ni=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),ai=[e.css`
428
+ `;var Ln=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),z={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:Ln,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",Tt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ln),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},In=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),dr={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:In,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",In)},kt={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Pn=[Tn.css`
436
429
  :host {
437
430
  display: inline-block;
438
431
  max-width: 100%;
@@ -443,7 +436,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
443
436
  box-shadow: 0px 0px 0px transparent;
444
437
  border: 0px solid transparent;
445
438
  text-shadow: 0px 0px 0px transparent;
446
- font-size: ${Qe.fontSize};
439
+ font-size: ${z.fontSize};
447
440
  }
448
441
 
449
442
  button:hover {
@@ -472,31 +465,31 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
472
465
  border: none;
473
466
  pointer-events: auto;
474
467
 
475
- --ft-button-internal-line-height: max(calc(${Qe.fontSize} + 2px), ${Qe.iconSize});
476
- --ft-button-internal-color: ${Qe.color};
477
- ${o.setVariable(je.size,Qe.iconSize)};
478
- ${o.setVariable(We.color,Qe.rippleColor)};
468
+ --ft-button-internal-line-height: max(calc(${z.fontSize} + 2px), ${z.iconSize});
469
+ --ft-button-internal-color: ${z.color};
470
+ ${(0,E.setVariable)(at.size,z.iconSize)};
471
+ ${(0,E.setVariable)(N.color,z.rippleColor)};
479
472
 
480
- border-radius: ${Qe.borderRadius};
481
- padding: ${Qe.verticalPadding} ${Qe.horizontalPadding};
482
- background-color: ${Qe.backgroundColor};
473
+ border-radius: ${z.borderRadius};
474
+ padding: ${z.verticalPadding} ${z.horizontalPadding};
475
+ background-color: ${z.backgroundColor};
483
476
  color: var(--ft-button-internal-color);
484
477
  -webkit-mask-image: radial-gradient(white, black);
485
478
  }
486
479
 
487
480
  .ft-button.ft-button--outlined {
488
481
  border: 1px solid var(--ft-button-internal-color);
489
- padding: calc(${Qe.verticalPadding} - 1px) calc(${Qe.horizontalPadding} - 1px);
482
+ padding: calc(${z.verticalPadding} - 1px) calc(${z.horizontalPadding} - 1px);
490
483
  }
491
484
 
492
485
  .ft-button.ft-button--dense {
493
- padding: ${ii} ${ri};
494
- border-radius: ${ei};
495
- gap: ${ni};
486
+ padding: ${kt.verticalPadding} ${kt.horizontalPadding};
487
+ border-radius: ${kt.borderRadius};
488
+ gap: ${kt.iconPadding};
496
489
  }
497
490
 
498
491
  .ft-button.ft-button--dense.ft-button--outlined {
499
- padding: calc(${ii} - 1px) calc(${ri} - 1px);
492
+ padding: calc(${kt.verticalPadding} - 1px) calc(${kt.horizontalPadding} - 1px);
500
493
  }
501
494
 
502
495
  .ft-button:not([disabled]):hover {
@@ -504,22 +497,22 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
504
497
  }
505
498
 
506
499
  .ft-button--round {
507
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qe.verticalPadding});
500
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${z.verticalPadding});
508
501
  }
509
502
 
510
503
  .ft-button--round.ft-button--dense {
511
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ii});
504
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${kt.verticalPadding});
512
505
  }
513
506
 
514
507
  .ft-button[disabled] {
515
508
  filter: grayscale(1);
516
- opacity: ${Qe.opacityDisabled};
509
+ opacity: ${z.opacityDisabled};
517
510
  }
518
511
 
519
512
  .ft-button.ft-button--primary {
520
- background-color: ${oi.backgroundColor};
521
- --ft-button-internal-color: ${oi.color};
522
- ${o.setVariable(We.color,oi.rippleColor)};
513
+ background-color: ${dr.backgroundColor};
514
+ --ft-button-internal-color: ${dr.color};
515
+ ${(0,E.setVariable)(N.color,dr.rippleColor)};
523
516
  }
524
517
 
525
518
  .ft-button:focus {
@@ -532,74 +525,76 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
532
525
  white-space: nowrap;
533
526
  text-overflow: ellipsis;
534
527
  display: block;
535
- margin: 0 ${Qe.iconPadding};
536
- ${o.setVariable(no.fontSize,"1em")};
537
- ${o.setVariable(no.lineHeight,"var(--ft-button-internal-line-height)")};
528
+ margin: 0 ${z.iconPadding};
529
+ ${(0,E.setVariable)(Tt.fontSize,"1em")};
530
+ ${(0,E.setVariable)(Tt.lineHeight,"var(--ft-button-internal-line-height)")};
538
531
  }
539
532
 
540
533
  .ft-button--dense .ft-button--label {
541
- margin: 0 ${ni};
534
+ margin: 0 ${kt.iconPadding};
542
535
  }
543
536
 
544
537
  .ft-button--label[hidden] {
545
538
  display: none;
546
539
  }
547
540
 
548
- ft-icon {
541
+ [part="icon"] {
549
542
  flex-shrink: 0;
550
543
  position: relative;
551
544
  }
552
545
 
553
- .ft-button--label[hidden] + ft-icon {
554
- margin: 0 calc(${Qe.horizontalPadding} * -1);
555
- padding: 0 ${Qe.verticalPadding};
546
+ .ft-button--label[hidden] + [part="icon"] {
547
+ margin: 0 calc(${z.horizontalPadding} * -1);
548
+ padding: 0 ${z.verticalPadding};
556
549
  }
557
550
 
558
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
559
- margin: 0 calc(${ri} * -1);
560
- padding: 0 ${ii};
551
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
552
+ margin: 0 calc(${kt.horizontalPadding} * -1);
553
+ padding: 0 ${kt.verticalPadding};
561
554
  }
562
555
 
563
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
564
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
565
- order: -1;
556
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
557
+ order: 2;
566
558
  }
567
559
 
568
560
  ft-loader {
569
- ${o.setVariable(Xe.size,Qe.iconSize)};
570
- ${o.setVariable(Xe.color,"var(--ft-button-internal-color)")};
561
+ ${(0,E.setVariable)(ht.size,z.iconSize)};
562
+ ${(0,E.setVariable)(ht.color,"var(--ft-button-internal-color)")};
571
563
  }
572
- `,o.noTextSelect];class li extends o.FtLitElement{render(){return e.html`
564
+ `,E.noTextSelect];var Re=u(O());var Un=u(O());var _n=u(P()),kn=u(O());var se=class extends kn.FtLitElement{render(){return _n.html`
573
565
  <div class="ft-loader">
574
566
  <div></div>
575
567
  <div></div>
576
568
  <div></div>
577
569
  <div></div>
578
570
  </div>
579
- `}}li.styles=qe,o.customElement("ft-loader")(li);var ci=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class si extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
571
+ `}};se.styles=Nn;(0,Un.customElement)("ft-loader")(se);var we=u(P()),$n=u(Ge()),st=u(nt()),bt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},V=class extends(0,Re.toFtFormComponent)(Re.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(we.html`
580
572
  <button part="button"
581
- class="${r.classMap(this.buttonClasses)}"
573
+ class="${(0,$n.classMap)(this.buttonClasses)}"
582
574
  aria-label="${this.getLabel()}"
583
575
  ?disabled=${this.isDisabled()}>
584
576
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
585
577
  <ft-typography part="label"
586
578
  variant=${this.typographyVariant}
587
579
  element="span"
588
- class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
580
+ class="ft-button--label ${Re.isSafari?"ft-safari-ellipsis-fix":""}"
589
581
  ?hidden=${!this.hasTextContent()}>
590
582
  <slot @slotchange=${this.onSlotchange}></slot>
591
583
  </ft-typography>
592
584
  ${this.resolveIcon()}
593
585
  </button>
594
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
586
+ `)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?we.html`
595
587
  <ft-tooltip part="tooltip"
596
588
  text="${this.getLabel()}"
597
589
  position="${this.tooltipPosition}">
598
- ${t}
590
+ ${o}
599
591
  </ft-tooltip>
600
- `:t}resolveIcon(){return this.loading?e.html`
601
- <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
602
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}si.elementDefinitions={"ft-ripple":Me,"ft-tooltip":ke,"ft-typography":vo,"ft-icon":Ve,"ft-loader":li},ci([i.property({type:String,reflect:!0})],si.prototype,"role",void 0),ci([i.property()],si.prototype,"type",void 0),ci([i.property({type:Boolean})],si.prototype,"disabled",void 0),ci([i.property()],si.prototype,"label",void 0),ci([i.property()],si.prototype,"icon",void 0),ci([i.property()],si.prototype,"iconVariant",void 0),ci([i.property({type:Boolean})],si.prototype,"trailingIcon",void 0),ci([i.property({type:Boolean})],si.prototype,"loading",void 0),ci([i.property()],si.prototype,"tooltipPosition",void 0),ci([i.property({type:Boolean})],si.prototype,"hideTooltip",void 0),ci([i.property({type:Boolean})],si.prototype,"forceTooltip",void 0),ci([i.query(".ft-button")],si.prototype,"button",void 0),ci([i.query(".ft-button--label slot")],si.prototype,"slottedContent",void 0);var pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends si{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fi.styles=[o.safariEllipsisFix,ai],pi([i.property({type:Boolean})],fi.prototype,"primary",void 0),pi([i.property({type:Boolean})],fi.prototype,"outlined",void 0),pi([i.property({type:Boolean})],fi.prototype,"dense",void 0),pi([i.property({type:Boolean})],fi.prototype,"round",void 0);const di=[e.css`
592
+ `:o}resolveIcon(){return this.loading?we.html`
593
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?we.html`
594
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
595
+ `:we.html`
596
+ <slot part="icon" name="icon"></slot>
597
+ `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};V.elementDefinitions={"ft-ripple":_,"ft-tooltip":$,"ft-typography":et,"ft-icon":lt,"ft-loader":se};bt([(0,st.property)({type:String,reflect:!0})],V.prototype,"role",void 0);bt([(0,st.property)()],V.prototype,"type",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"disabled",void 0);bt([(0,st.property)()],V.prototype,"label",void 0);bt([(0,st.property)()],V.prototype,"icon",void 0);bt([(0,st.property)()],V.prototype,"iconVariant",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"trailingIcon",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"loading",void 0);bt([(0,st.property)()],V.prototype,"tooltipPosition",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"hideTooltip",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"forceTooltip",void 0);bt([(0,st.query)(".ft-button")],V.prototype,"button",void 0);bt([(0,st.query)(".ft-button--label slot")],V.prototype,"slottedContent",void 0);var xo=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},xt=class extends V{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};xt.styles=[Bn.safariEllipsisFix,Pn];xo([(0,je.property)({type:Boolean})],xt.prototype,"primary",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"outlined",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"dense",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"round",void 0);var Ne=u(nt());var Wn=u(O());var Dn=u(P()),T=u(O());var Mn=[Dn.css`
603
598
  :host {
604
599
  display: inline-block;
605
600
  max-width: 100%;
@@ -649,7 +644,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
649
644
  }
650
645
 
651
646
  .ft-button:focus-visible {
652
- outline-color: ${at.focusFocusRingColor};
647
+ outline-color: ${v.focusFocusRingColor};
653
648
  outline-style: solid;
654
649
  }
655
650
 
@@ -678,146 +673,146 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
678
673
  /** Primary styles **/
679
674
 
680
675
  .ft-button--primary {
681
- ${o.setVariable(Xe.color,at.primaryIconColor)};
676
+ ${(0,T.setVariable)(ht.color,v.primaryIconColor)};
682
677
 
683
- ${o.setVariable(We.color,at.primaryStateLayerColor)};
684
- ${o.setVariable(We.opacityContentOnSurfaceHover,at.primaryHoverStateLayerOpacity)};
685
- ${o.setVariable(We.opacityContentOnSurfaceFocused,at.primaryFocusStateLayerOpacity)};
686
- ${o.setVariable(We.opacityContentOnSurfaceSelected,at.primaryActiveStateLayerOpacity)};
687
- ${o.setVariable(We.opacityContentOnSurfacePressed,at.primaryActiveStateLayerOpacity)};
678
+ ${(0,T.setVariable)(N.color,v.primaryStateLayerColor)};
679
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.primaryHoverStateLayerOpacity)};
680
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.primaryFocusStateLayerOpacity)};
681
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.primaryActiveStateLayerOpacity)};
682
+ ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.primaryActiveStateLayerOpacity)};
688
683
 
689
- background-color: ${at.primaryBackgroundColor};
690
- color: ${at.primaryColor};
684
+ background-color: ${v.primaryBackgroundColor};
685
+ color: ${v.primaryColor};
691
686
  border-style: none;
692
687
  }
693
688
 
694
689
  .ft-button--primary[disabled] {
695
- opacity: ${at.primaryDisabledComponentOpacity};
690
+ opacity: ${v.primaryDisabledComponentOpacity};
696
691
  }
697
692
 
698
693
  .ft-button--primary ft-icon {
699
- color: ${at.primaryIconColor};
694
+ color: ${v.primaryIconColor};
700
695
  }
701
696
 
702
697
  /** Secondary styles **/
703
698
 
704
699
  .ft-button--secondary {
705
- ${o.setVariable(Xe.color,at.secondaryIconColor)};
700
+ ${(0,T.setVariable)(ht.color,v.secondaryIconColor)};
706
701
 
707
- ${o.setVariable(We.color,at.secondaryStateLayerColor)};
708
- ${o.setVariable(We.opacityContentOnSurfaceHover,at.secondaryHoverStateLayerOpacity)};
709
- ${o.setVariable(We.opacityContentOnSurfaceFocused,at.secondaryFocusStateLayerOpacity)};
710
- ${o.setVariable(We.opacityContentOnSurfaceSelected,at.secondaryActiveStateLayerOpacity)};
711
- ${o.setVariable(We.opacityContentOnSurfacePressed,at.secondaryActiveStateLayerOpacity)};
702
+ ${(0,T.setVariable)(N.color,v.secondaryStateLayerColor)};
703
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.secondaryHoverStateLayerOpacity)};
704
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.secondaryFocusStateLayerOpacity)};
705
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.secondaryActiveStateLayerOpacity)};
706
+ ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.secondaryActiveStateLayerOpacity)};
712
707
 
713
- background-color: ${at.secondaryBackgroundColor};
714
- color: ${at.secondaryColor};
715
- border-color: ${at.secondaryBorderColor};
708
+ background-color: ${v.secondaryBackgroundColor};
709
+ color: ${v.secondaryColor};
710
+ border-color: ${v.secondaryBorderColor};
716
711
  border-style: solid;
717
712
  }
718
713
 
719
714
  .ft-button--secondary[disabled] {
720
- opacity: ${at.secondaryDisabledComponentOpacity};
715
+ opacity: ${v.secondaryDisabledComponentOpacity};
721
716
  }
722
717
 
723
718
  .ft-button--secondary ft-icon {
724
- color: ${at.secondaryIconColor};
719
+ color: ${v.secondaryIconColor};
725
720
  }
726
721
 
727
722
  /** Tertiary styles **/
728
723
 
729
724
  .ft-button--tertiary {
730
- ${o.setVariable(Xe.color,at.tertiaryIconColor)};
725
+ ${(0,T.setVariable)(ht.color,v.tertiaryIconColor)};
731
726
 
732
- ${o.setVariable(We.color,at.tertiaryStateLayerColor)};
733
- ${o.setVariable(We.opacityContentOnSurfaceHover,at.tertiaryHoverStateLayerOpacity)};
734
- ${o.setVariable(We.opacityContentOnSurfaceFocused,at.tertiaryFocusStateLayerOpacity)};
735
- ${o.setVariable(We.opacityContentOnSurfaceSelected,at.tertiaryActiveStateLayerOpacity)};
736
- ${o.setVariable(We.opacityContentOnSurfacePressed,at.tertiaryActiveStateLayerOpacity)};
727
+ ${(0,T.setVariable)(N.color,v.tertiaryStateLayerColor)};
728
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.tertiaryHoverStateLayerOpacity)};
729
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.tertiaryFocusStateLayerOpacity)};
730
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.tertiaryActiveStateLayerOpacity)};
731
+ ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.tertiaryActiveStateLayerOpacity)};
737
732
 
738
- background-color: ${at.tertiaryBackgroundColor};
739
- color: ${at.tertiaryColor};
733
+ background-color: ${v.tertiaryBackgroundColor};
734
+ color: ${v.tertiaryColor};
740
735
  border-style: none;
741
736
  }
742
737
 
743
738
  .ft-button--tertiary[disabled] {
744
- opacity: ${at.tertiaryDisabledComponentOpacity};
739
+ opacity: ${v.tertiaryDisabledComponentOpacity};
745
740
  }
746
741
 
747
742
  .ft-button--tertiary ft-icon {
748
- color: ${at.tertiaryIconColor};
743
+ color: ${v.tertiaryIconColor};
749
744
  }
750
745
 
751
746
  /** Neutral styles **/
752
747
 
753
748
  .ft-button--neutral {
754
- ${o.setVariable(Xe.color,at.neutralIconColor)};
749
+ ${(0,T.setVariable)(ht.color,v.neutralIconColor)};
755
750
 
756
- ${o.setVariable(We.backgroundColor,at.neutralStateLayerColor)};
757
- ${o.setVariable(We.opacityContentOnSurfaceHover,at.neutralHoverStateLayerOpacity)};
758
- ${o.setVariable(We.opacityContentOnSurfaceFocused,at.neutralFocusStateLayerOpacity)};
759
- ${o.setVariable(We.opacityContentOnSurfaceSelected,at.neutralActiveStateLayerOpacity)};
760
- ${o.setVariable(We.opacityContentOnSurfacePressed,at.neutralActiveStateLayerOpacity)};
751
+ ${(0,T.setVariable)(N.backgroundColor,v.neutralStateLayerColor)};
752
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.neutralHoverStateLayerOpacity)};
753
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.neutralFocusStateLayerOpacity)};
754
+ ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.neutralActiveStateLayerOpacity)};
755
+ ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.neutralActiveStateLayerOpacity)};
761
756
 
762
- background-color: ${at.neutralBackgroundColor};
763
- color: ${at.neutralColor};
757
+ background-color: ${v.neutralBackgroundColor};
758
+ color: ${v.neutralColor};
764
759
  border-style: none;
765
760
  }
766
761
 
767
762
  .ft-button--neutral[disabled] {
768
- opacity: ${at.neutralDisabledComponentOpacity};
763
+ opacity: ${v.neutralDisabledComponentOpacity};
769
764
  }
770
765
 
771
766
  .ft-button--neutral ft-icon {
772
- color: ${at.neutralIconColor};
767
+ color: ${v.neutralIconColor};
773
768
  }
774
769
 
775
770
  /** Large styles **/
776
771
 
777
772
  .ft-button--large {
778
- ${o.setVariable(je.size,at.largeIconSize)};
779
- ${o.setVariable(Xe.size,at.largeIconSize)};
773
+ ${(0,T.setVariable)(at.size,v.largeIconSize)};
774
+ ${(0,T.setVariable)(ht.size,v.largeIconSize)};
780
775
 
781
- height: ${at.largeHeight};
782
- padding: 0 ${at.largeHorizontalPadding};
783
- gap: ${at.largeGap};
784
- border-radius: ${at.largeBorderRadius};
785
- border-width: ${at.largeBorderWidth};
776
+ height: ${v.largeHeight};
777
+ padding: 0 ${v.largeHorizontalPadding};
778
+ gap: ${v.largeGap};
779
+ border-radius: ${v.largeBorderRadius};
780
+ border-width: ${v.largeBorderWidth};
786
781
  }
787
782
 
788
783
  .ft-button--large:focus-visible {
789
- outline-width: ${at.largeFocusOutlineWidth};
790
- outline-offset: ${at.largeFocusOutlineOffset};
784
+ outline-width: ${v.largeFocusOutlineWidth};
785
+ outline-offset: ${v.largeFocusOutlineOffset};
791
786
  }
792
787
 
793
788
  .ft-button--large.ft-button--icon-only {
794
- width: ${at.largeIconOnlyWidth};
789
+ width: ${v.largeIconOnlyWidth};
795
790
  padding: unset;
796
791
  }
797
792
 
798
793
  /** Small styles **/
799
794
 
800
795
  .ft-button--small {
801
- ${o.setVariable(je.size,at.smallIconSize)};
802
- ${o.setVariable(Xe.size,at.smallIconSize)};
796
+ ${(0,T.setVariable)(at.size,v.smallIconSize)};
797
+ ${(0,T.setVariable)(ht.size,v.smallIconSize)};
803
798
 
804
- height: ${at.smallHeight};
805
- padding: 0 ${at.smallHorizontalPadding};
806
- gap: ${at.smallGap};
807
- border-radius: ${at.smallBorderRadius};
808
- border-width: ${at.smallBorderWidth};
799
+ height: ${v.smallHeight};
800
+ padding: 0 ${v.smallHorizontalPadding};
801
+ gap: ${v.smallGap};
802
+ border-radius: ${v.smallBorderRadius};
803
+ border-width: ${v.smallBorderWidth};
809
804
  }
810
805
 
811
806
  .ft-button--small:focus-visible {
812
- outline-width: ${at.smallFocusOutlineWidth};
813
- outline-offset: ${at.smallFocusOutlineOffset};
807
+ outline-width: ${v.smallFocusOutlineWidth};
808
+ outline-offset: ${v.smallFocusOutlineOffset};
814
809
  }
815
810
 
816
811
  .ft-button--small.ft-button--icon-only {
817
- width: ${at.smallIconOnlyWidth};
812
+ width: ${v.smallIconOnlyWidth};
818
813
  padding: unset;
819
814
  }
820
- `,o.noTextSelect];var hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ui extends si{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?tt.caption1medium:tt.body2medium}}ui.styles=[o.safariEllipsisFix,di],hi([i.property({type:Boolean})],ui.prototype,"primary",void 0),hi([i.property({type:Boolean})],ui.prototype,"secondary",void 0),hi([i.property({type:Boolean})],ui.prototype,"tertiary",void 0),hi([i.property({type:Boolean})],ui.prototype,"neutral",void 0),hi([i.property({type:Boolean})],ui.prototype,"small",void 0),o.customElement("ft-button")(fi),o.customElement("ftds-button")(ui);const gi=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),yi={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:gi,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ft.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",gi),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},bi=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),mi={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:bi,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bi)},xi=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),vi=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Oi=[o.noTextSelect,e.css`
815
+ `,T.noTextSelect];var Ye=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Ct=class extends V{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ie.caption1medium:ie.body2medium}};Ct.styles=[Wn.safariEllipsisFix,Mn];Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"primary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"secondary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"tertiary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"neutral",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"small",void 0);(0,fr.customElement)("ft-button")(xt);(0,fr.customElement)("ftds-button")(Ct);var zn=w.FtCssVariableFactory.extend("--ft-chip-color","",w.designSystemVariables.colorOnSurface),Et={backgroundColor:w.FtCssVariableFactory.extend("--ft-chip-background-color","",w.designSystemVariables.colorSurface),color:zn,fontSize:w.FtCssVariableFactory.extend("--ft-chip-font-size","",It.fontSize),iconSize:w.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:w.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:w.FtCssVariableFactory.extend("--ft-chip-ripple-color","",zn),horizontalPadding:w.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:w.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:w.FtCssVariableFactory.external(w.designSystemVariables.colorOutline,"Design system"),opacityDisabled:w.FtCssVariableFactory.external(w.designSystemVariables.colorOpacityDisabled,"Design system")},Hn=w.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",w.FtCssVariableFactory.extend("--ft-chip-color","",w.designSystemVariables.colorOnPrimary)),ur={backgroundColor:w.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",w.FtCssVariableFactory.extend("--ft-chip-background-color","",w.designSystemVariables.colorPrimary)),color:Hn,rippleColor:w.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Hn)},Fn={horizontalPadding:w.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:w.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Gn=[w.noTextSelect,vo.css`
821
816
  :host {
822
817
  display: inline-block;
823
818
  max-width: 100%;
@@ -833,20 +828,20 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
833
828
  box-sizing: border-box;
834
829
  pointer-events: auto;
835
830
 
836
- --ft-chip-internal-font-size: ${yi.fontSize};
831
+ --ft-chip-internal-font-size: ${Et.fontSize};
837
832
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
838
- ${o.setVariable(je.size,yi.iconSize)};
839
- --ft-chip-internal-vertical-padding: ${yi.verticalPadding};
840
- --ft-chip-internal-horizontal-padding: ${yi.horizontalPadding};
833
+ ${(0,w.setVariable)(at.size,Et.iconSize)};
834
+ --ft-chip-internal-vertical-padding: ${Et.verticalPadding};
835
+ --ft-chip-internal-horizontal-padding: ${Et.horizontalPadding};
841
836
  --ft-chip-internal-icon-padding: 3px;
842
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yi.iconSize});
837
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Et.iconSize});
843
838
 
844
- border: 1px solid ${yi.colorOutline};
845
- color: ${yi.color};
846
- ${o.setVariable(We.color,yi.rippleColor)};
847
- border-radius: var(${e.unsafeCSS(yi.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
839
+ border: 1px solid ${Et.colorOutline};
840
+ color: ${Et.color};
841
+ ${(0,w.setVariable)(N.color,Et.rippleColor)};
842
+ border-radius: var(${(0,vo.unsafeCSS)(Et.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
848
843
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
849
- background-color: ${yi.backgroundColor};
844
+ background-color: ${Et.backgroundColor};
850
845
  line-height: var(--ft-chip-internal-content-height);
851
846
  }
852
847
 
@@ -856,8 +851,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
856
851
 
857
852
  .ft-chip--dense {
858
853
  --ft-chip-internal-icon-padding: 3px;
859
- --ft-chip-internal-vertical-padding: ${vi};
860
- --ft-chip-internal-horizontal-padding: ${xi};
854
+ --ft-chip-internal-vertical-padding: ${Fn.verticalPadding};
855
+ --ft-chip-internal-horizontal-padding: ${Fn.horizontalPadding};
861
856
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
862
857
  }
863
858
 
@@ -869,15 +864,15 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
869
864
  cursor: default;
870
865
  pointer-events: none;
871
866
  filter: grayscale(1);
872
- opacity: ${yi.opacityDisabled};
867
+ opacity: ${Et.opacityDisabled};
873
868
  }
874
869
 
875
870
  .ft-chip--highlighted {
876
871
  border: none;
877
872
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
878
- background-color: ${mi.backgroundColor};
879
- ${o.setVariable(We.color,mi.rippleColor)};
880
- color: ${mi.color};
873
+ background-color: ${ur.backgroundColor};
874
+ ${(0,w.setVariable)(N.color,ur.rippleColor)};
875
+ color: ${ur.color};
881
876
  }
882
877
 
883
878
  .ft-chip--clickable {
@@ -907,9 +902,9 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
907
902
  }
908
903
 
909
904
  .ft-chip--icon-button {
910
- ${o.setVariable(Qe.iconSize,yi.iconSize)};
911
- ${o.setVariable(Qe.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
912
- ${o.setVariable(Qe.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
905
+ ${(0,w.setVariable)(z.iconSize,Et.iconSize)};
906
+ ${(0,w.setVariable)(z.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
907
+ ${(0,w.setVariable)(z.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
913
908
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
914
909
  }
915
910
 
@@ -917,8 +912,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
917
912
  vertical-align: bottom;
918
913
  display: block;
919
914
  margin: 0 var(--ft-chip-internal-horizontal-padding);
920
- ${o.setVariable(Ft.fontSize,"var(--ft-chip-internal-font-size)")};
921
- ${o.setVariable(Ft.lineHeight,"var(--ft-chip-internal-content-height)")};
915
+ ${(0,w.setVariable)(It.fontSize,"var(--ft-chip-internal-font-size)")};
916
+ ${(0,w.setVariable)(It.lineHeight,"var(--ft-chip-internal-content-height)")};
922
917
  }
923
918
 
924
919
  .ft-chip--safari-fix .ft-chip--label {
@@ -954,8 +949,8 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
954
949
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
955
950
  order: -1;
956
951
  }
957
- `];var wi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ni extends CustomEvent{constructor(){super("icon-click")}}class Si extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
958
- <div class="${r.classMap(t)}"
952
+ `];var vt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Oo=class extends CustomEvent{constructor(){super("icon-click")}},F=class extends Co.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let o={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Co.isSafari};return So.html`
953
+ <div class="${(0,Kn.classMap)(o)}"
959
954
  aria-label="${this.getLabel()}"
960
955
  tabindex="${this.interactionsOnChip?0:-1}"
961
956
  @keyup=${this.onKeyUp}
@@ -966,7 +961,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
966
961
  </ft-typography>
967
962
  ${this.internalIcon?this.renderIcon():null}
968
963
  </div>
969
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?e.html`
964
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?So.html`
970
965
  <ft-button round
971
966
  class="ft-chip--icon-button"
972
967
  @click=${this.onIconClick}
@@ -975,13 +970,13 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
975
970
  label="${this.iconLabel}"
976
971
  part="icon-button"
977
972
  ></ft-button>
978
- `:e.html`
973
+ `:So.html`
979
974
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
980
975
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
981
976
  </div>
982
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ni))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ni))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Si.elementDefinitions={"ft-ripple":Me,"ft-typography":vo,"ft-icon":Ve,"ft-button":fi},Si.styles=Oi,wi([i.property({type:Boolean})],Si.prototype,"highlighted",void 0),wi([i.property({type:Boolean})],Si.prototype,"removable",void 0),wi([i.property({type:Boolean})],Si.prototype,"disabled",void 0),wi([i.property({type:Boolean})],Si.prototype,"clickable",void 0),wi([i.property({type:Boolean})],Si.prototype,"iconClickable",void 0),wi([i.property({type:Boolean})],Si.prototype,"dense",void 0),wi([i.property({type:Boolean})],Si.prototype,"multiLine",void 0),wi([i.property()],Si.prototype,"label",void 0),wi([i.property()],Si.prototype,"iconLabel",void 0),wi([i.property()],Si.prototype,"icon",void 0),wi([i.property()],Si.prototype,"iconVariant",void 0),wi([i.property({type:Boolean})],Si.prototype,"trailingIcon",void 0),wi([i.query("ft-typography slot")],Si.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Si);const Ci=o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),Ii=o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),Ei=o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),$i=o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),Ri=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Ui=o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),ki=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Li=e.css`
977
+ `}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new Oo))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new Oo))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":et,"ft-icon":lt,"ft-button":xt};F.styles=Gn;vt([(0,ct.property)({type:Boolean})],F.prototype,"highlighted",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"removable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"disabled",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"clickable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"iconClickable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"dense",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"multiLine",void 0);vt([(0,ct.property)()],F.prototype,"label",void 0);vt([(0,ct.property)()],F.prototype,"iconLabel",void 0);vt([(0,ct.property)()],F.prototype,"icon",void 0);vt([(0,ct.property)()],F.prototype,"iconVariant",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);vt([(0,ct.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);(0,Vn.customElement)("ft-chip")(F);var Je=u(O());var Zn=u(P()),St=u(O()),jt={zIndex:St.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:St.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:St.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:St.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",St.designSystemVariables.colorOnSurfaceHigh),colorSurface:St.FtCssVariableFactory.external(St.designSystemVariables.colorSurface,"Design system"),menuElevation:St.FtCssVariableFactory.external(St.designSystemVariables.elevation02,"Design system"),borderRadiusS:St.FtCssVariableFactory.external(St.designSystemVariables.borderRadiusS,"Design system")},Eo=Zn.css`
983
978
  .ft-floating-menu {
984
- color: ${$i};
979
+ color: ${jt.textColor};
985
980
  display: contents;
986
981
  }
987
982
 
@@ -998,19 +993,19 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
998
993
  display: none;
999
994
  position: relative;
1000
995
  overflow: auto;
1001
- max-width: ${Ii};
1002
- max-height: ${Ei};
1003
- box-shadow: ${Ui};
1004
- background-color: ${Ri};
1005
- border-radius: ${ki};
1006
- color: ${$i};
1007
- z-index: ${Ci};
996
+ max-width: ${jt.maxWidth};
997
+ max-height: ${jt.maxHeight};
998
+ box-shadow: ${jt.menuElevation};
999
+ background-color: ${jt.colorSurface};
1000
+ border-radius: ${jt.borderRadiusS};
1001
+ color: ${jt.textColor};
1002
+ z-index: ${jt.zIndex};
1008
1003
  }
1009
1004
 
1010
1005
  .ft-floating-menu--open .ft-floating-menu--options {
1011
1006
  display: block;
1012
1007
  }
1013
- `,Wi=o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),zi=e.css`
1008
+ `;var qn=u(P()),D=u(nt()),Le=u(O()),Jn=u(Ge());var Xe=u(P()),qe=u(nt()),Xn=u(O());var jn=u(P()),Ao=u(O()),gl={iconColor:Ao.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Ao.designSystemVariables.colorOnSurfaceMedium)},Yn=jn.css`
1014
1009
  .ft-floating-menu-item {
1015
1010
  cursor: pointer;
1016
1011
  display: flex;
@@ -1025,7 +1020,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
1025
1020
  }
1026
1021
 
1027
1022
  .ft-floating-menu-item ft-icon {
1028
- color: ${Wi};
1023
+ color: ${gl.iconColor};
1029
1024
  margin-left: 0;
1030
1025
  flex-shrink: 0;
1031
1026
  flex-grow: 0;
@@ -1040,21 +1035,21 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
1040
1035
  word-break: break-word;
1041
1036
  hyphens: auto;
1042
1037
  }
1043
- `;var Zi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ki extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Ai extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return e.html`
1038
+ `;var Ro=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},wo=class extends CustomEvent{constructor(o){super("select",{detail:o,bubbles:!0,composed:!0})}},mt=class extends Xn.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Xe.html`
1044
1039
  <div class="ft-floating-menu-item"
1045
1040
  tabindex=${this.notFocusable?"-1":"0"}
1046
- @keydown=${t=>this.onKeyDown(t)}
1041
+ @keydown=${o=>this.onKeyDown(o)}
1047
1042
  @click=${this.onClick}>
1048
1043
  <ft-ripple></ft-ripple>
1049
- ${this.icon?e.html`
1044
+ ${this.icon?Xe.html`
1050
1045
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1051
- `:e.nothing}
1046
+ `:Xe.nothing}
1052
1047
  <ft-typography variant="body2">
1053
1048
  <slot></slot>
1054
1049
  </ft-typography>
1055
1050
  </div>
1056
- `}onClick(t){this.dispatchEvent(new Ki(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new Ki(this.value)))}}Ai.elementDefinitions={"ft-icon":Ve,"ft-ripple":Me,"ft-typography":vo},Ai.styles=zi,Zi([i.property()],Ai.prototype,"iconVariant",void 0),Zi([i.property()],Ai.prototype,"icon",void 0),Zi([i.property()],Ai.prototype,"value",void 0),Zi([i.property({type:Boolean})],Ai.prototype,"notFocusable",void 0);var Di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Bi extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Ge.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1057
- <div part="container" class="${r.classMap(t)}">
1051
+ `}onClick(o){this.dispatchEvent(new wo(this.value))}onKeyDown(o){(o.key=="Enter"||o.key==" ")&&(o.preventDefault(),this.dispatchEvent(new wo(this.value)))}};mt.elementDefinitions={"ft-icon":lt,"ft-ripple":_,"ft-typography":et};mt.styles=Yn;Ro([(0,qe.property)()],mt.prototype,"iconVariant",void 0);Ro([(0,qe.property)()],mt.prototype,"icon",void 0);Ro([(0,qe.property)()],mt.prototype,"value",void 0);Ro([(0,qe.property)({type:Boolean})],mt.prototype,"notFocusable",void 0);var Z=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a};var U=class extends Le.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=_t.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=o=>{this.menuOpen=this.menuOpen&&o.composedPath().includes(this.container)}}render(){let o={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return qn.html`
1052
+ <div part="container" class="${(0,Jn.classMap)(o)}">
1058
1053
  <slot name="toggle"
1059
1054
  part="toggle"
1060
1055
  @click=${this.toggleMenu}>
@@ -1088,7 +1083,7 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
1088
1083
  </div>
1089
1084
  </div>
1090
1085
  </div>
1091
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Re(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Bi.elementDefinitions={"ft-floating-menu-item":Ai},Di([i.state()],Bi.prototype,"menuOpen",void 0),Di([i.state()],Bi.prototype,"forceMenuOpen",void 0),Di([i.query(".ft-floating-menu")],Bi.prototype,"container",void 0),Di([i.query(".ft-floating-menu--wrapper")],Bi.prototype,"menuWrapper",void 0),Di([i.query("#actions-button")],Bi.prototype,"actionButton",void 0),Di([i.queryAssignedElements({slot:"toggle"})],Bi.prototype,"customToggle",void 0),Di([i.property({type:Boolean})],Bi.prototype,"primary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"secondary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"tertiary",void 0),Di([i.property({type:Boolean})],Bi.prototype,"neutral",void 0),Di([i.property({type:Boolean})],Bi.prototype,"small",void 0),Di([i.property()],Bi.prototype,"label",void 0),Di([i.property()],Bi.prototype,"tooltipPosition",void 0),Di([i.property()],Bi.prototype,"iconVariant",void 0),Di([i.property()],Bi.prototype,"icon",void 0),Di([i.property()],Bi.prototype,"text",void 0),Di([i.property()],Bi.prototype,"horizontalAlignment",void 0),Di([i.property()],Bi.prototype,"verticalAlignment",void 0),Di([i.property({type:Boolean})],Bi.prototype,"disabled",void 0),Di([o.jsonProperty([])],Bi.prototype,"closeMenuMatchers",void 0);class Fi extends Bi{}Fi.elementDefinitions={"ft-or-ftds-button":fi},Fi.styles=Li;class Ti extends Bi{}Ti.elementDefinitions={"ft-or-ftds-button":ui},Ti.styles=Li;const Hi=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Pi=e.css`
1086
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(o){o.stopPropagation(),this.closeMenu()}onContentClick(o){(0,Le.eventPathContainsMatchingElement)(o,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(o){super.contentAvailableCallback(o),o.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let o=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:r,y:i}=await yo(o,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${r}px`,this.menuWrapper.style.top=`${i}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};U.elementDefinitions={"ft-floating-menu-item":mt};Z([(0,D.state)()],U.prototype,"menuOpen",void 0);Z([(0,D.state)()],U.prototype,"forceMenuOpen",void 0);Z([(0,D.query)(".ft-floating-menu")],U.prototype,"container",void 0);Z([(0,D.query)(".ft-floating-menu--wrapper")],U.prototype,"menuWrapper",void 0);Z([(0,D.query)("#actions-button")],U.prototype,"actionButton",void 0);Z([(0,D.queryAssignedElements)({slot:"toggle"})],U.prototype,"customToggle",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"primary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"secondary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"tertiary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"neutral",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"small",void 0);Z([(0,D.property)()],U.prototype,"label",void 0);Z([(0,D.property)()],U.prototype,"tooltipPosition",void 0);Z([(0,D.property)()],U.prototype,"iconVariant",void 0);Z([(0,D.property)()],U.prototype,"icon",void 0);Z([(0,D.property)()],U.prototype,"text",void 0);Z([(0,D.property)()],U.prototype,"horizontalAlignment",void 0);Z([(0,D.property)()],U.prototype,"verticalAlignment",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"disabled",void 0);Z([(0,Le.jsonProperty)([])],U.prototype,"closeMenuMatchers",void 0);var Yt=class extends U{};Yt.elementDefinitions={"ft-or-ftds-button":xt};Yt.styles=Eo;var Ie=class extends U{};Ie.elementDefinitions={"ft-or-ftds-button":Ct};Ie.styles=Eo;var ea=u(P()),oa=u(O());var Qn=u(P()),No=u(O()),bl={color:No.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",No.designSystemVariables.colorOnSurfaceMedium)},ta=Qn.css`
1092
1087
  .ft-floating-menu-label {
1093
1088
  padding: 4px 8px;
1094
1089
  }
@@ -1099,61 +1094,84 @@ const V=Symbol.for(""),X=t=>{if(t?.r===V)return t?._$litStatic$},q=t=>({_$litSta
1099
1094
  width: max-content;
1100
1095
  text-overflow: ellipsis;
1101
1096
  overflow: hidden;
1102
- color: ${Hi}
1097
+ color: ${bl.color}
1103
1098
  }
1104
- `;class Mi extends o.FtLitElement{render(){return e.html`
1099
+ `;var Xt=class extends oa.FtLitElement{render(){return ea.html`
1105
1100
  <div class="ft-floating-menu-label">
1106
1101
  <ft-typography variant="caption">
1107
1102
  <slot></slot>
1108
1103
  </ft-typography>
1109
1104
  </div>
1110
- `}}var ji,_i,Gi,Yi,Vi,Xi,qi,Ji,Qi,tr,or,er,ir,rr,nr,ar,lr,cr;function sr(t){var o,e,i,r,n;if(function(t){var o,e,i,r,n;return(null!==(r=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.openMode)&&void 0!==r?r:null===(n=t.document)||void 0===n?void 0:n.openMode)===ir.EXTERNAL}(t))return null!==(r=null!==(e=null===(o=t.map)||void 0===o?void 0:o.originUrl)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.originUrl)&&void 0!==r?r:null===(n=t.document)||void 0===n?void 0:n.originUrl;switch(t.type){case nr.MAP:return t.map.readerUrl;case nr.DOCUMENT:return t.document.viewerUrl;case nr.TOPIC:return t.topic.readerUrl}return""}Mi.elementDefinitions={"ft-typography":vo},Mi.styles=Pi,o.customElement("ft-floating-menu")(Fi),o.customElement("ftds-floating-menu")(Ti),o.customElement("ft-floating-menu-item")(Ai),o.customElement("ft-floating-menu-label")(Mi),function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=s(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ji||(ji={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(_i||(_i={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Gi||(Gi={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Yi||(Yi={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Vi||(Vi={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Xi||(Xi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(qi||(qi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ji||(Ji={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Qi||(Qi={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(tr||(tr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(or||(or={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(er||(er={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ir||(ir={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(rr||(rr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(nr||(nr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ar||(ar={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(lr||(lr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(cr||(cr={})),lr.PERSONAL_BOOK_SHARE_USER,lr.PERSONAL_BOOK_USER,lr.HTML_EXPORT_USER,lr.PERSONAL_BOOK_USER,lr.PDF_EXPORT_USER,lr.PERSONAL_BOOK_USER,lr.KHUB_ADMIN,lr.CONTENT_PUBLISHER,lr.ADMIN,lr.KHUB_ADMIN,lr.USERS_ADMIN,lr.PORTAL_ADMIN,lr.DEVELOPER,lr.BETA_USER,lr.DEBUG_USER;const pr=e.css`
1111
- `,fr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class dr{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=fr.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise((o=>{let e=dr.get(t);if(e)o(e);else{const i=fr.subscribe((()=>{e=dr.get(t),e&&(i(),o(e))}))}}))}}class hr{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:dr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:dr.await()}clearCache(){this.cache.clearAll()}}var ur;const gr=Symbol("clearAfterUnitTest");class yr extends hr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ur]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=fr.getState().uiLocale,fr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=fr.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 i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,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)))))}}ur=gr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends yr{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends yr{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const br=window.FluidTopicsI18nService,mr=window.FluidTopicsCustomI18nService;var xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>dr.get(),this.messageContexts=[],this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
1105
+ `}};Xt.elementDefinitions={"ft-typography":et};Xt.styles=ta;(0,Je.customElement)("ft-floating-menu")(Yt);(0,Je.customElement)("ftds-floating-menu")(Ie);(0,Je.customElement)("ft-floating-menu-item")(mt);(0,Je.customElement)("ft-floating-menu-label")(Xt);var Sh=u(ia(),1);var na;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(na||(na={}));var aa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(aa||(aa={}));var la;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(la||(la={}));var sa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(sa||(sa={}));var ca;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ca||(ca={}));var pa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(pa||(pa={}));var da;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(da||(da={}));var fa;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(fa||(fa={}));var ua;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ua||(ua={}));var ha;(function(e){e.ASC="ASC",e.DESC="DESC"})(ha||(ha={}));var ma;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ma||(ma={}));var ya;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ya||(ya={}));var ga;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ga||(ga={}));var Lo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Lo||(Lo={}));var ba;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ba||(ba={}));var Te;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Te||(Te={}));var xa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(xa||(xa={}));var J;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(J||(J={}));var va;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(va||(va={}));var gh={[J.PERSONAL_BOOK_SHARE_USER]:[J.PERSONAL_BOOK_USER],[J.HTML_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.PDF_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.KHUB_ADMIN]:[J.CONTENT_PUBLISHER],[J.ADMIN]:[J.KHUB_ADMIN,J.USERS_ADMIN,J.PORTAL_ADMIN],[J.DEVELOPER]:[J.BETA_USER,J.DEBUG_USER]};function xl(e){var o,r,i,n,a;return((n=(r=(o=e.map)===null||o===void 0?void 0:o.openMode)!==null&&r!==void 0?r:(i=e.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=e.document)===null||a===void 0?void 0:a.openMode)===Lo.EXTERNAL}function hr(e){var o,r,i,n,a;if(xl(e))return(n=(r=(o=e.map)===null||o===void 0?void 0:o.originUrl)!==null&&r!==void 0?r:(i=e.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case Te.MAP:return e.map.readerUrl;case Te.DOCUMENT:return e.document.viewerUrl;case Te.TOPIC:return e.topic.readerUrl}return""}var Ba=u(Oa());var $o=u(O());var Ia=u(O());var Na=u(P()),At=u(nt()),Rt=u(O());var Ca=u(P());var Ea=Ca.css`
1106
+ `;var Aa=u(O()),vl="ft-app-info",Sl={},L=Aa.FtReduxStore.get({name:vl,reducers:Sl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Jt=u(O());var mr=u(O());var ce=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:i}=L.getState(),n=o??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(o){return new Promise(r=>{let i=e.get(o);if(i)r(i);else{let n=L.subscribe(()=>{i=e.get(o),i&&(n(),r(i))})}})}};var qt=class{constructor(o=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new mr.CacheRegistry,this.cache=o?n.commonCache:new mr.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:ce.get()}get awaitApi(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:ce.await()}clearCache(){this.cache.clearAll()}};var wa,Ol=Symbol("clearAfterUnitTest"),Io=class extends qt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wa]=()=>{this.defaultMessages={},this.cache=new Jt.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=L.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let r=o.name.toLowerCase();this.cache.setFinal(r,o),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,r){var i;if(o=o.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[o])!==null&&i!==void 0?i:{},...r};(0,Jt.deepEqual)(this.defaultMessages[o],n)||(this.defaultMessages[o]=n,await this.notify(o))}await this.fetchContext(o)}resolveMessage(o,r,...i){var n,a,s;o=o.toLowerCase(),this.fetchContext(o);let p=(a=(n=this.cache.getNow(o))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new Jt.ParametrizedLabelResolver((s=this.defaultMessages[o])!==null&&s!==void 0?s:{},p).resolve(r,...i)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(r){console.error(r)}}subscribe(o,r){var i;return o=o.toLowerCase(),this.listeners[o]=(i=this.listeners[o])!==null&&i!==void 0?i:new Set,this.listeners[o].add(r),()=>{var n;return(n=this.listeners[o])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(r=>(0,Jt.delay)(0).then(()=>r()).catch(()=>null)))}};wa=Ol;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var Pe=window.FluidTopicsI18nService,Ra=window.FluidTopicsCustomI18nService;var pt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},G=class extends Rt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ce.get(),this.messageContexts=[],this.cache=new Rt.CacheRegistry,this.cleanSessionDebouncer=new Rt.Debouncer}render(){return Na.html`
1112
1107
  <slot></slot>
1113
- `}update(t){super.update(t),t.has("baseUrl")&&(fr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&fr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&fr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&fr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&fr.actions.noCustom(this.noCustom),t.has("editorMode")&&fr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&fr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&fr.actions.session(this.session),t.has("availableUiLocales")&&fr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>br.addContext(t))),t.has("openExternalDocumentInNewTab")&&fr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&fr.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&fr.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}vr.elementDefinitions={},vr.styles=pr,xr([i.property()],vr.prototype,"baseUrl",void 0),xr([i.property()],vr.prototype,"apiIntegrationIdentifier",void 0),xr([i.property()],vr.prototype,"uiLocale",void 0),xr([o.jsonProperty(null)],vr.prototype,"availableUiLocales",void 0),xr([o.jsonProperty(null)],vr.prototype,"metadataConfiguration",void 0),xr([i.property({type:Boolean})],vr.prototype,"editorMode",void 0),xr([i.property({type:Boolean})],vr.prototype,"noCustom",void 0),xr([i.property({type:Boolean})],vr.prototype,"openExternalDocumentInNewTab",void 0),xr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],vr.prototype,"noCustomComponent",void 0),xr([i.property({type:Boolean})],vr.prototype,"withManualResources",void 0),xr([i.property({type:Boolean})],vr.prototype,"navigatorOnline",void 0),xr([i.property({type:Boolean})],vr.prototype,"forcedOffline",void 0),xr([i.property({type:Object})],vr.prototype,"apiProvider",void 0),xr([o.jsonProperty([])],vr.prototype,"messageContexts",void 0),xr([o.jsonProperty(void 0)],vr.prototype,"session",void 0);class Or extends hr{async listMySearches(){let t=fr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class wr extends hr{async listMyBookmarks(){let t=fr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Nr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=fr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wr,this.savedSearchesService=new Or,fr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=fr.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(){this.savedSearchesService.clearCache(),Nr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Nr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Nr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Nr.actions.bookmarks(o)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,o=!1){fr.commands.add(t,o)}consumeCommand(t){return fr.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){o.highlightHtml(t,e)}},o.customElement("ft-app-context")(vr);var Sr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Cr=Symbol("i18nAttributes"),Ir=Symbol("i18nProperties"),Er=Symbol("i18nUnsubs");function $r(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?mr:br}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o,e;null===(o=this[Cr])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[Ir])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Cr])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[Ir])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Ir])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[Cr])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Er].has(t)||this[Er].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Er].forEach((t=>t())),this[Er].clear()}}return o=Er,Sr([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Rr extends($r(o.FtLitElement)){}class Ur extends($r(o.FtLitElementRedux)){}const kr=e.css`
1114
- `;var Lr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wr extends Ur{constructor(){super(),this.editorMode=!1,this.addStore(fr)}render(){return this.key&&this.context?e.html`
1108
+ `}update(o){super.update(o),o.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&L.actions.noCustom(this.noCustom),o.has("editorMode")&&L.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&L.actions.session(this.session),o.has("availableUiLocales")&&L.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Pe.addContext(r)),o.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};G.elementDefinitions={};G.styles=Ea;pt([(0,At.property)()],G.prototype,"baseUrl",void 0);pt([(0,At.property)()],G.prototype,"apiIntegrationIdentifier",void 0);pt([(0,At.property)()],G.prototype,"uiLocale",void 0);pt([(0,Rt.jsonProperty)(null)],G.prototype,"availableUiLocales",void 0);pt([(0,Rt.jsonProperty)(null)],G.prototype,"metadataConfiguration",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"editorMode",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"noCustom",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"openExternalDocumentInNewTab",void 0);pt([(0,At.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],G.prototype,"noCustomComponent",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"withManualResources",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"navigatorOnline",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"forcedOffline",void 0);pt([(0,At.property)({type:Object})],G.prototype,"apiProvider",void 0);pt([(0,Rt.jsonProperty)([])],G.prototype,"messageContexts",void 0);pt([(0,Rt.jsonProperty)(void 0)],G.prototype,"session",void 0);var ko=u(O());var To=class extends qt{async listMySearches(){let o=L.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var Po=class extends qt{async listMyBookmarks(){let o=L.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var Cl="ft-user-assets",_o=ko.FtReduxStore.get({name:Cl,initialState:{savedSearches:void 0,bookmarks:void 0}}),yr=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Po,this.savedSearchesService=new To,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=L.getState();(0,ko.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),_o.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),_o.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();_o.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;_o.actions.bookmarks(r)}}},sm=new yr;var gr=class{addCommand(o,r=!1){L.commands.add(o,r)}consumeCommand(o){return L.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new gr;var La=u(O()),br=class{highlightHtml(o,r){(0,La.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new br;(0,Ia.customElement)("ft-app-context")(G);var Pa=u(nt()),El=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},xr=Symbol("i18nAttributes"),pe=Symbol("i18nProperties"),Qe=Symbol("i18nUnsubs");function Bo(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ra:Pe}i18n(n,a,...s){var p;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let f=(p=n.args)!==null&&p!==void 0?p:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,s;(a=this[xr])===null||a===void 0||a.forEach((p,f)=>{var h;let y=this.getI18nAttributeValue(f);((h=y?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(f,y,p)}),(s=this[pe])===null||s===void 0||s.forEach((p,f)=>{p.context.toLowerCase()===n.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[xr])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h?.context&&h.key&&(n.has(f)||p.argsProvider!=null)&&(n.has(f)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(f,h,p))}),(s=this[pe])===null||s===void 0||s.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,p;super.connectedCallback(),new Set([...(a=(n=this[pe])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(s=this[xr])===null||s===void 0?void 0:s.keys())!==null&&p!==void 0?p:[]].map(f=>this.getI18nAttributeValue(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(n,a){n=n.toLowerCase(),this[Qe].has(n)||this[Qe].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Qe].forEach(n=>n()),this[Qe].clear()}}return o=Qe,El([(0,Pa.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ta=class extends Bo($o.FtLitElement){},Uo=class extends Bo($o.FtLitElementRedux){};var $a=u(O());var Do=u(P()),Mo=u(nt()),Wo=u(O());var _a=u(P());var ka=_a.css`
1109
+ `;var to=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Nt=class extends Uo{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Do.nothing:Do.html`
1115
1110
  <span class="ft-i18n">
1116
1111
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1117
1112
  </span>
1118
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Wr.elementDefinitions={},Wr.styles=kr,Lr([o.redux()],Wr.prototype,"editorMode",void 0),Lr([i.property()],Wr.prototype,"context",void 0),Lr([i.property()],Wr.prototype,"key",void 0),Lr([o.jsonProperty([])],Wr.prototype,"args",void 0),Lr([i.property()],Wr.prototype,"defaultMessage",void 0);class zr{static build(t){return new zr(t)}static fromGwt(t){return new zr(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)=>br.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Wr);const Zr=zr.build("designedReaderMapMetadata");var Kr,Ar,Dr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Br extends($r(d)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Zr)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,o,e,i;this.useForSwitchingToRelatives&&this.key?this.relatives=null!==(i=null===(o=null===(t=this.stateManager)||void 0===t?void 0:t.clusteringHelper)||void 0===o?void 0:o.computeClustersItemsForMetadata(this.key,(null===(e=this.map)||void 0===e?void 0:e.lang)||"en",this.noValueMessage))&&void 0!==i?i:[]:this.relatives=[]}render(){return e.html`
1113
+ `}update(o){var r;super.update(o),["context","key","defaultMessage"].some(i=>o.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Nt.elementDefinitions={};Nt.styles=ka;to([(0,Wo.redux)()],Nt.prototype,"editorMode",void 0);to([(0,Mo.property)()],Nt.prototype,"context",void 0);to([(0,Mo.property)()],Nt.prototype,"key",void 0);to([(0,Wo.jsonProperty)([])],Nt.prototype,"args",void 0);to([(0,Mo.property)()],Nt.prototype,"defaultMessage",void 0);var zo=class e{static build(o){return new e(o)}static fromGwt(o){return new e(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Pe.resolveMessage(this.name,i,...n)})}};var Ua=(e,o)=>(r,i)=>{var n,a;r.constructor.createProperty(i,o??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};r[pe]=(a=r[pe])!==null&&a!==void 0?a:new Map,r[pe].set(i,s)};(0,$a.customElement)("ft-i18n")(Nt);var vr=zo.build("designedReaderMapMetadata");var Lt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},rt=class extends Bo(ro){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(vr)}setReaderStateManager(o){super.setReaderStateManager(o),this.key&&this.useForSwitchingToRelatives&&o.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var o,r,i,n;this.useForSwitchingToRelatives&&this.key?this.relatives=(n=(r=(o=this.stateManager)===null||o===void 0?void 0:o.clusteringHelper)===null||r===void 0?void 0:r.computeClustersItemsForMetadata(this.key,((i=this.map)===null||i===void 0?void 0:i.lang)||"en",this.noValueMessage))!==null&&n!==void 0?n:[]:this.relatives=[]}render(){return Ft.html`
1119
1114
  ${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
1120
1115
  ${this.hideIfEmpty()}
1121
- `}renderSwitchToRelatives(){return e.html`
1116
+ `}renderSwitchToRelatives(){return Ft.html`
1122
1117
  <div part="floating-menu-container" class="ft-reader-metadata--container">
1123
1118
  <ft-floating-menu part="floating-menu" text="Toggle collapsible" trailingIcon>
1124
1119
  ${this.renderChip(!0)}
1125
1120
  <ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
1126
- ${a.repeat(this.relatives,(t=>t.metadata.value),(t=>this.renderRelativeItem(t.result,t.metadata)))}
1121
+ ${(0,Ba.repeat)(this.relatives,o=>o.metadata.value,o=>this.renderRelativeItem(o.result,o.metadata))}
1127
1122
  </ft-floating-menu>
1128
1123
  </div>
1129
- `}renderChip(t=!1){var o,i;return e.html`
1124
+ `}renderChip(o=!1){var r,i;return Ft.html`
1130
1125
  <ft-tooltip part="tooltip"
1131
- slot="${t?"toggle":""}"
1126
+ slot="${o?"toggle":""}"
1132
1127
  class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
1133
- text="${`${this.metadataLabel}: ${null!==(i=null===(o=this.flatMetadata)||void 0===o?void 0:o.value)&&void 0!==i?i:this.noValueMessage}`}">
1128
+ text="${`${this.metadataLabel}: ${(i=(r=this.flatMetadata)===null||r===void 0?void 0:r.value)!==null&&i!==void 0?i:this.noValueMessage}`}">
1134
1129
  <ft-chip part="chip"
1135
1130
  exportpartsPrefix="chip"
1136
- trailingIcon icon="${t?"thin_arrow":""}"
1137
- ?clickable=${t}
1131
+ trailingIcon icon="${o?"thin_arrow":""}"
1132
+ ?clickable=${o}
1138
1133
  ?multiLine=${this.multiLine}>
1139
1134
  ${this.renderChipContent()}
1140
1135
  </ft-chip>
1141
1136
  </ft-tooltip>
1142
- `}renderChipContent(){var t,o;return this.metadata&&this.metadata.values.length>0?null!==(o=null===(t=this.flatMetadata)||void 0===t?void 0:t.displayValue)&&void 0!==o?o:this.noValueMessage:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,o){return e.html`
1137
+ `}renderChipContent(){var o,r;return this.metadata&&this.metadata.values.length>0?(r=(o=this.flatMetadata)===null||o===void 0?void 0:o.displayValue)!==null&&r!==void 0?r:this.noValueMessage:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(o,r){return Ft.html`
1143
1138
  <a part="relative-item-link"
1144
- href="${sr(t)}"
1145
- @click=${o=>this.addTopicPivotParam(o,t)}>
1139
+ href="${hr(o)}"
1140
+ @click=${i=>this.addTopicPivotParam(i,o)}>
1146
1141
  <ft-ripple part="relative-item-ripple"></ft-ripple>
1147
- <ft-floating-menu-item part="relative-item" value="${o.value}" notFocusable>
1148
- ${null==o.value||o.value===o.displayValue?o.displayValue:e.html`
1149
- <ft-tooltip part="relative-item-tooltip" text="${o.value}">${o.displayValue}</ft-tooltip>
1142
+ <ft-floating-menu-item part="relative-item" value="${r.value}" notFocusable>
1143
+ ${r.value==null||r.value===r.displayValue?r.displayValue:Ft.html`
1144
+ <ft-tooltip part="relative-item-tooltip" text="${r.value}">${r.displayValue}</ft-tooltip>
1150
1145
  `}
1151
1146
  </ft-floating-menu-item>
1152
1147
  </a>
1153
- `}hideIfEmpty(){const t=!this.metadata||0==this.metadata.values.length,o=this.useForSwitchingToRelatives?t&&0===this.relatives.length:t;return!this.editorMode&&o?e.html`
1148
+ `}hideIfEmpty(){let o=!this.metadata||this.metadata.values.length==0,r=this.useForSwitchingToRelatives?o&&this.relatives.length===0:o;return!this.editorMode&&r?Ft.html`
1154
1149
  <style>
1155
1150
  :host {
1156
1151
  display: none !important;
1157
1152
  }
1158
1153
  </style>
1159
- `:e.nothing}addTopicPivotParam(t,o){var e,i;const r=this.stateManager.store.getState().visibleTopics[0];if(r&&"MAP"==o.type){t.stopPropagation(),t.preventDefault();const n=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(r);null===(i=this.service)||void 0===i||i.getTopicInfo(n).then((e=>{const i=null==e?void 0:e.metadata.find((t=>t.key==this.relativeTopicPivotMetadata));let r=new URL(sr(o));i&&i.values.forEach((t=>r.searchParams.append("topicPivot",t)));const n=document.createElement("a");n.href=r.toString(),(t.ctrlKey||t.metaKey)&&(n.target="_blank"),this.append(n),n.click()}))}}update(t){var e,i,r,n;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&(null===(e=this.stateManager)||void 0===e||e.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&(null===(i=this.stateManager)||void 0===i||i.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?null===(r=this.stateManager)||void 0===r||r.registerMetadataForSwitchToRelatives(this.key):null===(n=this.stateManager)||void 0===n||n.unregisterMetadataForSwitchToRelatives(this.key)),t.has("metadata")&&(this.flatMetadata=this.metadata&&this.metadata.values.length>0?o.ClusteringHelper.flattenMetadata(this.metadata):{key:this.key,label:this.key,value:void 0,displayValue:void 0})}get metadataLabel(){var t,o,e,i,r,n;return this.metadata?this.metadata.label:null!==(n=null!==(i=null===(e=null===(o=null===(t=this.stateManager)||void 0===t?void 0:t.clusteringHelper)||void 0===o?void 0:o.getMetadataDescriptor(this.key))||void 0===e?void 0:e.label)&&void 0!==i?i:null===(r=this.relatives.find((t=>t.metadata.value)))||void 0===r?void 0:r.metadata.label)&&void 0!==n?n:this.key}}Br.elementDefinitions={"ft-chip":Si,"ft-floating-menu":Fi,"ft-floating-menu-item":Ai,"ft-floating-menu-label":Mi,"ft-ripple":Me,"ft-tooltip":ke},Br.styles=l,Dr([i.property(),o.reduxReactive()],Br.prototype,"key",void 0),Dr([i.property({type:Boolean})],Br.prototype,"multiLine",void 0),Dr([i.property({type:Boolean})],Br.prototype,"useForSwitchingToRelatives",void 0),Dr([i.property({attribute:!1})],Br.prototype,"editorMode",void 0),Dr([o.redux({selector:(t,o)=>{var e,i;return null===(i=null===(e=t.map)||void 0===e?void 0:e.metadata)||void 0===i?void 0:i.find((t=>t.key===o.key))}})],Br.prototype,"metadata",void 0),Dr([i.state()],Br.prototype,"flatMetadata",void 0),Dr([o.redux()],Br.prototype,"map",void 0),Dr([o.redux({selector:t=>{var o;return null===(o=t.configuration)||void 0===o?void 0:o.relativeTopicPivotMetadata}})],Br.prototype,"relativeTopicPivotMetadata",void 0),Dr([i.state()],Br.prototype,"relatives",void 0),Dr([(Kr=Zr.properties.itemWithNoValueForSwitchToRelatives(),(t,o)=>{var e,i;t.constructor.createProperty(o,null!=Ar?Ar:{attribute:!1,type:String});const r={...Kr,key:null!==(e=Kr.key)&&void 0!==e?e:o};t[Ir]=null!==(i=t[Ir])&&void 0!==i?i:new Map,t[Ir].set(o,r)})],Br.prototype,"noValueMessage",void 0),Dr([o.reduxEventListener({eventName:"clustering-helper-created"})],Br.prototype,"updateRelatives",null),o.customElement("ft-reader-metadata")(Br),t.FtReaderMetadata=Br,t.FtReaderMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1154
+ `:Ft.nothing}addTopicPivotParam(o,r){var i,n;let a=this.stateManager.store.getState().visibleTopics[0];if(a&&r.type=="MAP"){o.stopPropagation(),o.preventDefault();let s=(i=this.service)===null||i===void 0?void 0:i.getTocNodeNow(a);(n=this.service)===null||n===void 0||n.getTopicInfo(s).then(p=>{let f=p?.metadata.find(x=>x.key==this.relativeTopicPivotMetadata),h=new URL(hr(r));f&&f.values.forEach(x=>h.searchParams.append("topicPivot",x));let y=document.createElement("a");y.href=h.toString(),(o.ctrlKey||o.metaKey)&&(y.target="_blank"),this.append(y),y.click()})}}update(o){var r,i,n,a;super.update(o),o.has("key")&&this.useForSwitchingToRelatives&&(o.get("key")&&((r=this.stateManager)===null||r===void 0||r.unregisterMetadataForSwitchToRelatives(o.get("key"))),this.key&&((i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key))),o.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key):(a=this.stateManager)===null||a===void 0||a.unregisterMetadataForSwitchToRelatives(this.key)),o.has("metadata")&&(this.flatMetadata=this.metadata&&this.metadata.values.length>0?Ut.ClusteringHelper.flattenMetadata(this.metadata):{key:this.key,label:this.key,value:void 0,displayValue:void 0})}get metadataLabel(){var o,r,i,n,a,s;return this.metadata?this.metadata.label:(s=(n=(i=(r=(o=this.stateManager)===null||o===void 0?void 0:o.clusteringHelper)===null||r===void 0?void 0:r.getMetadataDescriptor(this.key))===null||i===void 0?void 0:i.label)!==null&&n!==void 0?n:(a=this.relatives.find(p=>p.metadata.value))===null||a===void 0?void 0:a.metadata.label)!==null&&s!==void 0?s:this.key}};rt.elementDefinitions={"ft-chip":F,"ft-floating-menu":Yt,"ft-floating-menu-item":mt,"ft-floating-menu-label":Xt,"ft-ripple":_,"ft-tooltip":$};rt.styles=Rr;Lt([(0,Qt.property)(),(0,Ut.reduxReactive)()],rt.prototype,"key",void 0);Lt([(0,Qt.property)({type:Boolean})],rt.prototype,"multiLine",void 0);Lt([(0,Qt.property)({type:Boolean})],rt.prototype,"useForSwitchingToRelatives",void 0);Lt([(0,Qt.property)({attribute:!1})],rt.prototype,"editorMode",void 0);Lt([(0,Ut.redux)({selector:(e,o)=>{var r,i;return(i=(r=e.map)===null||r===void 0?void 0:r.metadata)===null||i===void 0?void 0:i.find(n=>n.key===o.key)}})],rt.prototype,"metadata",void 0);Lt([(0,Qt.state)()],rt.prototype,"flatMetadata",void 0);Lt([(0,Ut.redux)()],rt.prototype,"map",void 0);Lt([(0,Ut.redux)({selector:e=>{var o;return(o=e.configuration)===null||o===void 0?void 0:o.relativeTopicPivotMetadata}})],rt.prototype,"relativeTopicPivotMetadata",void 0);Lt([(0,Qt.state)()],rt.prototype,"relatives",void 0);Lt([Ua(vr.properties.itemWithNoValueForSwitchToRelatives())],rt.prototype,"noValueMessage",void 0);Lt([(0,Ut.reduxEventListener)({eventName:"clustering-helper-created"})],rt.prototype,"updateRelatives",null);(0,Da.customElement)("ft-reader-metadata")(rt);})();
1155
+ /*! Bundled license information:
1156
+
1157
+ lit-html/lit-html.js:
1158
+ (**
1159
+ * @license
1160
+ * Copyright 2017 Google LLC
1161
+ * SPDX-License-Identifier: BSD-3-Clause
1162
+ *)
1163
+
1164
+ lit-html/static.js:
1165
+ (**
1166
+ * @license
1167
+ * Copyright 2020 Google LLC
1168
+ * SPDX-License-Identifier: BSD-3-Clause
1169
+ *)
1170
+
1171
+ lit-html/directives/if-defined.js:
1172
+ (**
1173
+ * @license
1174
+ * Copyright 2018 Google LLC
1175
+ * SPDX-License-Identifier: BSD-3-Clause
1176
+ *)
1177
+ */